2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.42.
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 more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
576 PACKAGE_TARNAME
='wine'
577 PACKAGE_VERSION
='0.9.42'
578 PACKAGE_STRING
='Wine 0.9.42'
579 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
581 ac_unique_file
="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default
="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
773 ac_subst_files
='MAKE_RULES
778 ac_precious_vars
='build_alias
793 # Initialize some variables set by options.
795 ac_init_version
=false
796 # The variables have the same names as the options, with
797 # dashes changed to underlines.
805 program_transform_name
=s
,x
,x
,
813 # Installation directory options.
814 # These are left unexpanded so users can "make install exec_prefix=/foo"
815 # and all the variables that are supposed to be based on exec_prefix
816 # by default will actually change.
817 # Use braces instead of parens because sh, perl, etc. also accept them.
818 # (The list follows the same order as the GNU Coding Standards.)
819 bindir
='${exec_prefix}/bin'
820 sbindir
='${exec_prefix}/sbin'
821 libexecdir
='${exec_prefix}/libexec'
822 datarootdir
='${prefix}/share'
823 datadir
='${datarootdir}'
824 sysconfdir
='${prefix}/etc'
825 sharedstatedir
='${prefix}/com'
826 localstatedir
='${prefix}/var'
827 includedir
='${prefix}/include'
828 oldincludedir
='/usr/include'
829 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
830 infodir
='${datarootdir}/info'
835 libdir
='${exec_prefix}/lib'
836 localedir
='${datarootdir}/locale'
837 mandir
='${datarootdir}/man'
843 # If the previous option needs an argument, assign it.
844 if test -n "$ac_prev"; then
845 eval $ac_prev=\
$ac_option
851 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855 # Accept the important Cygnus configure options, so we can diagnose typos.
857 case $ac_dashdash$ac_option in
861 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
863 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
866 -build |
--build |
--buil |
--bui |
--bu)
867 ac_prev
=build_alias
;;
868 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
869 build_alias
=$ac_optarg ;;
871 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
872 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
873 ac_prev
=cache_file
;;
874 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
875 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
876 cache_file
=$ac_optarg ;;
879 cache_file
=config.cache
;;
881 -datadir |
--datadir |
--datadi |
--datad)
883 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
884 datadir
=$ac_optarg ;;
886 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
887 |
--dataroo |
--dataro |
--datar)
888 ac_prev
=datarootdir
;;
889 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
890 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
891 datarootdir
=$ac_optarg ;;
893 -disable-* |
--disable-*)
894 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
897 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
898 { (exit 1); exit 1; }; }
899 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
900 eval enable_
$ac_feature=no
;;
902 -docdir |
--docdir |
--docdi |
--doc |
--do)
904 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
907 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
909 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
912 -enable-* |
--enable-*)
913 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914 # Reject names that are not valid shell variable names.
915 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
916 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
917 { (exit 1); exit 1; }; }
918 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
919 eval enable_
$ac_feature=\
$ac_optarg ;;
921 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
922 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
923 |
--exec |
--exe |
--ex)
924 ac_prev
=exec_prefix
;;
925 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
926 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
927 |
--exec=* |
--exe=* |
--ex=*)
928 exec_prefix
=$ac_optarg ;;
930 -gas |
--gas |
--ga |
--g)
931 # Obsolete; use --with-gas.
934 -help |
--help |
--hel |
--he |
-h)
936 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
937 ac_init_help
=recursive
;;
938 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
939 ac_init_help
=short
;;
941 -host |
--host |
--hos |
--ho)
942 ac_prev
=host_alias
;;
943 -host=* |
--host=* |
--hos=* |
--ho=*)
944 host_alias
=$ac_optarg ;;
946 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
948 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
950 htmldir
=$ac_optarg ;;
952 -includedir |
--includedir |
--includedi |
--included |
--include \
953 |
--includ |
--inclu |
--incl |
--inc)
954 ac_prev
=includedir
;;
955 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
956 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
957 includedir
=$ac_optarg ;;
959 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
961 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
962 infodir
=$ac_optarg ;;
964 -libdir |
--libdir |
--libdi |
--libd)
966 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
969 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
970 |
--libexe |
--libex |
--libe)
971 ac_prev
=libexecdir
;;
972 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
973 |
--libexe=* |
--libex=* |
--libe=*)
974 libexecdir
=$ac_optarg ;;
976 -localedir |
--localedir |
--localedi |
--localed |
--locale)
978 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
979 localedir
=$ac_optarg ;;
981 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
982 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
983 ac_prev
=localstatedir
;;
984 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
985 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
986 localstatedir
=$ac_optarg ;;
988 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
990 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
994 # Obsolete; use --without-fp.
997 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
998 |
--no-cr |
--no-c |
-n)
1001 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1002 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1005 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1006 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1007 |
--oldin |
--oldi |
--old |
--ol |
--o)
1008 ac_prev
=oldincludedir
;;
1009 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1010 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1011 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1012 oldincludedir
=$ac_optarg ;;
1014 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1016 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1017 prefix
=$ac_optarg ;;
1019 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1020 |
--program-pre |
--program-pr |
--program-p)
1021 ac_prev
=program_prefix
;;
1022 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1023 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1024 program_prefix
=$ac_optarg ;;
1026 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1027 |
--program-suf |
--program-su |
--program-s)
1028 ac_prev
=program_suffix
;;
1029 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1030 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1031 program_suffix
=$ac_optarg ;;
1033 -program-transform-name |
--program-transform-name \
1034 |
--program-transform-nam |
--program-transform-na \
1035 |
--program-transform-n |
--program-transform- \
1036 |
--program-transform |
--program-transfor \
1037 |
--program-transfo |
--program-transf \
1038 |
--program-trans |
--program-tran \
1039 |
--progr-tra |
--program-tr |
--program-t)
1040 ac_prev
=program_transform_name
;;
1041 -program-transform-name=* |
--program-transform-name=* \
1042 |
--program-transform-nam=* |
--program-transform-na=* \
1043 |
--program-transform-n=* |
--program-transform-=* \
1044 |
--program-transform=* |
--program-transfor=* \
1045 |
--program-transfo=* |
--program-transf=* \
1046 |
--program-trans=* |
--program-tran=* \
1047 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1048 program_transform_name
=$ac_optarg ;;
1050 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1052 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1053 pdfdir
=$ac_optarg ;;
1055 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1057 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1060 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1061 |
-silent |
--silent |
--silen |
--sile |
--sil)
1064 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1066 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1068 sbindir
=$ac_optarg ;;
1070 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1071 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1072 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1074 ac_prev
=sharedstatedir
;;
1075 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1076 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1077 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1079 sharedstatedir
=$ac_optarg ;;
1081 -site |
--site |
--sit)
1083 -site=* |
--site=* |
--sit=*)
1086 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1088 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1089 srcdir
=$ac_optarg ;;
1091 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1092 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1093 ac_prev
=sysconfdir
;;
1094 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1095 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1096 sysconfdir
=$ac_optarg ;;
1098 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1099 ac_prev
=target_alias
;;
1100 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1101 target_alias
=$ac_optarg ;;
1103 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1106 -version |
--version |
--versio |
--versi |
--vers |
-V)
1107 ac_init_version
=: ;;
1110 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1113 { echo "$as_me: error: invalid package name: $ac_package" >&2
1114 { (exit 1); exit 1; }; }
1115 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1116 eval with_
$ac_package=\
$ac_optarg ;;
1118 -without-* |
--without-*)
1119 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1122 { echo "$as_me: error: invalid package name: $ac_package" >&2
1123 { (exit 1); exit 1; }; }
1124 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1125 eval with_
$ac_package=no
;;
1128 # Obsolete; use --with-x.
1131 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1132 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1133 ac_prev
=x_includes
;;
1134 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1135 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1136 x_includes
=$ac_optarg ;;
1138 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1139 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1140 ac_prev
=x_libraries
;;
1141 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1142 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1143 x_libraries
=$ac_optarg ;;
1145 -*) { echo "$as_me: error: unrecognized option: $ac_option
1146 Try \`$0 --help' for more information." >&2
1147 { (exit 1); exit 1; }; }
1151 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1154 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1155 { (exit 1); exit 1; }; }
1156 eval $ac_envvar=\
$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1163 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 if test -n "$ac_prev"; then
1171 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1172 { echo "$as_me: error: missing argument to $ac_option" >&2
1173 { (exit 1); exit 1; }; }
1176 # Be sure to have absolute directory names.
1177 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1178 datadir sysconfdir sharedstatedir localstatedir includedir \
1179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1180 libdir localedir mandir
1182 eval ac_val
=\$
$ac_var
1184 [\\/$
]* | ?
:[\\/]* ) continue;;
1185 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1187 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1188 { (exit 1); exit 1; }; }
1191 # There might be people who depend on the old broken behavior: `$host'
1192 # used to hold the argument of --host etc.
1193 # FIXME: To remove some day.
1196 target
=$target_alias
1198 # FIXME: To remove some day.
1199 if test "x$host_alias" != x
; then
1200 if test "x$build_alias" = x
; then
1201 cross_compiling
=maybe
1202 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1203 If a cross compiler is detected then cross compile mode will be used." >&2
1204 elif test "x$build_alias" != "x$host_alias"; then
1210 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1212 test "$silent" = yes && exec 6>/dev
/null
1215 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1216 ac_ls_di
=`ls -di .` &&
1217 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1218 { echo "$as_me: error: Working directory cannot be determined" >&2
1219 { (exit 1); exit 1; }; }
1220 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1221 { echo "$as_me: error: pwd does not report name of working directory" >&2
1222 { (exit 1); exit 1; }; }
1225 # Find the source files, if location was not specified.
1226 if test -z "$srcdir"; then
1227 ac_srcdir_defaulted
=yes
1228 # Try the directory containing this script, then the parent directory.
1229 ac_confdir
=`$as_dirname -- "$0" ||
1230 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1231 X"$0" : 'X\(//\)[^/]' \| \
1232 X"$0" : 'X\(//\)$' \| \
1233 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1257 ac_srcdir_defaulted
=no
1259 if test ! -r "$srcdir/$ac_unique_file"; then
1260 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1261 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1262 { (exit 1); exit 1; }; }
1264 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1266 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1267 { (exit 1); exit 1; }; }
1269 # When building in place, set srcdir=.
1270 if test "$ac_abs_confdir" = "$ac_pwd"; then
1273 # Remove unnecessary trailing slashes from srcdir.
1274 # Double slashes in file names in object file debugging info
1275 # mess up M-x gdb in Emacs.
1277 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1279 for ac_var
in $ac_precious_vars; do
1280 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1281 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1282 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1283 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1287 # Report the --help message.
1289 if test "$ac_init_help" = "long"; then
1290 # Omit some internal or obsolete options to make the list less imposing.
1291 # This message is too long to be a string in the A/UX 3.1 sh.
1293 \`configure' configures Wine 0.9.42 to adapt to many kinds of systems.
1295 Usage: $0 [OPTION]... [VAR=VALUE]...
1297 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1298 VAR=VALUE. See below for descriptions of some of the useful variables.
1300 Defaults for the options are specified in brackets.
1303 -h, --help display this help and exit
1304 --help=short display options specific to this package
1305 --help=recursive display the short help of all the included packages
1306 -V, --version display version information and exit
1307 -q, --quiet, --silent do not print \`checking...' messages
1308 --cache-file=FILE cache test results in FILE [disabled]
1309 -C, --config-cache alias for \`--cache-file=config.cache'
1310 -n, --no-create do not create output files
1311 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1313 Installation directories:
1314 --prefix=PREFIX install architecture-independent files in PREFIX
1315 [$ac_default_prefix]
1316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1319 By default, \`make install' will install all the files in
1320 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1321 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1322 for instance \`--prefix=\$HOME'.
1324 For better control, use the options below.
1326 Fine tuning of the installation directories:
1327 --bindir=DIR user executables [EPREFIX/bin]
1328 --sbindir=DIR system admin executables [EPREFIX/sbin]
1329 --libexecdir=DIR program executables [EPREFIX/libexec]
1330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1333 --libdir=DIR object code libraries [EPREFIX/lib]
1334 --includedir=DIR C header files [PREFIX/include]
1335 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1338 --infodir=DIR info documentation [DATAROOTDIR/info]
1339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1340 --mandir=DIR man documentation [DATAROOTDIR/man]
1341 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1342 --htmldir=DIR html documentation [DOCDIR]
1343 --dvidir=DIR dvi documentation [DOCDIR]
1344 --pdfdir=DIR pdf documentation [DOCDIR]
1345 --psdir=DIR ps documentation [DOCDIR]
1351 --x-includes=DIR X include files are
in DIR
1352 --x-libraries=DIR X library files are
in DIR
1355 --build=BUILD configure
for building on BUILD
[guessed
]
1356 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1360 if test -n "$ac_init_help"; then
1361 case $ac_init_help in
1362 short | recursive
) echo "Configuration of Wine 0.9.42:";;
1367 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1368 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1369 --disable-win16 do not include Win16 support
1370 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1372 --disable-tests do not build the testsuites
1375 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1376 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1377 --without-opengl do not use OpenGL
1378 --with-wine-tools=<dir> use Wine tools from directory <dir>
1379 --with-x use the X Window System
1381 Some influential environment variables:
1382 CC C compiler command
1383 CFLAGS C compiler flags
1384 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1385 nonstandard directory <lib dir>
1386 LIBS libraries to pass to the linker, e.g. -l<library>
1387 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1388 you have headers in a nonstandard directory <include dir>
1389 CXX C++ compiler command
1390 CXXFLAGS C++ compiler flags
1391 XMKMF Path to xmkmf, Makefile generator for X Window System
1394 Use these variables to override the choices made by `configure' or to
help
1395 it to
find libraries and programs with nonstandard names
/locations.
1397 Report bugs to
<wine-devel@winehq.org
>.
1402 if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1405 test -d "$ac_dir" ||
continue
1409 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1411 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1412 # A ".." for each directory in $ac_dir_suffix.
1413 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1414 case $ac_top_builddir_sub in
1415 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1416 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1419 ac_abs_top_builddir
=$ac_pwd
1420 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1421 # for backward compatibility:
1422 ac_top_builddir
=$ac_top_build_prefix
1425 .
) # We are building in place.
1427 ac_top_srcdir
=$ac_top_builddir_sub
1428 ac_abs_top_srcdir
=$ac_pwd ;;
1429 [\\/]* | ?
:[\\/]* ) # Absolute name.
1430 ac_srcdir
=$srcdir$ac_dir_suffix;
1431 ac_top_srcdir
=$srcdir
1432 ac_abs_top_srcdir
=$srcdir ;;
1434 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1435 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1436 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1438 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1440 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1441 # Check for guested configure.
1442 if test -f "$ac_srcdir/configure.gnu"; then
1444 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445 elif test -f "$ac_srcdir/configure"; then
1447 $SHELL "$ac_srcdir/configure" --help=recursive
1449 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1451 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1455 test -n "$ac_init_help" && exit $ac_status
1456 if $ac_init_version; then
1458 Wine configure
0.9.42
1459 generated by GNU Autoconf
2.61
1461 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1462 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1463 This configure
script is free software
; the Free Software Foundation
1464 gives unlimited permission to copy
, distribute and modify it.
1468 cat >config.log
<<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1472 It was created by Wine $as_me 0.9.42, which was
1473 generated by GNU Autoconf 2.61. Invocation command line was
1485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1486 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1487 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1488 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1489 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1491 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1492 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1494 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1495 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1496 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1497 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1498 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1499 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1500 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1508 test -z "$as_dir" && as_dir
=.
1509 echo "PATH: $as_dir"
1525 # Keep a trace of the command line.
1526 # Strip out --no-create and --no-recursion so they do not pile up.
1527 # Strip out --silent because we don't want to record it for future runs.
1528 # Also quote any args containing shell meta-characters.
1529 # Make two passes to allow for proper duplicate-argument suppression.
1533 ac_must_keep_next
=false
1539 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1540 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1541 |
-silent |
--silent |
--silen |
--sile |
--sil)
1544 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1547 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1549 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1550 if test $ac_must_keep_next = true
; then
1551 ac_must_keep_next
=false
# Got value, back to normal.
1554 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1555 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1556 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1557 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1558 case "$ac_configure_args0 " in
1559 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1562 -* ) ac_must_keep_next
=true
;;
1565 ac_configure_args
="$ac_configure_args '$ac_arg'"
1570 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1571 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1573 # When interrupted or exit'd, cleanup temporary files, and complete
1574 # config.log. We remove comments because anyway the quotes in there
1575 # would cause problems or look ugly.
1576 # WARNING: Use '\'' to represent an apostrophe within the trap.
1577 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1578 trap 'exit_status=$?
1579 # Save into config.log some information that might help in debugging.
1584 ## ---------------- ##
1585 ## Cache variables. ##
1586 ## ---------------- ##
1589 # The following way of writing the cache mishandles newlines in values,
1591 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1592 eval ac_val=\$$ac_var
1596 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1597 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1600 _ | IFS | as_nl) ;; #(
1601 *) $as_unset $ac_var ;;
1606 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1607 *${as_nl}ac_space=\ *)
1609 "s/'\''/'\''\\\\'\'''\''/g;
1610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1621 ## ----------------- ##
1622 ## Output variables. ##
1623 ## ----------------- ##
1626 for ac_var in $ac_subst_vars
1628 eval ac_val=\$$ac_var
1630 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1632 echo "$ac_var='\''$ac_val'\''"
1636 if test -n "$ac_subst_files"; then
1638 ## ------------------- ##
1639 ## File substitutions. ##
1640 ## ------------------- ##
1643 for ac_var
in $ac_subst_files
1645 eval ac_val
=\$
$ac_var
1647 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1649 echo "$ac_var='\''$ac_val'\''"
1654 if test -s confdefs.h; then
1664 test "$ac_signal" != 0 &&
1665 echo "$as_me: caught signal $ac_signal"
1666 echo "$as_me: exit $exit_status"
1668 rm -f core *.core core.conftest.* &&
1669 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1672 for ac_signal
in 1 2 13 15; do
1673 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1677 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1678 rm -f -r conftest
* confdefs.h
1680 # Predefined preprocessor variables.
1682 cat >>confdefs.h
<<_ACEOF
1683 #define PACKAGE_NAME "$PACKAGE_NAME"
1687 cat >>confdefs.h
<<_ACEOF
1688 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1692 cat >>confdefs.h
<<_ACEOF
1693 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1697 cat >>confdefs.h
<<_ACEOF
1698 #define PACKAGE_STRING "$PACKAGE_STRING"
1702 cat >>confdefs.h
<<_ACEOF
1703 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer explicitly selected file to automatically selected ones.
1709 if test -n "$CONFIG_SITE"; then
1710 set x
"$CONFIG_SITE"
1711 elif test "x$prefix" != xNONE
; then
1712 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1714 set x
"$ac_default_prefix/share/config.site" \
1715 "$ac_default_prefix/etc/config.site"
1720 if test -r "$ac_site_file"; then
1721 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1722 echo "$as_me: loading site script $ac_site_file" >&6;}
1723 sed 's/^/| /' "$ac_site_file" >&5
1728 if test -r "$cache_file"; then
1729 # Some versions of bash will fail to source /dev/null (special
1730 # files actually), so we avoid doing that.
1731 if test -f "$cache_file"; then
1732 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1733 echo "$as_me: loading cache $cache_file" >&6;}
1735 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1736 *) .
"./$cache_file";;
1740 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1741 echo "$as_me: creating cache $cache_file" >&6;}
1745 # Check that the precious variables saved in the cache have kept the same
1747 ac_cache_corrupted
=false
1748 for ac_var
in $ac_precious_vars; do
1749 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1750 eval ac_new_set
=\
$ac_env_${ac_var}_set
1751 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1752 eval ac_new_val
=\
$ac_env_${ac_var}_value
1753 case $ac_old_set,$ac_new_set in
1755 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1756 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1757 ac_cache_corrupted
=: ;;
1759 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1760 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1761 ac_cache_corrupted
=: ;;
1764 if test "x$ac_old_val" != "x$ac_new_val"; then
1765 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1766 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1767 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1768 echo "$as_me: former value: $ac_old_val" >&2;}
1769 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1770 echo "$as_me: current value: $ac_new_val" >&2;}
1771 ac_cache_corrupted
=:
1774 # Pass precious variables to config.status.
1775 if test "$ac_new_set" = set; then
1777 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1778 *) ac_arg
=$ac_var=$ac_new_val ;;
1780 case " $ac_configure_args " in
1781 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1782 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1786 if $ac_cache_corrupted; then
1787 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1788 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1789 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1790 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1791 { (exit 1); exit 1; }; }
1819 ac_cpp
='$CPP $CPPFLAGS'
1820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1826 ac_config_headers
="$ac_config_headers include/config.h"
1829 for ac_dir
in tools
"$srcdir"/tools
; do
1830 if test -f "$ac_dir/install-sh"; then
1832 ac_install_sh
="$ac_aux_dir/install-sh -c"
1834 elif test -f "$ac_dir/install.sh"; then
1836 ac_install_sh
="$ac_aux_dir/install.sh -c"
1838 elif test -f "$ac_dir/shtool"; then
1840 ac_install_sh
="$ac_aux_dir/shtool install -c"
1844 if test -z "$ac_aux_dir"; then
1845 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1846 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1847 { (exit 1); exit 1; }; }
1850 # These three variables are undocumented and unsupported,
1851 # and are intended to be withdrawn in a future Autoconf release.
1852 # They can cause serious problems if a builder's source tree is in a directory
1853 # whose full name contains unusual characters.
1854 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1855 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1856 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1861 # Check whether --enable-win16 was given.
1862 if test "${enable_win16+set}" = set; then
1863 enableval
=$enable_win16;
1866 # Check whether --enable-win64 was given.
1867 if test "${enable_win64+set}" = set; then
1868 enableval
=$enable_win64;
1873 # Check whether --with-opengl was given.
1874 if test "${with_opengl+set}" = set; then
1875 withval
=$with_opengl;
1879 # Check whether --with-wine-tools was given.
1880 if test "${with_wine_tools+set}" = set; then
1881 withval
=$with_wine_tools;
1884 # Check whether --enable-tests was given.
1885 if test "${enable_tests+set}" = set; then
1886 enableval
=$enable_tests;
1890 # Make sure we can run config.sub.
1891 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1892 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1893 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1894 { (exit 1); exit 1; }; }
1896 { echo "$as_me:$LINENO: checking build system type" >&5
1897 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1898 if test "${ac_cv_build+set}" = set; then
1899 echo $ECHO_N "(cached) $ECHO_C" >&6
1901 ac_build_alias
=$build_alias
1902 test "x$ac_build_alias" = x
&&
1903 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1904 test "x$ac_build_alias" = x
&&
1905 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1906 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1907 { (exit 1); exit 1; }; }
1908 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1909 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1910 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1911 { (exit 1); exit 1; }; }
1914 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1915 echo "${ECHO_T}$ac_cv_build" >&6; }
1916 case $ac_cv_build in
1918 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1919 echo "$as_me: error: invalid value of canonical build" >&2;}
1920 { (exit 1); exit 1; }; };;
1923 ac_save_IFS
=$IFS; IFS
='-'
1929 # Remember, the first character of IFS is used to create $*,
1930 # except with old shells:
1933 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1936 { echo "$as_me:$LINENO: checking host system type" >&5
1937 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1938 if test "${ac_cv_host+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 if test "x$host_alias" = x
; then
1942 ac_cv_host
=$ac_cv_build
1944 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1945 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1946 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1947 { (exit 1); exit 1; }; }
1951 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1952 echo "${ECHO_T}$ac_cv_host" >&6; }
1955 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1956 echo "$as_me: error: invalid value of canonical host" >&2;}
1957 { (exit 1); exit 1; }; };;
1960 ac_save_IFS
=$IFS; IFS
='-'
1966 # Remember, the first character of IFS is used to create $*,
1967 # except with old shells:
1970 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1975 if test "x$enable_win64" != "xyes"
1977 test -n "$CC" || CC
="gcc -m32"
1978 test -n "$LD" || LD
="ld -m elf_i386"
1979 test -n "$AS" || AS
="as --32"
1987 if test "x$enable_win16" != "xno"
1994 WIN16_FILES
="\$(WIN16_FILES)"
1996 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1998 if test "x$enable_win16" != "xyes"
2004 if test "x$enable_tests" == "xno"
2011 TESTSUBDIRS
="\$(TESTSUBDIRS)"
2019 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2020 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2021 You need to run 'make distclean' in the source tree first." >&5
2022 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2023 You need to run 'make distclean' in the source tree first." >&2;}
2024 { (exit 1); exit 1; }; }
2029 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2030 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2031 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2032 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2035 cat >conftest.
make <<\_ACEOF
2038 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2040 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2041 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2043 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2045 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2049 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2050 { echo "$as_me:$LINENO: result: yes" >&5
2051 echo "${ECHO_T}yes" >&6; }
2054 { echo "$as_me:$LINENO: result: no" >&5
2055 echo "${ECHO_T}no" >&6; }
2056 SET_MAKE
="MAKE=${MAKE-make}"
2060 ac_cpp
='$CPP $CPPFLAGS'
2061 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2062 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2064 if test -n "$ac_tool_prefix"; then
2065 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2066 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2069 if test "${ac_cv_prog_CC+set}" = set; then
2070 echo $ECHO_N "(cached) $ECHO_C" >&6
2072 if test -n "$CC"; then
2073 ac_cv_prog_CC
="$CC" # Let the user override the test.
2075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2079 test -z "$as_dir" && as_dir
=.
2080 for ac_exec_ext
in '' $ac_executable_extensions; do
2081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2082 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2093 if test -n "$CC"; then
2094 { echo "$as_me:$LINENO: result: $CC" >&5
2095 echo "${ECHO_T}$CC" >&6; }
2097 { echo "$as_me:$LINENO: result: no" >&5
2098 echo "${ECHO_T}no" >&6; }
2103 if test -z "$ac_cv_prog_CC"; then
2105 # Extract the first word of "gcc", so it can be a program name with args.
2106 set dummy gcc
; ac_word
=$2
2107 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2109 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2110 echo $ECHO_N "(cached) $ECHO_C" >&6
2112 if test -n "$ac_ct_CC"; then
2113 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2119 test -z "$as_dir" && as_dir
=.
2120 for ac_exec_ext
in '' $ac_executable_extensions; do
2121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2122 ac_cv_prog_ac_ct_CC
="gcc"
2123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2132 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2133 if test -n "$ac_ct_CC"; then
2134 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2135 echo "${ECHO_T}$ac_ct_CC" >&6; }
2137 { echo "$as_me:$LINENO: result: no" >&5
2138 echo "${ECHO_T}no" >&6; }
2141 if test "x$ac_ct_CC" = x
; then
2144 case $cross_compiling:$ac_tool_warned in
2146 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2147 whose name does not start with the host triplet. If you think this
2148 configuration is useful to you, please write to autoconf@gnu.org." >&5
2149 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2150 whose name does not start with the host triplet. If you think this
2151 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2152 ac_tool_warned
=yes ;;
2160 if test -z "$CC"; then
2161 if test -n "$ac_tool_prefix"; then
2162 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2163 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2166 if test "${ac_cv_prog_CC+set}" = set; then
2167 echo $ECHO_N "(cached) $ECHO_C" >&6
2169 if test -n "$CC"; then
2170 ac_cv_prog_CC
="$CC" # Let the user override the test.
2172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2176 test -z "$as_dir" && as_dir
=.
2177 for ac_exec_ext
in '' $ac_executable_extensions; do
2178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2179 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2190 if test -n "$CC"; then
2191 { echo "$as_me:$LINENO: result: $CC" >&5
2192 echo "${ECHO_T}$CC" >&6; }
2194 { echo "$as_me:$LINENO: result: no" >&5
2195 echo "${ECHO_T}no" >&6; }
2201 if test -z "$CC"; then
2202 # Extract the first word of "cc", so it can be a program name with args.
2203 set dummy cc
; ac_word
=$2
2204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2206 if test "${ac_cv_prog_CC+set}" = set; then
2207 echo $ECHO_N "(cached) $ECHO_C" >&6
2209 if test -n "$CC"; then
2210 ac_cv_prog_CC
="$CC" # Let the user override the test.
2213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2217 test -z "$as_dir" && as_dir
=.
2218 for ac_exec_ext
in '' $ac_executable_extensions; do
2219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2220 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2221 ac_prog_rejected
=yes
2225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2232 if test $ac_prog_rejected = yes; then
2233 # We found a bogon in the path, so make sure we never use it.
2234 set dummy
$ac_cv_prog_CC
2236 if test $# != 0; then
2237 # We chose a different compiler from the bogus one.
2238 # However, it has the same basename, so the bogon will be chosen
2239 # first if we set CC to just the basename; use the full file name.
2241 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2247 if test -n "$CC"; then
2248 { echo "$as_me:$LINENO: result: $CC" >&5
2249 echo "${ECHO_T}$CC" >&6; }
2251 { echo "$as_me:$LINENO: result: no" >&5
2252 echo "${ECHO_T}no" >&6; }
2257 if test -z "$CC"; then
2258 if test -n "$ac_tool_prefix"; then
2259 for ac_prog
in cl.exe
2261 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2262 set dummy
$ac_tool_prefix$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_CC+set}" = set; then
2266 echo $ECHO_N "(cached) $ECHO_C" >&6
2268 if test -n "$CC"; then
2269 ac_cv_prog_CC
="$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_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2278 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2289 if test -n "$CC"; then
2290 { echo "$as_me:$LINENO: result: $CC" >&5
2291 echo "${ECHO_T}$CC" >&6; }
2293 { echo "$as_me:$LINENO: result: no" >&5
2294 echo "${ECHO_T}no" >&6; }
2298 test -n "$CC" && break
2301 if test -z "$CC"; then
2303 for ac_prog
in cl.exe
2305 # Extract the first word of "$ac_prog", so it can be a program name with args.
2306 set dummy
$ac_prog; ac_word
=$2
2307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2309 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2310 echo $ECHO_N "(cached) $ECHO_C" >&6
2312 if test -n "$ac_ct_CC"; then
2313 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2319 test -z "$as_dir" && as_dir
=.
2320 for ac_exec_ext
in '' $ac_executable_extensions; do
2321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2322 ac_cv_prog_ac_ct_CC
="$ac_prog"
2323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2332 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2333 if test -n "$ac_ct_CC"; then
2334 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2335 echo "${ECHO_T}$ac_ct_CC" >&6; }
2337 { echo "$as_me:$LINENO: result: no" >&5
2338 echo "${ECHO_T}no" >&6; }
2342 test -n "$ac_ct_CC" && break
2345 if test "x$ac_ct_CC" = x
; then
2348 case $cross_compiling:$ac_tool_warned in
2350 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2351 whose name does not start with the host triplet. If you think this
2352 configuration is useful to you, please write to autoconf@gnu.org." >&5
2353 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2354 whose name does not start with the host triplet. If you think this
2355 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2356 ac_tool_warned
=yes ;;
2365 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2366 See \`config.log' for more details." >&5
2367 echo "$as_me: error: no acceptable C compiler found in \$PATH
2368 See \`config.log' for more details." >&2;}
2369 { (exit 1); exit 1; }; }
2371 # Provide some information about the compiler.
2372 echo "$as_me:$LINENO: checking for C compiler version" >&5
2373 ac_compiler
=`set X $ac_compile; echo $2`
2374 { (ac_try
="$ac_compiler --version >&5"
2376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2380 (eval "$ac_compiler --version >&5") 2>&5
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2384 { (ac_try="$ac_compiler -v >&5"
2386 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2387 *) ac_try_echo
=$ac_try;;
2389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2390 (eval "$ac_compiler -v >&5") 2>&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); }
2394 { (ac_try
="$ac_compiler -V >&5"
2396 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2397 *) ac_try_echo=$ac_try;;
2399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2400 (eval "$ac_compiler -V >&5") 2>&5
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }
2405 cat >conftest.$ac_ext <<_ACEOF
2408 cat confdefs.h >>conftest.$ac_ext
2409 cat >>conftest.$ac_ext <<_ACEOF
2410 /* end confdefs.h. */
2420 ac_clean_files_save=$ac_clean_files
2421 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2422 # Try to create an executable without -o first, disregard a.out.
2423 # It will help us diagnose broken compilers, and finding out an intuition
2425 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2426 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2427 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2429 # List of possible output files, starting from the most likely.
2430 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2431 # only as a last resort. b.out is created by i960 compilers.
2432 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2434 # The IRIX 6 linker writes into existing files which may not be
2435 # executable, retaining their permissions. Remove them first so a
2436 # subsequent execution test works.
2438 for ac_file in $ac_files
2441 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2442 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2447 if { (ac_try="$ac_link_default"
2449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2450 *) ac_try_echo=$ac_try;;
2452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2453 (eval "$ac_link_default") 2>&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }; then
2457 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2458 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2459 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2460 # so that the user can short-circuit this test for compilers unknown to
2462 for ac_file
in $ac_files ''
2464 test -f "$ac_file" ||
continue
2466 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2469 # We found the default executable, but exeext='' is most
2473 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2475 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2477 # We set ac_cv_exeext here because the later test for it is not
2478 # safe: cross compilers may not add the suffix if given an `-o'
2479 # argument, so we may need to know it at that point already.
2480 # Even if this section looks crufty: it has the advantage of
2487 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2493 { echo "$as_me:$LINENO: result: $ac_file" >&5
2494 echo "${ECHO_T}$ac_file" >&6; }
2495 if test -z "$ac_file"; then
2496 echo "$as_me: failed program was:" >&5
2497 sed 's/^/| /' conftest.
$ac_ext >&5
2499 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2500 See \`config.log' for more details." >&5
2501 echo "$as_me: error: C compiler cannot create executables
2502 See \`config.log' for more details." >&2;}
2503 { (exit 77); exit 77; }; }
2506 ac_exeext
=$ac_cv_exeext
2508 # Check that the compiler produces executables we can run. If not, either
2509 # the compiler is broken, or we cross compile.
2510 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2511 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2512 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2513 # If not cross compiling, check that we can run a simple program.
2514 if test "$cross_compiling" != yes; then
2515 if { ac_try
='./$ac_file'
2516 { (case "(($ac_try" in
2517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2518 *) ac_try_echo=$ac_try;;
2520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2521 (eval "$ac_try") 2>&5
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); }; }; then
2527 if test "$cross_compiling" = maybe; then
2530 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2531 If you meant to cross compile, use \`--host'.
2532 See \`config.log' for more details.
" >&5
2533 echo "$as_me: error
: cannot run C compiled programs.
2534 If you meant to cross compile
, use \
`--host'.
2535 See \`config.log
' for more details." >&2;}
2536 { (exit 1); exit 1; }; }
2540 { echo "$as_me:$LINENO: result: yes" >&5
2541 echo "${ECHO_T}yes" >&6; }
2543 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2544 ac_clean_files=$ac_clean_files_save
2545 # Check that the compiler produces executables we can run. If not, either
2546 # the compiler is broken, or we cross compile.
2547 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2548 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2549 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2550 echo "${ECHO_T}$cross_compiling" >&6; }
2552 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2553 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2554 if { (ac_try="$ac_link"
2556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2557 *) ac_try_echo=$ac_try;;
2559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2560 (eval "$ac_link") 2>&5
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }; then
2564 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2565 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2566 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2568 for ac_file
in conftest.exe conftest conftest.
*; do
2569 test -f "$ac_file" ||
continue
2571 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2572 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2578 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2579 See \`config.log' for more details." >&5
2580 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2581 See \`config.log' for more details." >&2;}
2582 { (exit 1); exit 1; }; }
2585 rm -f conftest
$ac_cv_exeext
2586 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2587 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2589 rm -f conftest.
$ac_ext
2590 EXEEXT
=$ac_cv_exeext
2592 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2593 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2594 if test "${ac_cv_objext+set}" = set; then
2595 echo $ECHO_N "(cached) $ECHO_C" >&6
2597 cat >conftest.
$ac_ext <<_ACEOF
2600 cat confdefs.h
>>conftest.
$ac_ext
2601 cat >>conftest.
$ac_ext <<_ACEOF
2602 /* end confdefs.h. */
2612 rm -f conftest.o conftest.obj
2613 if { (ac_try
="$ac_compile"
2615 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2616 *) ac_try_echo=$ac_try;;
2618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2619 (eval "$ac_compile") 2>&5
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); }; then
2623 for ac_file in conftest.o conftest.obj conftest.*; do
2624 test -f "$ac_file" || continue;
2626 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2627 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2632 echo "$as_me: failed program was:" >&5
2633 sed 's/^/| /' conftest.$ac_ext >&5
2635 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2636 See \`config.log
' for more details." >&5
2637 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2638 See \`config.log' for more details.
" >&2;}
2639 { (exit 1); exit 1; }; }
2642 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2644 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2645 echo "${ECHO_T}$ac_cv_objext" >&6; }
2646 OBJEXT=$ac_cv_objext
2648 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2649 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2650 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2651 echo $ECHO_N "(cached
) $ECHO_C" >&6
2653 cat >conftest.$ac_ext <<_ACEOF
2656 cat confdefs.h >>conftest.$ac_ext
2657 cat >>conftest.$ac_ext <<_ACEOF
2658 /* end confdefs.h. */
2671 rm -f conftest.$ac_objext
2672 if { (ac_try="$ac_compile"
2674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675 *) ac_try_echo=$ac_try;;
2677 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2678 (eval "$ac_compile") 2>conftest.er1
2680 grep -v '^ *+' conftest.er1 >conftest.err
2682 cat conftest.err >&5
2683 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2684 (exit $ac_status); } && {
2685 test -z "$ac_c_werror_flag" ||
2686 test ! -s conftest.err
2687 } && test -s conftest.$ac_objext; then
2690 echo "$as_me: failed program was
:" >&5
2691 sed 's/^/| /' conftest.$ac_ext >&5
2696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2700 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2701 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2702 GCC=`test $ac_compiler_gnu = yes && echo yes`
2703 ac_test_CFLAGS=${CFLAGS+set}
2704 ac_save_CFLAGS=$CFLAGS
2705 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2706 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2707 if test "${ac_cv_prog_cc_g+set}" = set; then
2708 echo $ECHO_N "(cached
) $ECHO_C" >&6
2710 ac_save_c_werror_flag=$ac_c_werror_flag
2711 ac_c_werror_flag=yes
2714 cat >conftest.$ac_ext <<_ACEOF
2717 cat confdefs.h >>conftest.$ac_ext
2718 cat >>conftest.$ac_ext <<_ACEOF
2719 /* end confdefs.h. */
2729 rm -f conftest.$ac_objext
2730 if { (ac_try="$ac_compile"
2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
2735 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2736 (eval "$ac_compile") 2>conftest.er1
2738 grep -v '^ *+' conftest.er1 >conftest.err
2740 cat conftest.err >&5
2741 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2742 (exit $ac_status); } && {
2743 test -z "$ac_c_werror_flag" ||
2744 test ! -s conftest.err
2745 } && test -s conftest.$ac_objext; then
2748 echo "$as_me: failed program was
:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2752 cat >conftest.$ac_ext <<_ACEOF
2755 cat confdefs.h >>conftest.$ac_ext
2756 cat >>conftest.$ac_ext <<_ACEOF
2757 /* end confdefs.h. */
2767 rm -f conftest.$ac_objext
2768 if { (ac_try="$ac_compile"
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2773 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2774 (eval "$ac_compile") 2>conftest.er1
2776 grep -v '^ *+' conftest.er1 >conftest.err
2778 cat conftest.err >&5
2779 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2780 (exit $ac_status); } && {
2781 test -z "$ac_c_werror_flag" ||
2782 test ! -s conftest.err
2783 } && test -s conftest.$ac_objext; then
2786 echo "$as_me: failed program was
:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2789 ac_c_werror_flag=$ac_save_c_werror_flag
2791 cat >conftest.$ac_ext <<_ACEOF
2794 cat confdefs.h >>conftest.$ac_ext
2795 cat >>conftest.$ac_ext <<_ACEOF
2796 /* end confdefs.h. */
2806 rm -f conftest.$ac_objext
2807 if { (ac_try="$ac_compile"
2809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2810 *) ac_try_echo=$ac_try;;
2812 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2813 (eval "$ac_compile") 2>conftest.er1
2815 grep -v '^ *+' conftest.er1 >conftest.err
2817 cat conftest.err >&5
2818 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2819 (exit $ac_status); } && {
2820 test -z "$ac_c_werror_flag" ||
2821 test ! -s conftest.err
2822 } && test -s conftest.$ac_objext; then
2825 echo "$as_me: failed program was
:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 ac_c_werror_flag=$ac_save_c_werror_flag
2840 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2841 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2842 if test "$ac_test_CFLAGS" = set; then
2843 CFLAGS=$ac_save_CFLAGS
2844 elif test $ac_cv_prog_cc_g = yes; then
2845 if test "$GCC" = yes; then
2851 if test "$GCC" = yes; then
2857 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2858 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2859 if test "${ac_cv_prog_cc_c89+set}" = set; then
2860 echo $ECHO_N "(cached
) $ECHO_C" >&6
2862 ac_cv_prog_cc_c89=no
2864 cat >conftest.$ac_ext <<_ACEOF
2867 cat confdefs.h >>conftest.$ac_ext
2868 cat >>conftest.$ac_ext <<_ACEOF
2869 /* end confdefs.h. */
2872 #include <sys/types.h>
2873 #include <sys/stat.h>
2874 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2875 struct buf { int x; };
2876 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2877 static char *e (p, i)
2883 static char *f (char * (*g) (char **, int), char **p, ...)
2888 s = g (p, va_arg (v,int));
2893 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2894 function prototypes and stuff, but not '\xHH' hex character constants.
2895 These don't provoke an error unfortunately, instead are silently treated
2896 as 'x'. The following induces an error, until -std is added to get
2897 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2898 array size at least. It's necessary to write '\x00'==0 to get something
2899 that's true only with -std. */
2900 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2902 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2903 inside strings and character constants. */
2905 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2907 int test (int i, double x);
2908 struct s1 {int (*f) (int a);};
2909 struct s2 {int (*f) (double a);};
2910 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2916 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2921 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2922 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2924 CC="$ac_save_CC $ac_arg"
2925 rm -f conftest.$ac_objext
2926 if { (ac_try="$ac_compile"
2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929 *) ac_try_echo=$ac_try;;
2931 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2932 (eval "$ac_compile") 2>conftest.er1
2934 grep -v '^ *+' conftest.er1 >conftest.err
2936 cat conftest.err >&5
2937 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2938 (exit $ac_status); } && {
2939 test -z "$ac_c_werror_flag" ||
2940 test ! -s conftest.err
2941 } && test -s conftest.$ac_objext; then
2942 ac_cv_prog_cc_c89=$ac_arg
2944 echo "$as_me: failed program was
:" >&5
2945 sed 's/^/| /' conftest.$ac_ext >&5
2950 rm -f core conftest.err conftest.$ac_objext
2951 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2953 rm -f conftest.$ac_ext
2958 case "x
$ac_cv_prog_cc_c89" in
2960 { echo "$as_me:$LINENO: result
: none needed
" >&5
2961 echo "${ECHO_T}none needed
" >&6; } ;;
2963 { echo "$as_me:$LINENO: result
: unsupported
" >&5
2964 echo "${ECHO_T}unsupported
" >&6; } ;;
2966 CC="$CC $ac_cv_prog_cc_c89"
2967 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
2968 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2973 ac_cpp='$CPP $CPPFLAGS'
2974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2979 ac_cpp='$CXXCPP $CPPFLAGS'
2980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2983 if test -z "$CXX"; then
2984 if test -n "$CCC"; then
2987 if test -n "$ac_tool_prefix"; then
2988 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2990 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2991 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2992 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
2993 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
2994 if test "${ac_cv_prog_CXX+set}" = set; then
2995 echo $ECHO_N "(cached
) $ECHO_C" >&6
2997 if test -n "$CXX"; then
2998 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3004 test -z "$as_dir" && as_dir=.
3005 for ac_exec_ext in '' $ac_executable_extensions; do
3006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3007 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3008 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3018 if test -n "$CXX"; then
3019 { echo "$as_me:$LINENO: result
: $CXX" >&5
3020 echo "${ECHO_T}$CXX" >&6; }
3022 { echo "$as_me:$LINENO: result
: no
" >&5
3023 echo "${ECHO_T}no
" >&6; }
3027 test -n "$CXX" && break
3030 if test -z "$CXX"; then
3032 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3034 # Extract the first word of "$ac_prog", so it can be a program name with args.
3035 set dummy $ac_prog; ac_word=$2
3036 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3037 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3038 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3039 echo $ECHO_N "(cached
) $ECHO_C" >&6
3041 if test -n "$ac_ct_CXX"; then
3042 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3048 test -z "$as_dir" && as_dir=.
3049 for ac_exec_ext in '' $ac_executable_extensions; do
3050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3051 ac_cv_prog_ac_ct_CXX="$ac_prog"
3052 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3061 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3062 if test -n "$ac_ct_CXX"; then
3063 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3064 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3066 { echo "$as_me:$LINENO: result
: no
" >&5
3067 echo "${ECHO_T}no
" >&6; }
3071 test -n "$ac_ct_CXX" && break
3074 if test "x
$ac_ct_CXX" = x; then
3077 case $cross_compiling:$ac_tool_warned in
3079 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3080 whose name does not start with the
host triplet. If you think this
3081 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3082 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3083 whose name does not start with the
host triplet. If you think this
3084 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3085 ac_tool_warned=yes ;;
3093 # Provide some information about the compiler.
3094 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3095 ac_compiler=`set X $ac_compile; echo $2`
3096 { (ac_try="$ac_compiler --version >&5"
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3101 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3102 (eval "$ac_compiler --version >&5") 2>&5
3104 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3105 (exit $ac_status); }
3106 { (ac_try="$ac_compiler -v >&5"
3108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109 *) ac_try_echo=$ac_try;;
3111 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3112 (eval "$ac_compiler -v >&5") 2>&5
3114 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3115 (exit $ac_status); }
3116 { (ac_try="$ac_compiler -V >&5"
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3121 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3122 (eval "$ac_compiler -V >&5") 2>&5
3124 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3125 (exit $ac_status); }
3127 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3128 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3129 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3130 echo $ECHO_N "(cached
) $ECHO_C" >&6
3132 cat >conftest.$ac_ext <<_ACEOF
3135 cat confdefs.h >>conftest.$ac_ext
3136 cat >>conftest.$ac_ext <<_ACEOF
3137 /* end confdefs.h. */
3150 rm -f conftest.$ac_objext
3151 if { (ac_try="$ac_compile"
3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3156 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3157 (eval "$ac_compile") 2>conftest.er1
3159 grep -v '^ *+' conftest.er1 >conftest.err
3161 cat conftest.err >&5
3162 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3163 (exit $ac_status); } && {
3164 test -z "$ac_cxx_werror_flag" ||
3165 test ! -s conftest.err
3166 } && test -s conftest.$ac_objext; then
3169 echo "$as_me: failed program was
:" >&5
3170 sed 's/^/| /' conftest.$ac_ext >&5
3175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3176 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3179 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3180 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3181 GXX=`test $ac_compiler_gnu = yes && echo yes`
3182 ac_test_CXXFLAGS=${CXXFLAGS+set}
3183 ac_save_CXXFLAGS=$CXXFLAGS
3184 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3185 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3186 if test "${ac_cv_prog_cxx_g+set}" = set; then
3187 echo $ECHO_N "(cached
) $ECHO_C" >&6
3189 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3190 ac_cxx_werror_flag=yes
3193 cat >conftest.$ac_ext <<_ACEOF
3196 cat confdefs.h >>conftest.$ac_ext
3197 cat >>conftest.$ac_ext <<_ACEOF
3198 /* end confdefs.h. */
3208 rm -f conftest.$ac_objext
3209 if { (ac_try="$ac_compile"
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3215 (eval "$ac_compile") 2>conftest.er1
3217 grep -v '^ *+' conftest.er1 >conftest.err
3219 cat conftest.err >&5
3220 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3221 (exit $ac_status); } && {
3222 test -z "$ac_cxx_werror_flag" ||
3223 test ! -s conftest.err
3224 } && test -s conftest.$ac_objext; then
3225 ac_cv_prog_cxx_g=yes
3227 echo "$as_me: failed program was
:" >&5
3228 sed 's/^/| /' conftest.$ac_ext >&5
3231 cat >conftest.$ac_ext <<_ACEOF
3234 cat confdefs.h >>conftest.$ac_ext
3235 cat >>conftest.$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3246 rm -f conftest.$ac_objext
3247 if { (ac_try="$ac_compile"
3249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3250 *) ac_try_echo=$ac_try;;
3252 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3253 (eval "$ac_compile") 2>conftest.er1
3255 grep -v '^ *+' conftest.er1 >conftest.err
3257 cat conftest.err >&5
3258 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3259 (exit $ac_status); } && {
3260 test -z "$ac_cxx_werror_flag" ||
3261 test ! -s conftest.err
3262 } && test -s conftest.$ac_objext; then
3265 echo "$as_me: failed program was
:" >&5
3266 sed 's/^/| /' conftest.$ac_ext >&5
3268 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3270 cat >conftest.$ac_ext <<_ACEOF
3273 cat confdefs.h >>conftest.$ac_ext
3274 cat >>conftest.$ac_ext <<_ACEOF
3275 /* end confdefs.h. */
3285 rm -f conftest.$ac_objext
3286 if { (ac_try="$ac_compile"
3288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3289 *) ac_try_echo=$ac_try;;
3291 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3292 (eval "$ac_compile") 2>conftest.er1
3294 grep -v '^ *+' conftest.er1 >conftest.err
3296 cat conftest.err >&5
3297 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3298 (exit $ac_status); } && {
3299 test -z "$ac_cxx_werror_flag" ||
3300 test ! -s conftest.err
3301 } && test -s conftest.$ac_objext; then
3302 ac_cv_prog_cxx_g=yes
3304 echo "$as_me: failed program was
:" >&5
3305 sed 's/^/| /' conftest.$ac_ext >&5
3310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3317 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3319 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3320 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3321 if test "$ac_test_CXXFLAGS" = set; then
3322 CXXFLAGS=$ac_save_CXXFLAGS
3323 elif test $ac_cv_prog_cxx_g = yes; then
3324 if test "$GXX" = yes; then
3330 if test "$GXX" = yes; then
3337 ac_cpp='$CPP $CPPFLAGS'
3338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3342 if test -n "$ac_tool_prefix"; then
3343 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3344 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3345 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3346 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3347 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3348 echo $ECHO_N "(cached
) $ECHO_C" >&6
3350 if test -n "$CPPBIN"; then
3351 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3357 test -z "$as_dir" && as_dir=.
3358 for ac_exec_ext in '' $ac_executable_extensions; do
3359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3360 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3361 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3370 CPPBIN=$ac_cv_prog_CPPBIN
3371 if test -n "$CPPBIN"; then
3372 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3373 echo "${ECHO_T}$CPPBIN" >&6; }
3375 { echo "$as_me:$LINENO: result
: no
" >&5
3376 echo "${ECHO_T}no
" >&6; }
3381 if test -z "$ac_cv_prog_CPPBIN"; then
3382 ac_ct_CPPBIN=$CPPBIN
3383 # Extract the first word of "cpp
", so it can be a program name with args.
3384 set dummy cpp; ac_word=$2
3385 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3386 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3387 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3388 echo $ECHO_N "(cached
) $ECHO_C" >&6
3390 if test -n "$ac_ct_CPPBIN"; then
3391 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3397 test -z "$as_dir" && as_dir=.
3398 for ac_exec_ext in '' $ac_executable_extensions; do
3399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3400 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3401 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3410 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3411 if test -n "$ac_ct_CPPBIN"; then
3412 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3413 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3415 { echo "$as_me:$LINENO: result
: no
" >&5
3416 echo "${ECHO_T}no
" >&6; }
3419 if test "x
$ac_ct_CPPBIN" = x; then
3422 case $cross_compiling:$ac_tool_warned in
3424 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3425 whose name does not start with the
host triplet. If you think this
3426 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3427 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3428 whose name does not start with the
host triplet. If you think this
3429 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3430 ac_tool_warned=yes ;;
3432 CPPBIN=$ac_ct_CPPBIN
3435 CPPBIN="$ac_cv_prog_CPPBIN"
3439 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3440 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3441 if test "${wine_cv_toolsdir+set}" = set; then
3442 echo $ECHO_N "(cached
) $ECHO_C" >&6
3444 if test -z "$with_wine_tools"; then
3445 if test "$cross_compiling" = "yes"; then
3446 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3447 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3448 { (exit 1); exit 1; }; }
3450 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3452 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3453 case $with_wine_tools in
3454 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3455 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3458 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3459 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3460 { (exit 1); exit 1; }; }
3463 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3464 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3465 TOOLSDIR=$wine_cv_toolsdir
3470 ac_cpp='$CPP $CPPFLAGS'
3471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3474 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3475 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3476 # On Suns, sometimes $CPP names a directory.
3477 if test -n "$CPP" && test -d "$CPP"; then
3480 if test -z "$CPP"; then
3481 if test "${ac_cv_prog_CPP+set}" = set; then
3482 echo $ECHO_N "(cached
) $ECHO_C" >&6
3484 # Double quotes because CPP needs to be expanded
3485 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3488 for ac_c_preproc_warn_flag in '' yes
3490 # Use a header file that comes with gcc, so configuring glibc
3491 # with a fresh cross-compiler works.
3492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3493 # <limits.h> exists even on freestanding compilers.
3494 # On the NeXT, cc -E runs the code through the compiler's parser,
3495 # not just through cpp. "Syntax error
" is here to catch this case.
3496 cat >conftest.$ac_ext <<_ACEOF
3499 cat confdefs.h >>conftest.$ac_ext
3500 cat >>conftest.$ac_ext <<_ACEOF
3501 /* end confdefs.h. */
3503 # include <limits.h>
3505 # include <assert.h>
3509 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3512 *) ac_try_echo=$ac_try;;
3514 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3515 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3517 grep -v '^ *+' conftest.er1 >conftest.err
3519 cat conftest.err >&5
3520 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3521 (exit $ac_status); } >/dev/null && {
3522 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3523 test ! -s conftest.err
3527 echo "$as_me: failed program was
:" >&5
3528 sed 's/^/| /' conftest.$ac_ext >&5
3530 # Broken: fails on valid input.
3534 rm -f conftest.err conftest.$ac_ext
3536 # OK, works on sane cases. Now check whether nonexistent headers
3537 # can be detected and how.
3538 cat >conftest.$ac_ext <<_ACEOF
3541 cat confdefs.h >>conftest.$ac_ext
3542 cat >>conftest.$ac_ext <<_ACEOF
3543 /* end confdefs.h. */
3544 #include <ac_nonexistent.h>
3546 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3549 *) ac_try_echo=$ac_try;;
3551 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3552 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3554 grep -v '^ *+' conftest.er1 >conftest.err
3556 cat conftest.err >&5
3557 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3558 (exit $ac_status); } >/dev/null && {
3559 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3560 test ! -s conftest.err
3562 # Broken: success on invalid input.
3565 echo "$as_me: failed program was
:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3568 # Passes both tests.
3573 rm -f conftest.err conftest.$ac_ext
3576 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3577 rm -f conftest.err conftest.$ac_ext
3578 if $ac_preproc_ok; then
3590 { echo "$as_me:$LINENO: result
: $CPP" >&5
3591 echo "${ECHO_T}$CPP" >&6; }
3593 for ac_c_preproc_warn_flag in '' yes
3595 # Use a header file that comes with gcc, so configuring glibc
3596 # with a fresh cross-compiler works.
3597 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3598 # <limits.h> exists even on freestanding compilers.
3599 # On the NeXT, cc -E runs the code through the compiler's parser,
3600 # not just through cpp. "Syntax error
" is here to catch this case.
3601 cat >conftest.$ac_ext <<_ACEOF
3604 cat confdefs.h >>conftest.$ac_ext
3605 cat >>conftest.$ac_ext <<_ACEOF
3606 /* end confdefs.h. */
3608 # include <limits.h>
3610 # include <assert.h>
3614 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3617 *) ac_try_echo=$ac_try;;
3619 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3620 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3622 grep -v '^ *+' conftest.er1 >conftest.err
3624 cat conftest.err >&5
3625 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3626 (exit $ac_status); } >/dev/null && {
3627 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3628 test ! -s conftest.err
3632 echo "$as_me: failed program was
:" >&5
3633 sed 's/^/| /' conftest.$ac_ext >&5
3635 # Broken: fails on valid input.
3639 rm -f conftest.err conftest.$ac_ext
3641 # OK, works on sane cases. Now check whether nonexistent headers
3642 # can be detected and how.
3643 cat >conftest.$ac_ext <<_ACEOF
3646 cat confdefs.h >>conftest.$ac_ext
3647 cat >>conftest.$ac_ext <<_ACEOF
3648 /* end confdefs.h. */
3649 #include <ac_nonexistent.h>
3651 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3654 *) ac_try_echo=$ac_try;;
3656 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3657 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3659 grep -v '^ *+' conftest.er1 >conftest.err
3661 cat conftest.err >&5
3662 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3663 (exit $ac_status); } >/dev/null && {
3664 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3665 test ! -s conftest.err
3667 # Broken: success on invalid input.
3670 echo "$as_me: failed program was
:" >&5
3671 sed 's/^/| /' conftest.$ac_ext >&5
3673 # Passes both tests.
3678 rm -f conftest.err conftest.$ac_ext
3681 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3682 rm -f conftest.err conftest.$ac_ext
3683 if $ac_preproc_ok; then
3686 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3687 See \
`config.log' for more details." >&5
3688 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3689 See \`config.log
' for more details." >&2;}
3690 { (exit 1); exit 1; }; }
3694 ac_cpp='$CPP $CPPFLAGS'
3695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3696 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3700 { echo "$as_me:$LINENO: checking for X" >&5
3701 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3704 # Check whether --with-x was given.
3705 if test "${with_x+set}" = set; then
3709 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3710 if test "x$with_x" = xno; then
3711 # The user explicitly disabled X.
3714 case $x_includes,$x_libraries in #(
3715 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3716 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3717 { (exit 1); exit 1; }; };; #(
3718 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3719 echo $ECHO_N "(cached) $ECHO_C" >&6
3721 # One or both of the vars are not set, and there is no cached value.
3722 ac_x_includes=no ac_x_libraries=no
3723 rm -f -r conftest.dir
3724 if mkdir conftest.dir; then
3726 cat >Imakefile <<'_ACEOF'
3728 @echo incroot='${INCROOT}'
3730 @echo usrlibdir='${USRLIBDIR}'
3732 @echo libdir='${LIBDIR}'
3734 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3735 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3736 for ac_var in incroot usrlibdir libdir; do
3737 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3739 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3740 for ac_extension in a so sl; do
3741 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3742 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3743 ac_im_usrlibdir=$ac_im_libdir; break
3746 # Screen out bogus values from the imake configuration. They are
3747 # bogus both because they are the default anyway, and because
3748 # using them would break gcc on systems where it needs fixed includes.
3749 case $ac_im_incroot in
3750 /usr/include) ac_x_includes= ;;
3751 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3753 case $ac_im_usrlibdir in
3755 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3759 rm -f -r conftest.dir
3762 # Standard set of common directories for X headers.
3763 # Check X11 before X11Rn because it is often a symlink to the current release.
3775 /usr
/local
/X11
/include
3776 /usr
/local
/X11R
6/include
3777 /usr
/local
/X11R
5/include
3778 /usr
/local
/X11R
4/include
3780 /usr
/local
/include
/X11
3781 /usr
/local
/include
/X11R6
3782 /usr
/local
/include
/X11R5
3783 /usr
/local
/include
/X11R4
3787 /usr
/XFree86
/include
/X11
3791 /usr
/unsupported
/include
3793 /usr
/local
/x11r
5/include
3794 /usr
/lpp
/Xamples
/include
3796 /usr
/openwin
/include
3797 /usr
/openwin
/share
/include
'
3799 if test "$ac_x_includes" = no; then
3800 # Guess where to find include files, by looking for Xlib.h.
3801 # First, try using that file with no special directory specified.
3802 cat >conftest.$ac_ext <<_ACEOF
3805 cat confdefs.h >>conftest.$ac_ext
3806 cat >>conftest.$ac_ext <<_ACEOF
3807 /* end confdefs.h. */
3808 #include <X11/Xlib.h>
3810 if { (ac_try="$ac_cpp conftest.$ac_ext"
3812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3813 *) ac_try_echo=$ac_try;;
3815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3818 grep -v '^
*+' conftest.er1 >conftest.err
3820 cat conftest.err >&5
3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822 (exit $ac_status); } >/dev/null && {
3823 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3824 test ! -s conftest.err
3826 # We can compile using X headers with no special include directory.
3829 echo "$as_me: failed program was:" >&5
3830 sed 's
/^
/|
/' conftest.$ac_ext >&5
3832 for ac_dir in $ac_x_header_dirs; do
3833 if test -r "$ac_dir/X11/Xlib.h"; then
3834 ac_x_includes=$ac_dir
3840 rm -f conftest.err conftest.$ac_ext
3841 fi # $ac_x_includes = no
3843 if test "$ac_x_libraries" = no; then
3844 # Check for the libraries.
3845 # See if we find them without any special options.
3846 # Don't add to
$LIBS permanently.
3849 cat >conftest.
$ac_ext <<_ACEOF
3852 cat confdefs.h
>>conftest.
$ac_ext
3853 cat >>conftest.
$ac_ext <<_ACEOF
3854 /* end confdefs.h. */
3855 #include <X11/Xlib.h>
3864 rm -f conftest.
$ac_objext conftest
$ac_exeext
3865 if { (ac_try
="$ac_link"
3867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3868 *) ac_try_echo=$ac_try;;
3870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3871 (eval "$ac_link") 2>conftest.er1
3873 grep -v '^ *+' conftest.er1 >conftest.err
3875 cat conftest.err >&5
3876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877 (exit $ac_status); } && {
3878 test -z "$ac_c_werror_flag" ||
3879 test ! -s conftest.err
3880 } && test -s conftest$ac_exeext &&
3881 $as_test_x conftest$ac_exeext; then
3883 # We can link X programs with no special library path.
3886 echo "$as_me: failed program was:" >&5
3887 sed 's/^/| /' conftest.$ac_ext >&5
3890 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
3892 # Don't even attempt the hair of trying to link an X program!
3893 for ac_extension in a so sl; do
3894 if test -r "$ac_dir/libX11.$ac_extension"; then
3895 ac_x_libraries=$ac_dir
3902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3903 conftest$ac_exeext conftest.$ac_ext
3904 fi # $ac_x_libraries = no
3906 case $ac_x_includes,$ac_x_libraries in #(
3908 # Didn't find X, or a directory has "'" in its name.
3909 ac_cv_have_x="have_x=no";; #(
3911 # Record where we found X for the cache.
3912 ac_cv_have_x="have_x=yes\
3913 ac_x_includes='$ac_x_includes'\
3914 ac_x_libraries='$ac_x_libraries'"
3920 eval "$ac_cv_have_x"
3923 if test "$have_x" != yes; then
3924 { echo "$as_me:$LINENO: result: $have_x" >&5
3925 echo "${ECHO_T}$have_x" >&6; }
3928 # If each of the values was on the command line, it overrides each guess.
3929 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3930 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3931 # Update the cache value to reflect the command line values.
3932 ac_cv_have_x="have_x=yes\
3933 ac_x_includes='$x_includes'\
3934 ac_x_libraries='$x_libraries'"
3935 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3936 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3939 if test "$no_x" = yes; then
3940 # Not all programs may use this symbol, but it does not hurt to define it.
3942 cat >>confdefs.h <<\_ACEOF
3943 #define X_DISPLAY_MISSING 1
3946 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3948 if test -n "$x_includes"; then
3949 X_CFLAGS="$X_CFLAGS -I$x_includes"
3952 # It would also be nice to do this for all -L options, not just this one.
3953 if test -n "$x_libraries"; then
3954 X_LIBS="$X_LIBS -L$x_libraries"
3955 # For Solaris; some versions of Sun CC require a space after -R and
3956 # others require no space. Words are not sufficient . . . .
3957 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3958 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3959 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3960 ac_xsave_c_werror_flag=$ac_c_werror_flag
3961 ac_c_werror_flag=yes
3962 cat >conftest.$ac_ext <<_ACEOF
3965 cat confdefs.h >>conftest.$ac_ext
3966 cat >>conftest.$ac_ext <<_ACEOF
3967 /* end confdefs.h. */
3977 rm -f conftest.$ac_objext conftest$ac_exeext
3978 if { (ac_try="$ac_link"
3980 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3981 *) ac_try_echo
=$ac_try;;
3983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3984 (eval "$ac_link") 2>conftest.er1
3986 grep -v '^ *+' conftest.er1
>conftest.err
3988 cat conftest.err
>&5
3989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990 (exit $ac_status); } && {
3991 test -z "$ac_c_werror_flag" ||
3992 test ! -s conftest.err
3993 } && test -s conftest
$ac_exeext &&
3994 $as_test_x conftest
$ac_exeext; then
3995 { echo "$as_me:$LINENO: result: no" >&5
3996 echo "${ECHO_T}no" >&6; }
3997 X_LIBS
="$X_LIBS -R$x_libraries"
3999 echo "$as_me: failed program was:" >&5
4000 sed 's/^/| /' conftest.
$ac_ext >&5
4002 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4003 cat >conftest.
$ac_ext <<_ACEOF
4006 cat confdefs.h
>>conftest.
$ac_ext
4007 cat >>conftest.
$ac_ext <<_ACEOF
4008 /* end confdefs.h. */
4018 rm -f conftest.
$ac_objext conftest
$ac_exeext
4019 if { (ac_try
="$ac_link"
4021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4022 *) ac_try_echo=$ac_try;;
4024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4025 (eval "$ac_link") 2>conftest.er1
4027 grep -v '^ *+' conftest.er1 >conftest.err
4029 cat conftest.err >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); } && {
4032 test -z "$ac_c_werror_flag" ||
4033 test ! -s conftest.err
4034 } && test -s conftest$ac_exeext &&
4035 $as_test_x conftest$ac_exeext; then
4036 { echo "$as_me:$LINENO: result: yes" >&5
4037 echo "${ECHO_T}yes" >&6; }
4038 X_LIBS="$X_LIBS -R $x_libraries"
4040 echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.$ac_ext >&5
4043 { echo "$as_me:$LINENO: result: neither works" >&5
4044 echo "${ECHO_T}neither works" >&6; }
4047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4048 conftest$ac_exeext conftest.$ac_ext
4051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4052 conftest$ac_exeext conftest.$ac_ext
4053 ac_c_werror_flag=$ac_xsave_c_werror_flag
4057 # Check for system-dependent libraries X programs must link with.
4058 # Do this before checking for the system-independent R6 libraries
4059 # (-lICE), since we may need -lsocket or whatever for X linking.
4061 if test "$ISC" = yes; then
4062 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4064 # Martyn Johnson says this is needed for Ultrix, if the X
4065 # libraries were built with DECnet support. And Karl Berry says
4066 # the Alpha needs dnet_stub (dnet does not exist).
4067 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4068 cat >conftest.$ac_ext <<_ACEOF
4071 cat confdefs.h >>conftest.$ac_ext
4072 cat >>conftest.$ac_ext <<_ACEOF
4073 /* end confdefs.h. */
4075 /* Override any GCC internal prototype to avoid an error.
4076 Use char because int might match the return type of a GCC
4077 builtin and then its argument prototype would still apply. */
4081 char XOpenDisplay ();
4085 return XOpenDisplay ();
4090 rm -f conftest.$ac_objext conftest$ac_exeext
4091 if { (ac_try="$ac_link"
4093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4094 *) ac_try_echo
=$ac_try;;
4096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4097 (eval "$ac_link") 2>conftest.er1
4099 grep -v '^ *+' conftest.er1
>conftest.err
4101 cat conftest.err
>&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); } && {
4104 test -z "$ac_c_werror_flag" ||
4105 test ! -s conftest.err
4106 } && test -s conftest
$ac_exeext &&
4107 $as_test_x conftest
$ac_exeext; then
4110 echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.
$ac_ext >&5
4113 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4114 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4115 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4118 ac_check_lib_save_LIBS
=$LIBS
4120 cat >conftest.
$ac_ext <<_ACEOF
4123 cat confdefs.h
>>conftest.
$ac_ext
4124 cat >>conftest.
$ac_ext <<_ACEOF
4125 /* end confdefs.h. */
4127 /* Override any GCC internal prototype to avoid an error.
4128 Use char because int might match the return type of a GCC
4129 builtin and then its argument prototype would still apply. */
4137 return dnet_ntoa ();
4142 rm -f conftest.
$ac_objext conftest
$ac_exeext
4143 if { (ac_try
="$ac_link"
4145 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4146 *) ac_try_echo=$ac_try;;
4148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4149 (eval "$ac_link") 2>conftest.er1
4151 grep -v '^ *+' conftest.er1 >conftest.err
4153 cat conftest.err >&5
4154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4155 (exit $ac_status); } && {
4156 test -z "$ac_c_werror_flag" ||
4157 test ! -s conftest.err
4158 } && test -s conftest$ac_exeext &&
4159 $as_test_x conftest$ac_exeext; then
4160 ac_cv_lib_dnet_dnet_ntoa=yes
4162 echo "$as_me: failed program was:" >&5
4163 sed 's/^/| /' conftest.$ac_ext >&5
4165 ac_cv_lib_dnet_dnet_ntoa=no
4168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4169 conftest$ac_exeext conftest.$ac_ext
4170 LIBS=$ac_check_lib_save_LIBS
4172 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4173 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4174 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4175 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4178 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4179 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4180 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4181 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4182 echo $ECHO_N "(cached) $ECHO_C" >&6
4184 ac_check_lib_save_LIBS=$LIBS
4185 LIBS="-ldnet_stub $LIBS"
4186 cat >conftest.$ac_ext <<_ACEOF
4189 cat confdefs.h >>conftest.$ac_ext
4190 cat >>conftest.$ac_ext <<_ACEOF
4191 /* end confdefs.h. */
4193 /* Override any GCC internal prototype to avoid an error.
4194 Use char because int might match the return type of a GCC
4195 builtin and then its argument prototype would still apply. */
4203 return dnet_ntoa ();
4208 rm -f conftest.$ac_objext conftest$ac_exeext
4209 if { (ac_try="$ac_link"
4211 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4212 *) ac_try_echo
=$ac_try;;
4214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4215 (eval "$ac_link") 2>conftest.er1
4217 grep -v '^ *+' conftest.er1
>conftest.err
4219 cat conftest.err
>&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); } && {
4222 test -z "$ac_c_werror_flag" ||
4223 test ! -s conftest.err
4224 } && test -s conftest
$ac_exeext &&
4225 $as_test_x conftest
$ac_exeext; then
4226 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4228 echo "$as_me: failed program was:" >&5
4229 sed 's/^/| /' conftest.
$ac_ext >&5
4231 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4234 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4235 conftest
$ac_exeext conftest.
$ac_ext
4236 LIBS
=$ac_check_lib_save_LIBS
4238 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4239 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4240 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4241 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4247 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4248 conftest
$ac_exeext conftest.
$ac_ext
4249 LIBS
="$ac_xsave_LIBS"
4251 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4252 # to get the SysV transport functions.
4253 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4255 # The nsl library prevents programs from opening the X display
4256 # on Irix 5.2, according to T.E. Dickey.
4257 # The functions gethostbyname, getservbyname, and inet_addr are
4258 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4259 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4260 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4261 if test "${ac_cv_func_gethostbyname+set}" = set; then
4262 echo $ECHO_N "(cached) $ECHO_C" >&6
4264 cat >conftest.
$ac_ext <<_ACEOF
4267 cat confdefs.h
>>conftest.
$ac_ext
4268 cat >>conftest.
$ac_ext <<_ACEOF
4269 /* end confdefs.h. */
4270 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4272 #define gethostbyname innocuous_gethostbyname
4274 /* System header to define __stub macros and hopefully few prototypes,
4275 which can conflict with char gethostbyname (); below.
4276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4277 <limits.h> exists even on freestanding compilers. */
4280 # include <limits.h>
4282 # include <assert.h>
4285 #undef gethostbyname
4287 /* Override any GCC internal prototype to avoid an error.
4288 Use char because int might match the return type of a GCC
4289 builtin and then its argument prototype would still apply. */
4293 char gethostbyname ();
4294 /* The GNU C library defines this for functions which it implements
4295 to always fail with ENOSYS. Some functions are actually named
4296 something starting with __ and the normal name is an alias. */
4297 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4304 return gethostbyname ();
4309 rm -f conftest.
$ac_objext conftest
$ac_exeext
4310 if { (ac_try
="$ac_link"
4312 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4313 *) ac_try_echo=$ac_try;;
4315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4316 (eval "$ac_link") 2>conftest.er1
4318 grep -v '^ *+' conftest.er1 >conftest.err
4320 cat conftest.err >&5
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); } && {
4323 test -z "$ac_c_werror_flag" ||
4324 test ! -s conftest.err
4325 } && test -s conftest$ac_exeext &&
4326 $as_test_x conftest$ac_exeext; then
4327 ac_cv_func_gethostbyname=yes
4329 echo "$as_me: failed program was:" >&5
4330 sed 's/^/| /' conftest.$ac_ext >&5
4332 ac_cv_func_gethostbyname=no
4335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4336 conftest$ac_exeext conftest.$ac_ext
4338 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4339 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4341 if test $ac_cv_func_gethostbyname = no; then
4342 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4343 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4344 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4345 echo $ECHO_N "(cached) $ECHO_C" >&6
4347 ac_check_lib_save_LIBS=$LIBS
4349 cat >conftest.$ac_ext <<_ACEOF
4352 cat confdefs.h >>conftest.$ac_ext
4353 cat >>conftest.$ac_ext <<_ACEOF
4354 /* end confdefs.h. */
4356 /* Override any GCC internal prototype to avoid an error.
4357 Use char because int might match the return type of a GCC
4358 builtin and then its argument prototype would still apply. */
4362 char gethostbyname ();
4366 return gethostbyname ();
4371 rm -f conftest.$ac_objext conftest$ac_exeext
4372 if { (ac_try="$ac_link"
4374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4375 *) ac_try_echo
=$ac_try;;
4377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4378 (eval "$ac_link") 2>conftest.er1
4380 grep -v '^ *+' conftest.er1
>conftest.err
4382 cat conftest.err
>&5
4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); } && {
4385 test -z "$ac_c_werror_flag" ||
4386 test ! -s conftest.err
4387 } && test -s conftest
$ac_exeext &&
4388 $as_test_x conftest
$ac_exeext; then
4389 ac_cv_lib_nsl_gethostbyname
=yes
4391 echo "$as_me: failed program was:" >&5
4392 sed 's/^/| /' conftest.
$ac_ext >&5
4394 ac_cv_lib_nsl_gethostbyname
=no
4397 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4398 conftest
$ac_exeext conftest.
$ac_ext
4399 LIBS
=$ac_check_lib_save_LIBS
4401 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4402 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4403 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4404 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4407 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4408 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4409 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4410 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4411 echo $ECHO_N "(cached) $ECHO_C" >&6
4413 ac_check_lib_save_LIBS
=$LIBS
4415 cat >conftest.
$ac_ext <<_ACEOF
4418 cat confdefs.h
>>conftest.
$ac_ext
4419 cat >>conftest.
$ac_ext <<_ACEOF
4420 /* end confdefs.h. */
4422 /* Override any GCC internal prototype to avoid an error.
4423 Use char because int might match the return type of a GCC
4424 builtin and then its argument prototype would still apply. */
4428 char gethostbyname ();
4432 return gethostbyname ();
4437 rm -f conftest.
$ac_objext conftest
$ac_exeext
4438 if { (ac_try
="$ac_link"
4440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4441 *) ac_try_echo=$ac_try;;
4443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4444 (eval "$ac_link") 2>conftest.er1
4446 grep -v '^ *+' conftest.er1 >conftest.err
4448 cat conftest.err >&5
4449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4450 (exit $ac_status); } && {
4451 test -z "$ac_c_werror_flag" ||
4452 test ! -s conftest.err
4453 } && test -s conftest$ac_exeext &&
4454 $as_test_x conftest$ac_exeext; then
4455 ac_cv_lib_bsd_gethostbyname=yes
4457 echo "$as_me: failed program was:" >&5
4458 sed 's/^/| /' conftest.$ac_ext >&5
4460 ac_cv_lib_bsd_gethostbyname=no
4463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4464 conftest$ac_exeext conftest.$ac_ext
4465 LIBS=$ac_check_lib_save_LIBS
4467 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4468 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4469 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4470 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4476 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4477 # socket/setsockopt and other routines are undefined under SCO ODT
4478 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4479 # on later versions), says Simon Leinen: it contains gethostby*
4480 # variants that don't use the name server (or something). -lsocket
4481 # must be given before -lnsl if both are needed. We assume that
4482 # if connect needs -lnsl, so does gethostbyname.
4483 { echo "$as_me:$LINENO: checking for connect" >&5
4484 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4485 if test "${ac_cv_func_connect+set}" = set; then
4486 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 cat >conftest.$ac_ext <<_ACEOF
4491 cat confdefs.h >>conftest.$ac_ext
4492 cat >>conftest.$ac_ext <<_ACEOF
4493 /* end confdefs.h. */
4494 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4496 #define connect innocuous_connect
4498 /* System header to define __stub macros and hopefully few prototypes,
4499 which can conflict with char connect (); below.
4500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4501 <limits.h> exists even on freestanding compilers. */
4504 # include <limits.h>
4506 # include <assert.h>
4511 /* Override any GCC internal prototype to avoid an error.
4512 Use char because int might match the return type of a GCC
4513 builtin and then its argument prototype would still apply. */
4518 /* The GNU C library defines this for functions which it implements
4519 to always fail with ENOSYS. Some functions are actually named
4520 something starting with __ and the normal name is an alias. */
4521 #if defined __stub_connect || defined __stub___connect
4533 rm -f conftest.$ac_objext conftest$ac_exeext
4534 if { (ac_try="$ac_link"
4536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4537 *) ac_try_echo
=$ac_try;;
4539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4540 (eval "$ac_link") 2>conftest.er1
4542 grep -v '^ *+' conftest.er1
>conftest.err
4544 cat conftest.err
>&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); } && {
4547 test -z "$ac_c_werror_flag" ||
4548 test ! -s conftest.err
4549 } && test -s conftest
$ac_exeext &&
4550 $as_test_x conftest
$ac_exeext; then
4551 ac_cv_func_connect
=yes
4553 echo "$as_me: failed program was:" >&5
4554 sed 's/^/| /' conftest.
$ac_ext >&5
4556 ac_cv_func_connect
=no
4559 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4560 conftest
$ac_exeext conftest.
$ac_ext
4562 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4563 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4565 if test $ac_cv_func_connect = no
; then
4566 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4567 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4568 if test "${ac_cv_lib_socket_connect+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4571 ac_check_lib_save_LIBS
=$LIBS
4572 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4573 cat >conftest.
$ac_ext <<_ACEOF
4576 cat confdefs.h
>>conftest.
$ac_ext
4577 cat >>conftest.
$ac_ext <<_ACEOF
4578 /* end confdefs.h. */
4580 /* Override any GCC internal prototype to avoid an error.
4581 Use char because int might match the return type of a GCC
4582 builtin and then its argument prototype would still apply. */
4595 rm -f conftest.
$ac_objext conftest
$ac_exeext
4596 if { (ac_try
="$ac_link"
4598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4599 *) ac_try_echo=$ac_try;;
4601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4602 (eval "$ac_link") 2>conftest.er1
4604 grep -v '^ *+' conftest.er1 >conftest.err
4606 cat conftest.err >&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); } && {
4609 test -z "$ac_c_werror_flag" ||
4610 test ! -s conftest.err
4611 } && test -s conftest$ac_exeext &&
4612 $as_test_x conftest$ac_exeext; then
4613 ac_cv_lib_socket_connect=yes
4615 echo "$as_me: failed program was:" >&5
4616 sed 's/^/| /' conftest.$ac_ext >&5
4618 ac_cv_lib_socket_connect=no
4621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4622 conftest$ac_exeext conftest.$ac_ext
4623 LIBS=$ac_check_lib_save_LIBS
4625 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4626 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4627 if test $ac_cv_lib_socket_connect = yes; then
4628 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4633 # Guillermo Gomez says -lposix is necessary on A/UX.
4634 { echo "$as_me:$LINENO: checking for remove" >&5
4635 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4636 if test "${ac_cv_func_remove+set}" = set; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4639 cat >conftest.$ac_ext <<_ACEOF
4642 cat confdefs.h >>conftest.$ac_ext
4643 cat >>conftest.$ac_ext <<_ACEOF
4644 /* end confdefs.h. */
4645 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4647 #define remove innocuous_remove
4649 /* System header to define __stub macros and hopefully few prototypes,
4650 which can conflict with char remove (); below.
4651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4652 <limits.h> exists even on freestanding compilers. */
4655 # include <limits.h>
4657 # include <assert.h>
4662 /* Override any GCC internal prototype to avoid an error.
4663 Use char because int might match the return type of a GCC
4664 builtin and then its argument prototype would still apply. */
4669 /* The GNU C library defines this for functions which it implements
4670 to always fail with ENOSYS. Some functions are actually named
4671 something starting with __ and the normal name is an alias. */
4672 #if defined __stub_remove || defined __stub___remove
4684 rm -f conftest.$ac_objext conftest$ac_exeext
4685 if { (ac_try="$ac_link"
4687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4688 *) ac_try_echo
=$ac_try;;
4690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4691 (eval "$ac_link") 2>conftest.er1
4693 grep -v '^ *+' conftest.er1
>conftest.err
4695 cat conftest.err
>&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); } && {
4698 test -z "$ac_c_werror_flag" ||
4699 test ! -s conftest.err
4700 } && test -s conftest
$ac_exeext &&
4701 $as_test_x conftest
$ac_exeext; then
4702 ac_cv_func_remove
=yes
4704 echo "$as_me: failed program was:" >&5
4705 sed 's/^/| /' conftest.
$ac_ext >&5
4707 ac_cv_func_remove
=no
4710 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4711 conftest
$ac_exeext conftest.
$ac_ext
4713 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4714 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4716 if test $ac_cv_func_remove = no
; then
4717 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4718 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4719 if test "${ac_cv_lib_posix_remove+set}" = set; then
4720 echo $ECHO_N "(cached) $ECHO_C" >&6
4722 ac_check_lib_save_LIBS
=$LIBS
4723 LIBS
="-lposix $LIBS"
4724 cat >conftest.
$ac_ext <<_ACEOF
4727 cat confdefs.h
>>conftest.
$ac_ext
4728 cat >>conftest.
$ac_ext <<_ACEOF
4729 /* end confdefs.h. */
4731 /* Override any GCC internal prototype to avoid an error.
4732 Use char because int might match the return type of a GCC
4733 builtin and then its argument prototype would still apply. */
4746 rm -f conftest.
$ac_objext conftest
$ac_exeext
4747 if { (ac_try
="$ac_link"
4749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4750 *) ac_try_echo=$ac_try;;
4752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4753 (eval "$ac_link") 2>conftest.er1
4755 grep -v '^ *+' conftest.er1 >conftest.err
4757 cat conftest.err >&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } && {
4760 test -z "$ac_c_werror_flag" ||
4761 test ! -s conftest.err
4762 } && test -s conftest$ac_exeext &&
4763 $as_test_x conftest$ac_exeext; then
4764 ac_cv_lib_posix_remove=yes
4766 echo "$as_me: failed program was:" >&5
4767 sed 's/^/| /' conftest.$ac_ext >&5
4769 ac_cv_lib_posix_remove=no
4772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4773 conftest$ac_exeext conftest.$ac_ext
4774 LIBS=$ac_check_lib_save_LIBS
4776 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4777 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4778 if test $ac_cv_lib_posix_remove = yes; then
4779 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4784 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4785 { echo "$as_me:$LINENO: checking for shmat" >&5
4786 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4787 if test "${ac_cv_func_shmat+set}" = set; then
4788 echo $ECHO_N "(cached) $ECHO_C" >&6
4790 cat >conftest.$ac_ext <<_ACEOF
4793 cat confdefs.h >>conftest.$ac_ext
4794 cat >>conftest.$ac_ext <<_ACEOF
4795 /* end confdefs.h. */
4796 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4798 #define shmat innocuous_shmat
4800 /* System header to define __stub macros and hopefully few prototypes,
4801 which can conflict with char shmat (); below.
4802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4803 <limits.h> exists even on freestanding compilers. */
4806 # include <limits.h>
4808 # include <assert.h>
4813 /* Override any GCC internal prototype to avoid an error.
4814 Use char because int might match the return type of a GCC
4815 builtin and then its argument prototype would still apply. */
4820 /* The GNU C library defines this for functions which it implements
4821 to always fail with ENOSYS. Some functions are actually named
4822 something starting with __ and the normal name is an alias. */
4823 #if defined __stub_shmat || defined __stub___shmat
4835 rm -f conftest.$ac_objext conftest$ac_exeext
4836 if { (ac_try="$ac_link"
4838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4839 *) ac_try_echo
=$ac_try;;
4841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4842 (eval "$ac_link") 2>conftest.er1
4844 grep -v '^ *+' conftest.er1
>conftest.err
4846 cat conftest.err
>&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); } && {
4849 test -z "$ac_c_werror_flag" ||
4850 test ! -s conftest.err
4851 } && test -s conftest
$ac_exeext &&
4852 $as_test_x conftest
$ac_exeext; then
4853 ac_cv_func_shmat
=yes
4855 echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.
$ac_ext >&5
4861 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4862 conftest
$ac_exeext conftest.
$ac_ext
4864 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4865 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4867 if test $ac_cv_func_shmat = no
; then
4868 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4869 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4870 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4871 echo $ECHO_N "(cached) $ECHO_C" >&6
4873 ac_check_lib_save_LIBS
=$LIBS
4875 cat >conftest.
$ac_ext <<_ACEOF
4878 cat confdefs.h
>>conftest.
$ac_ext
4879 cat >>conftest.
$ac_ext <<_ACEOF
4880 /* end confdefs.h. */
4882 /* Override any GCC internal prototype to avoid an error.
4883 Use char because int might match the return type of a GCC
4884 builtin and then its argument prototype would still apply. */
4897 rm -f conftest.
$ac_objext conftest
$ac_exeext
4898 if { (ac_try
="$ac_link"
4900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4901 *) ac_try_echo=$ac_try;;
4903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4904 (eval "$ac_link") 2>conftest.er1
4906 grep -v '^ *+' conftest.er1 >conftest.err
4908 cat conftest.err >&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); } && {
4911 test -z "$ac_c_werror_flag" ||
4912 test ! -s conftest.err
4913 } && test -s conftest$ac_exeext &&
4914 $as_test_x conftest$ac_exeext; then
4915 ac_cv_lib_ipc_shmat=yes
4917 echo "$as_me: failed program was:" >&5
4918 sed 's/^/| /' conftest.$ac_ext >&5
4920 ac_cv_lib_ipc_shmat=no
4923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4924 conftest$ac_exeext conftest.$ac_ext
4925 LIBS=$ac_check_lib_save_LIBS
4927 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4928 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4929 if test $ac_cv_lib_ipc_shmat = yes; then
4930 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4936 # Check for libraries that X11R6 Xt/Xaw programs need.
4937 ac_save_LDFLAGS=$LDFLAGS
4938 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4939 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4940 # check for ICE first), but we must link in the order -lSM -lICE or
4941 # we get undefined symbols. So assume we have SM if we have ICE.
4942 # These have to be linked with before -lX11, unlike the other
4943 # libraries we check for below, so use a different variable.
4944 # John Interrante, Karl Berry
4945 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4946 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4947 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4948 echo $ECHO_N "(cached) $ECHO_C" >&6
4950 ac_check_lib_save_LIBS=$LIBS
4951 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4952 cat >conftest.$ac_ext <<_ACEOF
4955 cat confdefs.h >>conftest.$ac_ext
4956 cat >>conftest.$ac_ext <<_ACEOF
4957 /* end confdefs.h. */
4959 /* Override any GCC internal prototype to avoid an error.
4960 Use char because int might match the return type of a GCC
4961 builtin and then its argument prototype would still apply. */
4965 char IceConnectionNumber ();
4969 return IceConnectionNumber ();
4974 rm -f conftest.$ac_objext conftest$ac_exeext
4975 if { (ac_try="$ac_link"
4977 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4978 *) ac_try_echo
=$ac_try;;
4980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4981 (eval "$ac_link") 2>conftest.er1
4983 grep -v '^ *+' conftest.er1
>conftest.err
4985 cat conftest.err
>&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); } && {
4988 test -z "$ac_c_werror_flag" ||
4989 test ! -s conftest.err
4990 } && test -s conftest
$ac_exeext &&
4991 $as_test_x conftest
$ac_exeext; then
4992 ac_cv_lib_ICE_IceConnectionNumber
=yes
4994 echo "$as_me: failed program was:" >&5
4995 sed 's/^/| /' conftest.
$ac_ext >&5
4997 ac_cv_lib_ICE_IceConnectionNumber
=no
5000 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5001 conftest
$ac_exeext conftest.
$ac_ext
5002 LIBS
=$ac_check_lib_save_LIBS
5004 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5005 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5006 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5007 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5010 LDFLAGS
=$ac_save_LDFLAGS
5017 # Extract the first word of "$ac_prog", so it can be a program name with args.
5018 set dummy
$ac_prog; ac_word
=$2
5019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5021 if test "${ac_cv_prog_FLEX+set}" = set; then
5022 echo $ECHO_N "(cached) $ECHO_C" >&6
5024 if test -n "$FLEX"; then
5025 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5031 test -z "$as_dir" && as_dir
=.
5032 for ac_exec_ext
in '' $ac_executable_extensions; do
5033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5034 ac_cv_prog_FLEX
="$ac_prog"
5035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5044 FLEX
=$ac_cv_prog_FLEX
5045 if test -n "$FLEX"; then
5046 { echo "$as_me:$LINENO: result: $FLEX" >&5
5047 echo "${ECHO_T}$FLEX" >&6; }
5049 { echo "$as_me:$LINENO: result: no" >&5
5050 echo "${ECHO_T}no" >&6; }
5054 test -n "$FLEX" && break
5056 test -n "$FLEX" || FLEX
="none"
5058 if test "$FLEX" = "none"
5060 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5061 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5062 { (exit 1); exit 1; }; }
5065 for ac_prog
in bison
5067 # Extract the first word of "$ac_prog", so it can be a program name with args.
5068 set dummy
$ac_prog; ac_word
=$2
5069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5071 if test "${ac_cv_prog_BISON+set}" = set; then
5072 echo $ECHO_N "(cached) $ECHO_C" >&6
5074 if test -n "$BISON"; then
5075 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5081 test -z "$as_dir" && as_dir
=.
5082 for ac_exec_ext
in '' $ac_executable_extensions; do
5083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5084 ac_cv_prog_BISON
="$ac_prog"
5085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 BISON
=$ac_cv_prog_BISON
5095 if test -n "$BISON"; then
5096 { echo "$as_me:$LINENO: result: $BISON" >&5
5097 echo "${ECHO_T}$BISON" >&6; }
5099 { echo "$as_me:$LINENO: result: no" >&5
5100 echo "${ECHO_T}no" >&6; }
5104 test -n "$BISON" && break
5106 test -n "$BISON" || BISON
="none"
5108 if test "$BISON" = "none"
5110 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5111 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5112 { (exit 1); exit 1; }; }
5115 if test -n "$ac_tool_prefix"; then
5116 for ac_prog
in gas as
5118 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5119 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5122 if test "${ac_cv_prog_AS+set}" = set; then
5123 echo $ECHO_N "(cached) $ECHO_C" >&6
5125 if test -n "$AS"; then
5126 ac_cv_prog_AS
="$AS" # Let the user override the test.
5128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5132 test -z "$as_dir" && as_dir
=.
5133 for ac_exec_ext
in '' $ac_executable_extensions; do
5134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5135 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 if test -n "$AS"; then
5147 { echo "$as_me:$LINENO: result: $AS" >&5
5148 echo "${ECHO_T}$AS" >&6; }
5150 { echo "$as_me:$LINENO: result: no" >&5
5151 echo "${ECHO_T}no" >&6; }
5155 test -n "$AS" && break
5158 if test -z "$AS"; then
5160 for ac_prog
in gas as
5162 # Extract the first word of "$ac_prog", so it can be a program name with args.
5163 set dummy
$ac_prog; ac_word
=$2
5164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5166 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5167 echo $ECHO_N "(cached) $ECHO_C" >&6
5169 if test -n "$ac_ct_AS"; then
5170 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5176 test -z "$as_dir" && as_dir
=.
5177 for ac_exec_ext
in '' $ac_executable_extensions; do
5178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5179 ac_cv_prog_ac_ct_AS
="$ac_prog"
5180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5189 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5190 if test -n "$ac_ct_AS"; then
5191 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5192 echo "${ECHO_T}$ac_ct_AS" >&6; }
5194 { echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6; }
5199 test -n "$ac_ct_AS" && break
5202 if test "x$ac_ct_AS" = x
; then
5205 case $cross_compiling:$ac_tool_warned in
5207 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5208 whose name does not start with the host triplet. If you think this
5209 configuration is useful to you, please write to autoconf@gnu.org." >&5
5210 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5211 whose name does not start with the host triplet. If you think this
5212 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5213 ac_tool_warned
=yes ;;
5219 if test -n "$ac_tool_prefix"; then
5220 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5221 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5222 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5224 if test "${ac_cv_prog_LD+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 if test -n "$LD"; then
5228 ac_cv_prog_LD
="$LD" # Let the user override the test.
5230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5234 test -z "$as_dir" && as_dir
=.
5235 for ac_exec_ext
in '' $ac_executable_extensions; do
5236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5237 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5248 if test -n "$LD"; then
5249 { echo "$as_me:$LINENO: result: $LD" >&5
5250 echo "${ECHO_T}$LD" >&6; }
5252 { echo "$as_me:$LINENO: result: no" >&5
5253 echo "${ECHO_T}no" >&6; }
5258 if test -z "$ac_cv_prog_LD"; then
5260 # Extract the first word of "ld", so it can be a program name with args.
5261 set dummy ld
; ac_word
=$2
5262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5264 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5265 echo $ECHO_N "(cached) $ECHO_C" >&6
5267 if test -n "$ac_ct_LD"; then
5268 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5274 test -z "$as_dir" && as_dir
=.
5275 for ac_exec_ext
in '' $ac_executable_extensions; do
5276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5277 ac_cv_prog_ac_ct_LD
="ld"
5278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5287 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5288 if test -n "$ac_ct_LD"; then
5289 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5290 echo "${ECHO_T}$ac_ct_LD" >&6; }
5292 { echo "$as_me:$LINENO: result: no" >&5
5293 echo "${ECHO_T}no" >&6; }
5296 if test "x$ac_ct_LD" = x
; then
5299 case $cross_compiling:$ac_tool_warned in
5301 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5302 whose name does not start with the host triplet. If you think this
5303 configuration is useful to you, please write to autoconf@gnu.org." >&5
5304 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5305 whose name does not start with the host triplet. If you think this
5306 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5307 ac_tool_warned
=yes ;;
5315 if test -n "$ac_tool_prefix"; then
5316 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5317 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5320 if test "${ac_cv_prog_AR+set}" = set; then
5321 echo $ECHO_N "(cached) $ECHO_C" >&6
5323 if test -n "$AR"; then
5324 ac_cv_prog_AR
="$AR" # Let the user override the test.
5326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5330 test -z "$as_dir" && as_dir
=.
5331 for ac_exec_ext
in '' $ac_executable_extensions; do
5332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5333 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5344 if test -n "$AR"; then
5345 { echo "$as_me:$LINENO: result: $AR" >&5
5346 echo "${ECHO_T}$AR" >&6; }
5348 { echo "$as_me:$LINENO: result: no" >&5
5349 echo "${ECHO_T}no" >&6; }
5354 if test -z "$ac_cv_prog_AR"; then
5356 # Extract the first word of "ar", so it can be a program name with args.
5357 set dummy
ar; ac_word
=$2
5358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5360 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5361 echo $ECHO_N "(cached) $ECHO_C" >&6
5363 if test -n "$ac_ct_AR"; then
5364 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5370 test -z "$as_dir" && as_dir
=.
5371 for ac_exec_ext
in '' $ac_executable_extensions; do
5372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5373 ac_cv_prog_ac_ct_AR
="ar"
5374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5383 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5384 if test -n "$ac_ct_AR"; then
5385 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5386 echo "${ECHO_T}$ac_ct_AR" >&6; }
5388 { echo "$as_me:$LINENO: result: no" >&5
5389 echo "${ECHO_T}no" >&6; }
5392 if test "x$ac_ct_AR" = x
; then
5395 case $cross_compiling:$ac_tool_warned in
5397 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5398 whose name does not start with the host triplet. If you think this
5399 configuration is useful to you, please write to autoconf@gnu.org." >&5
5400 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5401 whose name does not start with the host triplet. If you think this
5402 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5403 ac_tool_warned
=yes ;;
5411 if test -n "$ac_tool_prefix"; then
5412 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5413 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5416 if test "${ac_cv_prog_RANLIB+set}" = set; then
5417 echo $ECHO_N "(cached) $ECHO_C" >&6
5419 if test -n "$RANLIB"; then
5420 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5426 test -z "$as_dir" && as_dir
=.
5427 for ac_exec_ext
in '' $ac_executable_extensions; do
5428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5429 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5439 RANLIB
=$ac_cv_prog_RANLIB
5440 if test -n "$RANLIB"; then
5441 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5442 echo "${ECHO_T}$RANLIB" >&6; }
5444 { echo "$as_me:$LINENO: result: no" >&5
5445 echo "${ECHO_T}no" >&6; }
5450 if test -z "$ac_cv_prog_RANLIB"; then
5451 ac_ct_RANLIB
=$RANLIB
5452 # Extract the first word of "ranlib", so it can be a program name with args.
5453 set dummy ranlib
; ac_word
=$2
5454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5456 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5457 echo $ECHO_N "(cached) $ECHO_C" >&6
5459 if test -n "$ac_ct_RANLIB"; then
5460 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5466 test -z "$as_dir" && as_dir
=.
5467 for ac_exec_ext
in '' $ac_executable_extensions; do
5468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5469 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5479 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5480 if test -n "$ac_ct_RANLIB"; then
5481 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5482 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5484 { echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6; }
5488 if test "x$ac_ct_RANLIB" = x
; then
5491 case $cross_compiling:$ac_tool_warned in
5493 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5494 whose name does not start with the host triplet. If you think this
5495 configuration is useful to you, please write to autoconf@gnu.org." >&5
5496 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5497 whose name does not start with the host triplet. If you think this
5498 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5499 ac_tool_warned
=yes ;;
5501 RANLIB
=$ac_ct_RANLIB
5504 RANLIB
="$ac_cv_prog_RANLIB"
5507 if test -n "$ac_tool_prefix"; then
5508 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5509 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5512 if test "${ac_cv_prog_STRIP+set}" = set; then
5513 echo $ECHO_N "(cached) $ECHO_C" >&6
5515 if test -n "$STRIP"; then
5516 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5522 test -z "$as_dir" && as_dir
=.
5523 for ac_exec_ext
in '' $ac_executable_extensions; do
5524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5525 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5535 STRIP
=$ac_cv_prog_STRIP
5536 if test -n "$STRIP"; then
5537 { echo "$as_me:$LINENO: result: $STRIP" >&5
5538 echo "${ECHO_T}$STRIP" >&6; }
5540 { echo "$as_me:$LINENO: result: no" >&5
5541 echo "${ECHO_T}no" >&6; }
5546 if test -z "$ac_cv_prog_STRIP"; then
5548 # Extract the first word of "strip", so it can be a program name with args.
5549 set dummy strip
; ac_word
=$2
5550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5552 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5553 echo $ECHO_N "(cached) $ECHO_C" >&6
5555 if test -n "$ac_ct_STRIP"; then
5556 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5562 test -z "$as_dir" && as_dir
=.
5563 for ac_exec_ext
in '' $ac_executable_extensions; do
5564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5565 ac_cv_prog_ac_ct_STRIP
="strip"
5566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5575 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5576 if test -n "$ac_ct_STRIP"; then
5577 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5578 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5580 { echo "$as_me:$LINENO: result: no" >&5
5581 echo "${ECHO_T}no" >&6; }
5584 if test "x$ac_ct_STRIP" = x
; then
5587 case $cross_compiling:$ac_tool_warned in
5589 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5590 whose name does not start with the host triplet. If you think this
5591 configuration is useful to you, please write to autoconf@gnu.org." >&5
5592 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5593 whose name does not start with the host triplet. If you think this
5594 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5595 ac_tool_warned
=yes ;;
5600 STRIP
="$ac_cv_prog_STRIP"
5603 if test -n "$ac_tool_prefix"; then
5604 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5605 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5606 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5608 if test "${ac_cv_prog_WINDRES+set}" = set; then
5609 echo $ECHO_N "(cached) $ECHO_C" >&6
5611 if test -n "$WINDRES"; then
5612 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5618 test -z "$as_dir" && as_dir
=.
5619 for ac_exec_ext
in '' $ac_executable_extensions; do
5620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5621 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5631 WINDRES
=$ac_cv_prog_WINDRES
5632 if test -n "$WINDRES"; then
5633 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5634 echo "${ECHO_T}$WINDRES" >&6; }
5636 { echo "$as_me:$LINENO: result: no" >&5
5637 echo "${ECHO_T}no" >&6; }
5642 if test -z "$ac_cv_prog_WINDRES"; then
5643 ac_ct_WINDRES
=$WINDRES
5644 # Extract the first word of "windres", so it can be a program name with args.
5645 set dummy windres
; ac_word
=$2
5646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5648 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5649 echo $ECHO_N "(cached) $ECHO_C" >&6
5651 if test -n "$ac_ct_WINDRES"; then
5652 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5658 test -z "$as_dir" && as_dir
=.
5659 for ac_exec_ext
in '' $ac_executable_extensions; do
5660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5661 ac_cv_prog_ac_ct_WINDRES
="windres"
5662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5671 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5672 if test -n "$ac_ct_WINDRES"; then
5673 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5674 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5676 { echo "$as_me:$LINENO: result: no" >&5
5677 echo "${ECHO_T}no" >&6; }
5680 if test "x$ac_ct_WINDRES" = x
; then
5683 case $cross_compiling:$ac_tool_warned in
5685 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5686 whose name does not start with the host triplet. If you think this
5687 configuration is useful to you, please write to autoconf@gnu.org." >&5
5688 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5689 whose name does not start with the host triplet. If you think this
5690 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5691 ac_tool_warned
=yes ;;
5693 WINDRES
=$ac_ct_WINDRES
5696 WINDRES
="$ac_cv_prog_WINDRES"
5699 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5700 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5702 if test "$LN_S" = "ln -s"; then
5703 { echo "$as_me:$LINENO: result: yes" >&5
5704 echo "${ECHO_T}yes" >&6; }
5706 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5707 echo "${ECHO_T}no, using $LN_S" >&6; }
5710 { echo "$as_me:$LINENO: checking whether ln works" >&5
5711 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5712 rm -f conf$$ conf$$.
file
5714 if ln conf$$.
file conf$$
2>/dev
/null
; then
5717 { echo "$as_me:$LINENO: result: yes" >&5
5718 echo "${ECHO_T}yes" >&6; }
5722 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5723 echo "${ECHO_T}no, using $LN" >&6; }
5725 rm -f conf$$ conf$$.
file
5726 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5727 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5728 if test "${ac_cv_path_GREP+set}" = set; then
5729 echo $ECHO_N "(cached) $ECHO_C" >&6
5731 # Extract the first word of "grep ggrep" to use in msg output
5732 if test -z "$GREP"; then
5733 set dummy
grep ggrep
; ac_prog_name
=$2
5734 if test "${ac_cv_path_GREP+set}" = set; then
5735 echo $ECHO_N "(cached) $ECHO_C" >&6
5737 ac_path_GREP_found
=false
5738 # Loop through the user's path and test for each of PROGNAME-LIST
5739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5740 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5743 test -z "$as_dir" && as_dir
=.
5744 for ac_prog
in grep ggrep
; do
5745 for ac_exec_ext
in '' $ac_executable_extensions; do
5746 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5747 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5748 # Check for GNU ac_path_GREP and select it if it is found.
5749 # Check for GNU $ac_path_GREP
5750 case `"$ac_path_GREP" --version 2>&1` in
5752 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5755 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5758 cat "conftest.in" "conftest.in" >"conftest.tmp"
5759 mv "conftest.tmp" "conftest.in"
5760 cp "conftest.in" "conftest.nl"
5761 echo 'GREP' >> "conftest.nl"
5762 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5763 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5764 ac_count
=`expr $ac_count + 1`
5765 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5766 # Best one so far, save it but keep looking for a better one
5767 ac_cv_path_GREP
="$ac_path_GREP"
5768 ac_path_GREP_max
=$ac_count
5770 # 10*(2^10) chars as input seems more than enough
5771 test $ac_count -gt 10 && break
5773 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5777 $ac_path_GREP_found && break 3
5787 GREP
="$ac_cv_path_GREP"
5788 if test -z "$GREP"; then
5789 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5790 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5791 { (exit 1); exit 1; }; }
5795 ac_cv_path_GREP
=$GREP
5800 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5801 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5802 GREP
="$ac_cv_path_GREP"
5805 { echo "$as_me:$LINENO: checking for egrep" >&5
5806 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5807 if test "${ac_cv_path_EGREP+set}" = set; then
5808 echo $ECHO_N "(cached) $ECHO_C" >&6
5810 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5811 then ac_cv_path_EGREP
="$GREP -E"
5813 # Extract the first word of "egrep" to use in msg output
5814 if test -z "$EGREP"; then
5815 set dummy
egrep; ac_prog_name
=$2
5816 if test "${ac_cv_path_EGREP+set}" = set; then
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5819 ac_path_EGREP_found
=false
5820 # Loop through the user's path and test for each of PROGNAME-LIST
5821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5822 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5825 test -z "$as_dir" && as_dir
=.
5826 for ac_prog
in egrep; do
5827 for ac_exec_ext
in '' $ac_executable_extensions; do
5828 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5829 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5830 # Check for GNU ac_path_EGREP and select it if it is found.
5831 # Check for GNU $ac_path_EGREP
5832 case `"$ac_path_EGREP" --version 2>&1` in
5834 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5837 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5840 cat "conftest.in" "conftest.in" >"conftest.tmp"
5841 mv "conftest.tmp" "conftest.in"
5842 cp "conftest.in" "conftest.nl"
5843 echo 'EGREP' >> "conftest.nl"
5844 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5845 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5846 ac_count
=`expr $ac_count + 1`
5847 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5848 # Best one so far, save it but keep looking for a better one
5849 ac_cv_path_EGREP
="$ac_path_EGREP"
5850 ac_path_EGREP_max
=$ac_count
5852 # 10*(2^10) chars as input seems more than enough
5853 test $ac_count -gt 10 && break
5855 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5859 $ac_path_EGREP_found && break 3
5869 EGREP
="$ac_cv_path_EGREP"
5870 if test -z "$EGREP"; then
5871 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5872 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5873 { (exit 1); exit 1; }; }
5877 ac_cv_path_EGREP
=$EGREP
5883 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5884 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5885 EGREP
="$ac_cv_path_EGREP"
5888 # Extract the first word of "ldconfig", so it can be a program name with args.
5889 set dummy ldconfig
; ac_word
=$2
5890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5892 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5893 echo $ECHO_N "(cached) $ECHO_C" >&6
5897 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5901 for as_dir
in /sbin
/usr
/sbin
$PATH
5904 test -z "$as_dir" && as_dir
=.
5905 for ac_exec_ext
in '' $ac_executable_extensions; do
5906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5907 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5915 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5919 LDCONFIG
=$ac_cv_path_LDCONFIG
5920 if test -n "$LDCONFIG"; then
5921 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5922 echo "${ECHO_T}$LDCONFIG" >&6; }
5924 { echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6; }
5929 # Find a good install program. We prefer a C program (faster),
5930 # so one script is as good as another. But avoid the broken or
5931 # incompatible versions:
5932 # SysV /etc/install, /usr/sbin/install
5933 # SunOS /usr/etc/install
5934 # IRIX /sbin/install
5936 # AmigaOS /C/install, which installs bootblocks on floppy discs
5937 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5938 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5939 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5940 # OS/2's system install, which has a completely different semantic
5941 # ./install, which can be erroneously created by make from ./install.sh.
5942 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5943 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5944 if test -z "$INSTALL"; then
5945 if test "${ac_cv_path_install+set}" = set; then
5946 echo $ECHO_N "(cached) $ECHO_C" >&6
5948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5952 test -z "$as_dir" && as_dir
=.
5953 # Account for people who put trailing slashes in PATH elements.
5955 .
/ | .
// |
/cC
/* | \
5956 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5957 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5960 # OSF1 and SCO ODT 3.0 have their own names for install.
5961 # Don't use installbsd from OSF since it installs stuff as root
5963 for ac_prog
in ginstall scoinst
install; do
5964 for ac_exec_ext
in '' $ac_executable_extensions; do
5965 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5966 if test $ac_prog = install &&
5967 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5968 # AIX install. It has an incompatible calling convention.
5970 elif test $ac_prog = install &&
5971 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5972 # program-specific install script used by HP pwplus--don't use.
5975 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5988 if test "${ac_cv_path_install+set}" = set; then
5989 INSTALL
=$ac_cv_path_install
5991 # As a last resort, use the slow shell script. Don't cache a
5992 # value for INSTALL within a source directory, because that will
5993 # break other packages using the cache if that directory is
5994 # removed, or if the value is a relative name.
5995 INSTALL
=$ac_install_sh
5998 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5999 echo "${ECHO_T}$INSTALL" >&6; }
6001 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6002 # It thinks the first close brace ends the variable substitution.
6003 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6005 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6007 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6010 [\\/$
]* | ?
:[\\/]* ) ;;
6011 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6014 for ac_prog
in lclint lint
6016 # Extract the first word of "$ac_prog", so it can be a program name with args.
6017 set dummy
$ac_prog; ac_word
=$2
6018 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6020 if test "${ac_cv_prog_LINT+set}" = set; then
6021 echo $ECHO_N "(cached) $ECHO_C" >&6
6023 if test -n "$LINT"; then
6024 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6030 test -z "$as_dir" && as_dir
=.
6031 for ac_exec_ext
in '' $ac_executable_extensions; do
6032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6033 ac_cv_prog_LINT
="$ac_prog"
6034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6043 LINT
=$ac_cv_prog_LINT
6044 if test -n "$LINT"; then
6045 { echo "$as_me:$LINENO: result: $LINT" >&5
6046 echo "${ECHO_T}$LINT" >&6; }
6048 { echo "$as_me:$LINENO: result: no" >&5
6049 echo "${ECHO_T}no" >&6; }
6053 test -n "$LINT" && break
6056 if test "$LINT" = "lint"
6058 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6063 for ac_prog
in fontforge
6065 # Extract the first word of "$ac_prog", so it can be a program name with args.
6066 set dummy
$ac_prog; ac_word
=$2
6067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6069 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6070 echo $ECHO_N "(cached) $ECHO_C" >&6
6072 if test -n "$FONTFORGE"; then
6073 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6079 test -z "$as_dir" && as_dir
=.
6080 for ac_exec_ext
in '' $ac_executable_extensions; do
6081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6082 ac_cv_prog_FONTFORGE
="$ac_prog"
6083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6092 FONTFORGE
=$ac_cv_prog_FONTFORGE
6093 if test -n "$FONTFORGE"; then
6094 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6095 echo "${ECHO_T}$FONTFORGE" >&6; }
6097 { echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6; }
6102 test -n "$FONTFORGE" && break
6104 test -n "$FONTFORGE" || FONTFORGE
="false"
6106 for ac_prog
in pkg-config
6108 # Extract the first word of "$ac_prog", so it can be a program name with args.
6109 set dummy
$ac_prog; ac_word
=$2
6110 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6112 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6113 echo $ECHO_N "(cached) $ECHO_C" >&6
6115 if test -n "$PKG_CONFIG"; then
6116 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6122 test -z "$as_dir" && as_dir
=.
6123 for ac_exec_ext
in '' $ac_executable_extensions; do
6124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6125 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6135 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6136 if test -n "$PKG_CONFIG"; then
6137 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6138 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6140 { echo "$as_me:$LINENO: result: no" >&5
6141 echo "${ECHO_T}no" >&6; }
6145 test -n "$PKG_CONFIG" && break
6147 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6152 # Extract the first word of "prelink", so it can be a program name with args.
6153 set dummy prelink
; ac_word
=$2
6154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6156 if test "${ac_cv_path_PRELINK+set}" = set; then
6157 echo $ECHO_N "(cached) $ECHO_C" >&6
6161 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6165 for as_dir
in /sbin
/usr
/sbin
$PATH
6168 test -z "$as_dir" && as_dir
=.
6169 for ac_exec_ext
in '' $ac_executable_extensions; do
6170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6171 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6179 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6183 PRELINK
=$ac_cv_path_PRELINK
6184 if test -n "$PRELINK"; then
6185 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6186 echo "${ECHO_T}$PRELINK" >&6; }
6188 { echo "$as_me:$LINENO: result: no" >&5
6189 echo "${ECHO_T}no" >&6; }
6198 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6199 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6200 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6203 ac_check_lib_save_LIBS
=$LIBS
6205 cat >conftest.
$ac_ext <<_ACEOF
6208 cat confdefs.h
>>conftest.
$ac_ext
6209 cat >>conftest.
$ac_ext <<_ACEOF
6210 /* end confdefs.h. */
6212 /* Override any GCC internal prototype to avoid an error.
6213 Use char because int might match the return type of a GCC
6214 builtin and then its argument prototype would still apply. */
6218 char i386_set_ldt ();
6222 return i386_set_ldt ();
6227 rm -f conftest.
$ac_objext conftest
$ac_exeext
6228 if { (ac_try
="$ac_link"
6230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6231 *) ac_try_echo=$ac_try;;
6233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6234 (eval "$ac_link") 2>conftest.er1
6236 grep -v '^ *+' conftest.er1 >conftest.err
6238 cat conftest.err >&5
6239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 (exit $ac_status); } && {
6241 test -z "$ac_c_werror_flag" ||
6242 test ! -s conftest.err
6243 } && test -s conftest$ac_exeext &&
6244 $as_test_x conftest$ac_exeext; then
6245 ac_cv_lib_i386_i386_set_ldt=yes
6247 echo "$as_me: failed program was:" >&5
6248 sed 's/^/| /' conftest.$ac_ext >&5
6250 ac_cv_lib_i386_i386_set_ldt=no
6253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6254 conftest$ac_exeext conftest.$ac_ext
6255 LIBS=$ac_check_lib_save_LIBS
6257 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6258 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6259 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6260 cat >>confdefs.h <<_ACEOF
6261 #define HAVE_LIBI386 1
6269 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6270 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6271 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6272 echo $ECHO_N "(cached) $ECHO_C" >&6
6274 ac_check_lib_save_LIBS=$LIBS
6275 LIBS="-lossaudio $LIBS"
6276 cat >conftest.$ac_ext <<_ACEOF
6279 cat confdefs.h >>conftest.$ac_ext
6280 cat >>conftest.$ac_ext <<_ACEOF
6281 /* end confdefs.h. */
6283 /* Override any GCC internal prototype to avoid an error.
6284 Use char because int might match the return type of a GCC
6285 builtin and then its argument prototype would still apply. */
6293 return _oss_ioctl ();
6298 rm -f conftest.$ac_objext conftest$ac_exeext
6299 if { (ac_try="$ac_link"
6301 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6302 *) ac_try_echo
=$ac_try;;
6304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6305 (eval "$ac_link") 2>conftest.er1
6307 grep -v '^ *+' conftest.er1
>conftest.err
6309 cat conftest.err
>&5
6310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6311 (exit $ac_status); } && {
6312 test -z "$ac_c_werror_flag" ||
6313 test ! -s conftest.err
6314 } && test -s conftest
$ac_exeext &&
6315 $as_test_x conftest
$ac_exeext; then
6316 ac_cv_lib_ossaudio__oss_ioctl
=yes
6318 echo "$as_me: failed program was:" >&5
6319 sed 's/^/| /' conftest.
$ac_ext >&5
6321 ac_cv_lib_ossaudio__oss_ioctl
=no
6324 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6325 conftest
$ac_exeext conftest.
$ac_ext
6326 LIBS
=$ac_check_lib_save_LIBS
6328 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6329 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6330 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6331 cat >>confdefs.h
<<_ACEOF
6332 #define HAVE_LIBOSSAUDIO 1
6335 LIBS
="-lossaudio $LIBS"
6340 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6341 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6342 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6343 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 ac_check_lib_save_LIBS
=$LIBS
6347 cat >conftest.
$ac_ext <<_ACEOF
6350 cat confdefs.h
>>conftest.
$ac_ext
6351 cat >>conftest.
$ac_ext <<_ACEOF
6352 /* end confdefs.h. */
6354 /* Override any GCC internal prototype to avoid an error.
6355 Use char because int might match the return type of a GCC
6356 builtin and then its argument prototype would still apply. */
6360 char _xpg4_setrunelocale ();
6364 return _xpg4_setrunelocale ();
6369 rm -f conftest.
$ac_objext conftest
$ac_exeext
6370 if { (ac_try
="$ac_link"
6372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6373 *) ac_try_echo=$ac_try;;
6375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6376 (eval "$ac_link") 2>conftest.er1
6378 grep -v '^ *+' conftest.er1 >conftest.err
6380 cat conftest.err >&5
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); } && {
6383 test -z "$ac_c_werror_flag" ||
6384 test ! -s conftest.err
6385 } && test -s conftest$ac_exeext &&
6386 $as_test_x conftest$ac_exeext; then
6387 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6389 echo "$as_me: failed program was:" >&5
6390 sed 's/^/| /' conftest.$ac_ext >&5
6392 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6396 conftest$ac_exeext conftest.$ac_ext
6397 LIBS=$ac_check_lib_save_LIBS
6399 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6400 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6401 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6402 cat >>confdefs.h <<_ACEOF
6403 #define HAVE_LIBXPG4 1
6410 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6411 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6412 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6413 echo $ECHO_N "(cached) $ECHO_C" >&6
6415 ac_check_lib_save_LIBS=$LIBS
6416 LIBS="-lpthread $LIBS"
6417 cat >conftest.$ac_ext <<_ACEOF
6420 cat confdefs.h >>conftest.$ac_ext
6421 cat >>conftest.$ac_ext <<_ACEOF
6422 /* end confdefs.h. */
6424 /* Override any GCC internal prototype to avoid an error.
6425 Use char because int might match the return type of a GCC
6426 builtin and then its argument prototype would still apply. */
6430 char pthread_create ();
6434 return pthread_create ();
6439 rm -f conftest.$ac_objext conftest$ac_exeext
6440 if { (ac_try="$ac_link"
6442 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6443 *) ac_try_echo
=$ac_try;;
6445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6446 (eval "$ac_link") 2>conftest.er1
6448 grep -v '^ *+' conftest.er1
>conftest.err
6450 cat conftest.err
>&5
6451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6452 (exit $ac_status); } && {
6453 test -z "$ac_c_werror_flag" ||
6454 test ! -s conftest.err
6455 } && test -s conftest
$ac_exeext &&
6456 $as_test_x conftest
$ac_exeext; then
6457 ac_cv_lib_pthread_pthread_create
=yes
6459 echo "$as_me: failed program was:" >&5
6460 sed 's/^/| /' conftest.
$ac_ext >&5
6462 ac_cv_lib_pthread_pthread_create
=no
6465 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6466 conftest
$ac_exeext conftest.
$ac_ext
6467 LIBS
=$ac_check_lib_save_LIBS
6469 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6470 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6471 if test $ac_cv_lib_pthread_pthread_create = yes; then
6472 LIBPTHREAD
="-lpthread"
6491 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6492 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6493 if test "${ac_cv_header_stdc+set}" = set; then
6494 echo $ECHO_N "(cached) $ECHO_C" >&6
6496 cat >conftest.
$ac_ext <<_ACEOF
6499 cat confdefs.h
>>conftest.
$ac_ext
6500 cat >>conftest.
$ac_ext <<_ACEOF
6501 /* end confdefs.h. */
6515 rm -f conftest.
$ac_objext
6516 if { (ac_try
="$ac_compile"
6518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6519 *) ac_try_echo=$ac_try;;
6521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6522 (eval "$ac_compile") 2>conftest.er1
6524 grep -v '^ *+' conftest.er1 >conftest.err
6526 cat conftest.err >&5
6527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6528 (exit $ac_status); } && {
6529 test -z "$ac_c_werror_flag" ||
6530 test ! -s conftest.err
6531 } && test -s conftest.$ac_objext; then
6532 ac_cv_header_stdc=yes
6534 echo "$as_me: failed program was:" >&5
6535 sed 's/^/| /' conftest.$ac_ext >&5
6537 ac_cv_header_stdc=no
6540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6542 if test $ac_cv_header_stdc = yes; then
6543 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6544 cat >conftest.$ac_ext <<_ACEOF
6547 cat confdefs.h >>conftest.$ac_ext
6548 cat >>conftest.$ac_ext <<_ACEOF
6549 /* end confdefs.h. */
6553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6554 $EGREP "memchr" >/dev/null 2>&1; then
6557 ac_cv_header_stdc=no
6563 if test $ac_cv_header_stdc = yes; then
6564 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6565 cat >conftest.$ac_ext <<_ACEOF
6568 cat confdefs.h >>conftest.$ac_ext
6569 cat >>conftest.$ac_ext <<_ACEOF
6570 /* end confdefs.h. */
6574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6575 $EGREP "free" >/dev/null 2>&1; then
6578 ac_cv_header_stdc=no
6584 if test $ac_cv_header_stdc = yes; then
6585 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6586 if test "$cross_compiling" = yes; then
6589 cat >conftest.$ac_ext <<_ACEOF
6592 cat confdefs.h >>conftest.$ac_ext
6593 cat >>conftest.$ac_ext <<_ACEOF
6594 /* end confdefs.h. */
6597 #if ((' ' & 0x0FF) == 0x020)
6598 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6599 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6601 # define ISLOWER(c) \
6602 (('a' <= (c) && (c) <= 'i') \
6603 || ('j' <= (c) && (c) <= 'r') \
6604 || ('s' <= (c) && (c) <= 'z'))
6605 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6608 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6613 for (i = 0; i < 256; i++)
6614 if (XOR (islower (i), ISLOWER (i))
6615 || toupper (i) != TOUPPER (i))
6620 rm -f conftest$ac_exeext
6621 if { (ac_try="$ac_link"
6623 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6624 *) ac_try_echo
=$ac_try;;
6626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6627 (eval "$ac_link") 2>&5
6629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6631 { (case "(($ac_try" in
6632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6633 *) ac_try_echo=$ac_try;;
6635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6636 (eval "$ac_try") 2>&5
6638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6639 (exit $ac_status); }; }; then
6642 echo "$as_me: program exited with status $ac_status" >&5
6643 echo "$as_me: failed program was:" >&5
6644 sed 's/^/| /' conftest.$ac_ext >&5
6647 ac_cv_header_stdc=no
6649 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6655 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6656 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6657 if test $ac_cv_header_stdc = yes; then
6659 cat >>confdefs.h <<\_ACEOF
6660 #define STDC_HEADERS 1
6665 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6675 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6676 inttypes.h stdint.h unistd.h
6678 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6679 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6681 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6682 echo $ECHO_N "(cached) $ECHO_C" >&6
6684 cat >conftest.$ac_ext <<_ACEOF
6687 cat confdefs.h >>conftest.$ac_ext
6688 cat >>conftest.$ac_ext <<_ACEOF
6689 /* end confdefs.h. */
6690 $ac_includes_default
6692 #include <$ac_header>
6694 rm -f conftest.$ac_objext
6695 if { (ac_try="$ac_compile"
6697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6698 *) ac_try_echo
=$ac_try;;
6700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6701 (eval "$ac_compile") 2>conftest.er1
6703 grep -v '^ *+' conftest.er1
>conftest.err
6705 cat conftest.err
>&5
6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 (exit $ac_status); } && {
6708 test -z "$ac_c_werror_flag" ||
6709 test ! -s conftest.err
6710 } && test -s conftest.
$ac_objext; then
6711 eval "$as_ac_Header=yes"
6713 echo "$as_me: failed program was:" >&5
6714 sed 's/^/| /' conftest.
$ac_ext >&5
6716 eval "$as_ac_Header=no"
6719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6721 ac_res
=`eval echo '${'$as_ac_Header'}'`
6722 { echo "$as_me:$LINENO: result: $ac_res" >&5
6723 echo "${ECHO_T}$ac_res" >&6; }
6724 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6725 cat >>confdefs.h
<<_ACEOF
6726 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6846 AudioUnit
/AudioUnit.h \
6848 CoreAudio
/CoreAudio.h \
6849 DiskArbitration
/DiskArbitration.h \
6862 fontconfig
/fontconfig.h \
6888 machine
/soundcard.h \
6893 netinet
/in_systm.h \
6959 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6960 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6961 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6963 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6964 echo $ECHO_N "(cached) $ECHO_C" >&6
6966 ac_res
=`eval echo '${'$as_ac_Header'}'`
6967 { echo "$as_me:$LINENO: result: $ac_res" >&5
6968 echo "${ECHO_T}$ac_res" >&6; }
6970 # Is the header compilable?
6971 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6972 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6973 cat >conftest.
$ac_ext <<_ACEOF
6976 cat confdefs.h
>>conftest.
$ac_ext
6977 cat >>conftest.
$ac_ext <<_ACEOF
6978 /* end confdefs.h. */
6979 $ac_includes_default
6980 #include <$ac_header>
6982 rm -f conftest.
$ac_objext
6983 if { (ac_try
="$ac_compile"
6985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6986 *) ac_try_echo=$ac_try;;
6988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6989 (eval "$ac_compile") 2>conftest.er1
6991 grep -v '^ *+' conftest.er1 >conftest.err
6993 cat conftest.err >&5
6994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 (exit $ac_status); } && {
6996 test -z "$ac_c_werror_flag" ||
6997 test ! -s conftest.err
6998 } && test -s conftest.$ac_objext; then
6999 ac_header_compiler=yes
7001 echo "$as_me: failed program was:" >&5
7002 sed 's/^/| /' conftest.$ac_ext >&5
7004 ac_header_compiler=no
7007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7008 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7009 echo "${ECHO_T}$ac_header_compiler" >&6; }
7011 # Is the header present?
7012 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7013 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7014 cat >conftest.$ac_ext <<_ACEOF
7017 cat confdefs.h >>conftest.$ac_ext
7018 cat >>conftest.$ac_ext <<_ACEOF
7019 /* end confdefs.h. */
7020 #include <$ac_header>
7022 if { (ac_try="$ac_cpp conftest.$ac_ext"
7024 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7025 *) ac_try_echo
=$ac_try;;
7027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7028 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7030 grep -v '^ *+' conftest.er1
>conftest.err
7032 cat conftest.err
>&5
7033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034 (exit $ac_status); } >/dev
/null
&& {
7035 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7036 test ! -s conftest.err
7038 ac_header_preproc
=yes
7040 echo "$as_me: failed program was:" >&5
7041 sed 's/^/| /' conftest.
$ac_ext >&5
7043 ac_header_preproc
=no
7046 rm -f conftest.err conftest.
$ac_ext
7047 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7048 echo "${ECHO_T}$ac_header_preproc" >&6; }
7050 # So? What about this header?
7051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7056 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7057 ac_header_preproc
=yes
7060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7061 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7063 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7065 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7067 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7071 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7073 ## ------------------------------------ ##
7074 ## Report this to wine-devel@winehq.org ##
7075 ## ------------------------------------ ##
7077 ) |
sed "s/^/$as_me: WARNING: /" >&2
7080 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7082 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6
7085 eval "$as_ac_Header=\$ac_header_preproc"
7087 ac_res
=`eval echo '${'$as_ac_Header'}'`
7088 { echo "$as_me:$LINENO: result: $ac_res" >&5
7089 echo "${ECHO_T}$ac_res" >&6; }
7092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7093 cat >>confdefs.h
<<_ACEOF
7094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7101 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7102 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7103 if test "${ac_cv_header_stat_broken+set}" = set; then
7104 echo $ECHO_N "(cached) $ECHO_C" >&6
7106 cat >conftest.
$ac_ext <<_ACEOF
7109 cat confdefs.h
>>conftest.
$ac_ext
7110 cat >>conftest.
$ac_ext <<_ACEOF
7111 /* end confdefs.h. */
7112 #include <sys/types.h>
7113 #include <sys/stat.h>
7115 #if defined S_ISBLK && defined S_IFDIR
7116 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7119 #if defined S_ISBLK && defined S_IFCHR
7120 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7123 #if defined S_ISLNK && defined S_IFREG
7124 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7127 #if defined S_ISSOCK && defined S_IFREG
7128 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7132 rm -f conftest.
$ac_objext
7133 if { (ac_try
="$ac_compile"
7135 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7136 *) ac_try_echo=$ac_try;;
7138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7139 (eval "$ac_compile") 2>conftest.er1
7141 grep -v '^ *+' conftest.er1 >conftest.err
7143 cat conftest.err >&5
7144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7145 (exit $ac_status); } && {
7146 test -z "$ac_c_werror_flag" ||
7147 test ! -s conftest.err
7148 } && test -s conftest.$ac_objext; then
7149 ac_cv_header_stat_broken=no
7151 echo "$as_me: failed program was:" >&5
7152 sed 's/^/| /' conftest.$ac_ext >&5
7154 ac_cv_header_stat_broken=yes
7157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7159 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7160 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7161 if test $ac_cv_header_stat_broken = yes; then
7163 cat >>confdefs.h <<\_ACEOF
7164 #define STAT_MACROS_BROKEN 1
7175 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7177 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7178 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7180 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7181 echo $ECHO_N "(cached) $ECHO_C" >&6
7183 cat >conftest.$ac_ext <<_ACEOF
7186 cat confdefs.h >>conftest.$ac_ext
7187 cat >>conftest.$ac_ext <<_ACEOF
7188 /* end confdefs.h. */
7189 #include <sys/types.h>
7190 #if HAVE_SYS_PARAM_H
7191 # include <sys/param.h>
7194 #include <$ac_header>
7196 rm -f conftest.$ac_objext
7197 if { (ac_try="$ac_compile"
7199 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7200 *) ac_try_echo
=$ac_try;;
7202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7203 (eval "$ac_compile") 2>conftest.er1
7205 grep -v '^ *+' conftest.er1
>conftest.err
7207 cat conftest.err
>&5
7208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7209 (exit $ac_status); } && {
7210 test -z "$ac_c_werror_flag" ||
7211 test ! -s conftest.err
7212 } && test -s conftest.
$ac_objext; then
7213 eval "$as_ac_Header=yes"
7215 echo "$as_me: failed program was:" >&5
7216 sed 's/^/| /' conftest.
$ac_ext >&5
7218 eval "$as_ac_Header=no"
7221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7223 ac_res
=`eval echo '${'$as_ac_Header'}'`
7224 { echo "$as_me:$LINENO: result: $ac_res" >&5
7225 echo "${ECHO_T}$ac_res" >&6; }
7226 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7227 cat >>confdefs.h
<<_ACEOF
7228 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7244 for ac_header
in netinet
/in_pcb.h netinet
/ip_var.h net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h netipx
/ipx.h
7246 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7247 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7249 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7250 echo $ECHO_N "(cached) $ECHO_C" >&6
7252 cat >conftest.
$ac_ext <<_ACEOF
7255 cat confdefs.h
>>conftest.
$ac_ext
7256 cat >>conftest.
$ac_ext <<_ACEOF
7257 /* end confdefs.h. */
7258 #include <sys/types.h>
7259 #if HAVE_SYS_SOCKET_H
7260 # include <sys/socket.h>
7263 #include <$ac_header>
7265 rm -f conftest.
$ac_objext
7266 if { (ac_try
="$ac_compile"
7268 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7269 *) ac_try_echo=$ac_try;;
7271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7272 (eval "$ac_compile") 2>conftest.er1
7274 grep -v '^ *+' conftest.er1 >conftest.err
7276 cat conftest.err >&5
7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 (exit $ac_status); } && {
7279 test -z "$ac_c_werror_flag" ||
7280 test ! -s conftest.err
7281 } && test -s conftest.$ac_objext; then
7282 eval "$as_ac_Header=yes"
7284 echo "$as_me: failed program was:" >&5
7285 sed 's/^/| /' conftest.$ac_ext >&5
7287 eval "$as_ac_Header=no"
7290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7292 ac_res=`eval echo '${'$as_ac_Header'}'`
7293 { echo "$as_me:$LINENO: result: $ac_res" >&5
7294 echo "${ECHO_T}$ac_res" >&6; }
7295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7296 cat >>confdefs.h <<_ACEOF
7297 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7304 #if HAVE_SYS_SOCKETVAR_H
7305 # include <sys/socketvar.h>
7309 for ac_header in netinet/tcp_var.h
7311 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7312 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7314 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7315 echo $ECHO_N "(cached) $ECHO_C" >&6
7317 cat >conftest.$ac_ext <<_ACEOF
7320 cat confdefs.h >>conftest.$ac_ext
7321 cat >>conftest.$ac_ext <<_ACEOF
7322 /* end confdefs.h. */
7323 #include <sys/types.h>
7324 #if HAVE_SYS_SOCKET_H
7325 # include <sys/socket.h>
7327 #if HAVE_SYS_SOCKETVAR_H
7328 # include <sys/socketvar.h>
7330 #if HAVE_NETINET_IN_H
7331 # include <netinet/in.h>
7333 #ifdef HAVE_NETINET_TCP_H
7334 # include <netinet/tcp.h>
7337 #include <$ac_header>
7339 rm -f conftest.$ac_objext
7340 if { (ac_try="$ac_compile"
7342 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7343 *) ac_try_echo
=$ac_try;;
7345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7346 (eval "$ac_compile") 2>conftest.er1
7348 grep -v '^ *+' conftest.er1
>conftest.err
7350 cat conftest.err
>&5
7351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7352 (exit $ac_status); } && {
7353 test -z "$ac_c_werror_flag" ||
7354 test ! -s conftest.err
7355 } && test -s conftest.
$ac_objext; then
7356 eval "$as_ac_Header=yes"
7358 echo "$as_me: failed program was:" >&5
7359 sed 's/^/| /' conftest.
$ac_ext >&5
7361 eval "$as_ac_Header=no"
7364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7366 ac_res
=`eval echo '${'$as_ac_Header'}'`
7367 { echo "$as_me:$LINENO: result: $ac_res" >&5
7368 echo "${ECHO_T}$ac_res" >&6; }
7369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7370 cat >>confdefs.h
<<_ACEOF
7371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7380 for ac_header
in linux
/ipx.h
7382 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7383 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7385 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7386 echo $ECHO_N "(cached) $ECHO_C" >&6
7388 cat >conftest.
$ac_ext <<_ACEOF
7391 cat confdefs.h
>>conftest.
$ac_ext
7392 cat >>conftest.
$ac_ext <<_ACEOF
7393 /* end confdefs.h. */
7394 #include <sys/types.h>
7395 #ifdef HAVE_ASM_TYPES_H
7396 # include <asm/types.h>
7398 #if HAVE_SYS_SOCKET_H
7399 # include <sys/socket.h>
7402 #include <$ac_header>
7404 rm -f conftest.
$ac_objext
7405 if { (ac_try
="$ac_compile"
7407 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7408 *) ac_try_echo=$ac_try;;
7410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7411 (eval "$ac_compile") 2>conftest.er1
7413 grep -v '^ *+' conftest.er1 >conftest.err
7415 cat conftest.err >&5
7416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7417 (exit $ac_status); } && {
7418 test -z "$ac_c_werror_flag" ||
7419 test ! -s conftest.err
7420 } && test -s conftest.$ac_objext; then
7421 eval "$as_ac_Header=yes"
7423 echo "$as_me: failed program was:" >&5
7424 sed 's/^/| /' conftest.$ac_ext >&5
7426 eval "$as_ac_Header=no"
7429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7431 ac_res=`eval echo '${'$as_ac_Header'}'`
7432 { echo "$as_me:$LINENO: result: $ac_res" >&5
7433 echo "${ECHO_T}$ac_res" >&6; }
7434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7435 cat >>confdefs.h <<_ACEOF
7436 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7445 for ac_header in resolv.h
7447 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7448 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7450 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7451 echo $ECHO_N "(cached) $ECHO_C" >&6
7453 cat >conftest.$ac_ext <<_ACEOF
7456 cat confdefs.h >>conftest.$ac_ext
7457 cat >>conftest.$ac_ext <<_ACEOF
7458 /* end confdefs.h. */
7459 #include <sys/types.h>
7460 #if HAVE_SYS_SOCKET_H
7461 # include <sys/socket.h>
7463 #if HAVE_NETINET_IN_H
7464 # include <netinet/in.h>
7466 #if HAVE_ARPA_NAMESER_H
7467 # include <arpa/nameser.h>
7470 #include <$ac_header>
7472 rm -f conftest.$ac_objext
7473 if { (ac_try="$ac_compile"
7475 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7476 *) ac_try_echo
=$ac_try;;
7478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7479 (eval "$ac_compile") 2>conftest.er1
7481 grep -v '^ *+' conftest.er1
>conftest.err
7483 cat conftest.err
>&5
7484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485 (exit $ac_status); } && {
7486 test -z "$ac_c_werror_flag" ||
7487 test ! -s conftest.err
7488 } && test -s conftest.
$ac_objext; then
7489 eval "$as_ac_Header=yes"
7491 echo "$as_me: failed program was:" >&5
7492 sed 's/^/| /' conftest.
$ac_ext >&5
7494 eval "$as_ac_Header=no"
7497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7499 ac_res
=`eval echo '${'$as_ac_Header'}'`
7500 { echo "$as_me:$LINENO: result: $ac_res" >&5
7501 echo "${ECHO_T}$ac_res" >&6; }
7502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7503 cat >>confdefs.h
<<_ACEOF
7504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7513 for ac_header
in ucontext.h
7515 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7516 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7518 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7519 echo $ECHO_N "(cached) $ECHO_C" >&6
7521 cat >conftest.
$ac_ext <<_ACEOF
7524 cat confdefs.h
>>conftest.
$ac_ext
7525 cat >>conftest.
$ac_ext <<_ACEOF
7526 /* end confdefs.h. */
7529 #include <$ac_header>
7531 rm -f conftest.
$ac_objext
7532 if { (ac_try
="$ac_compile"
7534 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7535 *) ac_try_echo=$ac_try;;
7537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7538 (eval "$ac_compile") 2>conftest.er1
7540 grep -v '^ *+' conftest.er1 >conftest.err
7542 cat conftest.err >&5
7543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7544 (exit $ac_status); } && {
7545 test -z "$ac_c_werror_flag" ||
7546 test ! -s conftest.err
7547 } && test -s conftest.$ac_objext; then
7548 eval "$as_ac_Header=yes"
7550 echo "$as_me: failed program was:" >&5
7551 sed 's/^/| /' conftest.$ac_ext >&5
7553 eval "$as_ac_Header=no"
7556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7558 ac_res=`eval echo '${'$as_ac_Header'}'`
7559 { echo "$as_me:$LINENO: result: $ac_res" >&5
7560 echo "${ECHO_T}$ac_res" >&6; }
7561 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7562 cat >>confdefs.h <<_ACEOF
7563 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7572 for ac_header in pthread_np.h
7574 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7575 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7577 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7578 echo $ECHO_N "(cached) $ECHO_C" >&6
7580 cat >conftest.$ac_ext <<_ACEOF
7583 cat confdefs.h >>conftest.$ac_ext
7584 cat >>conftest.$ac_ext <<_ACEOF
7585 /* end confdefs.h. */
7586 #ifdef HAVE_PTHREAD_H
7587 #include <pthread.h>
7590 #include <$ac_header>
7592 rm -f conftest.$ac_objext
7593 if { (ac_try="$ac_compile"
7595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7596 *) ac_try_echo
=$ac_try;;
7598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7599 (eval "$ac_compile") 2>conftest.er1
7601 grep -v '^ *+' conftest.er1
>conftest.err
7603 cat conftest.err
>&5
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); } && {
7606 test -z "$ac_c_werror_flag" ||
7607 test ! -s conftest.err
7608 } && test -s conftest.
$ac_objext; then
7609 eval "$as_ac_Header=yes"
7611 echo "$as_me: failed program was:" >&5
7612 sed 's/^/| /' conftest.
$ac_ext >&5
7614 eval "$as_ac_Header=no"
7617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7619 ac_res
=`eval echo '${'$as_ac_Header'}'`
7620 { echo "$as_me:$LINENO: result: $ac_res" >&5
7621 echo "${ECHO_T}$ac_res" >&6; }
7622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7623 cat >>confdefs.h
<<_ACEOF
7624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7633 for ac_header
in linux
/videodev.h
7635 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7636 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7638 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7639 echo $ECHO_N "(cached) $ECHO_C" >&6
7641 cat >conftest.
$ac_ext <<_ACEOF
7644 cat confdefs.h
>>conftest.
$ac_ext
7645 cat >>conftest.
$ac_ext <<_ACEOF
7646 /* end confdefs.h. */
7647 #ifdef HAVE_SYS_TIME_H
7648 #include <sys/time.h>
7650 #include <sys/types.h>
7651 #ifdef HAVE_ASM_TYPES_H
7652 #include <asm/types.h>
7655 #include <$ac_header>
7657 rm -f conftest.
$ac_objext
7658 if { (ac_try
="$ac_compile"
7660 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7661 *) ac_try_echo=$ac_try;;
7663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7664 (eval "$ac_compile") 2>conftest.er1
7666 grep -v '^ *+' conftest.er1 >conftest.err
7668 cat conftest.err >&5
7669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 (exit $ac_status); } && {
7671 test -z "$ac_c_werror_flag" ||
7672 test ! -s conftest.err
7673 } && test -s conftest.$ac_objext; then
7674 eval "$as_ac_Header=yes"
7676 echo "$as_me: failed program was:" >&5
7677 sed 's/^/| /' conftest.$ac_ext >&5
7679 eval "$as_ac_Header=no"
7682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7684 ac_res=`eval echo '${'$as_ac_Header'}'`
7685 { echo "$as_me:$LINENO: result: $ac_res" >&5
7686 echo "${ECHO_T}$ac_res" >&6; }
7687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7688 cat >>confdefs.h <<_ACEOF
7689 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7698 for ac_header in linux/capi.h
7700 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7701 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7703 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7704 echo $ECHO_N "(cached) $ECHO_C" >&6
7706 cat >conftest.$ac_ext <<_ACEOF
7709 cat confdefs.h >>conftest.$ac_ext
7710 cat >>conftest.$ac_ext <<_ACEOF
7711 /* end confdefs.h. */
7714 #include <$ac_header>
7716 rm -f conftest.$ac_objext
7717 if { (ac_try="$ac_compile"
7719 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7720 *) ac_try_echo
=$ac_try;;
7722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7723 (eval "$ac_compile") 2>conftest.er1
7725 grep -v '^ *+' conftest.er1
>conftest.err
7727 cat conftest.err
>&5
7728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7729 (exit $ac_status); } && {
7730 test -z "$ac_c_werror_flag" ||
7731 test ! -s conftest.err
7732 } && test -s conftest.
$ac_objext; then
7733 eval "$as_ac_Header=yes"
7735 echo "$as_me: failed program was:" >&5
7736 sed 's/^/| /' conftest.
$ac_ext >&5
7738 eval "$as_ac_Header=no"
7741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7743 ac_res
=`eval echo '${'$as_ac_Header'}'`
7744 { echo "$as_me:$LINENO: result: $ac_res" >&5
7745 echo "${ECHO_T}$ac_res" >&6; }
7746 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7747 cat >>confdefs.h
<<_ACEOF
7748 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7759 DLLFLAGS
="-D_REENTRANT"
7773 # Extract the first word of "ldd", so it can be a program name with args.
7774 set dummy ldd
; ac_word
=$2
7775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7777 if test "${ac_cv_path_LDD+set}" = set; then
7778 echo $ECHO_N "(cached) $ECHO_C" >&6
7782 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7786 as_dummy
="/sbin:/usr/sbin:$PATH"
7787 for as_dir
in $as_dummy
7790 test -z "$as_dir" && as_dir
=.
7791 for ac_exec_ext
in '' $ac_executable_extensions; do
7792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7793 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7801 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7806 if test -n "$LDD"; then
7807 { echo "$as_me:$LINENO: result: $LDD" >&5
7808 echo "${ECHO_T}$LDD" >&6; }
7810 { echo "$as_me:$LINENO: result: no" >&5
7811 echo "${ECHO_T}no" >&6; }
7818 if test -n "$ac_tool_prefix"; then
7819 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7820 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7821 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7823 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7824 echo $ECHO_N "(cached) $ECHO_C" >&6
7826 if test -n "$DLLTOOL"; then
7827 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7833 test -z "$as_dir" && as_dir
=.
7834 for ac_exec_ext
in '' $ac_executable_extensions; do
7835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7836 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7846 DLLTOOL
=$ac_cv_prog_DLLTOOL
7847 if test -n "$DLLTOOL"; then
7848 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7849 echo "${ECHO_T}$DLLTOOL" >&6; }
7851 { echo "$as_me:$LINENO: result: no" >&5
7852 echo "${ECHO_T}no" >&6; }
7857 if test -z "$ac_cv_prog_DLLTOOL"; then
7858 ac_ct_DLLTOOL
=$DLLTOOL
7859 # Extract the first word of "dlltool", so it can be a program name with args.
7860 set dummy dlltool
; ac_word
=$2
7861 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7863 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7864 echo $ECHO_N "(cached) $ECHO_C" >&6
7866 if test -n "$ac_ct_DLLTOOL"; then
7867 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7873 test -z "$as_dir" && as_dir
=.
7874 for ac_exec_ext
in '' $ac_executable_extensions; do
7875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7876 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7886 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7887 if test -n "$ac_ct_DLLTOOL"; then
7888 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7889 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7891 { echo "$as_me:$LINENO: result: no" >&5
7892 echo "${ECHO_T}no" >&6; }
7895 if test "x$ac_ct_DLLTOOL" = x
; then
7898 case $cross_compiling:$ac_tool_warned in
7900 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7901 whose name does not start with the host triplet. If you think this
7902 configuration is useful to you, please write to autoconf@gnu.org." >&5
7903 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7904 whose name does not start with the host triplet. If you think this
7905 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7906 ac_tool_warned
=yes ;;
7908 DLLTOOL
=$ac_ct_DLLTOOL
7911 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7914 if test -n "$ac_tool_prefix"; then
7915 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7916 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
7917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7919 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7920 echo $ECHO_N "(cached) $ECHO_C" >&6
7922 if test -n "$DLLWRAP"; then
7923 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
7925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7929 test -z "$as_dir" && as_dir
=.
7930 for ac_exec_ext
in '' $ac_executable_extensions; do
7931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7932 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
7933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7942 DLLWRAP
=$ac_cv_prog_DLLWRAP
7943 if test -n "$DLLWRAP"; then
7944 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7945 echo "${ECHO_T}$DLLWRAP" >&6; }
7947 { echo "$as_me:$LINENO: result: no" >&5
7948 echo "${ECHO_T}no" >&6; }
7953 if test -z "$ac_cv_prog_DLLWRAP"; then
7954 ac_ct_DLLWRAP
=$DLLWRAP
7955 # Extract the first word of "dllwrap", so it can be a program name with args.
7956 set dummy dllwrap
; ac_word
=$2
7957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7959 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7960 echo $ECHO_N "(cached) $ECHO_C" >&6
7962 if test -n "$ac_ct_DLLWRAP"; then
7963 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
7965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7969 test -z "$as_dir" && as_dir
=.
7970 for ac_exec_ext
in '' $ac_executable_extensions; do
7971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7972 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
7973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7982 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
7983 if test -n "$ac_ct_DLLWRAP"; then
7984 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7985 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7987 { echo "$as_me:$LINENO: result: no" >&5
7988 echo "${ECHO_T}no" >&6; }
7991 if test "x$ac_ct_DLLWRAP" = x
; then
7994 case $cross_compiling:$ac_tool_warned in
7996 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7997 whose name does not start with the host triplet. If you think this
7998 configuration is useful to you, please write to autoconf@gnu.org." >&5
7999 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8000 whose name does not start with the host triplet. If you think this
8001 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8002 ac_tool_warned
=yes ;;
8004 DLLWRAP
=$ac_ct_DLLWRAP
8007 DLLWRAP
="$ac_cv_prog_DLLWRAP"
8010 if test -n "$ac_tool_prefix"; then
8011 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8012 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8015 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8016 echo $ECHO_N "(cached) $ECHO_C" >&6
8018 if test -n "$MINGWAR"; then
8019 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8025 test -z "$as_dir" && as_dir
=.
8026 for ac_exec_ext
in '' $ac_executable_extensions; do
8027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8028 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8038 MINGWAR
=$ac_cv_prog_MINGWAR
8039 if test -n "$MINGWAR"; then
8040 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8041 echo "${ECHO_T}$MINGWAR" >&6; }
8043 { echo "$as_me:$LINENO: result: no" >&5
8044 echo "${ECHO_T}no" >&6; }
8049 if test -z "$ac_cv_prog_MINGWAR"; then
8050 ac_ct_MINGWAR
=$MINGWAR
8051 # Extract the first word of "ar", so it can be a program name with args.
8052 set dummy
ar; ac_word
=$2
8053 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8055 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8056 echo $ECHO_N "(cached) $ECHO_C" >&6
8058 if test -n "$ac_ct_MINGWAR"; then
8059 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8065 test -z "$as_dir" && as_dir
=.
8066 for ac_exec_ext
in '' $ac_executable_extensions; do
8067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8068 ac_cv_prog_ac_ct_MINGWAR
="ar"
8069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8078 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8079 if test -n "$ac_ct_MINGWAR"; then
8080 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8081 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8083 { echo "$as_me:$LINENO: result: no" >&5
8084 echo "${ECHO_T}no" >&6; }
8087 if test "x$ac_ct_MINGWAR" = x
; then
8090 case $cross_compiling:$ac_tool_warned in
8092 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8093 whose name does not start with the host triplet. If you think this
8094 configuration is useful to you, please write to autoconf@gnu.org." >&5
8095 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8096 whose name does not start with the host triplet. If you think this
8097 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8098 ac_tool_warned
=yes ;;
8100 MINGWAR
=$ac_ct_MINGWAR
8103 MINGWAR
="$ac_cv_prog_MINGWAR"
8106 if test "$DLLWRAP" = "false"; then
8118 DLLFLAGS
="$DLLFLAGS -fPIC"
8119 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8120 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8121 LDSHARED
="\$(CC) -dynamiclib"
8123 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8124 COREFOUNDATIONLIB
="-framework CoreFoundation"
8126 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8128 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8130 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8132 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8135 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8137 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8142 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8144 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8146 CARBONLIB
="-framework Carbon"
8148 QUARTZFILES
='$(QUARTZFILES)'
8152 DLLFLAGS
="$DLLFLAGS -fPIC"
8154 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8155 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8156 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8157 echo $ECHO_N "(cached) $ECHO_C" >&6
8159 ac_wine_try_cflags_saved
=$CFLAGS
8160 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8161 cat >conftest.
$ac_ext <<_ACEOF
8164 rm -f conftest.
$ac_objext conftest
$ac_exeext
8165 if { (ac_try
="$ac_link"
8167 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8168 *) ac_try_echo=$ac_try;;
8170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8171 (eval "$ac_link") 2>conftest.er1
8173 grep -v '^ *+' conftest.er1 >conftest.err
8175 cat conftest.err >&5
8176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177 (exit $ac_status); } && {
8178 test -z "$ac_c_werror_flag" ||
8179 test ! -s conftest.err
8180 } && test -s conftest$ac_exeext &&
8181 $as_test_x conftest$ac_exeext; then
8182 ac_cv_c_dll_gnuelf="yes"
8184 echo "$as_me: failed program was:" >&5
8185 sed 's/^/| /' conftest.$ac_ext >&5
8187 ac_cv_c_dll_gnuelf="no"
8190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8191 conftest$ac_exeext conftest.$ac_ext
8192 CFLAGS=$ac_wine_try_cflags_saved
8194 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8195 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8196 if test "$ac_cv_c_dll_gnuelf" = "yes"
8198 LDSHARED="\$(CC) -shared"
8199 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8200 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8201 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8202 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8203 echo $ECHO_N "(cached) $ECHO_C" >&6
8205 ac_wine_try_cflags_saved=$CFLAGS
8206 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8207 cat >conftest.$ac_ext <<_ACEOF
8210 cat confdefs.h >>conftest.$ac_ext
8211 cat >>conftest.$ac_ext <<_ACEOF
8212 /* end confdefs.h. */
8222 rm -f conftest.$ac_objext conftest$ac_exeext
8223 if { (ac_try="$ac_link"
8225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8226 *) ac_try_echo
=$ac_try;;
8228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8229 (eval "$ac_link") 2>conftest.er1
8231 grep -v '^ *+' conftest.er1
>conftest.err
8233 cat conftest.err
>&5
8234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8235 (exit $ac_status); } && {
8236 test -z "$ac_c_werror_flag" ||
8237 test ! -s conftest.err
8238 } && test -s conftest
$ac_exeext &&
8239 $as_test_x conftest
$ac_exeext; then
8240 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8242 echo "$as_me: failed program was:" >&5
8243 sed 's/^/| /' conftest.
$ac_ext >&5
8245 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8248 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8249 conftest
$ac_exeext conftest.
$ac_ext
8250 CFLAGS
=$ac_wine_try_cflags_saved
8252 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8253 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8254 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8255 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8257 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8258 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8259 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8260 echo $ECHO_N "(cached) $ECHO_C" >&6
8262 ac_wine_try_cflags_saved
=$CFLAGS
8263 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8264 cat >conftest.
$ac_ext <<_ACEOF
8267 cat confdefs.h
>>conftest.
$ac_ext
8268 cat >>conftest.
$ac_ext <<_ACEOF
8269 /* end confdefs.h. */
8279 rm -f conftest.
$ac_objext conftest
$ac_exeext
8280 if { (ac_try
="$ac_link"
8282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8283 *) ac_try_echo=$ac_try;;
8285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8286 (eval "$ac_link") 2>conftest.er1
8288 grep -v '^ *+' conftest.er1 >conftest.err
8290 cat conftest.err >&5
8291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8292 (exit $ac_status); } && {
8293 test -z "$ac_c_werror_flag" ||
8294 test ! -s conftest.err
8295 } && test -s conftest$ac_exeext &&
8296 $as_test_x conftest$ac_exeext; then
8297 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8299 echo "$as_me: failed program was:" >&5
8300 sed 's/^/| /' conftest.$ac_ext >&5
8302 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8306 conftest$ac_exeext conftest.$ac_ext
8307 CFLAGS=$ac_wine_try_cflags_saved
8309 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8310 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8311 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8312 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8318 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8319 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8320 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8321 echo $ECHO_N "(cached) $ECHO_C" >&6
8323 ac_wine_try_cflags_saved=$CFLAGS
8324 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8325 cat >conftest.$ac_ext <<_ACEOF
8328 cat confdefs.h >>conftest.$ac_ext
8329 cat >>conftest.$ac_ext <<_ACEOF
8330 /* end confdefs.h. */
8340 rm -f conftest.$ac_objext conftest$ac_exeext
8341 if { (ac_try="$ac_link"
8343 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8344 *) ac_try_echo
=$ac_try;;
8346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8347 (eval "$ac_link") 2>conftest.er1
8349 grep -v '^ *+' conftest.er1
>conftest.err
8351 cat conftest.err
>&5
8352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8353 (exit $ac_status); } && {
8354 test -z "$ac_c_werror_flag" ||
8355 test ! -s conftest.err
8356 } && test -s conftest
$ac_exeext &&
8357 $as_test_x conftest
$ac_exeext; then
8358 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8360 echo "$as_me: failed program was:" >&5
8361 sed 's/^/| /' conftest.
$ac_ext >&5
8363 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8366 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8367 conftest
$ac_exeext conftest.
$ac_ext
8368 CFLAGS
=$ac_wine_try_cflags_saved
8370 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8371 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8372 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8373 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8377 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8378 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8379 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8380 echo $ECHO_N "(cached) $ECHO_C" >&6
8382 ac_wine_try_cflags_saved
=$CFLAGS
8383 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8384 cat >conftest.
$ac_ext <<_ACEOF
8387 cat confdefs.h
>>conftest.
$ac_ext
8388 cat >>conftest.
$ac_ext <<_ACEOF
8389 /* end confdefs.h. */
8399 rm -f conftest.
$ac_objext conftest
$ac_exeext
8400 if { (ac_try
="$ac_link"
8402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8403 *) ac_try_echo=$ac_try;;
8405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8406 (eval "$ac_link") 2>conftest.er1
8408 grep -v '^ *+' conftest.er1 >conftest.err
8410 cat conftest.err >&5
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); } && {
8413 test -z "$ac_c_werror_flag" ||
8414 test ! -s conftest.err
8415 } && test -s conftest$ac_exeext &&
8416 $as_test_x conftest$ac_exeext; then
8417 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8419 echo "$as_me: failed program was:" >&5
8420 sed 's/^/| /' conftest.$ac_ext >&5
8422 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8426 conftest$ac_exeext conftest.$ac_ext
8427 CFLAGS=$ac_wine_try_cflags_saved
8429 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8430 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8431 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8432 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8436 echo '{ global: *; };' >conftest.map
8437 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8438 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8439 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8440 echo $ECHO_N "(cached) $ECHO_C" >&6
8442 ac_wine_try_cflags_saved=$CFLAGS
8443 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8444 cat >conftest.$ac_ext <<_ACEOF
8447 cat confdefs.h >>conftest.$ac_ext
8448 cat >>conftest.$ac_ext <<_ACEOF
8449 /* end confdefs.h. */
8459 rm -f conftest.$ac_objext conftest$ac_exeext
8460 if { (ac_try="$ac_link"
8462 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8463 *) ac_try_echo
=$ac_try;;
8465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8466 (eval "$ac_link") 2>conftest.er1
8468 grep -v '^ *+' conftest.er1
>conftest.err
8470 cat conftest.err
>&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); } && {
8473 test -z "$ac_c_werror_flag" ||
8474 test ! -s conftest.err
8475 } && test -s conftest
$ac_exeext &&
8476 $as_test_x conftest
$ac_exeext; then
8477 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8479 echo "$as_me: failed program was:" >&5
8480 sed 's/^/| /' conftest.
$ac_ext >&5
8482 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8485 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8486 conftest
$ac_exeext conftest.
$ac_ext
8487 CFLAGS
=$ac_wine_try_cflags_saved
8489 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8490 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8491 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8492 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8497 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8498 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8499 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8500 echo $ECHO_N "(cached) $ECHO_C" >&6
8502 ac_wine_try_cflags_saved
=$CFLAGS
8503 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8504 cat >conftest.
$ac_ext <<_ACEOF
8507 cat confdefs.h
>>conftest.
$ac_ext
8508 cat >>conftest.
$ac_ext <<_ACEOF
8509 /* end confdefs.h. */
8519 rm -f conftest.
$ac_objext conftest
$ac_exeext
8520 if { (ac_try
="$ac_link"
8522 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8523 *) ac_try_echo=$ac_try;;
8525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8526 (eval "$ac_link") 2>conftest.er1
8528 grep -v '^ *+' conftest.er1 >conftest.err
8530 cat conftest.err >&5
8531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532 (exit $ac_status); } && {
8533 test -z "$ac_c_werror_flag" ||
8534 test ! -s conftest.err
8535 } && test -s conftest$ac_exeext &&
8536 $as_test_x conftest$ac_exeext; then
8537 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8539 echo "$as_me: failed program was:" >&5
8540 sed 's/^/| /' conftest.$ac_ext >&5
8542 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8546 conftest$ac_exeext conftest.$ac_ext
8547 CFLAGS=$ac_wine_try_cflags_saved
8549 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8550 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8551 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8552 LDEXECFLAGS="-Wl,--export-dynamic"
8557 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
8558 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8559 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8560 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8561 echo $ECHO_N "(cached) $ECHO_C" >&6
8563 ac_wine_try_cflags_saved=$CFLAGS
8564 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8565 cat >conftest.$ac_ext <<_ACEOF
8568 cat confdefs.h >>conftest.$ac_ext
8569 cat >>conftest.$ac_ext <<_ACEOF
8570 /* end confdefs.h. */
8580 rm -f conftest.$ac_objext conftest$ac_exeext
8581 if { (ac_try="$ac_link"
8583 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8584 *) ac_try_echo
=$ac_try;;
8586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8587 (eval "$ac_link") 2>conftest.er1
8589 grep -v '^ *+' conftest.er1
>conftest.err
8591 cat conftest.err
>&5
8592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8593 (exit $ac_status); } && {
8594 test -z "$ac_c_werror_flag" ||
8595 test ! -s conftest.err
8596 } && test -s conftest
$ac_exeext &&
8597 $as_test_x conftest
$ac_exeext; then
8598 eval "$as_ac_var=yes"
8600 echo "$as_me: failed program was:" >&5
8601 sed 's/^/| /' conftest.
$ac_ext >&5
8603 eval "$as_ac_var=no"
8606 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8607 conftest
$ac_exeext conftest.
$ac_ext
8608 CFLAGS
=$ac_wine_try_cflags_saved
8610 ac_res
=`eval echo '${'$as_ac_var'}'`
8611 { echo "$as_me:$LINENO: result: $ac_res" >&5
8612 echo "${ECHO_T}$ac_res" >&6; }
8613 if test `eval echo '${'$as_ac_var'}'` = yes; then
8614 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8615 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8617 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8618 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8619 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8620 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8621 echo $ECHO_N "(cached) $ECHO_C" >&6
8623 ac_wine_try_cflags_saved
=$CFLAGS
8624 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8625 cat >conftest.
$ac_ext <<_ACEOF
8628 cat confdefs.h
>>conftest.
$ac_ext
8629 cat >>conftest.
$ac_ext <<_ACEOF
8630 /* end confdefs.h. */
8640 rm -f conftest.
$ac_objext conftest
$ac_exeext
8641 if { (ac_try
="$ac_link"
8643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8644 *) ac_try_echo=$ac_try;;
8646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8647 (eval "$ac_link") 2>conftest.er1
8649 grep -v '^ *+' conftest.er1 >conftest.err
8651 cat conftest.err >&5
8652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8653 (exit $ac_status); } && {
8654 test -z "$ac_c_werror_flag" ||
8655 test ! -s conftest.err
8656 } && test -s conftest$ac_exeext &&
8657 $as_test_x conftest$ac_exeext; then
8658 eval "$as_ac_var=yes"
8660 echo "$as_me: failed program was:" >&5
8661 sed 's/^/| /' conftest.$ac_ext >&5
8663 eval "$as_ac_var=no"
8666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8667 conftest$ac_exeext conftest.$ac_ext
8668 CFLAGS=$ac_wine_try_cflags_saved
8670 ac_res=`eval echo '${'$as_ac_var'}'`
8671 { echo "$as_me:$LINENO: result: $ac_res" >&5
8672 echo "${ECHO_T}$ac_res" >&6; }
8673 if test `eval echo '${'$as_ac_var'}'` = yes; then
8674 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
8675 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8682 *i[3456789]86* | x86_64)
8683 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8684 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8685 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8686 echo $ECHO_N "(cached) $ECHO_C" >&6
8688 ac_wine_try_cflags_saved=$CFLAGS
8689 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8690 cat >conftest.$ac_ext <<_ACEOF
8693 cat confdefs.h >>conftest.$ac_ext
8694 cat >>conftest.$ac_ext <<_ACEOF
8695 /* end confdefs.h. */
8705 rm -f conftest.$ac_objext conftest$ac_exeext
8706 if { (ac_try="$ac_link"
8708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8709 *) ac_try_echo
=$ac_try;;
8711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8712 (eval "$ac_link") 2>conftest.er1
8714 grep -v '^ *+' conftest.er1
>conftest.err
8716 cat conftest.err
>&5
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); } && {
8719 test -z "$ac_c_werror_flag" ||
8720 test ! -s conftest.err
8721 } && test -s conftest
$ac_exeext &&
8722 $as_test_x conftest
$ac_exeext; then
8723 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8725 echo "$as_me: failed program was:" >&5
8726 sed 's/^/| /' conftest.
$ac_ext >&5
8728 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8731 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8732 conftest
$ac_exeext conftest.
$ac_ext
8733 CFLAGS
=$ac_wine_try_cflags_saved
8735 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8736 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8737 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8738 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8745 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8746 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8747 if test "${ac_cv_c_dll_unixware+set}" = set; then
8748 echo $ECHO_N "(cached) $ECHO_C" >&6
8750 ac_wine_try_cflags_saved
=$CFLAGS
8751 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8752 cat >conftest.
$ac_ext <<_ACEOF
8755 rm -f conftest.
$ac_objext conftest
$ac_exeext
8756 if { (ac_try
="$ac_link"
8758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8759 *) ac_try_echo=$ac_try;;
8761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8762 (eval "$ac_link") 2>conftest.er1
8764 grep -v '^ *+' conftest.er1 >conftest.err
8766 cat conftest.err >&5
8767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8768 (exit $ac_status); } && {
8769 test -z "$ac_c_werror_flag" ||
8770 test ! -s conftest.err
8771 } && test -s conftest$ac_exeext &&
8772 $as_test_x conftest$ac_exeext; then
8773 ac_cv_c_dll_unixware="yes"
8775 echo "$as_me: failed program was:" >&5
8776 sed 's/^/| /' conftest.$ac_ext >&5
8778 ac_cv_c_dll_unixware="no"
8781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8782 conftest$ac_exeext conftest.$ac_ext
8783 CFLAGS=$ac_wine_try_cflags_saved
8785 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8786 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8787 if test "$ac_cv_c_dll_unixware" = "yes"
8789 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8790 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8793 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8794 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8795 if test "${ac_cv_c_dll_hpux+set}" = set; then
8796 echo $ECHO_N "(cached) $ECHO_C" >&6
8798 ac_wine_try_cflags_saved=$CFLAGS
8799 CFLAGS="$CFLAGS -shared"
8800 cat >conftest.$ac_ext <<_ACEOF
8803 rm -f conftest.$ac_objext conftest$ac_exeext
8804 if { (ac_try="$ac_link"
8806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8807 *) ac_try_echo
=$ac_try;;
8809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8810 (eval "$ac_link") 2>conftest.er1
8812 grep -v '^ *+' conftest.er1
>conftest.err
8814 cat conftest.err
>&5
8815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8816 (exit $ac_status); } && {
8817 test -z "$ac_c_werror_flag" ||
8818 test ! -s conftest.err
8819 } && test -s conftest
$ac_exeext &&
8820 $as_test_x conftest
$ac_exeext; then
8821 ac_cv_c_dll_hpux
="yes"
8823 echo "$as_me: failed program was:" >&5
8824 sed 's/^/| /' conftest.
$ac_ext >&5
8826 ac_cv_c_dll_hpux
="no"
8829 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8830 conftest
$ac_exeext conftest.
$ac_ext
8831 CFLAGS
=$ac_wine_try_cflags_saved
8833 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8834 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8835 if test "$ac_cv_c_dll_hpux" = "yes"
8839 LDDLLFLAGS
="-shared -fPIC"
8840 LDSHARED
="\$(CC) -shared"
8847 if test "$cross_compiling" = "no"
8849 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8851 # Extract the first word of "$ac_prog", so it can be a program name with args.
8852 set dummy
$ac_prog; ac_word
=$2
8853 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8855 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8856 echo $ECHO_N "(cached) $ECHO_C" >&6
8858 if test -n "$CROSSCC"; then
8859 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8865 test -z "$as_dir" && as_dir
=.
8866 for ac_exec_ext
in '' $ac_executable_extensions; do
8867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8868 ac_cv_prog_CROSSCC
="$ac_prog"
8869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8878 CROSSCC
=$ac_cv_prog_CROSSCC
8879 if test -n "$CROSSCC"; then
8880 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8881 echo "${ECHO_T}$CROSSCC" >&6; }
8883 { echo "$as_me:$LINENO: result: no" >&5
8884 echo "${ECHO_T}no" >&6; }
8888 test -n "$CROSSCC" && break
8890 test -n "$CROSSCC" || CROSSCC
="false"
8892 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8894 # Extract the first word of "$ac_prog", so it can be a program name with args.
8895 set dummy
$ac_prog; ac_word
=$2
8896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8898 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8899 echo $ECHO_N "(cached) $ECHO_C" >&6
8901 if test -n "$DLLTOOL"; then
8902 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8908 test -z "$as_dir" && as_dir
=.
8909 for ac_exec_ext
in '' $ac_executable_extensions; do
8910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8911 ac_cv_prog_DLLTOOL
="$ac_prog"
8912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8921 DLLTOOL
=$ac_cv_prog_DLLTOOL
8922 if test -n "$DLLTOOL"; then
8923 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8924 echo "${ECHO_T}$DLLTOOL" >&6; }
8926 { echo "$as_me:$LINENO: result: no" >&5
8927 echo "${ECHO_T}no" >&6; }
8931 test -n "$DLLTOOL" && break
8933 test -n "$DLLTOOL" || DLLTOOL
="false"
8935 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
8937 # Extract the first word of "$ac_prog", so it can be a program name with args.
8938 set dummy
$ac_prog; ac_word
=$2
8939 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8941 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8942 echo $ECHO_N "(cached) $ECHO_C" >&6
8944 if test -n "$CROSSWINDRES"; then
8945 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
8947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8951 test -z "$as_dir" && as_dir
=.
8952 for ac_exec_ext
in '' $ac_executable_extensions; do
8953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8954 ac_cv_prog_CROSSWINDRES
="$ac_prog"
8955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8964 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
8965 if test -n "$CROSSWINDRES"; then
8966 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
8967 echo "${ECHO_T}$CROSSWINDRES" >&6; }
8969 { echo "$as_me:$LINENO: result: no" >&5
8970 echo "${ECHO_T}no" >&6; }
8974 test -n "$CROSSWINDRES" && break
8976 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
8978 for ac_prog
in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
8980 # Extract the first word of "$ac_prog", so it can be a program name with args.
8981 set dummy
$ac_prog; ac_word
=$2
8982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8984 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8985 echo $ECHO_N "(cached) $ECHO_C" >&6
8987 if test -n "$MINGWAR"; then
8988 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8994 test -z "$as_dir" && as_dir
=.
8995 for ac_exec_ext
in '' $ac_executable_extensions; do
8996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8997 ac_cv_prog_MINGWAR
="$ac_prog"
8998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9007 MINGWAR
=$ac_cv_prog_MINGWAR
9008 if test -n "$MINGWAR"; then
9009 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9010 echo "${ECHO_T}$MINGWAR" >&6; }
9012 { echo "$as_me:$LINENO: result: no" >&5
9013 echo "${ECHO_T}no" >&6; }
9017 test -n "$MINGWAR" && break
9019 test -n "$MINGWAR" || MINGWAR
="false"
9021 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
9026 if test "$LIBEXT" = "a"; then
9027 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9028 It is currently not possible to build Wine without shared library
9029 (.so) support to allow transparent switch between .so and .dll files.
9030 If you are using Linux, you will need a newer binutils.
9032 echo "$as_me: error: could not find a way to build shared libraries.
9033 It is currently not possible to build Wine without shared library
9034 (.so) support to allow transparent switch between .so and .dll files.
9035 If you are using Linux, you will need a newer binutils.
9037 { (exit 1); exit 1; }; }
9041 if test "$have_x" = "yes"
9044 ac_save_CPPFLAGS
="$CPPFLAGS"
9045 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9047 { echo "$as_me:$LINENO: checking for -lX11" >&5
9048 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9049 if test "${ac_cv_lib_soname_X11+set}" = set; then
9050 echo $ECHO_N "(cached) $ECHO_C" >&6
9052 ac_check_soname_save_LIBS
=$LIBS
9053 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9054 cat >conftest.
$ac_ext <<_ACEOF
9057 cat confdefs.h
>>conftest.
$ac_ext
9058 cat >>conftest.
$ac_ext <<_ACEOF
9059 /* end confdefs.h. */
9061 /* Override any GCC internal prototype to avoid an error.
9062 Use char because int might match the return type of a GCC
9063 builtin and then its argument prototype would still apply. */
9067 char XCreateWindow ();
9071 return XCreateWindow ();
9076 rm -f conftest.
$ac_objext conftest
$ac_exeext
9077 if { (ac_try
="$ac_link"
9079 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9080 *) ac_try_echo=$ac_try;;
9082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9083 (eval "$ac_link") 2>conftest.er1
9085 grep -v '^ *+' conftest.er1 >conftest.err
9087 cat conftest.err >&5
9088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9089 (exit $ac_status); } && {
9090 test -z "$ac_c_werror_flag" ||
9091 test ! -s conftest.err
9092 } && test -s conftest$ac_exeext &&
9093 $as_test_x conftest$ac_exeext; then
9096 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'` ;;
9097 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libX11\\.$LIBEXT" |
sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9100 echo "$as_me: failed program was:" >&5
9101 sed 's/^/| /' conftest.$ac_ext >&5
9106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9107 conftest$ac_exeext conftest.$ac_ext
9108 LIBS=$ac_check_soname_save_LIBS
9110 if test "x$ac_cv_lib_soname_X11" = "x"; then
9111 { echo "$as_me:$LINENO: result: not found" >&5
9112 echo "${ECHO_T}not found" >&6; }
9115 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9116 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9118 cat >>confdefs.h <<_ACEOF
9119 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9125 { echo "$as_me:$LINENO: checking for -lXext" >&5
9126 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9127 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9128 echo $ECHO_N "(cached) $ECHO_C" >&6
9130 ac_check_soname_save_LIBS=$LIBS
9131 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9132 cat >conftest.$ac_ext <<_ACEOF
9135 cat confdefs.h >>conftest.$ac_ext
9136 cat >>conftest.$ac_ext <<_ACEOF
9137 /* end confdefs.h. */
9139 /* Override any GCC internal prototype to avoid an error.
9140 Use char because int might match the return type of a GCC
9141 builtin and then its argument prototype would still apply. */
9145 char XextCreateExtension ();
9149 return XextCreateExtension ();
9154 rm -f conftest.$ac_objext conftest$ac_exeext
9155 if { (ac_try="$ac_link"
9157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9158 *) ac_try_echo
=$ac_try;;
9160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9161 (eval "$ac_link") 2>conftest.er1
9163 grep -v '^ *+' conftest.er1
>conftest.err
9165 cat conftest.err
>&5
9166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9167 (exit $ac_status); } && {
9168 test -z "$ac_c_werror_flag" ||
9169 test ! -s conftest.err
9170 } && test -s conftest
$ac_exeext &&
9171 $as_test_x conftest
$ac_exeext; then
9174 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'` ;;
9175 *) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9178 echo "$as_me: failed program was:" >&5
9179 sed 's/^/| /' conftest.
$ac_ext >&5
9184 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9185 conftest
$ac_exeext conftest.
$ac_ext
9186 LIBS
=$ac_check_soname_save_LIBS
9188 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9189 { echo "$as_me:$LINENO: result: not found" >&5
9190 echo "${ECHO_T}not found" >&6; }
9193 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9194 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9196 cat >>confdefs.h
<<_ACEOF
9197 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9215 for ac_header
in X11
/Xlib.h \
9218 X11
/Xcursor
/Xcursor.h \
9219 X11
/extensions
/shape.h \
9220 X11
/extensions
/XInput.h \
9221 X11
/extensions
/XShm.h \
9222 X11
/extensions
/Xinerama.h \
9223 X11
/extensions
/Xrandr.h \
9224 X11
/extensions
/Xrender.h \
9225 X11
/extensions
/xf86vmode.h
9227 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9228 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9230 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9231 echo $ECHO_N "(cached) $ECHO_C" >&6
9233 cat >conftest.
$ac_ext <<_ACEOF
9236 cat confdefs.h
>>conftest.
$ac_ext
9237 cat >>conftest.
$ac_ext <<_ACEOF
9238 /* end confdefs.h. */
9239 #ifdef HAVE_X11_XLIB_H
9240 # include <X11/Xlib.h>
9242 #ifdef HAVE_X11_XUTIL_H
9243 # include <X11/Xutil.h>
9246 #include <$ac_header>
9248 rm -f conftest.
$ac_objext
9249 if { (ac_try
="$ac_compile"
9251 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9252 *) ac_try_echo=$ac_try;;
9254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9255 (eval "$ac_compile") 2>conftest.er1
9257 grep -v '^ *+' conftest.er1 >conftest.err
9259 cat conftest.err >&5
9260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9261 (exit $ac_status); } && {
9262 test -z "$ac_c_werror_flag" ||
9263 test ! -s conftest.err
9264 } && test -s conftest.$ac_objext; then
9265 eval "$as_ac_Header=yes"
9267 echo "$as_me: failed program was:" >&5
9268 sed 's/^/| /' conftest.$ac_ext >&5
9270 eval "$as_ac_Header=no"
9273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9275 ac_res=`eval echo '${'$as_ac_Header'}'`
9276 { echo "$as_me:$LINENO: result: $ac_res" >&5
9277 echo "${ECHO_T}$ac_res" >&6; }
9278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9279 cat >>confdefs.h <<_ACEOF
9280 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9288 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9290 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9291 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9292 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9293 echo $ECHO_N "(cached) $ECHO_C" >&6
9295 ac_check_lib_save_LIBS=$LIBS
9296 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9297 cat >conftest.$ac_ext <<_ACEOF
9300 cat confdefs.h >>conftest.$ac_ext
9301 cat >>conftest.$ac_ext <<_ACEOF
9302 /* end confdefs.h. */
9304 /* Override any GCC internal prototype to avoid an error.
9305 Use char because int might match the return type of a GCC
9306 builtin and then its argument prototype would still apply. */
9310 char XkbQueryExtension ();
9314 return XkbQueryExtension ();
9319 rm -f conftest.$ac_objext conftest$ac_exeext
9320 if { (ac_try="$ac_link"
9322 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9323 *) ac_try_echo
=$ac_try;;
9325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9326 (eval "$ac_link") 2>conftest.er1
9328 grep -v '^ *+' conftest.er1
>conftest.err
9330 cat conftest.err
>&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); } && {
9333 test -z "$ac_c_werror_flag" ||
9334 test ! -s conftest.err
9335 } && test -s conftest
$ac_exeext &&
9336 $as_test_x conftest
$ac_exeext; then
9337 ac_cv_lib_X11_XkbQueryExtension
=yes
9339 echo "$as_me: failed program was:" >&5
9340 sed 's/^/| /' conftest.
$ac_ext >&5
9342 ac_cv_lib_X11_XkbQueryExtension
=no
9345 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9346 conftest
$ac_exeext conftest.
$ac_ext
9347 LIBS
=$ac_check_lib_save_LIBS
9349 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9350 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9351 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9353 cat >>confdefs.h
<<\_ACEOF
9361 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9363 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9364 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9365 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9366 echo $ECHO_N "(cached) $ECHO_C" >&6
9368 ac_check_soname_save_LIBS
=$LIBS
9369 LIBS
="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9370 cat >conftest.
$ac_ext <<_ACEOF
9373 cat confdefs.h
>>conftest.
$ac_ext
9374 cat >>conftest.
$ac_ext <<_ACEOF
9375 /* end confdefs.h. */
9377 /* Override any GCC internal prototype to avoid an error.
9378 Use char because int might match the return type of a GCC
9379 builtin and then its argument prototype would still apply. */
9383 char XcursorImageLoadCursor ();
9387 return XcursorImageLoadCursor ();
9392 rm -f conftest.
$ac_objext conftest
$ac_exeext
9393 if { (ac_try
="$ac_link"
9395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9396 *) ac_try_echo=$ac_try;;
9398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9399 (eval "$ac_link") 2>conftest.er1
9401 grep -v '^ *+' conftest.er1 >conftest.err
9403 cat conftest.err >&5
9404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9405 (exit $ac_status); } && {
9406 test -z "$ac_c_werror_flag" ||
9407 test ! -s conftest.err
9408 } && test -s conftest$ac_exeext &&
9409 $as_test_x conftest$ac_exeext; then
9412 dylib) ac_cv_lib_soname_Xcursor=`otool
-L conftest
$ac_exeext |
grep "libXcursor\\.[0-9A-Za-z.]*dylib" |
sed -e "s/^.*\/\(libXcursor\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9413 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXcursor\\.$LIBEXT" |
sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9416 echo "$as_me: failed program was:" >&5
9417 sed 's/^/| /' conftest.$ac_ext >&5
9422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9423 conftest$ac_exeext conftest.$ac_ext
9424 LIBS=$ac_check_soname_save_LIBS
9426 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9427 { echo "$as_me:$LINENO: result: not found" >&5
9428 echo "${ECHO_T}not found" >&6; }
9431 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9432 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9434 cat >>confdefs.h <<_ACEOF
9435 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9443 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9445 { echo "$as_me:$LINENO: checking for -lXi" >&5
9446 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9447 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9448 echo $ECHO_N "(cached) $ECHO_C" >&6
9450 ac_check_soname_save_LIBS=$LIBS
9451 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9452 cat >conftest.$ac_ext <<_ACEOF
9455 cat confdefs.h >>conftest.$ac_ext
9456 cat >>conftest.$ac_ext <<_ACEOF
9457 /* end confdefs.h. */
9459 /* Override any GCC internal prototype to avoid an error.
9460 Use char because int might match the return type of a GCC
9461 builtin and then its argument prototype would still apply. */
9465 char XOpenDevice ();
9469 return XOpenDevice ();
9474 rm -f conftest.$ac_objext conftest$ac_exeext
9475 if { (ac_try="$ac_link"
9477 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9478 *) ac_try_echo
=$ac_try;;
9480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9481 (eval "$ac_link") 2>conftest.er1
9483 grep -v '^ *+' conftest.er1
>conftest.err
9485 cat conftest.err
>&5
9486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9487 (exit $ac_status); } && {
9488 test -z "$ac_c_werror_flag" ||
9489 test ! -s conftest.err
9490 } && test -s conftest
$ac_exeext &&
9491 $as_test_x conftest
$ac_exeext; then
9494 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'` ;;
9495 *) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9498 echo "$as_me: failed program was:" >&5
9499 sed 's/^/| /' conftest.
$ac_ext >&5
9504 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9505 conftest
$ac_exeext conftest.
$ac_ext
9506 LIBS
=$ac_check_soname_save_LIBS
9508 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9509 { echo "$as_me:$LINENO: result: not found" >&5
9510 echo "${ECHO_T}not found" >&6; }
9513 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9514 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9516 cat >>confdefs.h
<<_ACEOF
9517 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9525 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9527 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9528 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9529 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9530 echo $ECHO_N "(cached) $ECHO_C" >&6
9532 ac_check_lib_save_LIBS
=$LIBS
9533 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9534 cat >conftest.
$ac_ext <<_ACEOF
9537 cat confdefs.h
>>conftest.
$ac_ext
9538 cat >>conftest.
$ac_ext <<_ACEOF
9539 /* end confdefs.h. */
9541 /* Override any GCC internal prototype to avoid an error.
9542 Use char because int might match the return type of a GCC
9543 builtin and then its argument prototype would still apply. */
9547 char XShmQueryExtension ();
9551 return XShmQueryExtension ();
9556 rm -f conftest.
$ac_objext conftest
$ac_exeext
9557 if { (ac_try
="$ac_link"
9559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9560 *) ac_try_echo=$ac_try;;
9562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9563 (eval "$ac_link") 2>conftest.er1
9565 grep -v '^ *+' conftest.er1 >conftest.err
9567 cat conftest.err >&5
9568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9569 (exit $ac_status); } && {
9570 test -z "$ac_c_werror_flag" ||
9571 test ! -s conftest.err
9572 } && test -s conftest$ac_exeext &&
9573 $as_test_x conftest$ac_exeext; then
9574 ac_cv_lib_Xext_XShmQueryExtension=yes
9576 echo "$as_me: failed program was:" >&5
9577 sed 's/^/| /' conftest.$ac_ext >&5
9579 ac_cv_lib_Xext_XShmQueryExtension=no
9582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9583 conftest$ac_exeext conftest.$ac_ext
9584 LIBS=$ac_check_lib_save_LIBS
9586 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9587 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9588 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9590 cat >>confdefs.h <<\_ACEOF
9591 #define HAVE_LIBXXSHM 1
9597 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9598 wine_notices="$wine_notices|XShm development files not found.
9599 Wine will be built without XShm support. (winex11.drv)"
9603 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9605 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9606 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9607 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9608 echo $ECHO_N "(cached) $ECHO_C" >&6
9610 ac_check_lib_save_LIBS=$LIBS
9611 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9612 cat >conftest.$ac_ext <<_ACEOF
9615 cat confdefs.h >>conftest.$ac_ext
9616 cat >>conftest.$ac_ext <<_ACEOF
9617 /* end confdefs.h. */
9619 /* Override any GCC internal prototype to avoid an error.
9620 Use char because int might match the return type of a GCC
9621 builtin and then its argument prototype would still apply. */
9625 char XShapeQueryExtension ();
9629 return XShapeQueryExtension ();
9634 rm -f conftest.$ac_objext conftest$ac_exeext
9635 if { (ac_try="$ac_link"
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_link") 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 test -z "$ac_c_werror_flag" ||
9649 test ! -s conftest.err
9650 } && test -s conftest
$ac_exeext &&
9651 $as_test_x conftest
$ac_exeext; then
9652 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9654 echo "$as_me: failed program was:" >&5
9655 sed 's/^/| /' conftest.
$ac_ext >&5
9657 ac_cv_lib_Xext_XShapeQueryExtension
=no
9660 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9661 conftest
$ac_exeext conftest.
$ac_ext
9662 LIBS
=$ac_check_lib_save_LIBS
9664 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9665 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9666 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9668 cat >>confdefs.h
<<\_ACEOF
9669 #define HAVE_LIBXSHAPE 1
9675 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9676 wine_notices
="$wine_notices|XShape development files not found.
9677 Wine will be built without XShape support. (winex11.drv)"
9681 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9683 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9684 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9685 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9686 echo $ECHO_N "(cached) $ECHO_C" >&6
9688 ac_check_lib_save_LIBS
=$LIBS
9689 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9690 cat >conftest.
$ac_ext <<_ACEOF
9693 cat confdefs.h
>>conftest.
$ac_ext
9694 cat >>conftest.
$ac_ext <<_ACEOF
9695 /* end confdefs.h. */
9697 /* Override any GCC internal prototype to avoid an error.
9698 Use char because int might match the return type of a GCC
9699 builtin and then its argument prototype would still apply. */
9703 char XF86VidModeQueryExtension ();
9707 return XF86VidModeQueryExtension ();
9712 rm -f conftest.
$ac_objext conftest
$ac_exeext
9713 if { (ac_try
="$ac_link"
9715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9716 *) ac_try_echo=$ac_try;;
9718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9719 (eval "$ac_link") 2>conftest.er1
9721 grep -v '^ *+' conftest.er1 >conftest.err
9723 cat conftest.err >&5
9724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725 (exit $ac_status); } && {
9726 test -z "$ac_c_werror_flag" ||
9727 test ! -s conftest.err
9728 } && test -s conftest$ac_exeext &&
9729 $as_test_x conftest$ac_exeext; then
9730 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9732 echo "$as_me: failed program was:" >&5
9733 sed 's/^/| /' conftest.$ac_ext >&5
9735 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9739 conftest$ac_exeext conftest.$ac_ext
9740 LIBS=$ac_check_lib_save_LIBS
9742 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9743 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9744 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9746 cat >>confdefs.h <<\_ACEOF
9747 #define HAVE_LIBXXF86VM 1
9750 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9755 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9756 wine_notices="$wine_notices|Xxf86vm development files not found.
9757 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9761 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
9763 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9764 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9765 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9766 echo $ECHO_N "(cached) $ECHO_C" >&6
9768 ac_check_soname_save_LIBS=$LIBS
9769 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9770 cat >conftest.$ac_ext <<_ACEOF
9773 cat confdefs.h >>conftest.$ac_ext
9774 cat >>conftest.$ac_ext <<_ACEOF
9775 /* end confdefs.h. */
9777 /* Override any GCC internal prototype to avoid an error.
9778 Use char because int might match the return type of a GCC
9779 builtin and then its argument prototype would still apply. */
9783 char XRenderQueryExtension ();
9787 return XRenderQueryExtension ();
9792 rm -f conftest.$ac_objext conftest$ac_exeext
9793 if { (ac_try="$ac_link"
9795 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9796 *) ac_try_echo
=$ac_try;;
9798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9799 (eval "$ac_link") 2>conftest.er1
9801 grep -v '^ *+' conftest.er1
>conftest.err
9803 cat conftest.err
>&5
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); } && {
9806 test -z "$ac_c_werror_flag" ||
9807 test ! -s conftest.err
9808 } && test -s conftest
$ac_exeext &&
9809 $as_test_x conftest
$ac_exeext; then
9812 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'` ;;
9813 *) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9816 echo "$as_me: failed program was:" >&5
9817 sed 's/^/| /' conftest.
$ac_ext >&5
9822 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9823 conftest
$ac_exeext conftest.
$ac_ext
9824 LIBS
=$ac_check_soname_save_LIBS
9826 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9827 { echo "$as_me:$LINENO: result: not found" >&5
9828 echo "${ECHO_T}not found" >&6; }
9831 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9832 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9834 cat >>confdefs.h
<<_ACEOF
9835 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9838 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9839 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9840 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9841 echo $ECHO_N "(cached) $ECHO_C" >&6
9843 ac_check_lib_save_LIBS
=$LIBS
9844 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9845 cat >conftest.
$ac_ext <<_ACEOF
9848 cat confdefs.h
>>conftest.
$ac_ext
9849 cat >>conftest.
$ac_ext <<_ACEOF
9850 /* end confdefs.h. */
9852 /* Override any GCC internal prototype to avoid an error.
9853 Use char because int might match the return type of a GCC
9854 builtin and then its argument prototype would still apply. */
9858 char XRenderSetPictureTransform ();
9862 return XRenderSetPictureTransform ();
9867 rm -f conftest.
$ac_objext conftest
$ac_exeext
9868 if { (ac_try
="$ac_link"
9870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9871 *) ac_try_echo=$ac_try;;
9873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9874 (eval "$ac_link") 2>conftest.er1
9876 grep -v '^ *+' conftest.er1 >conftest.err
9878 cat conftest.err >&5
9879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9880 (exit $ac_status); } && {
9881 test -z "$ac_c_werror_flag" ||
9882 test ! -s conftest.err
9883 } && test -s conftest$ac_exeext &&
9884 $as_test_x conftest$ac_exeext; then
9885 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9887 echo "$as_me: failed program was:" >&5
9888 sed 's/^/| /' conftest.$ac_ext >&5
9890 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9894 conftest$ac_exeext conftest.$ac_ext
9895 LIBS=$ac_check_lib_save_LIBS
9897 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9898 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9899 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9901 cat >>confdefs.h <<\_ACEOF
9902 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9911 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9912 wine_notices="$wine_notices|XRender development files not found.
9913 Wine will be built without XRender support. (winex11.drv)"
9917 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9919 cat >conftest.$ac_ext <<_ACEOF
9922 cat confdefs.h >>conftest.$ac_ext
9923 cat >>conftest.$ac_ext <<_ACEOF
9924 /* end confdefs.h. */
9925 #include <X11/Xlib.h>
9926 #include <X11/extensions/Xrandr.h>
9930 static typeof(XRRSetScreenConfigAndRate) * func;
9935 rm -f conftest.$ac_objext
9936 if { (ac_try="$ac_compile"
9938 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9939 *) ac_try_echo
=$ac_try;;
9941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9942 (eval "$ac_compile") 2>conftest.er1
9944 grep -v '^ *+' conftest.er1
>conftest.err
9946 cat conftest.err
>&5
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 (exit $ac_status); } && {
9949 test -z "$ac_c_werror_flag" ||
9950 test ! -s conftest.err
9951 } && test -s conftest.
$ac_objext; then
9952 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
9953 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
9954 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
9955 echo $ECHO_N "(cached) $ECHO_C" >&6
9957 ac_check_soname_save_LIBS
=$LIBS
9958 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9959 cat >conftest.
$ac_ext <<_ACEOF
9962 cat confdefs.h
>>conftest.
$ac_ext
9963 cat >>conftest.
$ac_ext <<_ACEOF
9964 /* end confdefs.h. */
9966 /* Override any GCC internal prototype to avoid an error.
9967 Use char because int might match the return type of a GCC
9968 builtin and then its argument prototype would still apply. */
9972 char XRRQueryExtension ();
9976 return XRRQueryExtension ();
9981 rm -f conftest.
$ac_objext conftest
$ac_exeext
9982 if { (ac_try
="$ac_link"
9984 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9985 *) ac_try_echo=$ac_try;;
9987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9988 (eval "$ac_link") 2>conftest.er1
9990 grep -v '^ *+' conftest.er1 >conftest.err
9992 cat conftest.err >&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 (exit $ac_status); } && {
9995 test -z "$ac_c_werror_flag" ||
9996 test ! -s conftest.err
9997 } && test -s conftest$ac_exeext &&
9998 $as_test_x conftest$ac_exeext; then
10001 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'` ;;
10002 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrandr\\.$LIBEXT" |
sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10005 echo "$as_me: failed program was:" >&5
10006 sed 's/^/| /' conftest.$ac_ext >&5
10011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10012 conftest$ac_exeext conftest.$ac_ext
10013 LIBS=$ac_check_soname_save_LIBS
10015 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10016 { echo "$as_me:$LINENO: result: not found" >&5
10017 echo "${ECHO_T}not found" >&6; }
10020 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10021 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10023 cat >>confdefs.h <<_ACEOF
10024 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10031 echo "$as_me: failed program was:" >&5
10032 sed 's/^/| /' conftest.$ac_ext >&5
10037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10039 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10040 wine_notices="$wine_notices|XRandr development files not found.
10041 Wine will be built without XRandr support. (winex11.drv)"
10045 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10047 cat >conftest.$ac_ext <<_ACEOF
10050 cat confdefs.h >>conftest.$ac_ext
10051 cat >>conftest.$ac_ext <<_ACEOF
10052 /* end confdefs.h. */
10053 #include <X11/Xlib.h>
10054 #include <X11/extensions/Xinerama.h>
10058 static typeof(XineramaQueryScreens) * func;
10063 rm -f conftest.$ac_objext
10064 if { (ac_try="$ac_compile"
10065 case "(($ac_try" in
10066 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10067 *) ac_try_echo
=$ac_try;;
10069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10070 (eval "$ac_compile") 2>conftest.er1
10072 grep -v '^ *+' conftest.er1
>conftest.err
10074 cat conftest.err
>&5
10075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10076 (exit $ac_status); } && {
10077 test -z "$ac_c_werror_flag" ||
10078 test ! -s conftest.err
10079 } && test -s conftest.
$ac_objext; then
10080 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10081 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10082 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10083 echo $ECHO_N "(cached) $ECHO_C" >&6
10085 ac_check_soname_save_LIBS
=$LIBS
10086 LIBS
="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10087 cat >conftest.
$ac_ext <<_ACEOF
10090 cat confdefs.h
>>conftest.
$ac_ext
10091 cat >>conftest.
$ac_ext <<_ACEOF
10092 /* end confdefs.h. */
10094 /* Override any GCC internal prototype to avoid an error.
10095 Use char because int might match the return type of a GCC
10096 builtin and then its argument prototype would still apply. */
10100 char XineramaQueryScreens ();
10104 return XineramaQueryScreens ();
10109 rm -f conftest.
$ac_objext conftest
$ac_exeext
10110 if { (ac_try
="$ac_link"
10111 case "(($ac_try" in
10112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10113 *) ac_try_echo=$ac_try;;
10115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10116 (eval "$ac_link") 2>conftest.er1
10118 grep -v '^ *+' conftest.er1 >conftest.err
10120 cat conftest.err >&5
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 (exit $ac_status); } && {
10123 test -z "$ac_c_werror_flag" ||
10124 test ! -s conftest.err
10125 } && test -s conftest$ac_exeext &&
10126 $as_test_x conftest$ac_exeext; then
10129 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'` ;;
10130 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXinerama\\.$LIBEXT" |
sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10133 echo "$as_me: failed program was:" >&5
10134 sed 's/^/| /' conftest.$ac_ext >&5
10139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10140 conftest$ac_exeext conftest.$ac_ext
10141 LIBS=$ac_check_soname_save_LIBS
10143 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10144 { echo "$as_me:$LINENO: result: not found" >&5
10145 echo "${ECHO_T}not found" >&6; }
10148 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10149 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10151 cat >>confdefs.h <<_ACEOF
10152 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10159 echo "$as_me: failed program was:" >&5
10160 sed 's/^/| /' conftest.$ac_ext >&5
10165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10167 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10168 wine_notices="$wine_notices|Xinerama development files not found.
10169 Wine will be built without Xinerama support. (winex11.drv)"
10174 if test "x$with_opengl" != "xno"
10180 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10182 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10183 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10185 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10186 echo $ECHO_N "(cached) $ECHO_C" >&6
10188 cat >conftest.$ac_ext <<_ACEOF
10191 cat confdefs.h >>conftest.$ac_ext
10192 cat >>conftest.$ac_ext <<_ACEOF
10193 /* end confdefs.h. */
10194 #ifdef HAVE_GL_GLX_H
10195 # include <GL/glx.h>
10198 #include <$ac_header>
10200 rm -f conftest.$ac_objext
10201 if { (ac_try="$ac_compile"
10202 case "(($ac_try" in
10203 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10204 *) ac_try_echo
=$ac_try;;
10206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10207 (eval "$ac_compile") 2>conftest.er1
10209 grep -v '^ *+' conftest.er1
>conftest.err
10211 cat conftest.err
>&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); } && {
10214 test -z "$ac_c_werror_flag" ||
10215 test ! -s conftest.err
10216 } && test -s conftest.
$ac_objext; then
10217 eval "$as_ac_Header=yes"
10219 echo "$as_me: failed program was:" >&5
10220 sed 's/^/| /' conftest.
$ac_ext >&5
10222 eval "$as_ac_Header=no"
10225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10227 ac_res
=`eval echo '${'$as_ac_Header'}'`
10228 { echo "$as_me:$LINENO: result: $ac_res" >&5
10229 echo "${ECHO_T}$ac_res" >&6; }
10230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10231 cat >>confdefs.h
<<_ACEOF
10232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10239 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10241 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10242 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10243 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10244 echo $ECHO_N "(cached) $ECHO_C" >&6
10246 cat >conftest.
$ac_ext <<_ACEOF
10249 cat confdefs.h
>>conftest.
$ac_ext
10250 cat >>conftest.
$ac_ext <<_ACEOF
10251 /* end confdefs.h. */
10256 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10261 rm -f conftest.
$ac_objext
10262 if { (ac_try
="$ac_compile"
10263 case "(($ac_try" in
10264 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10265 *) ac_try_echo=$ac_try;;
10267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10268 (eval "$ac_compile") 2>conftest.er1
10270 grep -v '^ *+' conftest.er1 >conftest.err
10272 cat conftest.err >&5
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); } && {
10275 test -z "$ac_c_werror_flag" ||
10276 test ! -s conftest.err
10277 } && test -s conftest.$ac_objext; then
10278 wine_cv_opengl_header_version_OK="yes"
10280 echo "$as_me: failed program was:" >&5
10281 sed 's/^/| /' conftest.$ac_ext >&5
10283 wine_cv_opengl_header_version_OK="no"
10286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10288 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10289 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10291 if test "$wine_cv_opengl_header_version_OK" = "yes"
10293 { echo "$as_me:$LINENO: checking for -lGL" >&5
10294 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10295 if test "${ac_cv_lib_soname_GL+set}" = set; then
10296 echo $ECHO_N "(cached) $ECHO_C" >&6
10298 ac_check_soname_save_LIBS=$LIBS
10299 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10300 cat >conftest.$ac_ext <<_ACEOF
10303 cat confdefs.h >>conftest.$ac_ext
10304 cat >>conftest.$ac_ext <<_ACEOF
10305 /* end confdefs.h. */
10307 /* Override any GCC internal prototype to avoid an error.
10308 Use char because int might match the return type of a GCC
10309 builtin and then its argument prototype would still apply. */
10313 char glXCreateContext ();
10317 return glXCreateContext ();
10322 rm -f conftest.$ac_objext conftest$ac_exeext
10323 if { (ac_try="$ac_link"
10324 case "(($ac_try" in
10325 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10326 *) ac_try_echo
=$ac_try;;
10328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10329 (eval "$ac_link") 2>conftest.er1
10331 grep -v '^ *+' conftest.er1
>conftest.err
10333 cat conftest.err
>&5
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); } && {
10336 test -z "$ac_c_werror_flag" ||
10337 test ! -s conftest.err
10338 } && test -s conftest
$ac_exeext &&
10339 $as_test_x conftest
$ac_exeext; then
10342 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'` ;;
10343 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10346 echo "$as_me: failed program was:" >&5
10347 sed 's/^/| /' conftest.
$ac_ext >&5
10352 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10353 conftest
$ac_exeext conftest.
$ac_ext
10354 LIBS
=$ac_check_soname_save_LIBS
10356 if test "x$ac_cv_lib_soname_GL" = "x"; then
10357 { echo "$as_me:$LINENO: result: not found" >&5
10358 echo "${ECHO_T}not found" >&6; }
10359 if test -f /usr
/X11R
6/lib
/libGL.a
10361 wine_warnings
="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10362 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10364 wine_warnings
="$wine_warnings|No OpenGL library found on this system.
10365 Wine will be build without OpenGL or Direct3D support."
10368 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10369 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10371 cat >>confdefs.h
<<_ACEOF
10372 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10376 OPENGLFILES
='$(OPENGLFILES)'
10378 cat >>confdefs.h
<<\_ACEOF
10379 #define HAVE_OPENGL 1
10385 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10386 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10387 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10388 echo $ECHO_N "(cached) $ECHO_C" >&6
10390 ac_check_lib_save_LIBS
=$LIBS
10391 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10392 cat >conftest.
$ac_ext <<_ACEOF
10395 cat confdefs.h
>>conftest.
$ac_ext
10396 cat >>conftest.
$ac_ext <<_ACEOF
10397 /* end confdefs.h. */
10399 /* Override any GCC internal prototype to avoid an error.
10400 Use char because int might match the return type of a GCC
10401 builtin and then its argument prototype would still apply. */
10409 return gluLookAt ();
10414 rm -f conftest.
$ac_objext conftest
$ac_exeext
10415 if { (ac_try
="$ac_link"
10416 case "(($ac_try" in
10417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10418 *) ac_try_echo=$ac_try;;
10420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10421 (eval "$ac_link") 2>conftest.er1
10423 grep -v '^ *+' conftest.er1 >conftest.err
10425 cat conftest.err >&5
10426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10427 (exit $ac_status); } && {
10428 test -z "$ac_c_werror_flag" ||
10429 test ! -s conftest.err
10430 } && test -s conftest$ac_exeext &&
10431 $as_test_x conftest$ac_exeext; then
10432 ac_cv_lib_GLU_gluLookAt=yes
10434 echo "$as_me: failed program was:" >&5
10435 sed 's/^/| /' conftest.$ac_ext >&5
10437 ac_cv_lib_GLU_gluLookAt=no
10440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10441 conftest$ac_exeext conftest.$ac_ext
10442 LIBS=$ac_check_lib_save_LIBS
10444 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10445 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10446 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10447 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10448 GLU32FILES='$(GLU32FILES)'
10453 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10454 Wine will be build without OpenGL or Direct3D support."
10457 wine_warnings="$wine_warnings|OpenGL development headers not found.
10458 Wine will be build without OpenGL or Direct3D support."
10465 for ac_header in audio/audiolib.h
10467 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10468 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10469 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10471 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10472 echo $ECHO_N "(cached) $ECHO_C" >&6
10474 ac_res=`eval echo '${'$as_ac_Header'}'`
10475 { echo "$as_me:$LINENO: result: $ac_res" >&5
10476 echo "${ECHO_T}$ac_res" >&6; }
10478 # Is the header compilable?
10479 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10480 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10481 cat >conftest.$ac_ext <<_ACEOF
10484 cat confdefs.h >>conftest.$ac_ext
10485 cat >>conftest.$ac_ext <<_ACEOF
10486 /* end confdefs.h. */
10487 $ac_includes_default
10488 #include <$ac_header>
10490 rm -f conftest.$ac_objext
10491 if { (ac_try="$ac_compile"
10492 case "(($ac_try" in
10493 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10494 *) ac_try_echo
=$ac_try;;
10496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10497 (eval "$ac_compile") 2>conftest.er1
10499 grep -v '^ *+' conftest.er1
>conftest.err
10501 cat conftest.err
>&5
10502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503 (exit $ac_status); } && {
10504 test -z "$ac_c_werror_flag" ||
10505 test ! -s conftest.err
10506 } && test -s conftest.
$ac_objext; then
10507 ac_header_compiler
=yes
10509 echo "$as_me: failed program was:" >&5
10510 sed 's/^/| /' conftest.
$ac_ext >&5
10512 ac_header_compiler
=no
10515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10516 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10517 echo "${ECHO_T}$ac_header_compiler" >&6; }
10519 # Is the header present?
10520 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10521 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10522 cat >conftest.
$ac_ext <<_ACEOF
10525 cat confdefs.h
>>conftest.
$ac_ext
10526 cat >>conftest.
$ac_ext <<_ACEOF
10527 /* end confdefs.h. */
10528 #include <$ac_header>
10530 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10531 case "(($ac_try" in
10532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10533 *) ac_try_echo=$ac_try;;
10535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10536 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10538 grep -v '^ *+' conftest.er1 >conftest.err
10540 cat conftest.err >&5
10541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542 (exit $ac_status); } >/dev/null && {
10543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10544 test ! -s conftest.err
10546 ac_header_preproc=yes
10548 echo "$as_me: failed program was:" >&5
10549 sed 's/^/| /' conftest.$ac_ext >&5
10551 ac_header_preproc=no
10554 rm -f conftest.err conftest.$ac_ext
10555 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10556 echo "${ECHO_T}$ac_header_preproc" >&6; }
10558 # So? What about this header?
10559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10561 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10562 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10564 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10565 ac_header_preproc=yes
10568 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10569 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10570 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10571 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10572 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10573 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10574 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10575 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10577 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10578 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10579 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10581 ## ------------------------------------ ##
10582 ## Report this to wine-devel@winehq.org ##
10583 ## ------------------------------------ ##
10585 ) | sed "s/^/$as_me: WARNING: /" >&2
10588 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10590 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10591 echo $ECHO_N "(cached) $ECHO_C" >&6
10593 eval "$as_ac_Header=\$ac_header_preproc"
10595 ac_res=`eval echo '${'$as_ac_Header'}'`
10596 { echo "$as_me:$LINENO: result: $ac_res" >&5
10597 echo "${ECHO_T}$ac_res" >&6; }
10600 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10601 cat >>confdefs.h <<_ACEOF
10602 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10605 for ac_header in audio/soundlib.h
10607 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10608 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10610 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10611 echo $ECHO_N "(cached) $ECHO_C" >&6
10613 cat >conftest.$ac_ext <<_ACEOF
10616 cat confdefs.h >>conftest.$ac_ext
10617 cat >>conftest.$ac_ext <<_ACEOF
10618 /* end confdefs.h. */
10619 #include <audio/audiolib.h>
10621 #include <$ac_header>
10623 rm -f conftest.$ac_objext
10624 if { (ac_try="$ac_compile"
10625 case "(($ac_try" in
10626 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10627 *) ac_try_echo
=$ac_try;;
10629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10630 (eval "$ac_compile") 2>conftest.er1
10632 grep -v '^ *+' conftest.er1
>conftest.err
10634 cat conftest.err
>&5
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); } && {
10637 test -z "$ac_c_werror_flag" ||
10638 test ! -s conftest.err
10639 } && test -s conftest.
$ac_objext; then
10640 eval "$as_ac_Header=yes"
10642 echo "$as_me: failed program was:" >&5
10643 sed 's/^/| /' conftest.
$ac_ext >&5
10645 eval "$as_ac_Header=no"
10648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10650 ac_res
=`eval echo '${'$as_ac_Header'}'`
10651 { echo "$as_me:$LINENO: result: $ac_res" >&5
10652 echo "${ECHO_T}$ac_res" >&6; }
10653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10654 cat >>confdefs.h
<<_ACEOF
10655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10662 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10663 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10664 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10665 echo $ECHO_N "(cached) $ECHO_C" >&6
10667 ac_check_lib_save_LIBS
=$LIBS
10668 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10669 cat >conftest.
$ac_ext <<_ACEOF
10672 cat confdefs.h
>>conftest.
$ac_ext
10673 cat >>conftest.
$ac_ext <<_ACEOF
10674 /* end confdefs.h. */
10676 /* Override any GCC internal prototype to avoid an error.
10677 Use char because int might match the return type of a GCC
10678 builtin and then its argument prototype would still apply. */
10682 char AuCreateFlow ();
10686 return AuCreateFlow ();
10691 rm -f conftest.
$ac_objext conftest
$ac_exeext
10692 if { (ac_try
="$ac_link"
10693 case "(($ac_try" in
10694 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10695 *) ac_try_echo=$ac_try;;
10697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10698 (eval "$ac_link") 2>conftest.er1
10700 grep -v '^ *+' conftest.er1 >conftest.err
10702 cat conftest.err >&5
10703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704 (exit $ac_status); } && {
10705 test -z "$ac_c_werror_flag" ||
10706 test ! -s conftest.err
10707 } && test -s conftest$ac_exeext &&
10708 $as_test_x conftest$ac_exeext; then
10709 ac_cv_lib_audio_AuCreateFlow=yes
10711 echo "$as_me: failed program was:" >&5
10712 sed 's/^/| /' conftest.$ac_ext >&5
10714 ac_cv_lib_audio_AuCreateFlow=no
10717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10718 conftest$ac_exeext conftest.$ac_ext
10719 LIBS=$ac_check_lib_save_LIBS
10721 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10722 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10723 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10725 cat >>confdefs.h <<\_ACEOF
10729 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10730 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10731 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10732 echo $ECHO_N "(cached) $ECHO_C" >&6
10734 ac_check_lib_save_LIBS=$LIBS
10735 LIBS="-lXau $X_LIBS $LIBS"
10736 cat >conftest.$ac_ext <<_ACEOF
10739 cat confdefs.h >>conftest.$ac_ext
10740 cat >>conftest.$ac_ext <<_ACEOF
10741 /* end confdefs.h. */
10743 /* Override any GCC internal prototype to avoid an error.
10744 Use char because int might match the return type of a GCC
10745 builtin and then its argument prototype would still apply. */
10749 char XauGetBestAuthByAddr ();
10753 return XauGetBestAuthByAddr ();
10758 rm -f conftest.$ac_objext conftest$ac_exeext
10759 if { (ac_try="$ac_link"
10760 case "(($ac_try" in
10761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10762 *) ac_try_echo
=$ac_try;;
10764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10765 (eval "$ac_link") 2>conftest.er1
10767 grep -v '^ *+' conftest.er1
>conftest.err
10769 cat conftest.err
>&5
10770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10771 (exit $ac_status); } && {
10772 test -z "$ac_c_werror_flag" ||
10773 test ! -s conftest.err
10774 } && test -s conftest
$ac_exeext &&
10775 $as_test_x conftest
$ac_exeext; then
10776 ac_cv_lib_Xau_XauGetBestAuthByAddr
=yes
10778 echo "$as_me: failed program was:" >&5
10779 sed 's/^/| /' conftest.
$ac_ext >&5
10781 ac_cv_lib_Xau_XauGetBestAuthByAddr
=no
10784 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10785 conftest
$ac_exeext conftest.
$ac_ext
10786 LIBS
=$ac_check_lib_save_LIBS
10788 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10789 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10790 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10791 NASLIBS
="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10793 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10804 CPPFLAGS
="$ac_save_CPPFLAGS"
10810 wine_warnings
="$wine_warnings|X development files not found. Wine will be built
10811 without X support, which probably isn't what you want. You will need to install
10812 development packages of Xlib/Xfree86 at the very least."
10824 ac_save_CPPFLAGS
="$CPPFLAGS"
10825 if test "$PKG_CONFIG" != "false"
10827 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10828 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10830 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
10831 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
10833 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
10835 for ac_header
in libxml
/parser.h
10837 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10838 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10839 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10841 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10842 echo $ECHO_N "(cached) $ECHO_C" >&6
10844 ac_res
=`eval echo '${'$as_ac_Header'}'`
10845 { echo "$as_me:$LINENO: result: $ac_res" >&5
10846 echo "${ECHO_T}$ac_res" >&6; }
10848 # Is the header compilable?
10849 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10850 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10851 cat >conftest.
$ac_ext <<_ACEOF
10854 cat confdefs.h
>>conftest.
$ac_ext
10855 cat >>conftest.
$ac_ext <<_ACEOF
10856 /* end confdefs.h. */
10857 $ac_includes_default
10858 #include <$ac_header>
10860 rm -f conftest.
$ac_objext
10861 if { (ac_try
="$ac_compile"
10862 case "(($ac_try" in
10863 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10864 *) ac_try_echo=$ac_try;;
10866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10867 (eval "$ac_compile") 2>conftest.er1
10869 grep -v '^ *+' conftest.er1 >conftest.err
10871 cat conftest.err >&5
10872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873 (exit $ac_status); } && {
10874 test -z "$ac_c_werror_flag" ||
10875 test ! -s conftest.err
10876 } && test -s conftest.$ac_objext; then
10877 ac_header_compiler=yes
10879 echo "$as_me: failed program was:" >&5
10880 sed 's/^/| /' conftest.$ac_ext >&5
10882 ac_header_compiler=no
10885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10886 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10887 echo "${ECHO_T}$ac_header_compiler" >&6; }
10889 # Is the header present?
10890 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10891 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10892 cat >conftest.$ac_ext <<_ACEOF
10895 cat confdefs.h >>conftest.$ac_ext
10896 cat >>conftest.$ac_ext <<_ACEOF
10897 /* end confdefs.h. */
10898 #include <$ac_header>
10900 if { (ac_try="$ac_cpp conftest.$ac_ext"
10901 case "(($ac_try" in
10902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10903 *) ac_try_echo
=$ac_try;;
10905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10906 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10908 grep -v '^ *+' conftest.er1
>conftest.err
10910 cat conftest.err
>&5
10911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10912 (exit $ac_status); } >/dev
/null
&& {
10913 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10914 test ! -s conftest.err
10916 ac_header_preproc
=yes
10918 echo "$as_me: failed program was:" >&5
10919 sed 's/^/| /' conftest.
$ac_ext >&5
10921 ac_header_preproc
=no
10924 rm -f conftest.err conftest.
$ac_ext
10925 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10926 echo "${ECHO_T}$ac_header_preproc" >&6; }
10928 # So? What about this header?
10929 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10931 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10932 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10933 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10934 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10935 ac_header_preproc
=yes
10938 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10939 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10940 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10941 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10942 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10943 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10944 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10945 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10947 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10948 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10949 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10951 ## ------------------------------------ ##
10952 ## Report this to wine-devel@winehq.org ##
10953 ## ------------------------------------ ##
10955 ) |
sed "s/^/$as_me: WARNING: /" >&2
10958 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10960 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10961 echo $ECHO_N "(cached) $ECHO_C" >&6
10963 eval "$as_ac_Header=\$ac_header_preproc"
10965 ac_res
=`eval echo '${'$as_ac_Header'}'`
10966 { echo "$as_me:$LINENO: result: $ac_res" >&5
10967 echo "${ECHO_T}$ac_res" >&6; }
10970 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10971 cat >>confdefs.h
<<_ACEOF
10972 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10974 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10975 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10976 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10977 echo $ECHO_N "(cached) $ECHO_C" >&6
10979 ac_check_lib_save_LIBS
=$LIBS
10980 LIBS
="-lxml2 $ac_xml_libs $LIBS"
10981 cat >conftest.
$ac_ext <<_ACEOF
10984 cat confdefs.h
>>conftest.
$ac_ext
10985 cat >>conftest.
$ac_ext <<_ACEOF
10986 /* end confdefs.h. */
10988 /* Override any GCC internal prototype to avoid an error.
10989 Use char because int might match the return type of a GCC
10990 builtin and then its argument prototype would still apply. */
10994 char xmlParseMemory ();
10998 return xmlParseMemory ();
11003 rm -f conftest.
$ac_objext conftest
$ac_exeext
11004 if { (ac_try
="$ac_link"
11005 case "(($ac_try" in
11006 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11007 *) ac_try_echo=$ac_try;;
11009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11010 (eval "$ac_link") 2>conftest.er1
11012 grep -v '^ *+' conftest.er1 >conftest.err
11014 cat conftest.err >&5
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); } && {
11017 test -z "$ac_c_werror_flag" ||
11018 test ! -s conftest.err
11019 } && test -s conftest$ac_exeext &&
11020 $as_test_x conftest$ac_exeext; then
11021 ac_cv_lib_xml2_xmlParseMemory=yes
11023 echo "$as_me: failed program was:" >&5
11024 sed 's/^/| /' conftest.$ac_ext >&5
11026 ac_cv_lib_xml2_xmlParseMemory=no
11029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11030 conftest$ac_exeext conftest.$ac_ext
11031 LIBS=$ac_check_lib_save_LIBS
11033 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11034 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11035 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11037 cat >>confdefs.h <<\_ACEOF
11038 #define HAVE_LIBXML2 1
11041 XML2LIBS="$ac_xml_libs"
11042 XML2INCL="$ac_xml_cflags"
11045 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11046 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11047 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11048 echo $ECHO_N "(cached) $ECHO_C" >&6
11050 ac_check_lib_save_LIBS=$LIBS
11051 LIBS="-lxml2 $ac_xml_libs $LIBS"
11052 cat >conftest.$ac_ext <<_ACEOF
11055 cat confdefs.h >>conftest.$ac_ext
11056 cat >>conftest.$ac_ext <<_ACEOF
11057 /* end confdefs.h. */
11059 /* Override any GCC internal prototype to avoid an error.
11060 Use char because int might match the return type of a GCC
11061 builtin and then its argument prototype would still apply. */
11065 char xmlReadMemory ();
11069 return xmlReadMemory ();
11074 rm -f conftest.$ac_objext conftest$ac_exeext
11075 if { (ac_try="$ac_link"
11076 case "(($ac_try" in
11077 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11078 *) ac_try_echo
=$ac_try;;
11080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11081 (eval "$ac_link") 2>conftest.er1
11083 grep -v '^ *+' conftest.er1
>conftest.err
11085 cat conftest.err
>&5
11086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 (exit $ac_status); } && {
11088 test -z "$ac_c_werror_flag" ||
11089 test ! -s conftest.err
11090 } && test -s conftest
$ac_exeext &&
11091 $as_test_x conftest
$ac_exeext; then
11092 ac_cv_lib_xml2_xmlReadMemory
=yes
11094 echo "$as_me: failed program was:" >&5
11095 sed 's/^/| /' conftest.
$ac_ext >&5
11097 ac_cv_lib_xml2_xmlReadMemory
=no
11100 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11101 conftest
$ac_exeext conftest.
$ac_ext
11102 LIBS
=$ac_check_lib_save_LIBS
11104 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11105 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11106 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11108 cat >>confdefs.h
<<\_ACEOF
11109 #define HAVE_XMLREADMEMORY 1
11114 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11115 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11116 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11117 echo $ECHO_N "(cached) $ECHO_C" >&6
11119 ac_check_lib_save_LIBS
=$LIBS
11120 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11121 cat >conftest.
$ac_ext <<_ACEOF
11124 cat confdefs.h
>>conftest.
$ac_ext
11125 cat >>conftest.
$ac_ext <<_ACEOF
11126 /* end confdefs.h. */
11128 /* Override any GCC internal prototype to avoid an error.
11129 Use char because int might match the return type of a GCC
11130 builtin and then its argument prototype would still apply. */
11134 char xmlNewDocPI ();
11138 return xmlNewDocPI ();
11143 rm -f conftest.
$ac_objext conftest
$ac_exeext
11144 if { (ac_try
="$ac_link"
11145 case "(($ac_try" in
11146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11147 *) ac_try_echo=$ac_try;;
11149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11150 (eval "$ac_link") 2>conftest.er1
11152 grep -v '^ *+' conftest.er1 >conftest.err
11154 cat conftest.err >&5
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); } && {
11157 test -z "$ac_c_werror_flag" ||
11158 test ! -s conftest.err
11159 } && test -s conftest$ac_exeext &&
11160 $as_test_x conftest$ac_exeext; then
11161 ac_cv_lib_xml2_xmlNewDocPI=yes
11163 echo "$as_me: failed program was:" >&5
11164 sed 's/^/| /' conftest.$ac_ext >&5
11166 ac_cv_lib_xml2_xmlNewDocPI=no
11169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11170 conftest$ac_exeext conftest.$ac_ext
11171 LIBS=$ac_check_lib_save_LIBS
11173 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11174 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11175 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11177 cat >>confdefs.h <<\_ACEOF
11178 #define HAVE_XMLNEWDOCPI 1
11188 CPPFLAGS="$ac_save_CPPFLAGS"
11189 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11190 wine_notices="$wine_notices|libxml2 development files not found.
11191 Wine will be built without XML support. (msxml.dll)"
11195 if test "$PKG_CONFIG" != "false"
11197 ac_xslt_libs="`$PKG_CONFIG --libs libxslt
2>/dev
/null
`"
11198 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt
2>/dev
/null
`"
11200 ac_xslt_libs="`xslt-config
--libs 2>/dev
/null
`"
11201 ac_xslt_cflags="`xslt-config
--cflags 2>/dev
/null
`"
11203 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11206 for ac_header in libxslt/pattern.h libxslt/transform.h
11208 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11209 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11211 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11212 echo $ECHO_N "(cached) $ECHO_C" >&6
11214 cat >conftest.$ac_ext <<_ACEOF
11217 cat confdefs.h >>conftest.$ac_ext
11218 cat >>conftest.$ac_ext <<_ACEOF
11219 /* end confdefs.h. */
11220 #ifdef HAVE_LIBXSLT_PATTERN_H
11221 # include <libxslt/pattern.h>
11224 #include <$ac_header>
11226 rm -f conftest.$ac_objext
11227 if { (ac_try="$ac_compile"
11228 case "(($ac_try" in
11229 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11230 *) ac_try_echo
=$ac_try;;
11232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11233 (eval "$ac_compile") 2>conftest.er1
11235 grep -v '^ *+' conftest.er1
>conftest.err
11237 cat conftest.err
>&5
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); } && {
11240 test -z "$ac_c_werror_flag" ||
11241 test ! -s conftest.err
11242 } && test -s conftest.
$ac_objext; then
11243 eval "$as_ac_Header=yes"
11245 echo "$as_me: failed program was:" >&5
11246 sed 's/^/| /' conftest.
$ac_ext >&5
11248 eval "$as_ac_Header=no"
11251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11253 ac_res
=`eval echo '${'$as_ac_Header'}'`
11254 { echo "$as_me:$LINENO: result: $ac_res" >&5
11255 echo "${ECHO_T}$ac_res" >&6; }
11256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11257 cat >>confdefs.h
<<_ACEOF
11258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11260 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11261 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11262 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11263 echo $ECHO_N "(cached) $ECHO_C" >&6
11265 ac_check_lib_save_LIBS
=$LIBS
11266 LIBS
="-lxslt $ac_xslt_libs $LIBS"
11267 cat >conftest.
$ac_ext <<_ACEOF
11270 cat confdefs.h
>>conftest.
$ac_ext
11271 cat >>conftest.
$ac_ext <<_ACEOF
11272 /* end confdefs.h. */
11274 /* Override any GCC internal prototype to avoid an error.
11275 Use char because int might match the return type of a GCC
11276 builtin and then its argument prototype would still apply. */
11280 char xsltCompilePattern ();
11284 return xsltCompilePattern ();
11289 rm -f conftest.
$ac_objext conftest
$ac_exeext
11290 if { (ac_try
="$ac_link"
11291 case "(($ac_try" in
11292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11293 *) ac_try_echo=$ac_try;;
11295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11296 (eval "$ac_link") 2>conftest.er1
11298 grep -v '^ *+' conftest.er1 >conftest.err
11300 cat conftest.err >&5
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); } && {
11303 test -z "$ac_c_werror_flag" ||
11304 test ! -s conftest.err
11305 } && test -s conftest$ac_exeext &&
11306 $as_test_x conftest$ac_exeext; then
11307 ac_cv_lib_xslt_xsltCompilePattern=yes
11309 echo "$as_me: failed program was:" >&5
11310 sed 's/^/| /' conftest.$ac_ext >&5
11312 ac_cv_lib_xslt_xsltCompilePattern=no
11315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11316 conftest$ac_exeext conftest.$ac_ext
11317 LIBS=$ac_check_lib_save_LIBS
11319 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11320 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11321 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11323 cat >>confdefs.h <<\_ACEOF
11324 #define HAVE_LIBXSLT 1
11327 XSLTLIBS="$ac_xslt_libs"
11328 XSLTINCL="$ac_xslt_cflags"
11336 CPPFLAGS="$ac_save_CPPFLAGS"
11337 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11338 wine_notices="$wine_notices|libxslt development files not found.
11339 Wine will be built without xslt support. (msxml.dll)"
11345 if test "$PKG_CONFIG" != "false"
11347 ac_save_CPPFLAGS="$CPPFLAGS"
11348 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
11349 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
11350 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11353 for ac_header in dbus/dbus.h hal/libhal.h
11355 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11356 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11357 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11359 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11360 echo $ECHO_N "(cached) $ECHO_C" >&6
11362 ac_res=`eval echo '${'$as_ac_Header'}'`
11363 { echo "$as_me:$LINENO: result: $ac_res" >&5
11364 echo "${ECHO_T}$ac_res" >&6; }
11366 # Is the header compilable?
11367 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11368 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11369 cat >conftest.$ac_ext <<_ACEOF
11372 cat confdefs.h >>conftest.$ac_ext
11373 cat >>conftest.$ac_ext <<_ACEOF
11374 /* end confdefs.h. */
11375 $ac_includes_default
11376 #include <$ac_header>
11378 rm -f conftest.$ac_objext
11379 if { (ac_try="$ac_compile"
11380 case "(($ac_try" in
11381 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11382 *) ac_try_echo
=$ac_try;;
11384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11385 (eval "$ac_compile") 2>conftest.er1
11387 grep -v '^ *+' conftest.er1
>conftest.err
11389 cat conftest.err
>&5
11390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11391 (exit $ac_status); } && {
11392 test -z "$ac_c_werror_flag" ||
11393 test ! -s conftest.err
11394 } && test -s conftest.
$ac_objext; then
11395 ac_header_compiler
=yes
11397 echo "$as_me: failed program was:" >&5
11398 sed 's/^/| /' conftest.
$ac_ext >&5
11400 ac_header_compiler
=no
11403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11404 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11405 echo "${ECHO_T}$ac_header_compiler" >&6; }
11407 # Is the header present?
11408 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11409 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11410 cat >conftest.
$ac_ext <<_ACEOF
11413 cat confdefs.h
>>conftest.
$ac_ext
11414 cat >>conftest.
$ac_ext <<_ACEOF
11415 /* end confdefs.h. */
11416 #include <$ac_header>
11418 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11419 case "(($ac_try" in
11420 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11421 *) ac_try_echo=$ac_try;;
11423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11424 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11426 grep -v '^ *+' conftest.er1 >conftest.err
11428 cat conftest.err >&5
11429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11430 (exit $ac_status); } >/dev/null && {
11431 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11432 test ! -s conftest.err
11434 ac_header_preproc=yes
11436 echo "$as_me: failed program was:" >&5
11437 sed 's/^/| /' conftest.$ac_ext >&5
11439 ac_header_preproc=no
11442 rm -f conftest.err conftest.$ac_ext
11443 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11444 echo "${ECHO_T}$ac_header_preproc" >&6; }
11446 # So? What about this header?
11447 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11449 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11450 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11452 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11453 ac_header_preproc=yes
11456 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11457 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11458 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11459 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11460 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11461 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11462 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11463 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11465 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11466 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11467 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11469 ## ------------------------------------ ##
11470 ## Report this to wine-devel@winehq.org ##
11471 ## ------------------------------------ ##
11473 ) | sed "s/^/$as_me: WARNING: /" >&2
11476 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11478 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11479 echo $ECHO_N "(cached) $ECHO_C" >&6
11481 eval "$as_ac_Header=\$ac_header_preproc"
11483 ac_res=`eval echo '${'$as_ac_Header'}'`
11484 { echo "$as_me:$LINENO: result: $ac_res" >&5
11485 echo "${ECHO_T}$ac_res" >&6; }
11488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11489 cat >>confdefs.h <<_ACEOF
11490 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11497 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11499 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11500 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11501 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11502 echo $ECHO_N "(cached) $ECHO_C" >&6
11504 ac_check_lib_save_LIBS=$LIBS
11505 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11506 cat >conftest.$ac_ext <<_ACEOF
11509 cat confdefs.h >>conftest.$ac_ext
11510 cat >>conftest.$ac_ext <<_ACEOF
11511 /* end confdefs.h. */
11513 /* Override any GCC internal prototype to avoid an error.
11514 Use char because int might match the return type of a GCC
11515 builtin and then its argument prototype would still apply. */
11519 char dbus_connection_close ();
11523 return dbus_connection_close ();
11528 rm -f conftest.$ac_objext conftest$ac_exeext
11529 if { (ac_try="$ac_link"
11530 case "(($ac_try" in
11531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11532 *) ac_try_echo
=$ac_try;;
11534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11535 (eval "$ac_link") 2>conftest.er1
11537 grep -v '^ *+' conftest.er1
>conftest.err
11539 cat conftest.err
>&5
11540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11541 (exit $ac_status); } && {
11542 test -z "$ac_c_werror_flag" ||
11543 test ! -s conftest.err
11544 } && test -s conftest
$ac_exeext &&
11545 $as_test_x conftest
$ac_exeext; then
11546 ac_cv_lib_dbus_1_dbus_connection_close
=yes
11548 echo "$as_me: failed program was:" >&5
11549 sed 's/^/| /' conftest.
$ac_ext >&5
11551 ac_cv_lib_dbus_1_dbus_connection_close
=no
11554 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11555 conftest
$ac_exeext conftest.
$ac_ext
11556 LIBS
=$ac_check_lib_save_LIBS
11558 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11559 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11560 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11561 { echo "$as_me:$LINENO: checking for -lhal" >&5
11562 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11563 if test "${ac_cv_lib_soname_hal+set}" = set; then
11564 echo $ECHO_N "(cached) $ECHO_C" >&6
11566 ac_check_soname_save_LIBS
=$LIBS
11567 LIBS
="-lhal $ac_hal_libs $LIBS"
11568 cat >conftest.
$ac_ext <<_ACEOF
11571 cat confdefs.h
>>conftest.
$ac_ext
11572 cat >>conftest.
$ac_ext <<_ACEOF
11573 /* end confdefs.h. */
11575 /* Override any GCC internal prototype to avoid an error.
11576 Use char because int might match the return type of a GCC
11577 builtin and then its argument prototype would still apply. */
11581 char libhal_ctx_new ();
11585 return libhal_ctx_new ();
11590 rm -f conftest.
$ac_objext conftest
$ac_exeext
11591 if { (ac_try
="$ac_link"
11592 case "(($ac_try" in
11593 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11594 *) ac_try_echo=$ac_try;;
11596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11597 (eval "$ac_link") 2>conftest.er1
11599 grep -v '^ *+' conftest.er1 >conftest.err
11601 cat conftest.err >&5
11602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11603 (exit $ac_status); } && {
11604 test -z "$ac_c_werror_flag" ||
11605 test ! -s conftest.err
11606 } && test -s conftest$ac_exeext &&
11607 $as_test_x conftest$ac_exeext; then
11610 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'` ;;
11611 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libhal\\.$LIBEXT" |
sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11614 echo "$as_me: failed program was:" >&5
11615 sed 's/^/| /' conftest.$ac_ext >&5
11620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11621 conftest$ac_exeext conftest.$ac_ext
11622 LIBS=$ac_check_soname_save_LIBS
11624 if test "x$ac_cv_lib_soname_hal" = "x"; then
11625 { echo "$as_me:$LINENO: result: not found" >&5
11626 echo "${ECHO_T}not found" >&6; }
11629 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11630 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11632 cat >>confdefs.h <<_ACEOF
11633 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11636 HALINCL="$ac_hal_cflags"
11642 CPPFLAGS="$ac_save_CPPFLAGS"
11644 if test "x$ac_cv_lib_soname_hal" = "x"; then
11645 wine_notices="$wine_notices|libhal development files not found.
11646 Wine will be built without dynamic device support. (explorer.exe)"
11651 if test "$ac_cv_header_ncurses_h" = "yes"
11653 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11654 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11655 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11656 echo $ECHO_N "(cached) $ECHO_C" >&6
11658 ac_check_soname_save_LIBS=$LIBS
11659 LIBS="-lncurses $LIBS"
11660 cat >conftest.$ac_ext <<_ACEOF
11663 cat confdefs.h >>conftest.$ac_ext
11664 cat >>conftest.$ac_ext <<_ACEOF
11665 /* end confdefs.h. */
11667 /* Override any GCC internal prototype to avoid an error.
11668 Use char because int might match the return type of a GCC
11669 builtin and then its argument prototype would still apply. */
11682 rm -f conftest.$ac_objext conftest$ac_exeext
11683 if { (ac_try="$ac_link"
11684 case "(($ac_try" in
11685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11686 *) ac_try_echo
=$ac_try;;
11688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11689 (eval "$ac_link") 2>conftest.er1
11691 grep -v '^ *+' conftest.er1
>conftest.err
11693 cat conftest.err
>&5
11694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11695 (exit $ac_status); } && {
11696 test -z "$ac_c_werror_flag" ||
11697 test ! -s conftest.err
11698 } && test -s conftest
$ac_exeext &&
11699 $as_test_x conftest
$ac_exeext; then
11702 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'` ;;
11703 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11706 echo "$as_me: failed program was:" >&5
11707 sed 's/^/| /' conftest.
$ac_ext >&5
11712 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11713 conftest
$ac_exeext conftest.
$ac_ext
11714 LIBS
=$ac_check_soname_save_LIBS
11716 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11717 { echo "$as_me:$LINENO: result: not found" >&5
11718 echo "${ECHO_T}not found" >&6; }
11721 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11722 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11724 cat >>confdefs.h
<<_ACEOF
11725 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11728 CURSESLIBS
="-lncurses"
11731 elif test "$ac_cv_header_curses_h" = "yes"
11733 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11734 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11735 if test "${ac_cv_lib_soname_curses+set}" = set; then
11736 echo $ECHO_N "(cached) $ECHO_C" >&6
11738 ac_check_soname_save_LIBS
=$LIBS
11739 LIBS
="-lcurses $LIBS"
11740 cat >conftest.
$ac_ext <<_ACEOF
11743 cat confdefs.h
>>conftest.
$ac_ext
11744 cat >>conftest.
$ac_ext <<_ACEOF
11745 /* end confdefs.h. */
11747 /* Override any GCC internal prototype to avoid an error.
11748 Use char because int might match the return type of a GCC
11749 builtin and then its argument prototype would still apply. */
11762 rm -f conftest.
$ac_objext conftest
$ac_exeext
11763 if { (ac_try
="$ac_link"
11764 case "(($ac_try" in
11765 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11766 *) ac_try_echo=$ac_try;;
11768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11769 (eval "$ac_link") 2>conftest.er1
11771 grep -v '^ *+' conftest.er1 >conftest.err
11773 cat conftest.err >&5
11774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11775 (exit $ac_status); } && {
11776 test -z "$ac_c_werror_flag" ||
11777 test ! -s conftest.err
11778 } && test -s conftest$ac_exeext &&
11779 $as_test_x conftest$ac_exeext; then
11782 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'` ;;
11783 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcurses\\.$LIBEXT" |
sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11786 echo "$as_me: failed program was:" >&5
11787 sed 's/^/| /' conftest.$ac_ext >&5
11792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11793 conftest$ac_exeext conftest.$ac_ext
11794 LIBS=$ac_check_soname_save_LIBS
11796 if test "x$ac_cv_lib_soname_curses" = "x"; then
11797 { echo "$as_me:$LINENO: result: not found" >&5
11798 echo "${ECHO_T}not found" >&6; }
11801 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11802 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11804 cat >>confdefs.h <<_ACEOF
11805 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11808 CURSESLIBS="-lcurses"
11812 ac_save_LIBS="$LIBS"
11813 LIBS="$LIBS $CURSESLIBS"
11815 for ac_func in mousemask
11817 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11818 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11820 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11821 echo $ECHO_N "(cached) $ECHO_C" >&6
11823 cat >conftest.$ac_ext <<_ACEOF
11826 cat confdefs.h >>conftest.$ac_ext
11827 cat >>conftest.$ac_ext <<_ACEOF
11828 /* end confdefs.h. */
11829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11831 #define $ac_func innocuous_$ac_func
11833 /* System header to define __stub macros and hopefully few prototypes,
11834 which can conflict with char $ac_func (); below.
11835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11836 <limits.h> exists even on freestanding compilers. */
11839 # include <limits.h>
11841 # include <assert.h>
11846 /* Override any GCC internal prototype to avoid an error.
11847 Use char because int might match the return type of a GCC
11848 builtin and then its argument prototype would still apply. */
11853 /* The GNU C library defines this for functions which it implements
11854 to always fail with ENOSYS. Some functions are actually named
11855 something starting with __ and the normal name is an alias. */
11856 #if defined __stub_$ac_func || defined __stub___$ac_func
11863 return $ac_func ();
11868 rm -f conftest.$ac_objext conftest$ac_exeext
11869 if { (ac_try="$ac_link"
11870 case "(($ac_try" in
11871 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11872 *) ac_try_echo
=$ac_try;;
11874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11875 (eval "$ac_link") 2>conftest.er1
11877 grep -v '^ *+' conftest.er1
>conftest.err
11879 cat conftest.err
>&5
11880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881 (exit $ac_status); } && {
11882 test -z "$ac_c_werror_flag" ||
11883 test ! -s conftest.err
11884 } && test -s conftest
$ac_exeext &&
11885 $as_test_x conftest
$ac_exeext; then
11886 eval "$as_ac_var=yes"
11888 echo "$as_me: failed program was:" >&5
11889 sed 's/^/| /' conftest.
$ac_ext >&5
11891 eval "$as_ac_var=no"
11894 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11895 conftest
$ac_exeext conftest.
$ac_ext
11897 ac_res
=`eval echo '${'$as_ac_var'}'`
11898 { echo "$as_me:$LINENO: result: $ac_res" >&5
11899 echo "${ECHO_T}$ac_res" >&6; }
11900 if test `eval echo '${'$as_ac_var'}'` = yes; then
11901 cat >>confdefs.h
<<_ACEOF
11902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11908 LIBS
="$ac_save_LIBS"
11909 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
11910 wine_notices
="$wine_notices|lib(n)curses development files not found.
11911 Wine will be built without (n)curses support. (wineconsole.exe)"
11915 # Extract the first word of "sane-config", so it can be a program name with args.
11916 set dummy sane-config
; ac_word
=$2
11917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11919 if test "${ac_cv_prog_sane_devel+set}" = set; then
11920 echo $ECHO_N "(cached) $ECHO_C" >&6
11922 if test -n "$sane_devel"; then
11923 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
11925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11926 for as_dir
in $PATH
11929 test -z "$as_dir" && as_dir
=.
11930 for ac_exec_ext
in '' $ac_executable_extensions; do
11931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11932 ac_cv_prog_sane_devel
="sane-config"
11933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11940 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
11943 sane_devel
=$ac_cv_prog_sane_devel
11944 if test -n "$sane_devel"; then
11945 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11946 echo "${ECHO_T}$sane_devel" >&6; }
11948 { echo "$as_me:$LINENO: result: no" >&5
11949 echo "${ECHO_T}no" >&6; }
11953 if test "$sane_devel" != "no"
11955 ac_sane_incl
="`$sane_devel --cflags`"
11956 ac_save_CPPFLAGS
="$CPPFLAGS"
11957 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
11958 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11959 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11960 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11961 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11962 echo $ECHO_N "(cached) $ECHO_C" >&6
11964 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11965 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11967 # Is the header compilable?
11968 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11969 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11970 cat >conftest.
$ac_ext <<_ACEOF
11973 cat confdefs.h
>>conftest.
$ac_ext
11974 cat >>conftest.
$ac_ext <<_ACEOF
11975 /* end confdefs.h. */
11976 $ac_includes_default
11977 #include <sane/sane.h>
11979 rm -f conftest.
$ac_objext
11980 if { (ac_try
="$ac_compile"
11981 case "(($ac_try" in
11982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11983 *) ac_try_echo=$ac_try;;
11985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11986 (eval "$ac_compile") 2>conftest.er1
11988 grep -v '^ *+' conftest.er1 >conftest.err
11990 cat conftest.err >&5
11991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992 (exit $ac_status); } && {
11993 test -z "$ac_c_werror_flag" ||
11994 test ! -s conftest.err
11995 } && test -s conftest.$ac_objext; then
11996 ac_header_compiler=yes
11998 echo "$as_me: failed program was:" >&5
11999 sed 's/^/| /' conftest.$ac_ext >&5
12001 ac_header_compiler=no
12004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12005 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12006 echo "${ECHO_T}$ac_header_compiler" >&6; }
12008 # Is the header present?
12009 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12010 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12011 cat >conftest.$ac_ext <<_ACEOF
12014 cat confdefs.h >>conftest.$ac_ext
12015 cat >>conftest.$ac_ext <<_ACEOF
12016 /* end confdefs.h. */
12017 #include <sane/sane.h>
12019 if { (ac_try="$ac_cpp conftest.$ac_ext"
12020 case "(($ac_try" in
12021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12022 *) ac_try_echo
=$ac_try;;
12024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12025 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12027 grep -v '^ *+' conftest.er1
>conftest.err
12029 cat conftest.err
>&5
12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031 (exit $ac_status); } >/dev
/null
&& {
12032 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12033 test ! -s conftest.err
12035 ac_header_preproc
=yes
12037 echo "$as_me: failed program was:" >&5
12038 sed 's/^/| /' conftest.
$ac_ext >&5
12040 ac_header_preproc
=no
12043 rm -f conftest.err conftest.
$ac_ext
12044 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12045 echo "${ECHO_T}$ac_header_preproc" >&6; }
12047 # So? What about this header?
12048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12050 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12051 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12052 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12053 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12054 ac_header_preproc
=yes
12057 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12058 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12059 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12060 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12061 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12062 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12063 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12064 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12065 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12066 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12067 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12068 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12070 ## ------------------------------------ ##
12071 ## Report this to wine-devel@winehq.org ##
12072 ## ------------------------------------ ##
12074 ) |
sed "s/^/$as_me: WARNING: /" >&2
12077 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12078 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12079 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12080 echo $ECHO_N "(cached) $ECHO_C" >&6
12082 ac_cv_header_sane_sane_h
=$ac_header_preproc
12084 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12085 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12088 if test $ac_cv_header_sane_sane_h = yes; then
12089 { echo "$as_me:$LINENO: checking for -lsane" >&5
12090 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12091 if test "${ac_cv_lib_soname_sane+set}" = set; then
12092 echo $ECHO_N "(cached) $ECHO_C" >&6
12094 ac_check_soname_save_LIBS
=$LIBS
12095 LIBS
="-lsane $LIBS"
12096 cat >conftest.
$ac_ext <<_ACEOF
12099 cat confdefs.h
>>conftest.
$ac_ext
12100 cat >>conftest.
$ac_ext <<_ACEOF
12101 /* end confdefs.h. */
12103 /* Override any GCC internal prototype to avoid an error.
12104 Use char because int might match the return type of a GCC
12105 builtin and then its argument prototype would still apply. */
12113 return sane_init ();
12118 rm -f conftest.
$ac_objext conftest
$ac_exeext
12119 if { (ac_try
="$ac_link"
12120 case "(($ac_try" in
12121 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12122 *) ac_try_echo=$ac_try;;
12124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12125 (eval "$ac_link") 2>conftest.er1
12127 grep -v '^ *+' conftest.er1 >conftest.err
12129 cat conftest.err >&5
12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); } && {
12132 test -z "$ac_c_werror_flag" ||
12133 test ! -s conftest.err
12134 } && test -s conftest$ac_exeext &&
12135 $as_test_x conftest$ac_exeext; then
12138 dylib) ac_cv_lib_soname_sane=`otool
-L conftest
$ac_exeext |
grep "libsane\\.[0-9A-Za-z.]*dylib" |
sed -e "s/^.*\/\(libsane\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12139 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libsane\\.$LIBEXT" |
sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12142 echo "$as_me: failed program was:" >&5
12143 sed 's/^/| /' conftest.$ac_ext >&5
12148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12149 conftest$ac_exeext conftest.$ac_ext
12150 LIBS=$ac_check_soname_save_LIBS
12152 if test "x$ac_cv_lib_soname_sane" = "x"; then
12153 { echo "$as_me:$LINENO: result: not found" >&5
12154 echo "${ECHO_T}not found" >&6; }
12157 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12158 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12160 cat >>confdefs.h <<_ACEOF
12161 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12164 SANEINCL="$ac_sane_incl"
12171 CPPFLAGS="$ac_save_CPPFLAGS"
12173 if test "x$ac_cv_lib_soname_sane" = "x"; then
12174 wine_notices="$wine_notices|libsane development files not found.
12175 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12179 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12180 set dummy gphoto2-config; ac_word=$2
12181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12183 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12184 echo $ECHO_N "(cached) $ECHO_C" >&6
12186 if test -n "$gphoto2_devel"; then
12187 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12190 for as_dir in $PATH
12193 test -z "$as_dir" && as_dir=.
12194 for ac_exec_ext in '' $ac_executable_extensions; do
12195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12196 ac_cv_prog_gphoto2_devel="gphoto2-config"
12197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12204 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12207 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12208 if test -n "$gphoto2_devel"; then
12209 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12210 echo "${ECHO_T}$gphoto2_devel" >&6; }
12212 { echo "$as_me:$LINENO: result: no" >&5
12213 echo "${ECHO_T}no" >&6; }
12217 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12218 set dummy gphoto2-port-config; ac_word=$2
12219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12221 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12222 echo $ECHO_N "(cached) $ECHO_C" >&6
12224 if test -n "$gphoto2port_devel"; then
12225 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12228 for as_dir in $PATH
12231 test -z "$as_dir" && as_dir=.
12232 for ac_exec_ext in '' $ac_executable_extensions; do
12233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12234 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12242 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12245 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12246 if test -n "$gphoto2port_devel"; then
12247 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12248 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12250 { echo "$as_me:$LINENO: result: no" >&5
12251 echo "${ECHO_T}no" >&6; }
12255 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12257 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12259 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12262 -L/usr/lib|-L/usr/lib64) ;;
12263 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12266 ac_save_CPPFLAGS="$CPPFLAGS"
12267 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12268 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12269 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12270 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12271 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12272 echo $ECHO_N "(cached) $ECHO_C" >&6
12274 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12275 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12277 # Is the header compilable?
12278 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12279 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12280 cat >conftest.$ac_ext <<_ACEOF
12283 cat confdefs.h >>conftest.$ac_ext
12284 cat >>conftest.$ac_ext <<_ACEOF
12285 /* end confdefs.h. */
12286 $ac_includes_default
12287 #include <gphoto2-camera.h>
12289 rm -f conftest.$ac_objext
12290 if { (ac_try="$ac_compile"
12291 case "(($ac_try" in
12292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12293 *) ac_try_echo
=$ac_try;;
12295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12296 (eval "$ac_compile") 2>conftest.er1
12298 grep -v '^ *+' conftest.er1
>conftest.err
12300 cat conftest.err
>&5
12301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12302 (exit $ac_status); } && {
12303 test -z "$ac_c_werror_flag" ||
12304 test ! -s conftest.err
12305 } && test -s conftest.
$ac_objext; then
12306 ac_header_compiler
=yes
12308 echo "$as_me: failed program was:" >&5
12309 sed 's/^/| /' conftest.
$ac_ext >&5
12311 ac_header_compiler
=no
12314 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12315 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12316 echo "${ECHO_T}$ac_header_compiler" >&6; }
12318 # Is the header present?
12319 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12320 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12321 cat >conftest.
$ac_ext <<_ACEOF
12324 cat confdefs.h
>>conftest.
$ac_ext
12325 cat >>conftest.
$ac_ext <<_ACEOF
12326 /* end confdefs.h. */
12327 #include <gphoto2-camera.h>
12329 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12330 case "(($ac_try" in
12331 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12332 *) ac_try_echo=$ac_try;;
12334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12335 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12337 grep -v '^ *+' conftest.er1 >conftest.err
12339 cat conftest.err >&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); } >/dev/null && {
12342 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12343 test ! -s conftest.err
12345 ac_header_preproc=yes
12347 echo "$as_me: failed program was:" >&5
12348 sed 's/^/| /' conftest.$ac_ext >&5
12350 ac_header_preproc=no
12353 rm -f conftest.err conftest.$ac_ext
12354 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12355 echo "${ECHO_T}$ac_header_preproc" >&6; }
12357 # So? What about this header?
12358 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12360 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12361 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12362 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12363 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12364 ac_header_preproc=yes
12367 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12368 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12369 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12370 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12371 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12372 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12373 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12374 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12375 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12376 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12377 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12378 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12380 ## ------------------------------------ ##
12381 ## Report this to wine-devel@winehq.org ##
12382 ## ------------------------------------ ##
12384 ) | sed "s/^/$as_me: WARNING: /" >&2
12387 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12388 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12389 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12390 echo $ECHO_N "(cached) $ECHO_C" >&6
12392 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12394 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12395 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12398 if test $ac_cv_header_gphoto2_camera_h = yes; then
12399 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12400 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12401 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12402 echo $ECHO_N "(cached) $ECHO_C" >&6
12404 ac_check_lib_save_LIBS=$LIBS
12405 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12406 cat >conftest.$ac_ext <<_ACEOF
12409 cat confdefs.h >>conftest.$ac_ext
12410 cat >>conftest.$ac_ext <<_ACEOF
12411 /* end confdefs.h. */
12413 /* Override any GCC internal prototype to avoid an error.
12414 Use char because int might match the return type of a GCC
12415 builtin and then its argument prototype would still apply. */
12419 char gp_camera_new ();
12423 return gp_camera_new ();
12428 rm -f conftest.$ac_objext conftest$ac_exeext
12429 if { (ac_try="$ac_link"
12430 case "(($ac_try" in
12431 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12432 *) ac_try_echo
=$ac_try;;
12434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12435 (eval "$ac_link") 2>conftest.er1
12437 grep -v '^ *+' conftest.er1
>conftest.err
12439 cat conftest.err
>&5
12440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441 (exit $ac_status); } && {
12442 test -z "$ac_c_werror_flag" ||
12443 test ! -s conftest.err
12444 } && test -s conftest
$ac_exeext &&
12445 $as_test_x conftest
$ac_exeext; then
12446 ac_cv_lib_gphoto2_gp_camera_new
=yes
12448 echo "$as_me: failed program was:" >&5
12449 sed 's/^/| /' conftest.
$ac_ext >&5
12451 ac_cv_lib_gphoto2_gp_camera_new
=no
12454 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12455 conftest
$ac_exeext conftest.
$ac_ext
12456 LIBS
=$ac_check_lib_save_LIBS
12458 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12459 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12460 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12462 cat >>confdefs.h
<<\_ACEOF
12463 #define HAVE_GPHOTO2 1
12466 GPHOTO2LIBS
="$ac_gphoto2_libs"
12468 GPHOTO2INCL
="$ac_gphoto2_incl"
12475 CPPFLAGS
="$ac_save_CPPFLAGS"
12477 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12478 wine_notices
="$wine_notices|libgphoto2 development files not found.
12479 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12484 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12487 icu_libs
="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
12488 if test -n "$ICU_LIB_DIR"
12490 icu_libs
="-L$ICU_LIB_DIR $icu_libs"
12492 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
12493 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
12494 LIBS
="$saved_libs $icu_libs"
12495 if test "$cross_compiling" = yes; then
12496 { echo "$as_me:$LINENO: result: no" >&5
12497 echo "${ECHO_T}no" >&6; }
12499 cat >conftest.
$ac_ext <<_ACEOF
12502 cat confdefs.h
>>conftest.
$ac_ext
12503 cat >>conftest.
$ac_ext <<_ACEOF
12504 /* end confdefs.h. */
12505 #include <unicode/ubidi.h>
12514 rm -f conftest
$ac_exeext
12515 if { (ac_try
="$ac_link"
12516 case "(($ac_try" in
12517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12518 *) ac_try_echo=$ac_try;;
12520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12521 (eval "$ac_link") 2>&5
12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); }; }; then
12535 cat >>confdefs.h
<<\_ACEOF
12539 ICULIBS
="$icu_libs"
12541 { echo "$as_me:$LINENO: result: yes" >&5
12542 echo "${ECHO_T}yes" >&6; }
12544 echo "$as_me: program exited with status $ac_status" >&5
12545 echo "$as_me: failed program was:" >&5
12546 sed 's/^/| /' conftest.
$ac_ext >&5
12548 ( exit $ac_status )
12549 { echo "$as_me:$LINENO: result: no" >&5
12550 echo "${ECHO_T}no" >&6; }
12552 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12558 if test "x$ICULIBS" = "x"; then
12559 wine_notices
="$wine_notices|libicu development files not found.
12560 Wine will be built without bidi (Right to Left) support. (gdi32.dll)"
12566 if test "$ac_cv_header_resolv_h" = "yes"
12568 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12569 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12570 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12571 echo $ECHO_N "(cached) $ECHO_C" >&6
12573 ac_check_lib_save_LIBS
=$LIBS
12574 LIBS
="-lresolv $LIBS"
12575 cat >conftest.
$ac_ext <<_ACEOF
12578 cat confdefs.h
>>conftest.
$ac_ext
12579 cat >>conftest.
$ac_ext <<_ACEOF
12580 /* end confdefs.h. */
12582 /* Override any GCC internal prototype to avoid an error.
12583 Use char because int might match the return type of a GCC
12584 builtin and then its argument prototype would still apply. */
12592 return res_query ();
12597 rm -f conftest.
$ac_objext conftest
$ac_exeext
12598 if { (ac_try
="$ac_link"
12599 case "(($ac_try" in
12600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12601 *) ac_try_echo=$ac_try;;
12603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12604 (eval "$ac_link") 2>conftest.er1
12606 grep -v '^ *+' conftest.er1 >conftest.err
12608 cat conftest.err >&5
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); } && {
12611 test -z "$ac_c_werror_flag" ||
12612 test ! -s conftest.err
12613 } && test -s conftest$ac_exeext &&
12614 $as_test_x conftest$ac_exeext; then
12615 ac_cv_lib_resolv_res_query=yes
12617 echo "$as_me: failed program was:" >&5
12618 sed 's/^/| /' conftest.$ac_ext >&5
12620 ac_cv_lib_resolv_res_query=no
12623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12624 conftest$ac_exeext conftest.$ac_ext
12625 LIBS=$ac_check_lib_save_LIBS
12627 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12628 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12629 if test $ac_cv_lib_resolv_res_query = yes; then
12631 cat >>confdefs.h <<\_ACEOF
12632 #define HAVE_RESOLV 1
12635 RESOLVLIBS="-lresolv"
12642 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12644 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12645 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12646 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12647 echo $ECHO_N "(cached) $ECHO_C" >&6
12649 ac_check_lib_save_LIBS=$LIBS
12650 LIBS="-llcms $LIBS"
12651 cat >conftest.$ac_ext <<_ACEOF
12654 cat confdefs.h >>conftest.$ac_ext
12655 cat >>conftest.$ac_ext <<_ACEOF
12656 /* end confdefs.h. */
12658 /* Override any GCC internal prototype to avoid an error.
12659 Use char because int might match the return type of a GCC
12660 builtin and then its argument prototype would still apply. */
12664 char cmsOpenProfileFromFile ();
12668 return cmsOpenProfileFromFile ();
12673 rm -f conftest.$ac_objext conftest$ac_exeext
12674 if { (ac_try="$ac_link"
12675 case "(($ac_try" in
12676 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12677 *) ac_try_echo
=$ac_try;;
12679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12680 (eval "$ac_link") 2>conftest.er1
12682 grep -v '^ *+' conftest.er1
>conftest.err
12684 cat conftest.err
>&5
12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12686 (exit $ac_status); } && {
12687 test -z "$ac_c_werror_flag" ||
12688 test ! -s conftest.err
12689 } && test -s conftest
$ac_exeext &&
12690 $as_test_x conftest
$ac_exeext; then
12691 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
12693 echo "$as_me: failed program was:" >&5
12694 sed 's/^/| /' conftest.
$ac_ext >&5
12696 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
12699 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12700 conftest
$ac_exeext conftest.
$ac_ext
12701 LIBS
=$ac_check_lib_save_LIBS
12703 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12704 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12705 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12707 cat >>confdefs.h
<<\_ACEOF
12708 #define HAVE_LCMS 1
12715 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12716 wine_notices
="$wine_notices|liblcms development files not found.
12717 Wine will be built without Color Management support. (mscms.dll)"
12723 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12725 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12726 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12727 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12728 echo $ECHO_N "(cached) $ECHO_C" >&6
12730 ac_check_lib_save_LIBS
=$LIBS
12731 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
12732 cat >conftest.
$ac_ext <<_ACEOF
12735 cat confdefs.h
>>conftest.
$ac_ext
12736 cat >>conftest.
$ac_ext <<_ACEOF
12737 /* end confdefs.h. */
12739 /* Override any GCC internal prototype to avoid an error.
12740 Use char because int might match the return type of a GCC
12741 builtin and then its argument prototype would still apply. */
12745 char ldap_initialize ();
12749 return ldap_initialize ();
12754 rm -f conftest.
$ac_objext conftest
$ac_exeext
12755 if { (ac_try
="$ac_link"
12756 case "(($ac_try" in
12757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12758 *) ac_try_echo=$ac_try;;
12760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12761 (eval "$ac_link") 2>conftest.er1
12763 grep -v '^ *+' conftest.er1 >conftest.err
12765 cat conftest.err >&5
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); } && {
12768 test -z "$ac_c_werror_flag" ||
12769 test ! -s conftest.err
12770 } && test -s conftest$ac_exeext &&
12771 $as_test_x conftest$ac_exeext; then
12772 ac_cv_lib_ldap_r_ldap_initialize=yes
12774 echo "$as_me: failed program was:" >&5
12775 sed 's/^/| /' conftest.$ac_ext >&5
12777 ac_cv_lib_ldap_r_ldap_initialize=no
12780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12781 conftest$ac_exeext conftest.$ac_ext
12782 LIBS=$ac_check_lib_save_LIBS
12784 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12785 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12786 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12787 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12788 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12789 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12790 echo $ECHO_N "(cached) $ECHO_C" >&6
12792 ac_check_lib_save_LIBS=$LIBS
12793 LIBS="-llber $LIBPTHREAD $LIBS"
12794 cat >conftest.$ac_ext <<_ACEOF
12797 cat confdefs.h >>conftest.$ac_ext
12798 cat >>conftest.$ac_ext <<_ACEOF
12799 /* end confdefs.h. */
12801 /* Override any GCC internal prototype to avoid an error.
12802 Use char because int might match the return type of a GCC
12803 builtin and then its argument prototype would still apply. */
12811 return ber_init ();
12816 rm -f conftest.$ac_objext conftest$ac_exeext
12817 if { (ac_try="$ac_link"
12818 case "(($ac_try" in
12819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12820 *) ac_try_echo
=$ac_try;;
12822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12823 (eval "$ac_link") 2>conftest.er1
12825 grep -v '^ *+' conftest.er1
>conftest.err
12827 cat conftest.err
>&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); } && {
12830 test -z "$ac_c_werror_flag" ||
12831 test ! -s conftest.err
12832 } && test -s conftest
$ac_exeext &&
12833 $as_test_x conftest
$ac_exeext; then
12834 ac_cv_lib_lber_ber_init
=yes
12836 echo "$as_me: failed program was:" >&5
12837 sed 's/^/| /' conftest.
$ac_ext >&5
12839 ac_cv_lib_lber_ber_init
=no
12842 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12843 conftest
$ac_exeext conftest.
$ac_ext
12844 LIBS
=$ac_check_lib_save_LIBS
12846 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12847 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12848 if test $ac_cv_lib_lber_ber_init = yes; then
12850 cat >>confdefs.h
<<\_ACEOF
12851 #define HAVE_LDAP 1
12854 LDAPLIBS
="-lldap_r -llber"
12859 ac_wine_check_funcs_save_LIBS
="$LIBS"
12860 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
12866 ldap_count_references \
12867 ldap_first_reference \
12868 ldap_next_reference \
12869 ldap_parse_reference
12871 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12872 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12874 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12875 echo $ECHO_N "(cached) $ECHO_C" >&6
12877 cat >conftest.
$ac_ext <<_ACEOF
12880 cat confdefs.h
>>conftest.
$ac_ext
12881 cat >>conftest.
$ac_ext <<_ACEOF
12882 /* end confdefs.h. */
12883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12885 #define $ac_func innocuous_$ac_func
12887 /* System header to define __stub macros and hopefully few prototypes,
12888 which can conflict with char $ac_func (); below.
12889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12890 <limits.h> exists even on freestanding compilers. */
12893 # include <limits.h>
12895 # include <assert.h>
12900 /* Override any GCC internal prototype to avoid an error.
12901 Use char because int might match the return type of a GCC
12902 builtin and then its argument prototype would still apply. */
12907 /* The GNU C library defines this for functions which it implements
12908 to always fail with ENOSYS. Some functions are actually named
12909 something starting with __ and the normal name is an alias. */
12910 #if defined __stub_$ac_func || defined __stub___$ac_func
12917 return $ac_func ();
12922 rm -f conftest.
$ac_objext conftest
$ac_exeext
12923 if { (ac_try
="$ac_link"
12924 case "(($ac_try" in
12925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12926 *) ac_try_echo=$ac_try;;
12928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12929 (eval "$ac_link") 2>conftest.er1
12931 grep -v '^ *+' conftest.er1 >conftest.err
12933 cat conftest.err >&5
12934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12935 (exit $ac_status); } && {
12936 test -z "$ac_c_werror_flag" ||
12937 test ! -s conftest.err
12938 } && test -s conftest$ac_exeext &&
12939 $as_test_x conftest$ac_exeext; then
12940 eval "$as_ac_var=yes"
12942 echo "$as_me: failed program was:" >&5
12943 sed 's/^/| /' conftest.$ac_ext >&5
12945 eval "$as_ac_var=no"
12948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12949 conftest$ac_exeext conftest.$ac_ext
12951 ac_res=`eval echo '${'$as_ac_var'}'`
12952 { echo "$as_me:$LINENO: result: $ac_res" >&5
12953 echo "${ECHO_T}$ac_res" >&6; }
12954 if test `eval echo '${'$as_ac_var'}'` = yes; then
12955 cat >>confdefs.h <<_ACEOF
12956 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12962 LIBS="$ac_wine_check_funcs_save_LIBS"
12964 if test "x$LDAPLIBS" = "x"; then
12965 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
12966 Wine will be built without LDAP support. (wldap32.dll)"
12970 for ac_prog in freetype-config freetype2-config
12972 # Extract the first word of "$ac_prog", so it can be a program name with args.
12973 set dummy $ac_prog; ac_word=$2
12974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12976 if test "${ac_cv_prog_ft_devel+set}" = set; then
12977 echo $ECHO_N "(cached) $ECHO_C" >&6
12979 if test -n "$ft_devel"; then
12980 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12983 for as_dir in $PATH
12986 test -z "$as_dir" && as_dir=.
12987 for ac_exec_ext in '' $ac_executable_extensions; do
12988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12989 ac_cv_prog_ft_devel="$ac_prog"
12990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12999 ft_devel=$ac_cv_prog_ft_devel
13000 if test -n "$ft_devel"; then
13001 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13002 echo "${ECHO_T}$ft_devel" >&6; }
13004 { echo "$as_me:$LINENO: result: no" >&5
13005 echo "${ECHO_T}no" >&6; }
13009 test -n "$ft_devel" && break
13011 test -n "$ft_devel" || ft_devel="false"
13013 if test "$ft_devel" != "false"
13015 ac_freetype_libs=`$ft_devel --libs`
13016 ac_freetype_incl=`$ft_devel --cflags`
13017 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13018 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13019 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13022 ac_check_soname_save_LIBS=$LIBS
13023 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13024 cat >conftest.$ac_ext <<_ACEOF
13027 cat confdefs.h >>conftest.$ac_ext
13028 cat >>conftest.$ac_ext <<_ACEOF
13029 /* end confdefs.h. */
13031 /* Override any GCC internal prototype to avoid an error.
13032 Use char because int might match the return type of a GCC
13033 builtin and then its argument prototype would still apply. */
13037 char FT_Init_FreeType ();
13041 return FT_Init_FreeType ();
13046 rm -f conftest.$ac_objext conftest$ac_exeext
13047 if { (ac_try="$ac_link"
13048 case "(($ac_try" in
13049 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13050 *) ac_try_echo
=$ac_try;;
13052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13053 (eval "$ac_link") 2>conftest.er1
13055 grep -v '^ *+' conftest.er1
>conftest.err
13057 cat conftest.err
>&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); } && {
13060 test -z "$ac_c_werror_flag" ||
13061 test ! -s conftest.err
13062 } && test -s conftest
$ac_exeext &&
13063 $as_test_x conftest
$ac_exeext; then
13066 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'` ;;
13067 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13070 echo "$as_me: failed program was:" >&5
13071 sed 's/^/| /' conftest.
$ac_ext >&5
13076 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13077 conftest
$ac_exeext conftest.
$ac_ext
13078 LIBS
=$ac_check_soname_save_LIBS
13080 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13081 { echo "$as_me:$LINENO: result: not found" >&5
13082 echo "${ECHO_T}not found" >&6; }
13085 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13086 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13088 cat >>confdefs.h
<<_ACEOF
13089 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13095 if test "$ft_lib" = "yes"
13097 ac_save_CPPFLAGS
="$CPPFLAGS"
13098 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
13110 for ac_header
in ft2build.h \
13111 freetype
/freetype.h \
13112 freetype
/ftglyph.h \
13113 freetype
/tttables.h \
13114 freetype
/ftnames.h \
13115 freetype
/ftsnames.h \
13116 freetype
/ttnameid.h \
13117 freetype
/ftoutln.h \
13118 freetype
/ftwinfnt.h \
13119 freetype
/ftmodapi.h \
13120 freetype
/internal
/sfnt.h
13122 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13123 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13125 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13126 echo $ECHO_N "(cached) $ECHO_C" >&6
13128 cat >conftest.
$ac_ext <<_ACEOF
13131 cat confdefs.h
>>conftest.
$ac_ext
13132 cat >>conftest.
$ac_ext <<_ACEOF
13133 /* end confdefs.h. */
13134 #if HAVE_FT2BUILD_H
13135 #include <ft2build.h>
13138 #include <$ac_header>
13140 rm -f conftest.
$ac_objext
13141 if { (ac_try
="$ac_compile"
13142 case "(($ac_try" in
13143 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13144 *) ac_try_echo=$ac_try;;
13146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13147 (eval "$ac_compile") 2>conftest.er1
13149 grep -v '^ *+' conftest.er1 >conftest.err
13151 cat conftest.err >&5
13152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13153 (exit $ac_status); } && {
13154 test -z "$ac_c_werror_flag" ||
13155 test ! -s conftest.err
13156 } && test -s conftest.$ac_objext; then
13157 eval "$as_ac_Header=yes"
13159 echo "$as_me: failed program was:" >&5
13160 sed 's/^/| /' conftest.$ac_ext >&5
13162 eval "$as_ac_Header=no"
13165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13167 ac_res=`eval echo '${'$as_ac_Header'}'`
13168 { echo "$as_me:$LINENO: result: $ac_res" >&5
13169 echo "${ECHO_T}$ac_res" >&6; }
13170 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13171 cat >>confdefs.h <<_ACEOF
13172 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
13179 cat >conftest.$ac_ext <<_ACEOF
13182 cat confdefs.h >>conftest.$ac_ext
13183 cat >>conftest.$ac_ext <<_ACEOF
13184 /* end confdefs.h. */
13185 #include <ft2build.h>
13186 #include <freetype/fttrigon.h>
13188 if { (ac_try="$ac_cpp conftest.$ac_ext"
13189 case "(($ac_try" in
13190 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13191 *) ac_try_echo
=$ac_try;;
13193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13194 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13196 grep -v '^ *+' conftest.er1
>conftest.err
13198 cat conftest.err
>&5
13199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13200 (exit $ac_status); } >/dev
/null
&& {
13201 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13202 test ! -s conftest.err
13205 cat >>confdefs.h
<<\_ACEOF
13206 #define HAVE_FREETYPE_FTTRIGON_H 1
13209 wine_cv_fttrigon
=yes
13211 echo "$as_me: failed program was:" >&5
13212 sed 's/^/| /' conftest.
$ac_ext >&5
13214 wine_cv_fttrigon
=no
13217 rm -f conftest.err conftest.
$ac_ext
13218 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13219 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13220 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13221 echo $ECHO_N "(cached) $ECHO_C" >&6
13223 cat >conftest.
$ac_ext <<_ACEOF
13226 cat confdefs.h
>>conftest.
$ac_ext
13227 cat >>conftest.
$ac_ext <<_ACEOF
13228 /* end confdefs.h. */
13229 #include <freetype/ftmodapi.h>
13231 typedef FT_TrueTypeEngineType ac__type_new_;
13235 if ((ac__type_new_ *) 0)
13237 if (sizeof (ac__type_new_))
13243 rm -f conftest.
$ac_objext
13244 if { (ac_try
="$ac_compile"
13245 case "(($ac_try" in
13246 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13247 *) ac_try_echo=$ac_try;;
13249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13250 (eval "$ac_compile") 2>conftest.er1
13252 grep -v '^ *+' conftest.er1 >conftest.err
13254 cat conftest.err >&5
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); } && {
13257 test -z "$ac_c_werror_flag" ||
13258 test ! -s conftest.err
13259 } && test -s conftest.$ac_objext; then
13260 ac_cv_type_FT_TrueTypeEngineType=yes
13262 echo "$as_me: failed program was:" >&5
13263 sed 's/^/| /' conftest.$ac_ext >&5
13265 ac_cv_type_FT_TrueTypeEngineType=no
13268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13270 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13271 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13272 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13274 cat >>confdefs.h <<_ACEOF
13275 #define HAVE_FT_TRUETYPEENGINETYPE 1
13281 ac_save_CFLAGS="$CFLAGS"
13282 CFLAGS="$CFLAGS $ac_freetype_libs"
13284 for ac_func in FT_Load_Sfnt_Table
13286 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13287 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13289 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13290 echo $ECHO_N "(cached) $ECHO_C" >&6
13292 cat >conftest.$ac_ext <<_ACEOF
13295 cat confdefs.h >>conftest.$ac_ext
13296 cat >>conftest.$ac_ext <<_ACEOF
13297 /* end confdefs.h. */
13298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13300 #define $ac_func innocuous_$ac_func
13302 /* System header to define __stub macros and hopefully few prototypes,
13303 which can conflict with char $ac_func (); below.
13304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13305 <limits.h> exists even on freestanding compilers. */
13308 # include <limits.h>
13310 # include <assert.h>
13315 /* Override any GCC internal prototype to avoid an error.
13316 Use char because int might match the return type of a GCC
13317 builtin and then its argument prototype would still apply. */
13322 /* The GNU C library defines this for functions which it implements
13323 to always fail with ENOSYS. Some functions are actually named
13324 something starting with __ and the normal name is an alias. */
13325 #if defined __stub_$ac_func || defined __stub___$ac_func
13332 return $ac_func ();
13337 rm -f conftest.$ac_objext conftest$ac_exeext
13338 if { (ac_try="$ac_link"
13339 case "(($ac_try" in
13340 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13341 *) ac_try_echo
=$ac_try;;
13343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13344 (eval "$ac_link") 2>conftest.er1
13346 grep -v '^ *+' conftest.er1
>conftest.err
13348 cat conftest.err
>&5
13349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350 (exit $ac_status); } && {
13351 test -z "$ac_c_werror_flag" ||
13352 test ! -s conftest.err
13353 } && test -s conftest
$ac_exeext &&
13354 $as_test_x conftest
$ac_exeext; then
13355 eval "$as_ac_var=yes"
13357 echo "$as_me: failed program was:" >&5
13358 sed 's/^/| /' conftest.
$ac_ext >&5
13360 eval "$as_ac_var=no"
13363 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13364 conftest
$ac_exeext conftest.
$ac_ext
13366 ac_res
=`eval echo '${'$as_ac_var'}'`
13367 { echo "$as_me:$LINENO: result: $ac_res" >&5
13368 echo "${ECHO_T}$ac_res" >&6; }
13369 if test `eval echo '${'$as_ac_var'}'` = yes; then
13370 cat >>confdefs.h
<<_ACEOF
13371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13377 CFLAGS
="$ac_save_CFLAGS"
13378 CPPFLAGS
="$ac_save_CPPFLAGS"
13379 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13382 cat >>confdefs.h
<<\_ACEOF
13383 #define HAVE_FREETYPE 1
13386 FREETYPELIBS
="$ac_freetype_libs"
13388 FREETYPEINCL
="$ac_freetype_incl"
13394 if test "$FONTFORGE" = "false"
13396 wine_warnings
="$wine_warnings|FontForge is missing.
13397 Fonts will not be built. Dialog text may be invisible or unaligned."
13398 elif test "x$FREETYPELIBS" = "x"
13400 wine_warnings
="$wine_warnings|FreeType development files not found.
13401 Fonts will not be built. Dialog text may be invisible or unaligned."
13403 FONTSSUBDIRS
="fonts"
13407 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13408 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13409 if test "${ac_cv_c_ppdev+set}" = set; then
13410 echo $ECHO_N "(cached) $ECHO_C" >&6
13412 cat >conftest.
$ac_ext <<_ACEOF
13415 cat confdefs.h
>>conftest.
$ac_ext
13416 cat >>conftest.
$ac_ext <<_ACEOF
13417 /* end confdefs.h. */
13418 #include <linux/ppdev.h>
13422 ioctl (1,PPCLAIM,0)
13427 rm -f conftest.
$ac_objext
13428 if { (ac_try
="$ac_compile"
13429 case "(($ac_try" in
13430 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13431 *) ac_try_echo=$ac_try;;
13433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13434 (eval "$ac_compile") 2>conftest.er1
13436 grep -v '^ *+' conftest.er1 >conftest.err
13438 cat conftest.err >&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); } && {
13441 test -z "$ac_c_werror_flag" ||
13442 test ! -s conftest.err
13443 } && test -s conftest.$ac_objext; then
13444 ac_cv_c_ppdev="yes"
13446 echo "$as_me: failed program was:" >&5
13447 sed 's/^/| /' conftest.$ac_ext >&5
13452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13454 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13455 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13456 if test "$ac_cv_c_ppdev" = "yes"
13459 cat >>confdefs.h <<\_ACEOF
13460 #define HAVE_PPDEV 1
13465 { echo "$as_me:$LINENO: checking for va_copy" >&5
13466 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13467 if test "${ac_cv_c_va_copy+set}" = set; then
13468 echo $ECHO_N "(cached) $ECHO_C" >&6
13470 cat >conftest.$ac_ext <<_ACEOF
13473 cat confdefs.h >>conftest.$ac_ext
13474 cat >>conftest.$ac_ext <<_ACEOF
13475 /* end confdefs.h. */
13476 #include <stdarg.h>
13480 va_list ap1, ap2; va_copy(ap1,ap2);
13485 rm -f conftest.$ac_objext conftest$ac_exeext
13486 if { (ac_try="$ac_link"
13487 case "(($ac_try" in
13488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13489 *) ac_try_echo
=$ac_try;;
13491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13492 (eval "$ac_link") 2>conftest.er1
13494 grep -v '^ *+' conftest.er1
>conftest.err
13496 cat conftest.err
>&5
13497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13498 (exit $ac_status); } && {
13499 test -z "$ac_c_werror_flag" ||
13500 test ! -s conftest.err
13501 } && test -s conftest
$ac_exeext &&
13502 $as_test_x conftest
$ac_exeext; then
13503 ac_cv_c_va_copy
="yes"
13505 echo "$as_me: failed program was:" >&5
13506 sed 's/^/| /' conftest.
$ac_ext >&5
13508 ac_cv_c_va_copy
="no"
13511 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13512 conftest
$ac_exeext conftest.
$ac_ext
13515 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13516 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13517 if test "$ac_cv_c_va_copy" = "yes"
13520 cat >>confdefs.h
<<\_ACEOF
13521 #define HAVE_VA_COPY 1
13525 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13526 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13527 if test "${ac_cv_c___va_copy+set}" = set; then
13528 echo $ECHO_N "(cached) $ECHO_C" >&6
13530 cat >conftest.
$ac_ext <<_ACEOF
13533 cat confdefs.h
>>conftest.
$ac_ext
13534 cat >>conftest.
$ac_ext <<_ACEOF
13535 /* end confdefs.h. */
13536 #include <stdarg.h>
13540 va_list ap1, ap2; __va_copy(ap1,ap2);
13545 rm -f conftest.
$ac_objext conftest
$ac_exeext
13546 if { (ac_try
="$ac_link"
13547 case "(($ac_try" in
13548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13549 *) ac_try_echo=$ac_try;;
13551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13552 (eval "$ac_link") 2>conftest.er1
13554 grep -v '^ *+' conftest.er1 >conftest.err
13556 cat conftest.err >&5
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); } && {
13559 test -z "$ac_c_werror_flag" ||
13560 test ! -s conftest.err
13561 } && test -s conftest$ac_exeext &&
13562 $as_test_x conftest$ac_exeext; then
13563 ac_cv_c___va_copy="yes"
13565 echo "$as_me: failed program was:" >&5
13566 sed 's/^/| /' conftest.$ac_ext >&5
13568 ac_cv_c___va_copy="no"
13571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13572 conftest$ac_exeext conftest.$ac_ext
13575 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13576 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13577 if test "$ac_cv_c___va_copy" = "yes"
13580 cat >>confdefs.h <<\_ACEOF
13581 #define HAVE___VA_COPY 1
13586 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13587 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13588 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13589 echo $ECHO_N "(cached) $ECHO_C" >&6
13591 cat >conftest.$ac_ext <<_ACEOF
13594 cat confdefs.h >>conftest.$ac_ext
13595 cat >>conftest.$ac_ext <<_ACEOF
13596 /* end confdefs.h. */
13597 #include <setjmp.h>
13602 sigsetjmp( buf, 1 );
13603 siglongjmp( buf, 1 );
13608 rm -f conftest.$ac_objext conftest$ac_exeext
13609 if { (ac_try="$ac_link"
13610 case "(($ac_try" in
13611 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13612 *) ac_try_echo
=$ac_try;;
13614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13615 (eval "$ac_link") 2>conftest.er1
13617 grep -v '^ *+' conftest.er1
>conftest.err
13619 cat conftest.err
>&5
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); } && {
13622 test -z "$ac_c_werror_flag" ||
13623 test ! -s conftest.err
13624 } && test -s conftest
$ac_exeext &&
13625 $as_test_x conftest
$ac_exeext; then
13626 ac_cv_c_sigsetjmp
="yes"
13628 echo "$as_me: failed program was:" >&5
13629 sed 's/^/| /' conftest.
$ac_ext >&5
13631 ac_cv_c_sigsetjmp
="no"
13634 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13635 conftest
$ac_exeext conftest.
$ac_ext
13638 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13639 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13640 if test "$ac_cv_c_sigsetjmp" = "yes"
13643 cat >>confdefs.h
<<\_ACEOF
13644 #define HAVE_SIGSETJMP 1
13649 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13650 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13651 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13652 echo $ECHO_N "(cached) $ECHO_C" >&6
13654 cat >conftest.
$ac_ext <<_ACEOF
13657 cat confdefs.h
>>conftest.
$ac_ext
13658 cat >>conftest.
$ac_ext <<_ACEOF
13659 /* end confdefs.h. */
13660 #define _GNU_SOURCE
13661 #include <pthread.h>
13663 typedef pthread_rwlock_t ac__type_new_;
13667 if ((ac__type_new_ *) 0)
13669 if (sizeof (ac__type_new_))
13675 rm -f conftest.
$ac_objext
13676 if { (ac_try
="$ac_compile"
13677 case "(($ac_try" in
13678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13679 *) ac_try_echo=$ac_try;;
13681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13682 (eval "$ac_compile") 2>conftest.er1
13684 grep -v '^ *+' conftest.er1 >conftest.err
13686 cat conftest.err >&5
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); } && {
13689 test -z "$ac_c_werror_flag" ||
13690 test ! -s conftest.err
13691 } && test -s conftest.$ac_objext; then
13692 ac_cv_type_pthread_rwlock_t=yes
13694 echo "$as_me: failed program was:" >&5
13695 sed 's/^/| /' conftest.$ac_ext >&5
13697 ac_cv_type_pthread_rwlock_t=no
13700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13702 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13703 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13704 if test $ac_cv_type_pthread_rwlock_t = yes; then
13706 cat >>confdefs.h <<_ACEOF
13707 #define HAVE_PTHREAD_RWLOCK_T 1
13712 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13713 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13714 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13715 echo $ECHO_N "(cached) $ECHO_C" >&6
13717 cat >conftest.$ac_ext <<_ACEOF
13720 cat confdefs.h >>conftest.$ac_ext
13721 cat >>conftest.$ac_ext <<_ACEOF
13722 /* end confdefs.h. */
13723 #define _GNU_SOURCE
13724 #include <pthread.h>
13726 typedef pthread_rwlockattr_t ac__type_new_;
13730 if ((ac__type_new_ *) 0)
13732 if (sizeof (ac__type_new_))
13738 rm -f conftest.$ac_objext
13739 if { (ac_try="$ac_compile"
13740 case "(($ac_try" in
13741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13742 *) ac_try_echo
=$ac_try;;
13744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13745 (eval "$ac_compile") 2>conftest.er1
13747 grep -v '^ *+' conftest.er1
>conftest.err
13749 cat conftest.err
>&5
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); } && {
13752 test -z "$ac_c_werror_flag" ||
13753 test ! -s conftest.err
13754 } && test -s conftest.
$ac_objext; then
13755 ac_cv_type_pthread_rwlockattr_t
=yes
13757 echo "$as_me: failed program was:" >&5
13758 sed 's/^/| /' conftest.
$ac_ext >&5
13760 ac_cv_type_pthread_rwlockattr_t
=no
13763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13765 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13766 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13767 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13769 cat >>confdefs.h
<<_ACEOF
13770 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13777 ac_wine_check_funcs_save_LIBS
="$LIBS"
13778 LIBS
="$LIBS $LIBPTHREAD"
13784 pthread_attr_get_np \
13785 pthread_getattr_np \
13786 pthread_get_stackaddr_np \
13787 pthread_get_stacksize_np
13789 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13790 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13792 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13793 echo $ECHO_N "(cached) $ECHO_C" >&6
13795 cat >conftest.
$ac_ext <<_ACEOF
13798 cat confdefs.h
>>conftest.
$ac_ext
13799 cat >>conftest.
$ac_ext <<_ACEOF
13800 /* end confdefs.h. */
13801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13803 #define $ac_func innocuous_$ac_func
13805 /* System header to define __stub macros and hopefully few prototypes,
13806 which can conflict with char $ac_func (); below.
13807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13808 <limits.h> exists even on freestanding compilers. */
13811 # include <limits.h>
13813 # include <assert.h>
13818 /* Override any GCC internal prototype to avoid an error.
13819 Use char because int might match the return type of a GCC
13820 builtin and then its argument prototype would still apply. */
13825 /* The GNU C library defines this for functions which it implements
13826 to always fail with ENOSYS. Some functions are actually named
13827 something starting with __ and the normal name is an alias. */
13828 #if defined __stub_$ac_func || defined __stub___$ac_func
13835 return $ac_func ();
13840 rm -f conftest.
$ac_objext conftest
$ac_exeext
13841 if { (ac_try
="$ac_link"
13842 case "(($ac_try" in
13843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13844 *) ac_try_echo=$ac_try;;
13846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13847 (eval "$ac_link") 2>conftest.er1
13849 grep -v '^ *+' conftest.er1 >conftest.err
13851 cat conftest.err >&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 (exit $ac_status); } && {
13854 test -z "$ac_c_werror_flag" ||
13855 test ! -s conftest.err
13856 } && test -s conftest$ac_exeext &&
13857 $as_test_x conftest$ac_exeext; then
13858 eval "$as_ac_var=yes"
13860 echo "$as_me: failed program was:" >&5
13861 sed 's/^/| /' conftest.$ac_ext >&5
13863 eval "$as_ac_var=no"
13866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13867 conftest$ac_exeext conftest.$ac_ext
13869 ac_res=`eval echo '${'$as_ac_var'}'`
13870 { echo "$as_me:$LINENO: result: $ac_res" >&5
13871 echo "${ECHO_T}$ac_res" >&6; }
13872 if test `eval echo '${'$as_ac_var'}'` = yes; then
13873 cat >>confdefs.h <<_ACEOF
13874 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13880 LIBS="$ac_wine_check_funcs_save_LIBS"
13882 # Extract the first word of "esd-config", so it can be a program name with args.
13883 set dummy esd-config; ac_word=$2
13884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13886 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13887 echo $ECHO_N "(cached) $ECHO_C" >&6
13891 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13895 for as_dir in $PATH
13898 test -z "$as_dir" && as_dir=.
13899 for ac_exec_ext in '' $ac_executable_extensions; do
13900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13901 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13912 ESDCONFIG=$ac_cv_path_ESDCONFIG
13913 if test -n "$ESDCONFIG"; then
13914 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13915 echo "${ECHO_T}$ESDCONFIG" >&6; }
13917 { echo "$as_me:$LINENO: result: no" >&5
13918 echo "${ECHO_T}no" >&6; }
13922 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13925 for i in `$ESDCONFIG --cflags`
13928 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13931 ESD_LIBS=`$ESDCONFIG --libs`
13932 save_CFLAGS="$CFLAGS"
13933 CFLAGS="$CFLAGS $ESD_CFLAGS"
13934 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13935 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13936 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13937 echo $ECHO_N "(cached) $ECHO_C" >&6
13939 ac_check_lib_save_LIBS=$LIBS
13941 cat >conftest.$ac_ext <<_ACEOF
13944 cat confdefs.h >>conftest.$ac_ext
13945 cat >>conftest.$ac_ext <<_ACEOF
13946 /* end confdefs.h. */
13948 /* Override any GCC internal prototype to avoid an error.
13949 Use char because int might match the return type of a GCC
13950 builtin and then its argument prototype would still apply. */
13954 char esd_open_sound ();
13958 return esd_open_sound ();
13963 rm -f conftest.$ac_objext conftest$ac_exeext
13964 if { (ac_try="$ac_link"
13965 case "(($ac_try" in
13966 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13967 *) ac_try_echo
=$ac_try;;
13969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13970 (eval "$ac_link") 2>conftest.er1
13972 grep -v '^ *+' conftest.er1
>conftest.err
13974 cat conftest.err
>&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); } && {
13977 test -z "$ac_c_werror_flag" ||
13978 test ! -s conftest.err
13979 } && test -s conftest
$ac_exeext &&
13980 $as_test_x conftest
$ac_exeext; then
13981 ac_cv_lib_esd_esd_open_sound
=yes
13983 echo "$as_me: failed program was:" >&5
13984 sed 's/^/| /' conftest.
$ac_ext >&5
13986 ac_cv_lib_esd_esd_open_sound
=no
13989 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13990 conftest
$ac_exeext conftest.
$ac_ext
13991 LIBS
=$ac_check_lib_save_LIBS
13993 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13994 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13995 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13998 ESDINCL
=$ESD_CFLAGS
14001 cat >>confdefs.h
<<\_ACEOF
14007 CFLAGS
="$save_CFLAGS"
14012 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14014 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14015 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14016 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14017 echo $ECHO_N "(cached) $ECHO_C" >&6
14019 ac_check_lib_save_LIBS
=$LIBS
14020 LIBS
="-lasound $LIBS"
14021 cat >conftest.
$ac_ext <<_ACEOF
14024 cat confdefs.h
>>conftest.
$ac_ext
14025 cat >>conftest.
$ac_ext <<_ACEOF
14026 /* end confdefs.h. */
14028 /* Override any GCC internal prototype to avoid an error.
14029 Use char because int might match the return type of a GCC
14030 builtin and then its argument prototype would still apply. */
14034 char snd_pcm_hw_params_get_access ();
14038 return snd_pcm_hw_params_get_access ();
14043 rm -f conftest.
$ac_objext conftest
$ac_exeext
14044 if { (ac_try
="$ac_link"
14045 case "(($ac_try" in
14046 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14047 *) ac_try_echo=$ac_try;;
14049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14050 (eval "$ac_link") 2>conftest.er1
14052 grep -v '^ *+' conftest.er1 >conftest.err
14054 cat conftest.err >&5
14055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14056 (exit $ac_status); } && {
14057 test -z "$ac_c_werror_flag" ||
14058 test ! -s conftest.err
14059 } && test -s conftest$ac_exeext &&
14060 $as_test_x conftest$ac_exeext; then
14061 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14063 echo "$as_me: failed program was:" >&5
14064 sed 's/^/| /' conftest.$ac_ext >&5
14066 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14070 conftest$ac_exeext conftest.$ac_ext
14071 LIBS=$ac_check_lib_save_LIBS
14073 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14074 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14075 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14076 cat >conftest.$ac_ext <<_ACEOF
14079 cat confdefs.h >>conftest.$ac_ext
14080 cat >>conftest.$ac_ext <<_ACEOF
14081 /* end confdefs.h. */
14082 #ifdef HAVE_ALSA_ASOUNDLIB_H
14083 #include <alsa/asoundlib.h>
14084 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14085 #include <sys/asoundlib.h>
14090 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14095 rm -f conftest.$ac_objext
14096 if { (ac_try="$ac_compile"
14097 case "(($ac_try" in
14098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14099 *) ac_try_echo
=$ac_try;;
14101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14102 (eval "$ac_compile") 2>conftest.er1
14104 grep -v '^ *+' conftest.er1
>conftest.err
14106 cat conftest.err
>&5
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); } && {
14109 test -z "$ac_c_werror_flag" ||
14110 test ! -s conftest.err
14111 } && test -s conftest.
$ac_objext; then
14113 cat >>confdefs.h
<<\_ACEOF
14114 #define HAVE_ALSA 1
14117 ALSALIBS
="-lasound"
14119 echo "$as_me: failed program was:" >&5
14120 sed 's/^/| /' conftest.
$ac_ext >&5
14125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14132 if test "$ac_cv_header_libaudioio_h" = "yes"
14134 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14135 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14136 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14137 echo $ECHO_N "(cached) $ECHO_C" >&6
14139 ac_check_lib_save_LIBS
=$LIBS
14140 LIBS
="-laudioio $LIBS"
14141 cat >conftest.
$ac_ext <<_ACEOF
14144 cat confdefs.h
>>conftest.
$ac_ext
14145 cat >>conftest.
$ac_ext <<_ACEOF
14146 /* end confdefs.h. */
14148 /* Override any GCC internal prototype to avoid an error.
14149 Use char because int might match the return type of a GCC
14150 builtin and then its argument prototype would still apply. */
14154 char AudioIOGetVersion ();
14158 return AudioIOGetVersion ();
14163 rm -f conftest.
$ac_objext conftest
$ac_exeext
14164 if { (ac_try
="$ac_link"
14165 case "(($ac_try" in
14166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14167 *) ac_try_echo=$ac_try;;
14169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14170 (eval "$ac_link") 2>conftest.er1
14172 grep -v '^ *+' conftest.er1 >conftest.err
14174 cat conftest.err >&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); } && {
14177 test -z "$ac_c_werror_flag" ||
14178 test ! -s conftest.err
14179 } && test -s conftest$ac_exeext &&
14180 $as_test_x conftest$ac_exeext; then
14181 ac_cv_lib_audioio_AudioIOGetVersion=yes
14183 echo "$as_me: failed program was:" >&5
14184 sed 's/^/| /' conftest.$ac_ext >&5
14186 ac_cv_lib_audioio_AudioIOGetVersion=no
14189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14190 conftest$ac_exeext conftest.$ac_ext
14191 LIBS=$ac_check_lib_save_LIBS
14193 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14194 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14195 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14196 AUDIOIOLIBS="-laudioio"
14198 cat >>confdefs.h <<\_ACEOF
14199 #define HAVE_LIBAUDIOIO 1
14207 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14209 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14210 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14211 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14212 echo $ECHO_N "(cached) $ECHO_C" >&6
14214 ac_check_soname_save_LIBS=$LIBS
14215 LIBS="-lcapi20 $LIBS"
14216 cat >conftest.$ac_ext <<_ACEOF
14219 cat confdefs.h >>conftest.$ac_ext
14220 cat >>conftest.$ac_ext <<_ACEOF
14221 /* end confdefs.h. */
14223 /* Override any GCC internal prototype to avoid an error.
14224 Use char because int might match the return type of a GCC
14225 builtin and then its argument prototype would still apply. */
14229 char capi20_register ();
14233 return capi20_register ();
14238 rm -f conftest.$ac_objext conftest$ac_exeext
14239 if { (ac_try="$ac_link"
14240 case "(($ac_try" in
14241 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14242 *) ac_try_echo
=$ac_try;;
14244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14245 (eval "$ac_link") 2>conftest.er1
14247 grep -v '^ *+' conftest.er1
>conftest.err
14249 cat conftest.err
>&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); } && {
14252 test -z "$ac_c_werror_flag" ||
14253 test ! -s conftest.err
14254 } && test -s conftest
$ac_exeext &&
14255 $as_test_x conftest
$ac_exeext; then
14258 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'` ;;
14259 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14262 echo "$as_me: failed program was:" >&5
14263 sed 's/^/| /' conftest.
$ac_ext >&5
14268 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14269 conftest
$ac_exeext conftest.
$ac_ext
14270 LIBS
=$ac_check_soname_save_LIBS
14272 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14273 { echo "$as_me:$LINENO: result: not found" >&5
14274 echo "${ECHO_T}not found" >&6; }
14277 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14278 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14280 cat >>confdefs.h
<<_ACEOF
14281 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14288 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14289 wine_notices
="$wine_notices|libcapi20 development files not found.
14290 Wine will be built without ISDN support. (capi2032.dll)"
14294 if test "$ac_cv_header_cups_cups_h" = "yes"
14296 { echo "$as_me:$LINENO: checking for -lcups" >&5
14297 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14298 if test "${ac_cv_lib_soname_cups+set}" = set; then
14299 echo $ECHO_N "(cached) $ECHO_C" >&6
14301 ac_check_soname_save_LIBS
=$LIBS
14302 LIBS
="-lcups $LIBS"
14303 cat >conftest.
$ac_ext <<_ACEOF
14306 cat confdefs.h
>>conftest.
$ac_ext
14307 cat >>conftest.
$ac_ext <<_ACEOF
14308 /* end confdefs.h. */
14310 /* Override any GCC internal prototype to avoid an error.
14311 Use char because int might match the return type of a GCC
14312 builtin and then its argument prototype would still apply. */
14316 char cupsGetDefault ();
14320 return cupsGetDefault ();
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 test -z "$ac_c_werror_flag" ||
14340 test ! -s conftest.err
14341 } && test -s conftest$ac_exeext &&
14342 $as_test_x conftest$ac_exeext; then
14345 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'` ;;
14346 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcups\\.$LIBEXT" |
sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14349 echo "$as_me: failed program was:" >&5
14350 sed 's/^/| /' conftest.$ac_ext >&5
14355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14356 conftest$ac_exeext conftest.$ac_ext
14357 LIBS=$ac_check_soname_save_LIBS
14359 if test "x$ac_cv_lib_soname_cups" = "x"; then
14360 { echo "$as_me:$LINENO: result: not found" >&5
14361 echo "${ECHO_T}not found" >&6; }
14364 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14365 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14367 cat >>confdefs.h <<_ACEOF
14368 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14375 if test "x$ac_cv_lib_soname_cups" = "x"; then
14376 wine_notices="$wine_notices|libcups development files not found.
14377 Wine will be built without CUPS support."
14381 if test "$ac_cv_header_jack_jack_h" = "yes"
14383 { echo "$as_me:$LINENO: checking for -ljack" >&5
14384 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14385 if test "${ac_cv_lib_soname_jack+set}" = set; then
14386 echo $ECHO_N "(cached) $ECHO_C" >&6
14388 ac_check_soname_save_LIBS=$LIBS
14389 LIBS="-ljack $LIBS"
14390 cat >conftest.$ac_ext <<_ACEOF
14393 cat confdefs.h >>conftest.$ac_ext
14394 cat >>conftest.$ac_ext <<_ACEOF
14395 /* end confdefs.h. */
14397 /* Override any GCC internal prototype to avoid an error.
14398 Use char because int might match the return type of a GCC
14399 builtin and then its argument prototype would still apply. */
14403 char jack_client_new ();
14407 return jack_client_new ();
14412 rm -f conftest.$ac_objext conftest$ac_exeext
14413 if { (ac_try="$ac_link"
14414 case "(($ac_try" in
14415 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14416 *) ac_try_echo
=$ac_try;;
14418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14419 (eval "$ac_link") 2>conftest.er1
14421 grep -v '^ *+' conftest.er1
>conftest.err
14423 cat conftest.err
>&5
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); } && {
14426 test -z "$ac_c_werror_flag" ||
14427 test ! -s conftest.err
14428 } && test -s conftest
$ac_exeext &&
14429 $as_test_x conftest
$ac_exeext; then
14432 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'` ;;
14433 *) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14436 echo "$as_me: failed program was:" >&5
14437 sed 's/^/| /' conftest.
$ac_ext >&5
14442 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14443 conftest
$ac_exeext conftest.
$ac_ext
14444 LIBS
=$ac_check_soname_save_LIBS
14446 if test "x$ac_cv_lib_soname_jack" = "x"; then
14447 { echo "$as_me:$LINENO: result: not found" >&5
14448 echo "${ECHO_T}not found" >&6; }
14451 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14452 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14454 cat >>confdefs.h
<<_ACEOF
14455 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14463 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14465 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14466 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14467 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14468 echo $ECHO_N "(cached) $ECHO_C" >&6
14470 ac_check_soname_save_LIBS
=$LIBS
14471 LIBS
="-lfontconfig $LIBS"
14472 cat >conftest.
$ac_ext <<_ACEOF
14475 cat confdefs.h
>>conftest.
$ac_ext
14476 cat >>conftest.
$ac_ext <<_ACEOF
14477 /* end confdefs.h. */
14479 /* Override any GCC internal prototype to avoid an error.
14480 Use char because int might match the return type of a GCC
14481 builtin and then its argument prototype would still apply. */
14494 rm -f conftest.
$ac_objext conftest
$ac_exeext
14495 if { (ac_try
="$ac_link"
14496 case "(($ac_try" in
14497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14498 *) ac_try_echo=$ac_try;;
14500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14501 (eval "$ac_link") 2>conftest.er1
14503 grep -v '^ *+' conftest.er1 >conftest.err
14505 cat conftest.err >&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); } && {
14508 test -z "$ac_c_werror_flag" ||
14509 test ! -s conftest.err
14510 } && test -s conftest$ac_exeext &&
14511 $as_test_x conftest$ac_exeext; then
14514 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'` ;;
14515 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfontconfig\\.$LIBEXT" |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14518 echo "$as_me: failed program was:" >&5
14519 sed 's/^/| /' conftest.$ac_ext >&5
14524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14525 conftest$ac_exeext conftest.$ac_ext
14526 LIBS=$ac_check_soname_save_LIBS
14528 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14529 { echo "$as_me:$LINENO: result: not found" >&5
14530 echo "${ECHO_T}not found" >&6; }
14533 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14534 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14536 cat >>confdefs.h <<_ACEOF
14537 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14544 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14545 wine_notices="$wine_notices|fontconfig development files not found.
14546 Wine will be built without fontconfig support."
14550 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14552 { echo "$as_me:$LINENO: checking for -lssl" >&5
14553 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14554 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14555 echo $ECHO_N "(cached) $ECHO_C" >&6
14557 ac_check_soname_save_LIBS=$LIBS
14559 cat >conftest.$ac_ext <<_ACEOF
14562 cat confdefs.h >>conftest.$ac_ext
14563 cat >>conftest.$ac_ext <<_ACEOF
14564 /* end confdefs.h. */
14566 /* Override any GCC internal prototype to avoid an error.
14567 Use char because int might match the return type of a GCC
14568 builtin and then its argument prototype would still apply. */
14572 char SSL_library_init ();
14576 return SSL_library_init ();
14581 rm -f conftest.$ac_objext conftest$ac_exeext
14582 if { (ac_try="$ac_link"
14583 case "(($ac_try" in
14584 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14585 *) ac_try_echo
=$ac_try;;
14587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14588 (eval "$ac_link") 2>conftest.er1
14590 grep -v '^ *+' conftest.er1
>conftest.err
14592 cat conftest.err
>&5
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); } && {
14595 test -z "$ac_c_werror_flag" ||
14596 test ! -s conftest.err
14597 } && test -s conftest
$ac_exeext &&
14598 $as_test_x conftest
$ac_exeext; then
14601 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'` ;;
14602 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14605 echo "$as_me: failed program was:" >&5
14606 sed 's/^/| /' conftest.
$ac_ext >&5
14611 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14612 conftest
$ac_exeext conftest.
$ac_ext
14613 LIBS
=$ac_check_soname_save_LIBS
14615 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14616 { echo "$as_me:$LINENO: result: not found" >&5
14617 echo "${ECHO_T}not found" >&6; }
14620 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14621 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14623 cat >>confdefs.h
<<_ACEOF
14624 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14630 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14631 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14632 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14633 echo $ECHO_N "(cached) $ECHO_C" >&6
14635 ac_check_soname_save_LIBS
=$LIBS
14636 LIBS
="-lcrypto $LIBS"
14637 cat >conftest.
$ac_ext <<_ACEOF
14640 cat confdefs.h
>>conftest.
$ac_ext
14641 cat >>conftest.
$ac_ext <<_ACEOF
14642 /* end confdefs.h. */
14644 /* Override any GCC internal prototype to avoid an error.
14645 Use char because int might match the return type of a GCC
14646 builtin and then its argument prototype would still apply. */
14650 char BIO_new_socket ();
14654 return BIO_new_socket ();
14659 rm -f conftest.
$ac_objext conftest
$ac_exeext
14660 if { (ac_try
="$ac_link"
14661 case "(($ac_try" in
14662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14663 *) ac_try_echo=$ac_try;;
14665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14666 (eval "$ac_link") 2>conftest.er1
14668 grep -v '^ *+' conftest.er1 >conftest.err
14670 cat conftest.err >&5
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); } && {
14673 test -z "$ac_c_werror_flag" ||
14674 test ! -s conftest.err
14675 } && test -s conftest$ac_exeext &&
14676 $as_test_x conftest$ac_exeext; then
14679 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'` ;;
14680 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcrypto\\.$LIBEXT" |
sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14683 echo "$as_me: failed program was:" >&5
14684 sed 's/^/| /' conftest.$ac_ext >&5
14689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14690 conftest$ac_exeext conftest.$ac_ext
14691 LIBS=$ac_check_soname_save_LIBS
14693 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14694 { echo "$as_me:$LINENO: result: not found" >&5
14695 echo "${ECHO_T}not found" >&6; }
14698 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14699 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14701 cat >>confdefs.h <<_ACEOF
14702 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14709 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14710 wine_notices="$wine_notices|OpenSSL development files not found.
14711 Wine will be built without SSL support. (wininet.dll)"
14715 if test "$ac_cv_header_jpeglib_h" = "yes"
14717 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14718 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14719 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14720 echo $ECHO_N "(cached) $ECHO_C" >&6
14722 ac_check_soname_save_LIBS=$LIBS
14723 LIBS="-ljpeg $LIBS"
14724 cat >conftest.$ac_ext <<_ACEOF
14727 cat confdefs.h >>conftest.$ac_ext
14728 cat >>conftest.$ac_ext <<_ACEOF
14729 /* end confdefs.h. */
14731 /* Override any GCC internal prototype to avoid an error.
14732 Use char because int might match the return type of a GCC
14733 builtin and then its argument prototype would still apply. */
14737 char jpeg_start_decompress ();
14741 return jpeg_start_decompress ();
14746 rm -f conftest.$ac_objext conftest$ac_exeext
14747 if { (ac_try="$ac_link"
14748 case "(($ac_try" in
14749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14750 *) ac_try_echo
=$ac_try;;
14752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14753 (eval "$ac_link") 2>conftest.er1
14755 grep -v '^ *+' conftest.er1
>conftest.err
14757 cat conftest.err
>&5
14758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14759 (exit $ac_status); } && {
14760 test -z "$ac_c_werror_flag" ||
14761 test ! -s conftest.err
14762 } && test -s conftest
$ac_exeext &&
14763 $as_test_x conftest
$ac_exeext; then
14766 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'` ;;
14767 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14770 echo "$as_me: failed program was:" >&5
14771 sed 's/^/| /' conftest.
$ac_ext >&5
14776 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14777 conftest
$ac_exeext conftest.
$ac_ext
14778 LIBS
=$ac_check_soname_save_LIBS
14780 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14781 { echo "$as_me:$LINENO: result: not found" >&5
14782 echo "${ECHO_T}not found" >&6; }
14785 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14786 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14788 cat >>confdefs.h
<<_ACEOF
14789 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14796 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14797 wine_notices
="$wine_notices|libjpeg development files not found.
14798 Wine will be built without JPEG support. (oleaut32.dll)"
14802 if test "$ac_cv_header_png_h" = "yes"
14804 { echo "$as_me:$LINENO: checking for -lpng" >&5
14805 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14806 if test "${ac_cv_lib_soname_png+set}" = set; then
14807 echo $ECHO_N "(cached) $ECHO_C" >&6
14809 ac_check_soname_save_LIBS
=$LIBS
14811 cat >conftest.
$ac_ext <<_ACEOF
14814 cat confdefs.h
>>conftest.
$ac_ext
14815 cat >>conftest.
$ac_ext <<_ACEOF
14816 /* end confdefs.h. */
14818 /* Override any GCC internal prototype to avoid an error.
14819 Use char because int might match the return type of a GCC
14820 builtin and then its argument prototype would still apply. */
14824 char png_create_read_struct ();
14828 return png_create_read_struct ();
14833 rm -f conftest.
$ac_objext conftest
$ac_exeext
14834 if { (ac_try
="$ac_link"
14835 case "(($ac_try" in
14836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14837 *) ac_try_echo=$ac_try;;
14839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14840 (eval "$ac_link") 2>conftest.er1
14842 grep -v '^ *+' conftest.er1 >conftest.err
14844 cat conftest.err >&5
14845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14846 (exit $ac_status); } && {
14847 test -z "$ac_c_werror_flag" ||
14848 test ! -s conftest.err
14849 } && test -s conftest$ac_exeext &&
14850 $as_test_x conftest$ac_exeext; then
14853 dylib) ac_cv_lib_soname_png=`otool
-L conftest
$ac_exeext |
grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" |
sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14854 *) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libpng[0-9]*\\.$LIBEXT" |
sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14857 echo "$as_me: failed program was:" >&5
14858 sed 's/^/| /' conftest.$ac_ext >&5
14863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14864 conftest$ac_exeext conftest.$ac_ext
14865 LIBS=$ac_check_soname_save_LIBS
14867 if test "x$ac_cv_lib_soname_png" = "x"; then
14868 { echo "$as_me:$LINENO: result: not found" >&5
14869 echo "${ECHO_T}not found" >&6; }
14872 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14873 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14875 cat >>confdefs.h <<_ACEOF
14876 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14883 if test "x$ac_cv_lib_soname_png" = "x"; then
14884 wine_notices="$wine_notices|libpng development files not found.
14885 Wine will be built without PNG support. (oleaut32.dll)"
14889 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
14890 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
14891 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
14892 "$ac_cv_header_soundcard_h" != "yes"; then
14893 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
14900 if test "x${GCC}" = "xyes"
14902 EXTRACFLAGS="-Wall -pipe"
14904 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14905 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14906 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14907 echo $ECHO_N "(cached) $ECHO_C" >&6
14909 if test "$cross_compiling" = yes; then
14910 ac_cv_c_gcc_strength_bug="yes"
14912 cat >conftest.$ac_ext <<_ACEOF
14915 cat confdefs.h >>conftest.$ac_ext
14916 cat >>conftest.$ac_ext <<_ACEOF
14917 /* end confdefs.h. */
14918 int L[4] = {0,1,2,3};
14922 static int Array[3];
14923 unsigned int B = 3;
14925 for(i=0; i<B; i++) Array[i] = i - 3;
14926 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14928 exit( Array[1] != -2 || L[2] != 3)
14933 rm -f conftest$ac_exeext
14934 if { (ac_try="$ac_link"
14935 case "(($ac_try" in
14936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14937 *) ac_try_echo
=$ac_try;;
14939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14940 (eval "$ac_link") 2>&5
14942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14943 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14944 { (case "(($ac_try" in
14945 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14946 *) ac_try_echo=$ac_try;;
14948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14949 (eval "$ac_try") 2>&5
14951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14952 (exit $ac_status); }; }; then
14953 ac_cv_c_gcc_strength_bug="no"
14955 echo "$as_me: program exited with status $ac_status" >&5
14956 echo "$as_me: failed program was:" >&5
14957 sed 's/^/| /' conftest.$ac_ext >&5
14959 ( exit $ac_status )
14960 ac_cv_c_gcc_strength_bug="yes"
14962 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14967 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14968 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14969 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14971 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14975 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14976 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14977 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14978 echo $ECHO_N "(cached) $ECHO_C" >&6
14980 ac_wine_try_cflags_saved=$CFLAGS
14981 CFLAGS="$CFLAGS -fshort-wchar"
14982 cat >conftest.$ac_ext <<_ACEOF
14985 cat confdefs.h >>conftest.$ac_ext
14986 cat >>conftest.$ac_ext <<_ACEOF
14987 /* end confdefs.h. */
14997 rm -f conftest.$ac_objext conftest$ac_exeext
14998 if { (ac_try="$ac_link"
14999 case "(($ac_try" in
15000 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15001 *) ac_try_echo
=$ac_try;;
15003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15004 (eval "$ac_link") 2>conftest.er1
15006 grep -v '^ *+' conftest.er1
>conftest.err
15008 cat conftest.err
>&5
15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15010 (exit $ac_status); } && {
15011 test -z "$ac_c_werror_flag" ||
15012 test ! -s conftest.err
15013 } && test -s conftest
$ac_exeext &&
15014 $as_test_x conftest
$ac_exeext; then
15015 ac_cv_cflags__fshort_wchar
=yes
15017 echo "$as_me: failed program was:" >&5
15018 sed 's/^/| /' conftest.
$ac_ext >&5
15020 ac_cv_cflags__fshort_wchar
=no
15023 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15024 conftest
$ac_exeext conftest.
$ac_ext
15025 CFLAGS
=$ac_wine_try_cflags_saved
15027 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15028 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15029 if test $ac_cv_cflags__fshort_wchar = yes; then
15031 cat >>confdefs.h
<<\_ACEOF
15032 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15037 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15038 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15039 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15040 echo $ECHO_N "(cached) $ECHO_C" >&6
15042 ac_wine_try_cflags_saved
=$CFLAGS
15043 CFLAGS
="$CFLAGS -fno-strict-aliasing"
15044 cat >conftest.
$ac_ext <<_ACEOF
15047 cat confdefs.h
>>conftest.
$ac_ext
15048 cat >>conftest.
$ac_ext <<_ACEOF
15049 /* end confdefs.h. */
15059 rm -f conftest.
$ac_objext conftest
$ac_exeext
15060 if { (ac_try
="$ac_link"
15061 case "(($ac_try" in
15062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15063 *) ac_try_echo=$ac_try;;
15065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15066 (eval "$ac_link") 2>conftest.er1
15068 grep -v '^ *+' conftest.er1 >conftest.err
15070 cat conftest.err >&5
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); } && {
15073 test -z "$ac_c_werror_flag" ||
15074 test ! -s conftest.err
15075 } && test -s conftest$ac_exeext &&
15076 $as_test_x conftest$ac_exeext; then
15077 ac_cv_cflags__fno_strict_aliasing=yes
15079 echo "$as_me: failed program was:" >&5
15080 sed 's/^/| /' conftest.$ac_ext >&5
15082 ac_cv_cflags__fno_strict_aliasing=no
15085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15086 conftest$ac_exeext conftest.$ac_ext
15087 CFLAGS=$ac_wine_try_cflags_saved
15089 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15090 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15091 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15092 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15095 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15096 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15097 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15098 echo $ECHO_N "(cached) $ECHO_C" >&6
15100 ac_wine_try_cflags_saved=$CFLAGS
15101 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15102 cat >conftest.$ac_ext <<_ACEOF
15105 cat confdefs.h >>conftest.$ac_ext
15106 cat >>conftest.$ac_ext <<_ACEOF
15107 /* end confdefs.h. */
15117 rm -f conftest.$ac_objext conftest$ac_exeext
15118 if { (ac_try="$ac_link"
15119 case "(($ac_try" in
15120 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15121 *) ac_try_echo
=$ac_try;;
15123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15124 (eval "$ac_link") 2>conftest.er1
15126 grep -v '^ *+' conftest.er1
>conftest.err
15128 cat conftest.err
>&5
15129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15130 (exit $ac_status); } && {
15131 test -z "$ac_c_werror_flag" ||
15132 test ! -s conftest.err
15133 } && test -s conftest
$ac_exeext &&
15134 $as_test_x conftest
$ac_exeext; then
15135 ac_cv_cflags__Wdeclaration_after_statement
=yes
15137 echo "$as_me: failed program was:" >&5
15138 sed 's/^/| /' conftest.
$ac_ext >&5
15140 ac_cv_cflags__Wdeclaration_after_statement
=no
15143 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15144 conftest
$ac_exeext conftest.
$ac_ext
15145 CFLAGS
=$ac_wine_try_cflags_saved
15147 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15148 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15149 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15150 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
15153 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15154 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15155 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15156 echo $ECHO_N "(cached) $ECHO_C" >&6
15158 ac_wine_try_cflags_saved
=$CFLAGS
15159 CFLAGS
="$CFLAGS -Wwrite-strings"
15160 cat >conftest.
$ac_ext <<_ACEOF
15163 cat confdefs.h
>>conftest.
$ac_ext
15164 cat >>conftest.
$ac_ext <<_ACEOF
15165 /* end confdefs.h. */
15175 rm -f conftest.
$ac_objext conftest
$ac_exeext
15176 if { (ac_try
="$ac_link"
15177 case "(($ac_try" in
15178 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15179 *) ac_try_echo=$ac_try;;
15181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15182 (eval "$ac_link") 2>conftest.er1
15184 grep -v '^ *+' conftest.er1 >conftest.err
15186 cat conftest.err >&5
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); } && {
15189 test -z "$ac_c_werror_flag" ||
15190 test ! -s conftest.err
15191 } && test -s conftest$ac_exeext &&
15192 $as_test_x conftest$ac_exeext; then
15193 ac_cv_cflags__Wwrite_strings=yes
15195 echo "$as_me: failed program was:" >&5
15196 sed 's/^/| /' conftest.$ac_ext >&5
15198 ac_cv_cflags__Wwrite_strings=no
15201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15202 conftest$ac_exeext conftest.$ac_ext
15203 CFLAGS=$ac_wine_try_cflags_saved
15205 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15206 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15207 if test $ac_cv_cflags__Wwrite_strings = yes; then
15208 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15212 saved_CFLAGS="$CFLAGS"
15213 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15214 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15215 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15216 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15217 echo $ECHO_N "(cached) $ECHO_C" >&6
15219 cat >conftest.$ac_ext <<_ACEOF
15222 cat confdefs.h >>conftest.$ac_ext
15223 cat >>conftest.$ac_ext <<_ACEOF
15224 /* end confdefs.h. */
15225 #include <string.h>
15234 rm -f conftest.$ac_objext
15235 if { (ac_try="$ac_compile"
15236 case "(($ac_try" in
15237 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15238 *) ac_try_echo
=$ac_try;;
15240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15241 (eval "$ac_compile") 2>conftest.er1
15243 grep -v '^ *+' conftest.er1
>conftest.err
15245 cat conftest.err
>&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); } && {
15248 test -z "$ac_c_werror_flag" ||
15249 test ! -s conftest.err
15250 } && test -s conftest.
$ac_objext; then
15251 ac_cv_c_string_h_warnings
=no
15253 echo "$as_me: failed program was:" >&5
15254 sed 's/^/| /' conftest.
$ac_ext >&5
15256 ac_cv_c_string_h_warnings
=yes
15259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15261 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15262 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15263 CFLAGS
="$saved_CFLAGS"
15264 if test "$ac_cv_c_string_h_warnings" = "no"
15266 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
15271 saved_CFLAGS
="$CFLAGS"
15272 CFLAGS
="$CFLAGS -Werror"
15273 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15274 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15275 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15276 echo $ECHO_N "(cached) $ECHO_C" >&6
15278 cat >conftest.
$ac_ext <<_ACEOF
15281 cat confdefs.h
>>conftest.
$ac_ext
15282 cat >>conftest.
$ac_ext <<_ACEOF
15283 /* end confdefs.h. */
15288 int iswlower(unsigned short);
15293 rm -f conftest.
$ac_objext
15294 if { (ac_try
="$ac_compile"
15295 case "(($ac_try" in
15296 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15297 *) ac_try_echo=$ac_try;;
15299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15300 (eval "$ac_compile") 2>conftest.er1
15302 grep -v '^ *+' conftest.er1 >conftest.err
15304 cat conftest.err >&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); } && {
15307 test -z "$ac_c_werror_flag" ||
15308 test ! -s conftest.err
15309 } && test -s conftest.$ac_objext; then
15310 ac_cv_c_builtin_wchar_ctype=no
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.$ac_ext >&5
15315 ac_cv_c_builtin_wchar_ctype=yes
15318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15320 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15321 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15322 CFLAGS="$saved_CFLAGS"
15323 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15325 BUILTINFLAG="-fno-builtin"
15330 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15331 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15332 if test "${ac_cv_asm_func_def+set}" = set; then
15333 echo $ECHO_N "(cached) $ECHO_C" >&6
15335 cat >conftest.$ac_ext <<_ACEOF
15338 cat confdefs.h >>conftest.$ac_ext
15339 cat >>conftest.$ac_ext <<_ACEOF
15340 /* end confdefs.h. */
15345 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15350 rm -f conftest.$ac_objext conftest$ac_exeext
15351 if { (ac_try="$ac_link"
15352 case "(($ac_try" in
15353 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15354 *) ac_try_echo
=$ac_try;;
15356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15357 (eval "$ac_link") 2>conftest.er1
15359 grep -v '^ *+' conftest.er1
>conftest.err
15361 cat conftest.err
>&5
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); } && {
15364 test -z "$ac_c_werror_flag" ||
15365 test ! -s conftest.err
15366 } && test -s conftest
$ac_exeext &&
15367 $as_test_x conftest
$ac_exeext; then
15368 ac_cv_asm_func_def
=".def"
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.
$ac_ext >&5
15373 cat >conftest.
$ac_ext <<_ACEOF
15376 cat confdefs.h
>>conftest.
$ac_ext
15377 cat >>conftest.
$ac_ext <<_ACEOF
15378 /* end confdefs.h. */
15383 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15388 rm -f conftest.
$ac_objext conftest
$ac_exeext
15389 if { (ac_try
="$ac_link"
15390 case "(($ac_try" in
15391 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15392 *) ac_try_echo=$ac_try;;
15394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15395 (eval "$ac_link") 2>conftest.er1
15397 grep -v '^ *+' conftest.er1 >conftest.err
15399 cat conftest.err >&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); } && {
15402 test -z "$ac_c_werror_flag" ||
15403 test ! -s conftest.err
15404 } && test -s conftest$ac_exeext &&
15405 $as_test_x conftest$ac_exeext; then
15406 ac_cv_asm_func_def=".type @function"
15408 echo "$as_me: failed program was:" >&5
15409 sed 's/^/| /' conftest.$ac_ext >&5
15411 cat >conftest.$ac_ext <<_ACEOF
15414 cat confdefs.h >>conftest.$ac_ext
15415 cat >>conftest.$ac_ext <<_ACEOF
15416 /* end confdefs.h. */
15421 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15426 rm -f conftest.$ac_objext conftest$ac_exeext
15427 if { (ac_try="$ac_link"
15428 case "(($ac_try" in
15429 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15430 *) ac_try_echo
=$ac_try;;
15432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15433 (eval "$ac_link") 2>conftest.er1
15435 grep -v '^ *+' conftest.er1
>conftest.err
15437 cat conftest.err
>&5
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); } && {
15440 test -z "$ac_c_werror_flag" ||
15441 test ! -s conftest.err
15442 } && test -s conftest
$ac_exeext &&
15443 $as_test_x conftest
$ac_exeext; then
15444 ac_cv_asm_func_def
=".type 2"
15446 echo "$as_me: failed program was:" >&5
15447 sed 's/^/| /' conftest.
$ac_ext >&5
15449 ac_cv_asm_func_def
="unknown"
15452 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15453 conftest
$ac_exeext conftest.
$ac_ext
15456 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15457 conftest
$ac_exeext conftest.
$ac_ext
15460 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15461 conftest
$ac_exeext conftest.
$ac_ext
15463 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15464 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15468 case "$ac_cv_asm_func_def" in
15470 cat >>confdefs.h
<<\_ACEOF
15471 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15475 cat >>confdefs.h
<<\_ACEOF
15476 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15480 cat >>confdefs.h
<<\_ACEOF
15481 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15485 cat >>confdefs.h
<<\_ACEOF
15486 #define __ASM_FUNC(name) ""
15492 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15493 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15494 if test "${ac_cv_c_extern_prefix+set}" = set; then
15495 echo $ECHO_N "(cached) $ECHO_C" >&6
15497 cat >conftest.
$ac_ext <<_ACEOF
15500 cat confdefs.h
>>conftest.
$ac_ext
15501 cat >>conftest.
$ac_ext <<_ACEOF
15502 /* end confdefs.h. */
15503 extern int ac_test;
15507 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15512 rm -f conftest.
$ac_objext conftest
$ac_exeext
15513 if { (ac_try
="$ac_link"
15514 case "(($ac_try" in
15515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15516 *) ac_try_echo=$ac_try;;
15518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15519 (eval "$ac_link") 2>conftest.er1
15521 grep -v '^ *+' conftest.er1 >conftest.err
15523 cat conftest.err >&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } && {
15526 test -z "$ac_c_werror_flag" ||
15527 test ! -s conftest.err
15528 } && test -s conftest$ac_exeext &&
15529 $as_test_x conftest$ac_exeext; then
15530 ac_cv_c_extern_prefix="yes"
15532 echo "$as_me: failed program was:" >&5
15533 sed 's/^/| /' conftest.$ac_ext >&5
15535 ac_cv_c_extern_prefix="no"
15538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15539 conftest$ac_exeext conftest.$ac_ext
15541 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15542 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15546 if test "$ac_cv_c_extern_prefix" = "yes"
15548 cat >>confdefs.h <<\_ACEOF
15549 #define __ASM_NAME(name) "_" name
15553 cat >>confdefs.h <<\_ACEOF
15554 #define __ASM_NAME(name) name
15564 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15568 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15570 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15574 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15582 SOCKETLIBS="-lws2_32"
15587 MAIN_BINARY="wine-pthread"
15591 linux* | k*bsd*-gnu)
15592 MAIN_BINARY="wine-glibc"
15594 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15726 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
15727 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15729 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15730 echo $ECHO_N "(cached) $ECHO_C" >&6
15732 cat >conftest.$ac_ext <<_ACEOF
15735 cat confdefs.h >>conftest.$ac_ext
15736 cat >>conftest.$ac_ext <<_ACEOF
15737 /* end confdefs.h. */
15738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15740 #define $ac_func innocuous_$ac_func
15742 /* System header to define __stub macros and hopefully few prototypes,
15743 which can conflict with char $ac_func (); below.
15744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15745 <limits.h> exists even on freestanding compilers. */
15748 # include <limits.h>
15750 # include <assert.h>
15755 /* Override any GCC internal prototype to avoid an error.
15756 Use char because int might match the return type of a GCC
15757 builtin and then its argument prototype would still apply. */
15762 /* The GNU C library defines this for functions which it implements
15763 to always fail with ENOSYS. Some functions are actually named
15764 something starting with __ and the normal name is an alias. */
15765 #if defined __stub_$ac_func || defined __stub___$ac_func
15772 return $ac_func ();
15777 rm -f conftest.$ac_objext conftest$ac_exeext
15778 if { (ac_try="$ac_link"
15779 case "(($ac_try" in
15780 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15781 *) ac_try_echo
=$ac_try;;
15783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15784 (eval "$ac_link") 2>conftest.er1
15786 grep -v '^ *+' conftest.er1
>conftest.err
15788 cat conftest.err
>&5
15789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15790 (exit $ac_status); } && {
15791 test -z "$ac_c_werror_flag" ||
15792 test ! -s conftest.err
15793 } && test -s conftest
$ac_exeext &&
15794 $as_test_x conftest
$ac_exeext; then
15795 eval "$as_ac_var=yes"
15797 echo "$as_me: failed program was:" >&5
15798 sed 's/^/| /' conftest.
$ac_ext >&5
15800 eval "$as_ac_var=no"
15803 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15804 conftest
$ac_exeext conftest.
$ac_ext
15806 ac_res
=`eval echo '${'$as_ac_var'}'`
15807 { echo "$as_me:$LINENO: result: $ac_res" >&5
15808 echo "${ECHO_T}$ac_res" >&6; }
15809 if test `eval echo '${'$as_ac_var'}'` = yes; then
15810 cat >>confdefs.h
<<_ACEOF
15811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15818 if test "$ac_cv_func_dlopen" = no
15820 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15821 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15822 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15823 echo $ECHO_N "(cached) $ECHO_C" >&6
15825 ac_check_lib_save_LIBS
=$LIBS
15827 cat >conftest.
$ac_ext <<_ACEOF
15830 cat confdefs.h
>>conftest.
$ac_ext
15831 cat >>conftest.
$ac_ext <<_ACEOF
15832 /* end confdefs.h. */
15834 /* Override any GCC internal prototype to avoid an error.
15835 Use char because int might match the return type of a GCC
15836 builtin and then its argument prototype would still apply. */
15849 rm -f conftest.
$ac_objext conftest
$ac_exeext
15850 if { (ac_try
="$ac_link"
15851 case "(($ac_try" in
15852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15853 *) ac_try_echo=$ac_try;;
15855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15856 (eval "$ac_link") 2>conftest.er1
15858 grep -v '^ *+' conftest.er1 >conftest.err
15860 cat conftest.err >&5
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); } && {
15863 test -z "$ac_c_werror_flag" ||
15864 test ! -s conftest.err
15865 } && test -s conftest$ac_exeext &&
15866 $as_test_x conftest$ac_exeext; then
15867 ac_cv_lib_dl_dlopen=yes
15869 echo "$as_me: failed program was:" >&5
15870 sed 's/^/| /' conftest.$ac_ext >&5
15872 ac_cv_lib_dl_dlopen=no
15875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15876 conftest$ac_exeext conftest.$ac_ext
15877 LIBS=$ac_check_lib_save_LIBS
15879 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15880 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15881 if test $ac_cv_lib_dl_dlopen = yes; then
15882 cat >>confdefs.h <<\_ACEOF
15883 #define HAVE_DLOPEN 1
15890 ac_wine_check_funcs_save_LIBS="$LIBS"
15891 LIBS="$LIBS $LIBDL"
15893 for ac_func in dladdr
15895 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
15896 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15898 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15899 echo $ECHO_N "(cached) $ECHO_C" >&6
15901 cat >conftest.$ac_ext <<_ACEOF
15904 cat confdefs.h >>conftest.$ac_ext
15905 cat >>conftest.$ac_ext <<_ACEOF
15906 /* end confdefs.h. */
15907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15909 #define $ac_func innocuous_$ac_func
15911 /* System header to define __stub macros and hopefully few prototypes,
15912 which can conflict with char $ac_func (); below.
15913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15914 <limits.h> exists even on freestanding compilers. */
15917 # include <limits.h>
15919 # include <assert.h>
15924 /* Override any GCC internal prototype to avoid an error.
15925 Use char because int might match the return type of a GCC
15926 builtin and then its argument prototype would still apply. */
15931 /* The GNU C library defines this for functions which it implements
15932 to always fail with ENOSYS. Some functions are actually named
15933 something starting with __ and the normal name is an alias. */
15934 #if defined __stub_$ac_func || defined __stub___$ac_func
15941 return $ac_func ();
15946 rm -f conftest.$ac_objext conftest$ac_exeext
15947 if { (ac_try="$ac_link"
15948 case "(($ac_try" in
15949 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15950 *) ac_try_echo
=$ac_try;;
15952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15953 (eval "$ac_link") 2>conftest.er1
15955 grep -v '^ *+' conftest.er1
>conftest.err
15957 cat conftest.err
>&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); } && {
15960 test -z "$ac_c_werror_flag" ||
15961 test ! -s conftest.err
15962 } && test -s conftest
$ac_exeext &&
15963 $as_test_x conftest
$ac_exeext; then
15964 eval "$as_ac_var=yes"
15966 echo "$as_me: failed program was:" >&5
15967 sed 's/^/| /' conftest.
$ac_ext >&5
15969 eval "$as_ac_var=no"
15972 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15973 conftest
$ac_exeext conftest.
$ac_ext
15975 ac_res
=`eval echo '${'$as_ac_var'}'`
15976 { echo "$as_me:$LINENO: result: $ac_res" >&5
15977 echo "${ECHO_T}$ac_res" >&6; }
15978 if test `eval echo '${'$as_ac_var'}'` = yes; then
15979 cat >>confdefs.h
<<_ACEOF
15980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15986 LIBS
="$ac_wine_check_funcs_save_LIBS"
15988 if test "$ac_cv_func_poll" = no
15990 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
15991 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
15992 if test "${ac_cv_lib_poll_poll+set}" = set; then
15993 echo $ECHO_N "(cached) $ECHO_C" >&6
15995 ac_check_lib_save_LIBS
=$LIBS
15996 LIBS
="-lpoll $LIBS"
15997 cat >conftest.
$ac_ext <<_ACEOF
16000 cat confdefs.h
>>conftest.
$ac_ext
16001 cat >>conftest.
$ac_ext <<_ACEOF
16002 /* end confdefs.h. */
16004 /* Override any GCC internal prototype to avoid an error.
16005 Use char because int might match the return type of a GCC
16006 builtin and then its argument prototype would still apply. */
16019 rm -f conftest.
$ac_objext conftest
$ac_exeext
16020 if { (ac_try
="$ac_link"
16021 case "(($ac_try" in
16022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16023 *) ac_try_echo=$ac_try;;
16025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16026 (eval "$ac_link") 2>conftest.er1
16028 grep -v '^ *+' conftest.er1 >conftest.err
16030 cat conftest.err >&5
16031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032 (exit $ac_status); } && {
16033 test -z "$ac_c_werror_flag" ||
16034 test ! -s conftest.err
16035 } && test -s conftest$ac_exeext &&
16036 $as_test_x conftest$ac_exeext; then
16037 ac_cv_lib_poll_poll=yes
16039 echo "$as_me: failed program was:" >&5
16040 sed 's/^/| /' conftest.$ac_ext >&5
16042 ac_cv_lib_poll_poll=no
16045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16046 conftest$ac_exeext conftest.$ac_ext
16047 LIBS=$ac_check_lib_save_LIBS
16049 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16050 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16051 if test $ac_cv_lib_poll_poll = yes; then
16052 cat >>confdefs.h <<\_ACEOF
16053 #define HAVE_POLL 1
16061 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16062 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16063 if test "${ac_cv_search_gethostbyname+set}" = set; then
16064 echo $ECHO_N "(cached) $ECHO_C" >&6
16066 ac_func_search_save_LIBS=$LIBS
16067 cat >conftest.$ac_ext <<_ACEOF
16070 cat confdefs.h >>conftest.$ac_ext
16071 cat >>conftest.$ac_ext <<_ACEOF
16072 /* end confdefs.h. */
16074 /* Override any GCC internal prototype to avoid an error.
16075 Use char because int might match the return type of a GCC
16076 builtin and then its argument prototype would still apply. */
16080 char gethostbyname ();
16084 return gethostbyname ();
16089 for ac_lib in '' nsl; do
16090 if test -z "$ac_lib"; then
16091 ac_res="none required"
16094 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16096 rm -f conftest.$ac_objext conftest$ac_exeext
16097 if { (ac_try="$ac_link"
16098 case "(($ac_try" in
16099 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16100 *) ac_try_echo
=$ac_try;;
16102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16103 (eval "$ac_link") 2>conftest.er1
16105 grep -v '^ *+' conftest.er1
>conftest.err
16107 cat conftest.err
>&5
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); } && {
16110 test -z "$ac_c_werror_flag" ||
16111 test ! -s conftest.err
16112 } && test -s conftest
$ac_exeext &&
16113 $as_test_x conftest
$ac_exeext; then
16114 ac_cv_search_gethostbyname
=$ac_res
16116 echo "$as_me: failed program was:" >&5
16117 sed 's/^/| /' conftest.
$ac_ext >&5
16122 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16124 if test "${ac_cv_search_gethostbyname+set}" = set; then
16128 if test "${ac_cv_search_gethostbyname+set}" = set; then
16131 ac_cv_search_gethostbyname
=no
16133 rm conftest.
$ac_ext
16134 LIBS
=$ac_func_search_save_LIBS
16136 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16137 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16138 ac_res
=$ac_cv_search_gethostbyname
16139 if test "$ac_res" != no
; then
16140 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16145 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16146 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16147 if test "${ac_cv_search_connect+set}" = set; then
16148 echo $ECHO_N "(cached) $ECHO_C" >&6
16150 ac_func_search_save_LIBS
=$LIBS
16151 cat >conftest.
$ac_ext <<_ACEOF
16154 cat confdefs.h
>>conftest.
$ac_ext
16155 cat >>conftest.
$ac_ext <<_ACEOF
16156 /* end confdefs.h. */
16158 /* Override any GCC internal prototype to avoid an error.
16159 Use char because int might match the return type of a GCC
16160 builtin and then its argument prototype would still apply. */
16173 for ac_lib
in '' socket
; do
16174 if test -z "$ac_lib"; then
16175 ac_res
="none required"
16178 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16180 rm -f conftest.
$ac_objext conftest
$ac_exeext
16181 if { (ac_try
="$ac_link"
16182 case "(($ac_try" in
16183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16184 *) ac_try_echo=$ac_try;;
16186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16187 (eval "$ac_link") 2>conftest.er1
16189 grep -v '^ *+' conftest.er1 >conftest.err
16191 cat conftest.err >&5
16192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193 (exit $ac_status); } && {
16194 test -z "$ac_c_werror_flag" ||
16195 test ! -s conftest.err
16196 } && test -s conftest$ac_exeext &&
16197 $as_test_x conftest$ac_exeext; then
16198 ac_cv_search_connect=$ac_res
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.$ac_ext >&5
16206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16208 if test "${ac_cv_search_connect+set}" = set; then
16212 if test "${ac_cv_search_connect+set}" = set; then
16215 ac_cv_search_connect=no
16217 rm conftest.$ac_ext
16218 LIBS=$ac_func_search_save_LIBS
16220 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16221 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16222 ac_res=$ac_cv_search_connect
16223 if test "$ac_res" != no; then
16224 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16229 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16230 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16231 if test "${ac_cv_search_inet_aton+set}" = set; then
16232 echo $ECHO_N "(cached) $ECHO_C" >&6
16234 ac_func_search_save_LIBS=$LIBS
16235 cat >conftest.$ac_ext <<_ACEOF
16238 cat confdefs.h >>conftest.$ac_ext
16239 cat >>conftest.$ac_ext <<_ACEOF
16240 /* end confdefs.h. */
16242 /* Override any GCC internal prototype to avoid an error.
16243 Use char because int might match the return type of a GCC
16244 builtin and then its argument prototype would still apply. */
16252 return inet_aton ();
16257 for ac_lib in '' resolv; do
16258 if test -z "$ac_lib"; then
16259 ac_res="none required"
16262 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16264 rm -f conftest.$ac_objext conftest$ac_exeext
16265 if { (ac_try="$ac_link"
16266 case "(($ac_try" in
16267 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16268 *) ac_try_echo
=$ac_try;;
16270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16271 (eval "$ac_link") 2>conftest.er1
16273 grep -v '^ *+' conftest.er1
>conftest.err
16275 cat conftest.err
>&5
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); } && {
16278 test -z "$ac_c_werror_flag" ||
16279 test ! -s conftest.err
16280 } && test -s conftest
$ac_exeext &&
16281 $as_test_x conftest
$ac_exeext; then
16282 ac_cv_search_inet_aton
=$ac_res
16284 echo "$as_me: failed program was:" >&5
16285 sed 's/^/| /' conftest.
$ac_ext >&5
16290 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16292 if test "${ac_cv_search_inet_aton+set}" = set; then
16296 if test "${ac_cv_search_inet_aton+set}" = set; then
16299 ac_cv_search_inet_aton
=no
16301 rm conftest.
$ac_ext
16302 LIBS
=$ac_func_search_save_LIBS
16304 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16305 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16306 ac_res
=$ac_cv_search_inet_aton
16307 if test "$ac_res" != no
; then
16308 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16332 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16333 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16335 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16336 echo $ECHO_N "(cached) $ECHO_C" >&6
16338 cat >conftest.
$ac_ext <<_ACEOF
16341 cat confdefs.h
>>conftest.
$ac_ext
16342 cat >>conftest.
$ac_ext <<_ACEOF
16343 /* end confdefs.h. */
16344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16346 #define $ac_func innocuous_$ac_func
16348 /* System header to define __stub macros and hopefully few prototypes,
16349 which can conflict with char $ac_func (); below.
16350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16351 <limits.h> exists even on freestanding compilers. */
16354 # include <limits.h>
16356 # include <assert.h>
16361 /* Override any GCC internal prototype to avoid an error.
16362 Use char because int might match the return type of a GCC
16363 builtin and then its argument prototype would still apply. */
16368 /* The GNU C library defines this for functions which it implements
16369 to always fail with ENOSYS. Some functions are actually named
16370 something starting with __ and the normal name is an alias. */
16371 #if defined __stub_$ac_func || defined __stub___$ac_func
16378 return $ac_func ();
16383 rm -f conftest.
$ac_objext conftest
$ac_exeext
16384 if { (ac_try
="$ac_link"
16385 case "(($ac_try" in
16386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16387 *) ac_try_echo=$ac_try;;
16389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16390 (eval "$ac_link") 2>conftest.er1
16392 grep -v '^ *+' conftest.er1 >conftest.err
16394 cat conftest.err >&5
16395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396 (exit $ac_status); } && {
16397 test -z "$ac_c_werror_flag" ||
16398 test ! -s conftest.err
16399 } && test -s conftest$ac_exeext &&
16400 $as_test_x conftest$ac_exeext; then
16401 eval "$as_ac_var=yes"
16403 echo "$as_me: failed program was:" >&5
16404 sed 's/^/| /' conftest.$ac_ext >&5
16406 eval "$as_ac_var=no"
16409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16410 conftest$ac_exeext conftest.$ac_ext
16412 ac_res=`eval echo '${'$as_ac_var'}'`
16413 { echo "$as_me:$LINENO: result: $ac_res" >&5
16414 echo "${ECHO_T}$ac_res" >&6; }
16415 if test `eval echo '${'$as_ac_var'}'` = yes; then
16416 cat >>confdefs.h <<_ACEOF
16417 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16425 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16426 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16427 if test "${ac_cv_c_const+set}" = set; then
16428 echo $ECHO_N "(cached) $ECHO_C" >&6
16430 cat >conftest.$ac_ext <<_ACEOF
16433 cat confdefs.h >>conftest.$ac_ext
16434 cat >>conftest.$ac_ext <<_ACEOF
16435 /* end confdefs.h. */
16440 /* FIXME: Include the comments suggested by Paul. */
16441 #ifndef __cplusplus
16442 /* Ultrix mips cc rejects this. */
16443 typedef int charset[2];
16445 /* SunOS 4.1.1 cc rejects this. */
16446 char const *const *pcpcc;
16448 /* NEC SVR4.0.2 mips cc rejects this. */
16449 struct point {int x, y;};
16450 static struct point const zero = {0,0};
16451 /* AIX XL C 1.02.0.0 rejects this.
16452 It does not let you subtract one const X* pointer from another in
16453 an arm of an if-expression whose if-part is not a constant
16455 const char *g = "string";
16456 pcpcc = &g + (g ? g-g : 0);
16457 /* HPUX 7.0 cc rejects these. */
16459 ppc = (char**) pcpcc;
16460 pcpcc = (char const *const *) ppc;
16461 { /* SCO 3.2v4 cc rejects this. */
16463 char const *s = 0 ? (char *) 0 : (char const *) 0;
16468 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16469 int x[] = {25, 17};
16470 const int *foo = &x[0];
16473 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16474 typedef const int *iptr;
16478 { /* AIX XL C 1.02.0.0 rejects this saying
16479 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16480 struct s { int j; const int *ap[3]; };
16481 struct s *b; b->j = 5;
16483 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16484 const int foo = 10;
16485 if (!foo) return 0;
16487 return !cs[0] && !zero.x;
16494 rm -f conftest.$ac_objext
16495 if { (ac_try="$ac_compile"
16496 case "(($ac_try" in
16497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16498 *) ac_try_echo
=$ac_try;;
16500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16501 (eval "$ac_compile") 2>conftest.er1
16503 grep -v '^ *+' conftest.er1
>conftest.err
16505 cat conftest.err
>&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); } && {
16508 test -z "$ac_c_werror_flag" ||
16509 test ! -s conftest.err
16510 } && test -s conftest.
$ac_objext; then
16513 echo "$as_me: failed program was:" >&5
16514 sed 's/^/| /' conftest.
$ac_ext >&5
16519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16521 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16522 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16523 if test $ac_cv_c_const = no
; then
16525 cat >>confdefs.h
<<\_ACEOF
16531 { echo "$as_me:$LINENO: checking for inline" >&5
16532 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16533 if test "${ac_cv_c_inline+set}" = set; then
16534 echo $ECHO_N "(cached) $ECHO_C" >&6
16537 for ac_kw
in inline __inline__ __inline
; do
16538 cat >conftest.
$ac_ext <<_ACEOF
16541 cat confdefs.h
>>conftest.
$ac_ext
16542 cat >>conftest.
$ac_ext <<_ACEOF
16543 /* end confdefs.h. */
16544 #ifndef __cplusplus
16546 static $ac_kw foo_t static_foo () {return 0; }
16547 $ac_kw foo_t foo () {return 0; }
16551 rm -f conftest.
$ac_objext
16552 if { (ac_try
="$ac_compile"
16553 case "(($ac_try" in
16554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16555 *) ac_try_echo=$ac_try;;
16557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16558 (eval "$ac_compile") 2>conftest.er1
16560 grep -v '^ *+' conftest.er1 >conftest.err
16562 cat conftest.err >&5
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); } && {
16565 test -z "$ac_c_werror_flag" ||
16566 test ! -s conftest.err
16567 } && test -s conftest.$ac_objext; then
16568 ac_cv_c_inline=$ac_kw
16570 echo "$as_me: failed program was:" >&5
16571 sed 's/^/| /' conftest.$ac_ext >&5
16576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16577 test "$ac_cv_c_inline" != no && break
16581 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16582 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16585 case $ac_cv_c_inline in
16588 case $ac_cv_c_inline in
16590 *) ac_val=$ac_cv_c_inline;;
16592 cat >>confdefs.h <<_ACEOF
16593 #ifndef __cplusplus
16594 #define inline $ac_val
16600 { echo "$as_me:$LINENO: checking for mode_t" >&5
16601 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16602 if test "${ac_cv_type_mode_t+set}" = set; then
16603 echo $ECHO_N "(cached) $ECHO_C" >&6
16605 cat >conftest.$ac_ext <<_ACEOF
16608 cat confdefs.h >>conftest.$ac_ext
16609 cat >>conftest.$ac_ext <<_ACEOF
16610 /* end confdefs.h. */
16611 $ac_includes_default
16612 typedef mode_t ac__type_new_;
16616 if ((ac__type_new_ *) 0)
16618 if (sizeof (ac__type_new_))
16624 rm -f conftest.$ac_objext
16625 if { (ac_try="$ac_compile"
16626 case "(($ac_try" in
16627 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16628 *) ac_try_echo
=$ac_try;;
16630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16631 (eval "$ac_compile") 2>conftest.er1
16633 grep -v '^ *+' conftest.er1
>conftest.err
16635 cat conftest.err
>&5
16636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637 (exit $ac_status); } && {
16638 test -z "$ac_c_werror_flag" ||
16639 test ! -s conftest.err
16640 } && test -s conftest.
$ac_objext; then
16641 ac_cv_type_mode_t
=yes
16643 echo "$as_me: failed program was:" >&5
16644 sed 's/^/| /' conftest.
$ac_ext >&5
16646 ac_cv_type_mode_t
=no
16649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16651 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16652 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16653 if test $ac_cv_type_mode_t = yes; then
16655 cat >>confdefs.h
<<_ACEOF
16656 #define HAVE_MODE_T 1
16661 { echo "$as_me:$LINENO: checking for off_t" >&5
16662 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16663 if test "${ac_cv_type_off_t+set}" = set; then
16664 echo $ECHO_N "(cached) $ECHO_C" >&6
16666 cat >conftest.
$ac_ext <<_ACEOF
16669 cat confdefs.h
>>conftest.
$ac_ext
16670 cat >>conftest.
$ac_ext <<_ACEOF
16671 /* end confdefs.h. */
16672 $ac_includes_default
16673 typedef off_t ac__type_new_;
16677 if ((ac__type_new_ *) 0)
16679 if (sizeof (ac__type_new_))
16685 rm -f conftest.
$ac_objext
16686 if { (ac_try
="$ac_compile"
16687 case "(($ac_try" in
16688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16689 *) ac_try_echo=$ac_try;;
16691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16692 (eval "$ac_compile") 2>conftest.er1
16694 grep -v '^ *+' conftest.er1 >conftest.err
16696 cat conftest.err >&5
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); } && {
16699 test -z "$ac_c_werror_flag" ||
16700 test ! -s conftest.err
16701 } && test -s conftest.$ac_objext; then
16702 ac_cv_type_off_t=yes
16704 echo "$as_me: failed program was:" >&5
16705 sed 's/^/| /' conftest.$ac_ext >&5
16707 ac_cv_type_off_t=no
16710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16712 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16713 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16714 if test $ac_cv_type_off_t = yes; then
16716 cat >>confdefs.h <<_ACEOF
16717 #define HAVE_OFF_T 1
16722 { echo "$as_me:$LINENO: checking for pid_t" >&5
16723 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16724 if test "${ac_cv_type_pid_t+set}" = set; then
16725 echo $ECHO_N "(cached) $ECHO_C" >&6
16727 cat >conftest.$ac_ext <<_ACEOF
16730 cat confdefs.h >>conftest.$ac_ext
16731 cat >>conftest.$ac_ext <<_ACEOF
16732 /* end confdefs.h. */
16733 $ac_includes_default
16734 typedef pid_t ac__type_new_;
16738 if ((ac__type_new_ *) 0)
16740 if (sizeof (ac__type_new_))
16746 rm -f conftest.$ac_objext
16747 if { (ac_try="$ac_compile"
16748 case "(($ac_try" in
16749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16750 *) ac_try_echo
=$ac_try;;
16752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16753 (eval "$ac_compile") 2>conftest.er1
16755 grep -v '^ *+' conftest.er1
>conftest.err
16757 cat conftest.err
>&5
16758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16759 (exit $ac_status); } && {
16760 test -z "$ac_c_werror_flag" ||
16761 test ! -s conftest.err
16762 } && test -s conftest.
$ac_objext; then
16763 ac_cv_type_pid_t
=yes
16765 echo "$as_me: failed program was:" >&5
16766 sed 's/^/| /' conftest.
$ac_ext >&5
16768 ac_cv_type_pid_t
=no
16771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16773 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16774 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16775 if test $ac_cv_type_pid_t = yes; then
16777 cat >>confdefs.h
<<_ACEOF
16778 #define HAVE_PID_T 1
16783 { echo "$as_me:$LINENO: checking for size_t" >&5
16784 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16785 if test "${ac_cv_type_size_t+set}" = set; then
16786 echo $ECHO_N "(cached) $ECHO_C" >&6
16788 cat >conftest.
$ac_ext <<_ACEOF
16791 cat confdefs.h
>>conftest.
$ac_ext
16792 cat >>conftest.
$ac_ext <<_ACEOF
16793 /* end confdefs.h. */
16794 $ac_includes_default
16795 typedef size_t ac__type_new_;
16799 if ((ac__type_new_ *) 0)
16801 if (sizeof (ac__type_new_))
16807 rm -f conftest.
$ac_objext
16808 if { (ac_try
="$ac_compile"
16809 case "(($ac_try" in
16810 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16811 *) ac_try_echo=$ac_try;;
16813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16814 (eval "$ac_compile") 2>conftest.er1
16816 grep -v '^ *+' conftest.er1 >conftest.err
16818 cat conftest.err >&5
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); } && {
16821 test -z "$ac_c_werror_flag" ||
16822 test ! -s conftest.err
16823 } && test -s conftest.$ac_objext; then
16824 ac_cv_type_size_t=yes
16826 echo "$as_me: failed program was:" >&5
16827 sed 's/^/| /' conftest.$ac_ext >&5
16829 ac_cv_type_size_t=no
16832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16834 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16835 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16836 if test $ac_cv_type_size_t = yes; then
16838 cat >>confdefs.h <<_ACEOF
16839 #define HAVE_SIZE_T 1
16844 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16845 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16846 if test "${ac_cv_type_ssize_t+set}" = set; then
16847 echo $ECHO_N "(cached) $ECHO_C" >&6
16849 cat >conftest.$ac_ext <<_ACEOF
16852 cat confdefs.h >>conftest.$ac_ext
16853 cat >>conftest.$ac_ext <<_ACEOF
16854 /* end confdefs.h. */
16855 $ac_includes_default
16856 typedef ssize_t ac__type_new_;
16860 if ((ac__type_new_ *) 0)
16862 if (sizeof (ac__type_new_))
16868 rm -f conftest.$ac_objext
16869 if { (ac_try="$ac_compile"
16870 case "(($ac_try" in
16871 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16872 *) ac_try_echo
=$ac_try;;
16874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16875 (eval "$ac_compile") 2>conftest.er1
16877 grep -v '^ *+' conftest.er1
>conftest.err
16879 cat conftest.err
>&5
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); } && {
16882 test -z "$ac_c_werror_flag" ||
16883 test ! -s conftest.err
16884 } && test -s conftest.
$ac_objext; then
16885 ac_cv_type_ssize_t
=yes
16887 echo "$as_me: failed program was:" >&5
16888 sed 's/^/| /' conftest.
$ac_ext >&5
16890 ac_cv_type_ssize_t
=no
16893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16895 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16896 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16897 if test $ac_cv_type_ssize_t = yes; then
16899 cat >>confdefs.h
<<_ACEOF
16900 #define HAVE_SSIZE_T 1
16905 { echo "$as_me:$LINENO: checking for long long" >&5
16906 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16907 if test "${ac_cv_type_long_long+set}" = set; then
16908 echo $ECHO_N "(cached) $ECHO_C" >&6
16910 cat >conftest.
$ac_ext <<_ACEOF
16913 cat confdefs.h
>>conftest.
$ac_ext
16914 cat >>conftest.
$ac_ext <<_ACEOF
16915 /* end confdefs.h. */
16916 $ac_includes_default
16917 typedef long long ac__type_new_;
16921 if ((ac__type_new_ *) 0)
16923 if (sizeof (ac__type_new_))
16929 rm -f conftest.
$ac_objext
16930 if { (ac_try
="$ac_compile"
16931 case "(($ac_try" in
16932 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16933 *) ac_try_echo=$ac_try;;
16935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16936 (eval "$ac_compile") 2>conftest.er1
16938 grep -v '^ *+' conftest.er1 >conftest.err
16940 cat conftest.err >&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); } && {
16943 test -z "$ac_c_werror_flag" ||
16944 test ! -s conftest.err
16945 } && test -s conftest.$ac_objext; then
16946 ac_cv_type_long_long=yes
16948 echo "$as_me: failed program was:" >&5
16949 sed 's/^/| /' conftest.$ac_ext >&5
16951 ac_cv_type_long_long=no
16954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16956 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16957 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16958 if test $ac_cv_type_long_long = yes; then
16960 cat >>confdefs.h <<_ACEOF
16961 #define HAVE_LONG_LONG 1
16966 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
16967 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
16968 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
16969 echo $ECHO_N "(cached) $ECHO_C" >&6
16971 cat >conftest.$ac_ext <<_ACEOF
16974 cat confdefs.h >>conftest.$ac_ext
16975 cat >>conftest.$ac_ext <<_ACEOF
16976 /* end confdefs.h. */
16977 $ac_includes_default
16978 typedef fsblkcnt_t ac__type_new_;
16982 if ((ac__type_new_ *) 0)
16984 if (sizeof (ac__type_new_))
16990 rm -f conftest.$ac_objext
16991 if { (ac_try="$ac_compile"
16992 case "(($ac_try" in
16993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16994 *) ac_try_echo
=$ac_try;;
16996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16997 (eval "$ac_compile") 2>conftest.er1
16999 grep -v '^ *+' conftest.er1
>conftest.err
17001 cat conftest.err
>&5
17002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003 (exit $ac_status); } && {
17004 test -z "$ac_c_werror_flag" ||
17005 test ! -s conftest.err
17006 } && test -s conftest.
$ac_objext; then
17007 ac_cv_type_fsblkcnt_t
=yes
17009 echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.
$ac_ext >&5
17012 ac_cv_type_fsblkcnt_t
=no
17015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17017 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17018 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17019 if test $ac_cv_type_fsblkcnt_t = yes; then
17021 cat >>confdefs.h
<<_ACEOF
17022 #define HAVE_FSBLKCNT_T 1
17027 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17028 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17029 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17030 echo $ECHO_N "(cached) $ECHO_C" >&6
17032 cat >conftest.
$ac_ext <<_ACEOF
17035 cat confdefs.h
>>conftest.
$ac_ext
17036 cat >>conftest.
$ac_ext <<_ACEOF
17037 /* end confdefs.h. */
17038 $ac_includes_default
17039 typedef fsfilcnt_t ac__type_new_;
17043 if ((ac__type_new_ *) 0)
17045 if (sizeof (ac__type_new_))
17051 rm -f conftest.
$ac_objext
17052 if { (ac_try
="$ac_compile"
17053 case "(($ac_try" in
17054 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17055 *) ac_try_echo=$ac_try;;
17057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17058 (eval "$ac_compile") 2>conftest.er1
17060 grep -v '^ *+' conftest.er1 >conftest.err
17062 cat conftest.err >&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); } && {
17065 test -z "$ac_c_werror_flag" ||
17066 test ! -s conftest.err
17067 } && test -s conftest.$ac_objext; then
17068 ac_cv_type_fsfilcnt_t=yes
17070 echo "$as_me: failed program was:" >&5
17071 sed 's/^/| /' conftest.$ac_ext >&5
17073 ac_cv_type_fsfilcnt_t=no
17076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17078 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17079 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17080 if test $ac_cv_type_fsfilcnt_t = yes; then
17082 cat >>confdefs.h <<_ACEOF
17083 #define HAVE_FSFILCNT_T 1
17089 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17090 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17091 if test "${ac_cv_type_sigset_t+set}" = set; then
17092 echo $ECHO_N "(cached) $ECHO_C" >&6
17094 cat >conftest.$ac_ext <<_ACEOF
17097 cat confdefs.h >>conftest.$ac_ext
17098 cat >>conftest.$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17100 #include <signal.h>
17102 typedef sigset_t ac__type_new_;
17106 if ((ac__type_new_ *) 0)
17108 if (sizeof (ac__type_new_))
17114 rm -f conftest.$ac_objext
17115 if { (ac_try="$ac_compile"
17116 case "(($ac_try" in
17117 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17118 *) ac_try_echo
=$ac_try;;
17120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17121 (eval "$ac_compile") 2>conftest.er1
17123 grep -v '^ *+' conftest.er1
>conftest.err
17125 cat conftest.err
>&5
17126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17127 (exit $ac_status); } && {
17128 test -z "$ac_c_werror_flag" ||
17129 test ! -s conftest.err
17130 } && test -s conftest.
$ac_objext; then
17131 ac_cv_type_sigset_t
=yes
17133 echo "$as_me: failed program was:" >&5
17134 sed 's/^/| /' conftest.
$ac_ext >&5
17136 ac_cv_type_sigset_t
=no
17139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17141 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17142 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17143 if test $ac_cv_type_sigset_t = yes; then
17145 cat >>confdefs.h
<<_ACEOF
17146 #define HAVE_SIGSET_T 1
17152 { echo "$as_me:$LINENO: checking for request_sense" >&5
17153 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17154 if test "${ac_cv_type_request_sense+set}" = set; then
17155 echo $ECHO_N "(cached) $ECHO_C" >&6
17157 cat >conftest.
$ac_ext <<_ACEOF
17160 cat confdefs.h
>>conftest.
$ac_ext
17161 cat >>conftest.
$ac_ext <<_ACEOF
17162 /* end confdefs.h. */
17163 #include <linux/cdrom.h>
17165 typedef request_sense ac__type_new_;
17169 if ((ac__type_new_ *) 0)
17171 if (sizeof (ac__type_new_))
17177 rm -f conftest.
$ac_objext
17178 if { (ac_try
="$ac_compile"
17179 case "(($ac_try" in
17180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17181 *) ac_try_echo=$ac_try;;
17183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17184 (eval "$ac_compile") 2>conftest.er1
17186 grep -v '^ *+' conftest.er1 >conftest.err
17188 cat conftest.err >&5
17189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17190 (exit $ac_status); } && {
17191 test -z "$ac_c_werror_flag" ||
17192 test ! -s conftest.err
17193 } && test -s conftest.$ac_objext; then
17194 ac_cv_type_request_sense=yes
17196 echo "$as_me: failed program was:" >&5
17197 sed 's/^/| /' conftest.$ac_ext >&5
17199 ac_cv_type_request_sense=no
17202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17204 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17205 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17206 if test $ac_cv_type_request_sense = yes; then
17208 cat >>confdefs.h <<_ACEOF
17209 #define HAVE_REQUEST_SENSE 1
17216 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17217 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17218 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17219 echo $ECHO_N "(cached) $ECHO_C" >&6
17221 cat >conftest.$ac_ext <<_ACEOF
17224 cat confdefs.h >>conftest.$ac_ext
17225 cat >>conftest.$ac_ext <<_ACEOF
17226 /* end confdefs.h. */
17227 #ifdef HAVE_LINUX_INPUT_H
17228 #include <linux/input.h>
17234 static struct ff_effect ac_aggr;
17235 if (ac_aggr.direction)
17241 rm -f conftest.$ac_objext
17242 if { (ac_try="$ac_compile"
17243 case "(($ac_try" in
17244 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17245 *) ac_try_echo
=$ac_try;;
17247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17248 (eval "$ac_compile") 2>conftest.er1
17250 grep -v '^ *+' conftest.er1
>conftest.err
17252 cat conftest.err
>&5
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); } && {
17255 test -z "$ac_c_werror_flag" ||
17256 test ! -s conftest.err
17257 } && test -s conftest.
$ac_objext; then
17258 ac_cv_member_struct_ff_effect_direction
=yes
17260 echo "$as_me: failed program was:" >&5
17261 sed 's/^/| /' conftest.
$ac_ext >&5
17263 cat >conftest.
$ac_ext <<_ACEOF
17266 cat confdefs.h
>>conftest.
$ac_ext
17267 cat >>conftest.
$ac_ext <<_ACEOF
17268 /* end confdefs.h. */
17269 #ifdef HAVE_LINUX_INPUT_H
17270 #include <linux/input.h>
17276 static struct ff_effect ac_aggr;
17277 if (sizeof ac_aggr.direction)
17283 rm -f conftest.
$ac_objext
17284 if { (ac_try
="$ac_compile"
17285 case "(($ac_try" in
17286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17287 *) ac_try_echo=$ac_try;;
17289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17290 (eval "$ac_compile") 2>conftest.er1
17292 grep -v '^ *+' conftest.er1 >conftest.err
17294 cat conftest.err >&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); } && {
17297 test -z "$ac_c_werror_flag" ||
17298 test ! -s conftest.err
17299 } && test -s conftest.$ac_objext; then
17300 ac_cv_member_struct_ff_effect_direction=yes
17302 echo "$as_me: failed program was:" >&5
17303 sed 's/^/| /' conftest.$ac_ext >&5
17305 ac_cv_member_struct_ff_effect_direction=no
17308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17313 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17314 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17315 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17317 cat >>confdefs.h <<_ACEOF
17318 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17325 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17326 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17327 if test "${wine_cv_have_sigaddset+set}" = set; then
17328 echo $ECHO_N "(cached) $ECHO_C" >&6
17330 cat >conftest.$ac_ext <<_ACEOF
17333 cat confdefs.h >>conftest.$ac_ext
17334 cat >>conftest.$ac_ext <<_ACEOF
17335 /* end confdefs.h. */
17336 #include <signal.h>
17340 sigset_t set; sigaddset(&set,SIGTERM);
17345 rm -f conftest.$ac_objext conftest$ac_exeext
17346 if { (ac_try="$ac_link"
17347 case "(($ac_try" in
17348 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17349 *) ac_try_echo
=$ac_try;;
17351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17352 (eval "$ac_link") 2>conftest.er1
17354 grep -v '^ *+' conftest.er1
>conftest.err
17356 cat conftest.err
>&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); } && {
17359 test -z "$ac_c_werror_flag" ||
17360 test ! -s conftest.err
17361 } && test -s conftest
$ac_exeext &&
17362 $as_test_x conftest
$ac_exeext; then
17363 wine_cv_have_sigaddset
=yes
17365 echo "$as_me: failed program was:" >&5
17366 sed 's/^/| /' conftest.
$ac_ext >&5
17368 wine_cv_have_sigaddset
=no
17371 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17372 conftest
$ac_exeext conftest.
$ac_ext
17374 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17375 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17376 if test "$wine_cv_have_sigaddset" = "yes"
17379 cat >>confdefs.h
<<\_ACEOF
17380 #define HAVE_SIGADDSET 1
17386 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17387 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17388 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17389 echo $ECHO_N "(cached) $ECHO_C" >&6
17391 cat >conftest.
$ac_ext <<_ACEOF
17394 cat confdefs.h
>>conftest.
$ac_ext
17395 cat >>conftest.
$ac_ext <<_ACEOF
17396 /* end confdefs.h. */
17404 struct hostent *result;
17411 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17412 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17418 rm -f conftest.
$ac_objext conftest
$ac_exeext
17419 if { (ac_try
="$ac_link"
17420 case "(($ac_try" in
17421 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17422 *) ac_try_echo=$ac_try;;
17424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17425 (eval "$ac_link") 2>conftest.er1
17427 grep -v '^ *+' conftest.er1 >conftest.err
17429 cat conftest.err >&5
17430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17431 (exit $ac_status); } && {
17432 test -z "$ac_c_werror_flag" ||
17433 test ! -s conftest.err
17434 } && test -s conftest$ac_exeext &&
17435 $as_test_x conftest$ac_exeext; then
17436 wine_cv_linux_gethostbyname_r_6=yes
17438 echo "$as_me: failed program was:" >&5
17439 sed 's/^/| /' conftest.$ac_ext >&5
17441 wine_cv_linux_gethostbyname_r_6=no
17445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17446 conftest$ac_exeext conftest.$ac_ext
17449 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17450 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17451 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17454 cat >>confdefs.h <<\_ACEOF
17455 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17460 if test "$ac_cv_header_linux_joystick_h" = "yes"
17462 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17463 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17464 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17465 echo $ECHO_N "(cached) $ECHO_C" >&6
17467 cat >conftest.$ac_ext <<_ACEOF
17470 cat confdefs.h >>conftest.$ac_ext
17471 cat >>conftest.$ac_ext <<_ACEOF
17472 /* end confdefs.h. */
17474 #include <sys/ioctl.h>
17475 #include <sys/types.h>
17476 #include <linux/joystick.h>
17478 struct js_event blub;
17479 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17480 #error "no 2.2 header"
17491 rm -f conftest.$ac_objext
17492 if { (ac_try="$ac_compile"
17493 case "(($ac_try" in
17494 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17495 *) ac_try_echo
=$ac_try;;
17497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17498 (eval "$ac_compile") 2>conftest.er1
17500 grep -v '^ *+' conftest.er1
>conftest.err
17502 cat conftest.err
>&5
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); } && {
17505 test -z "$ac_c_werror_flag" ||
17506 test ! -s conftest.err
17507 } && test -s conftest.
$ac_objext; then
17508 wine_cv_linux_joystick_22_api
=yes
17510 echo "$as_me: failed program was:" >&5
17511 sed 's/^/| /' conftest.
$ac_ext >&5
17513 wine_cv_linux_joystick_22_api
=no
17516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17519 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17520 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17521 if test "$wine_cv_linux_joystick_22_api" = "yes"
17524 cat >>confdefs.h
<<\_ACEOF
17525 #define HAVE_LINUX_22_JOYSTICK_API 1
17532 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17533 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17534 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17535 echo $ECHO_N "(cached) $ECHO_C" >&6
17537 cat >conftest.
$ac_ext <<_ACEOF
17540 cat confdefs.h
>>conftest.
$ac_ext
17541 cat >>conftest.
$ac_ext <<_ACEOF
17542 /* end confdefs.h. */
17543 #include <sys/types.h>
17544 #ifdef HAVE_SYS_PARAM_H
17545 # include <sys/param.h>
17547 #ifdef HAVE_SYS_MOUNT_H
17548 # include <sys/mount.h>
17550 #ifdef HAVE_SYS_VFS_H
17551 # include <sys/vfs.h>
17553 #ifdef HAVE_SYS_STATFS_H
17554 # include <sys/statfs.h>
17560 static struct statfs ac_aggr;
17561 if (ac_aggr.f_bfree)
17567 rm -f conftest.
$ac_objext
17568 if { (ac_try
="$ac_compile"
17569 case "(($ac_try" in
17570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17571 *) ac_try_echo=$ac_try;;
17573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17574 (eval "$ac_compile") 2>conftest.er1
17576 grep -v '^ *+' conftest.er1 >conftest.err
17578 cat conftest.err >&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); } && {
17581 test -z "$ac_c_werror_flag" ||
17582 test ! -s conftest.err
17583 } && test -s conftest.$ac_objext; then
17584 ac_cv_member_struct_statfs_f_bfree=yes
17586 echo "$as_me: failed program was:" >&5
17587 sed 's/^/| /' conftest.$ac_ext >&5
17589 cat >conftest.$ac_ext <<_ACEOF
17592 cat confdefs.h >>conftest.$ac_ext
17593 cat >>conftest.$ac_ext <<_ACEOF
17594 /* end confdefs.h. */
17595 #include <sys/types.h>
17596 #ifdef HAVE_SYS_PARAM_H
17597 # include <sys/param.h>
17599 #ifdef HAVE_SYS_MOUNT_H
17600 # include <sys/mount.h>
17602 #ifdef HAVE_SYS_VFS_H
17603 # include <sys/vfs.h>
17605 #ifdef HAVE_SYS_STATFS_H
17606 # include <sys/statfs.h>
17612 static struct statfs ac_aggr;
17613 if (sizeof ac_aggr.f_bfree)
17619 rm -f conftest.$ac_objext
17620 if { (ac_try="$ac_compile"
17621 case "(($ac_try" in
17622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17623 *) ac_try_echo
=$ac_try;;
17625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17626 (eval "$ac_compile") 2>conftest.er1
17628 grep -v '^ *+' conftest.er1
>conftest.err
17630 cat conftest.err
>&5
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); } && {
17633 test -z "$ac_c_werror_flag" ||
17634 test ! -s conftest.err
17635 } && test -s conftest.
$ac_objext; then
17636 ac_cv_member_struct_statfs_f_bfree
=yes
17638 echo "$as_me: failed program was:" >&5
17639 sed 's/^/| /' conftest.
$ac_ext >&5
17641 ac_cv_member_struct_statfs_f_bfree
=no
17644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17649 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17650 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17651 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17653 cat >>confdefs.h
<<_ACEOF
17654 #define HAVE_STRUCT_STATFS_F_BFREE 1
17659 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17660 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17661 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17662 echo $ECHO_N "(cached) $ECHO_C" >&6
17664 cat >conftest.
$ac_ext <<_ACEOF
17667 cat confdefs.h
>>conftest.
$ac_ext
17668 cat >>conftest.
$ac_ext <<_ACEOF
17669 /* end confdefs.h. */
17670 #include <sys/types.h>
17671 #ifdef HAVE_SYS_PARAM_H
17672 # include <sys/param.h>
17674 #ifdef HAVE_SYS_MOUNT_H
17675 # include <sys/mount.h>
17677 #ifdef HAVE_SYS_VFS_H
17678 # include <sys/vfs.h>
17680 #ifdef HAVE_SYS_STATFS_H
17681 # include <sys/statfs.h>
17687 static struct statfs ac_aggr;
17688 if (ac_aggr.f_bavail)
17694 rm -f conftest.
$ac_objext
17695 if { (ac_try
="$ac_compile"
17696 case "(($ac_try" in
17697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17698 *) ac_try_echo=$ac_try;;
17700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17701 (eval "$ac_compile") 2>conftest.er1
17703 grep -v '^ *+' conftest.er1 >conftest.err
17705 cat conftest.err >&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); } && {
17708 test -z "$ac_c_werror_flag" ||
17709 test ! -s conftest.err
17710 } && test -s conftest.$ac_objext; then
17711 ac_cv_member_struct_statfs_f_bavail=yes
17713 echo "$as_me: failed program was:" >&5
17714 sed 's/^/| /' conftest.$ac_ext >&5
17716 cat >conftest.$ac_ext <<_ACEOF
17719 cat confdefs.h >>conftest.$ac_ext
17720 cat >>conftest.$ac_ext <<_ACEOF
17721 /* end confdefs.h. */
17722 #include <sys/types.h>
17723 #ifdef HAVE_SYS_PARAM_H
17724 # include <sys/param.h>
17726 #ifdef HAVE_SYS_MOUNT_H
17727 # include <sys/mount.h>
17729 #ifdef HAVE_SYS_VFS_H
17730 # include <sys/vfs.h>
17732 #ifdef HAVE_SYS_STATFS_H
17733 # include <sys/statfs.h>
17739 static struct statfs ac_aggr;
17740 if (sizeof ac_aggr.f_bavail)
17746 rm -f conftest.$ac_objext
17747 if { (ac_try="$ac_compile"
17748 case "(($ac_try" in
17749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17750 *) ac_try_echo
=$ac_try;;
17752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17753 (eval "$ac_compile") 2>conftest.er1
17755 grep -v '^ *+' conftest.er1
>conftest.err
17757 cat conftest.err
>&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } && {
17760 test -z "$ac_c_werror_flag" ||
17761 test ! -s conftest.err
17762 } && test -s conftest.
$ac_objext; then
17763 ac_cv_member_struct_statfs_f_bavail
=yes
17765 echo "$as_me: failed program was:" >&5
17766 sed 's/^/| /' conftest.
$ac_ext >&5
17768 ac_cv_member_struct_statfs_f_bavail
=no
17771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17776 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17777 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17778 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17780 cat >>confdefs.h
<<_ACEOF
17781 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17786 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17787 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17788 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17789 echo $ECHO_N "(cached) $ECHO_C" >&6
17791 cat >conftest.
$ac_ext <<_ACEOF
17794 cat confdefs.h
>>conftest.
$ac_ext
17795 cat >>conftest.
$ac_ext <<_ACEOF
17796 /* end confdefs.h. */
17797 #include <sys/types.h>
17798 #ifdef HAVE_SYS_PARAM_H
17799 # include <sys/param.h>
17801 #ifdef HAVE_SYS_MOUNT_H
17802 # include <sys/mount.h>
17804 #ifdef HAVE_SYS_VFS_H
17805 # include <sys/vfs.h>
17807 #ifdef HAVE_SYS_STATFS_H
17808 # include <sys/statfs.h>
17814 static struct statfs ac_aggr;
17815 if (ac_aggr.f_frsize)
17821 rm -f conftest.
$ac_objext
17822 if { (ac_try
="$ac_compile"
17823 case "(($ac_try" in
17824 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17825 *) ac_try_echo=$ac_try;;
17827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17828 (eval "$ac_compile") 2>conftest.er1
17830 grep -v '^ *+' conftest.er1 >conftest.err
17832 cat conftest.err >&5
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); } && {
17835 test -z "$ac_c_werror_flag" ||
17836 test ! -s conftest.err
17837 } && test -s conftest.$ac_objext; then
17838 ac_cv_member_struct_statfs_f_frsize=yes
17840 echo "$as_me: failed program was:" >&5
17841 sed 's/^/| /' conftest.$ac_ext >&5
17843 cat >conftest.$ac_ext <<_ACEOF
17846 cat confdefs.h >>conftest.$ac_ext
17847 cat >>conftest.$ac_ext <<_ACEOF
17848 /* end confdefs.h. */
17849 #include <sys/types.h>
17850 #ifdef HAVE_SYS_PARAM_H
17851 # include <sys/param.h>
17853 #ifdef HAVE_SYS_MOUNT_H
17854 # include <sys/mount.h>
17856 #ifdef HAVE_SYS_VFS_H
17857 # include <sys/vfs.h>
17859 #ifdef HAVE_SYS_STATFS_H
17860 # include <sys/statfs.h>
17866 static struct statfs ac_aggr;
17867 if (sizeof ac_aggr.f_frsize)
17873 rm -f conftest.$ac_objext
17874 if { (ac_try="$ac_compile"
17875 case "(($ac_try" in
17876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17877 *) ac_try_echo
=$ac_try;;
17879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17880 (eval "$ac_compile") 2>conftest.er1
17882 grep -v '^ *+' conftest.er1
>conftest.err
17884 cat conftest.err
>&5
17885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); } && {
17887 test -z "$ac_c_werror_flag" ||
17888 test ! -s conftest.err
17889 } && test -s conftest.
$ac_objext; then
17890 ac_cv_member_struct_statfs_f_frsize
=yes
17892 echo "$as_me: failed program was:" >&5
17893 sed 's/^/| /' conftest.
$ac_ext >&5
17895 ac_cv_member_struct_statfs_f_frsize
=no
17898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17903 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17904 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17905 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17907 cat >>confdefs.h
<<_ACEOF
17908 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17913 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17914 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17915 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17916 echo $ECHO_N "(cached) $ECHO_C" >&6
17918 cat >conftest.
$ac_ext <<_ACEOF
17921 cat confdefs.h
>>conftest.
$ac_ext
17922 cat >>conftest.
$ac_ext <<_ACEOF
17923 /* end confdefs.h. */
17924 #include <sys/types.h>
17925 #ifdef HAVE_SYS_PARAM_H
17926 # include <sys/param.h>
17928 #ifdef HAVE_SYS_MOUNT_H
17929 # include <sys/mount.h>
17931 #ifdef HAVE_SYS_VFS_H
17932 # include <sys/vfs.h>
17934 #ifdef HAVE_SYS_STATFS_H
17935 # include <sys/statfs.h>
17941 static struct statfs ac_aggr;
17942 if (ac_aggr.f_ffree)
17948 rm -f conftest.
$ac_objext
17949 if { (ac_try
="$ac_compile"
17950 case "(($ac_try" in
17951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17952 *) ac_try_echo=$ac_try;;
17954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17955 (eval "$ac_compile") 2>conftest.er1
17957 grep -v '^ *+' conftest.er1 >conftest.err
17959 cat conftest.err >&5
17960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17961 (exit $ac_status); } && {
17962 test -z "$ac_c_werror_flag" ||
17963 test ! -s conftest.err
17964 } && test -s conftest.$ac_objext; then
17965 ac_cv_member_struct_statfs_f_ffree=yes
17967 echo "$as_me: failed program was:" >&5
17968 sed 's/^/| /' conftest.$ac_ext >&5
17970 cat >conftest.$ac_ext <<_ACEOF
17973 cat confdefs.h >>conftest.$ac_ext
17974 cat >>conftest.$ac_ext <<_ACEOF
17975 /* end confdefs.h. */
17976 #include <sys/types.h>
17977 #ifdef HAVE_SYS_PARAM_H
17978 # include <sys/param.h>
17980 #ifdef HAVE_SYS_MOUNT_H
17981 # include <sys/mount.h>
17983 #ifdef HAVE_SYS_VFS_H
17984 # include <sys/vfs.h>
17986 #ifdef HAVE_SYS_STATFS_H
17987 # include <sys/statfs.h>
17993 static struct statfs ac_aggr;
17994 if (sizeof ac_aggr.f_ffree)
18000 rm -f conftest.$ac_objext
18001 if { (ac_try="$ac_compile"
18002 case "(($ac_try" in
18003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18004 *) ac_try_echo
=$ac_try;;
18006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18007 (eval "$ac_compile") 2>conftest.er1
18009 grep -v '^ *+' conftest.er1
>conftest.err
18011 cat conftest.err
>&5
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); } && {
18014 test -z "$ac_c_werror_flag" ||
18015 test ! -s conftest.err
18016 } && test -s conftest.
$ac_objext; then
18017 ac_cv_member_struct_statfs_f_ffree
=yes
18019 echo "$as_me: failed program was:" >&5
18020 sed 's/^/| /' conftest.
$ac_ext >&5
18022 ac_cv_member_struct_statfs_f_ffree
=no
18025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18030 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18031 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18032 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18034 cat >>confdefs.h
<<_ACEOF
18035 #define HAVE_STRUCT_STATFS_F_FFREE 1
18040 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18041 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18042 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18043 echo $ECHO_N "(cached) $ECHO_C" >&6
18045 cat >conftest.
$ac_ext <<_ACEOF
18048 cat confdefs.h
>>conftest.
$ac_ext
18049 cat >>conftest.
$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18051 #include <sys/types.h>
18052 #ifdef HAVE_SYS_PARAM_H
18053 # include <sys/param.h>
18055 #ifdef HAVE_SYS_MOUNT_H
18056 # include <sys/mount.h>
18058 #ifdef HAVE_SYS_VFS_H
18059 # include <sys/vfs.h>
18061 #ifdef HAVE_SYS_STATFS_H
18062 # include <sys/statfs.h>
18068 static struct statfs ac_aggr;
18069 if (ac_aggr.f_favail)
18075 rm -f conftest.
$ac_objext
18076 if { (ac_try
="$ac_compile"
18077 case "(($ac_try" in
18078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18079 *) ac_try_echo=$ac_try;;
18081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18082 (eval "$ac_compile") 2>conftest.er1
18084 grep -v '^ *+' conftest.er1 >conftest.err
18086 cat conftest.err >&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); } && {
18089 test -z "$ac_c_werror_flag" ||
18090 test ! -s conftest.err
18091 } && test -s conftest.$ac_objext; then
18092 ac_cv_member_struct_statfs_f_favail=yes
18094 echo "$as_me: failed program was:" >&5
18095 sed 's/^/| /' conftest.$ac_ext >&5
18097 cat >conftest.$ac_ext <<_ACEOF
18100 cat confdefs.h >>conftest.$ac_ext
18101 cat >>conftest.$ac_ext <<_ACEOF
18102 /* end confdefs.h. */
18103 #include <sys/types.h>
18104 #ifdef HAVE_SYS_PARAM_H
18105 # include <sys/param.h>
18107 #ifdef HAVE_SYS_MOUNT_H
18108 # include <sys/mount.h>
18110 #ifdef HAVE_SYS_VFS_H
18111 # include <sys/vfs.h>
18113 #ifdef HAVE_SYS_STATFS_H
18114 # include <sys/statfs.h>
18120 static struct statfs ac_aggr;
18121 if (sizeof ac_aggr.f_favail)
18127 rm -f conftest.$ac_objext
18128 if { (ac_try="$ac_compile"
18129 case "(($ac_try" in
18130 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18131 *) ac_try_echo
=$ac_try;;
18133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18134 (eval "$ac_compile") 2>conftest.er1
18136 grep -v '^ *+' conftest.er1
>conftest.err
18138 cat conftest.err
>&5
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140 (exit $ac_status); } && {
18141 test -z "$ac_c_werror_flag" ||
18142 test ! -s conftest.err
18143 } && test -s conftest.
$ac_objext; then
18144 ac_cv_member_struct_statfs_f_favail
=yes
18146 echo "$as_me: failed program was:" >&5
18147 sed 's/^/| /' conftest.
$ac_ext >&5
18149 ac_cv_member_struct_statfs_f_favail
=no
18152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18157 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18158 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18159 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18161 cat >>confdefs.h
<<_ACEOF
18162 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18167 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18168 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18169 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18170 echo $ECHO_N "(cached) $ECHO_C" >&6
18172 cat >conftest.
$ac_ext <<_ACEOF
18175 cat confdefs.h
>>conftest.
$ac_ext
18176 cat >>conftest.
$ac_ext <<_ACEOF
18177 /* end confdefs.h. */
18178 #include <sys/types.h>
18179 #ifdef HAVE_SYS_PARAM_H
18180 # include <sys/param.h>
18182 #ifdef HAVE_SYS_MOUNT_H
18183 # include <sys/mount.h>
18185 #ifdef HAVE_SYS_VFS_H
18186 # include <sys/vfs.h>
18188 #ifdef HAVE_SYS_STATFS_H
18189 # include <sys/statfs.h>
18195 static struct statfs ac_aggr;
18196 if (ac_aggr.f_namelen)
18202 rm -f conftest.
$ac_objext
18203 if { (ac_try
="$ac_compile"
18204 case "(($ac_try" in
18205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18206 *) ac_try_echo=$ac_try;;
18208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18209 (eval "$ac_compile") 2>conftest.er1
18211 grep -v '^ *+' conftest.er1 >conftest.err
18213 cat conftest.err >&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); } && {
18216 test -z "$ac_c_werror_flag" ||
18217 test ! -s conftest.err
18218 } && test -s conftest.$ac_objext; then
18219 ac_cv_member_struct_statfs_f_namelen=yes
18221 echo "$as_me: failed program was:" >&5
18222 sed 's/^/| /' conftest.$ac_ext >&5
18224 cat >conftest.$ac_ext <<_ACEOF
18227 cat confdefs.h >>conftest.$ac_ext
18228 cat >>conftest.$ac_ext <<_ACEOF
18229 /* end confdefs.h. */
18230 #include <sys/types.h>
18231 #ifdef HAVE_SYS_PARAM_H
18232 # include <sys/param.h>
18234 #ifdef HAVE_SYS_MOUNT_H
18235 # include <sys/mount.h>
18237 #ifdef HAVE_SYS_VFS_H
18238 # include <sys/vfs.h>
18240 #ifdef HAVE_SYS_STATFS_H
18241 # include <sys/statfs.h>
18247 static struct statfs ac_aggr;
18248 if (sizeof ac_aggr.f_namelen)
18254 rm -f conftest.$ac_objext
18255 if { (ac_try="$ac_compile"
18256 case "(($ac_try" in
18257 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18258 *) ac_try_echo
=$ac_try;;
18260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18261 (eval "$ac_compile") 2>conftest.er1
18263 grep -v '^ *+' conftest.er1
>conftest.err
18265 cat conftest.err
>&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); } && {
18268 test -z "$ac_c_werror_flag" ||
18269 test ! -s conftest.err
18270 } && test -s conftest.
$ac_objext; then
18271 ac_cv_member_struct_statfs_f_namelen
=yes
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.
$ac_ext >&5
18276 ac_cv_member_struct_statfs_f_namelen
=no
18279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18284 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18285 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18286 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18288 cat >>confdefs.h
<<_ACEOF
18289 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18296 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18297 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18298 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18299 echo $ECHO_N "(cached) $ECHO_C" >&6
18301 cat >conftest.
$ac_ext <<_ACEOF
18304 cat confdefs.h
>>conftest.
$ac_ext
18305 cat >>conftest.
$ac_ext <<_ACEOF
18306 /* end confdefs.h. */
18307 #ifdef HAVE_SYS_STATVFS_H
18308 #include <sys/statvfs.h>
18314 static struct statvfs ac_aggr;
18315 if (ac_aggr.f_blocks)
18321 rm -f conftest.
$ac_objext
18322 if { (ac_try
="$ac_compile"
18323 case "(($ac_try" in
18324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18325 *) ac_try_echo=$ac_try;;
18327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18328 (eval "$ac_compile") 2>conftest.er1
18330 grep -v '^ *+' conftest.er1 >conftest.err
18332 cat conftest.err >&5
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); } && {
18335 test -z "$ac_c_werror_flag" ||
18336 test ! -s conftest.err
18337 } && test -s conftest.$ac_objext; then
18338 ac_cv_member_struct_statvfs_f_blocks=yes
18340 echo "$as_me: failed program was:" >&5
18341 sed 's/^/| /' conftest.$ac_ext >&5
18343 cat >conftest.$ac_ext <<_ACEOF
18346 cat confdefs.h >>conftest.$ac_ext
18347 cat >>conftest.$ac_ext <<_ACEOF
18348 /* end confdefs.h. */
18349 #ifdef HAVE_SYS_STATVFS_H
18350 #include <sys/statvfs.h>
18356 static struct statvfs ac_aggr;
18357 if (sizeof ac_aggr.f_blocks)
18363 rm -f conftest.$ac_objext
18364 if { (ac_try="$ac_compile"
18365 case "(($ac_try" in
18366 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18367 *) ac_try_echo
=$ac_try;;
18369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18370 (eval "$ac_compile") 2>conftest.er1
18372 grep -v '^ *+' conftest.er1
>conftest.err
18374 cat conftest.err
>&5
18375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376 (exit $ac_status); } && {
18377 test -z "$ac_c_werror_flag" ||
18378 test ! -s conftest.err
18379 } && test -s conftest.
$ac_objext; then
18380 ac_cv_member_struct_statvfs_f_blocks
=yes
18382 echo "$as_me: failed program was:" >&5
18383 sed 's/^/| /' conftest.
$ac_ext >&5
18385 ac_cv_member_struct_statvfs_f_blocks
=no
18388 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18391 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18393 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18394 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18395 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18397 cat >>confdefs.h
<<_ACEOF
18398 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18405 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18406 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18407 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18408 echo $ECHO_N "(cached) $ECHO_C" >&6
18410 cat >conftest.
$ac_ext <<_ACEOF
18413 cat confdefs.h
>>conftest.
$ac_ext
18414 cat >>conftest.
$ac_ext <<_ACEOF
18415 /* end confdefs.h. */
18416 #include <sys/types.h>
18417 #ifdef HAVE_SYS_SOCKET_H
18418 # include <sys/socket.h>
18420 #ifdef HAVE_SYS_UN_H
18421 # include <sys/un.h>
18427 static struct msghdr ac_aggr;
18428 if (ac_aggr.msg_accrights)
18434 rm -f conftest.
$ac_objext
18435 if { (ac_try
="$ac_compile"
18436 case "(($ac_try" in
18437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18438 *) ac_try_echo=$ac_try;;
18440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18441 (eval "$ac_compile") 2>conftest.er1
18443 grep -v '^ *+' conftest.er1 >conftest.err
18445 cat conftest.err >&5
18446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18447 (exit $ac_status); } && {
18448 test -z "$ac_c_werror_flag" ||
18449 test ! -s conftest.err
18450 } && test -s conftest.$ac_objext; then
18451 ac_cv_member_struct_msghdr_msg_accrights=yes
18453 echo "$as_me: failed program was:" >&5
18454 sed 's/^/| /' conftest.$ac_ext >&5
18456 cat >conftest.$ac_ext <<_ACEOF
18459 cat confdefs.h >>conftest.$ac_ext
18460 cat >>conftest.$ac_ext <<_ACEOF
18461 /* end confdefs.h. */
18462 #include <sys/types.h>
18463 #ifdef HAVE_SYS_SOCKET_H
18464 # include <sys/socket.h>
18466 #ifdef HAVE_SYS_UN_H
18467 # include <sys/un.h>
18473 static struct msghdr ac_aggr;
18474 if (sizeof ac_aggr.msg_accrights)
18480 rm -f conftest.$ac_objext
18481 if { (ac_try="$ac_compile"
18482 case "(($ac_try" in
18483 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18484 *) ac_try_echo
=$ac_try;;
18486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18487 (eval "$ac_compile") 2>conftest.er1
18489 grep -v '^ *+' conftest.er1
>conftest.err
18491 cat conftest.err
>&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); } && {
18494 test -z "$ac_c_werror_flag" ||
18495 test ! -s conftest.err
18496 } && test -s conftest.
$ac_objext; then
18497 ac_cv_member_struct_msghdr_msg_accrights
=yes
18499 echo "$as_me: failed program was:" >&5
18500 sed 's/^/| /' conftest.
$ac_ext >&5
18502 ac_cv_member_struct_msghdr_msg_accrights
=no
18505 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18508 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18510 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18511 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18512 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18514 cat >>confdefs.h
<<_ACEOF
18515 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18520 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18521 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18522 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18523 echo $ECHO_N "(cached) $ECHO_C" >&6
18525 cat >conftest.
$ac_ext <<_ACEOF
18528 cat confdefs.h
>>conftest.
$ac_ext
18529 cat >>conftest.
$ac_ext <<_ACEOF
18530 /* end confdefs.h. */
18531 #include <sys/types.h>
18532 #ifdef HAVE_SYS_SOCKET_H
18533 # include <sys/socket.h>
18535 #ifdef HAVE_SYS_UN_H
18536 # include <sys/un.h>
18542 static struct sockaddr ac_aggr;
18543 if (ac_aggr.sa_len)
18549 rm -f conftest.
$ac_objext
18550 if { (ac_try
="$ac_compile"
18551 case "(($ac_try" in
18552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18553 *) ac_try_echo=$ac_try;;
18555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18556 (eval "$ac_compile") 2>conftest.er1
18558 grep -v '^ *+' conftest.er1 >conftest.err
18560 cat conftest.err >&5
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); } && {
18563 test -z "$ac_c_werror_flag" ||
18564 test ! -s conftest.err
18565 } && test -s conftest.$ac_objext; then
18566 ac_cv_member_struct_sockaddr_sa_len=yes
18568 echo "$as_me: failed program was:" >&5
18569 sed 's/^/| /' conftest.$ac_ext >&5
18571 cat >conftest.$ac_ext <<_ACEOF
18574 cat confdefs.h >>conftest.$ac_ext
18575 cat >>conftest.$ac_ext <<_ACEOF
18576 /* end confdefs.h. */
18577 #include <sys/types.h>
18578 #ifdef HAVE_SYS_SOCKET_H
18579 # include <sys/socket.h>
18581 #ifdef HAVE_SYS_UN_H
18582 # include <sys/un.h>
18588 static struct sockaddr ac_aggr;
18589 if (sizeof ac_aggr.sa_len)
18595 rm -f conftest.$ac_objext
18596 if { (ac_try="$ac_compile"
18597 case "(($ac_try" in
18598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18599 *) ac_try_echo
=$ac_try;;
18601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18602 (eval "$ac_compile") 2>conftest.er1
18604 grep -v '^ *+' conftest.er1
>conftest.err
18606 cat conftest.err
>&5
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); } && {
18609 test -z "$ac_c_werror_flag" ||
18610 test ! -s conftest.err
18611 } && test -s conftest.
$ac_objext; then
18612 ac_cv_member_struct_sockaddr_sa_len
=yes
18614 echo "$as_me: failed program was:" >&5
18615 sed 's/^/| /' conftest.
$ac_ext >&5
18617 ac_cv_member_struct_sockaddr_sa_len
=no
18620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18625 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18626 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18627 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18629 cat >>confdefs.h
<<_ACEOF
18630 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18635 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18636 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18637 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18638 echo $ECHO_N "(cached) $ECHO_C" >&6
18640 cat >conftest.
$ac_ext <<_ACEOF
18643 cat confdefs.h
>>conftest.
$ac_ext
18644 cat >>conftest.
$ac_ext <<_ACEOF
18645 /* end confdefs.h. */
18646 #include <sys/types.h>
18647 #ifdef HAVE_SYS_SOCKET_H
18648 # include <sys/socket.h>
18650 #ifdef HAVE_SYS_UN_H
18651 # include <sys/un.h>
18657 static struct sockaddr_un ac_aggr;
18658 if (ac_aggr.sun_len)
18664 rm -f conftest.
$ac_objext
18665 if { (ac_try
="$ac_compile"
18666 case "(($ac_try" in
18667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18668 *) ac_try_echo=$ac_try;;
18670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18671 (eval "$ac_compile") 2>conftest.er1
18673 grep -v '^ *+' conftest.er1 >conftest.err
18675 cat conftest.err >&5
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); } && {
18678 test -z "$ac_c_werror_flag" ||
18679 test ! -s conftest.err
18680 } && test -s conftest.$ac_objext; then
18681 ac_cv_member_struct_sockaddr_un_sun_len=yes
18683 echo "$as_me: failed program was:" >&5
18684 sed 's/^/| /' conftest.$ac_ext >&5
18686 cat >conftest.$ac_ext <<_ACEOF
18689 cat confdefs.h >>conftest.$ac_ext
18690 cat >>conftest.$ac_ext <<_ACEOF
18691 /* end confdefs.h. */
18692 #include <sys/types.h>
18693 #ifdef HAVE_SYS_SOCKET_H
18694 # include <sys/socket.h>
18696 #ifdef HAVE_SYS_UN_H
18697 # include <sys/un.h>
18703 static struct sockaddr_un ac_aggr;
18704 if (sizeof ac_aggr.sun_len)
18710 rm -f conftest.$ac_objext
18711 if { (ac_try="$ac_compile"
18712 case "(($ac_try" in
18713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18714 *) ac_try_echo
=$ac_try;;
18716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18717 (eval "$ac_compile") 2>conftest.er1
18719 grep -v '^ *+' conftest.er1
>conftest.err
18721 cat conftest.err
>&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } && {
18724 test -z "$ac_c_werror_flag" ||
18725 test ! -s conftest.err
18726 } && test -s conftest.
$ac_objext; then
18727 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18729 echo "$as_me: failed program was:" >&5
18730 sed 's/^/| /' conftest.
$ac_ext >&5
18732 ac_cv_member_struct_sockaddr_un_sun_len
=no
18735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18740 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18741 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18742 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18744 cat >>confdefs.h
<<_ACEOF
18745 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18752 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18753 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18754 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18755 echo $ECHO_N "(cached) $ECHO_C" >&6
18757 cat >conftest.
$ac_ext <<_ACEOF
18760 cat confdefs.h
>>conftest.
$ac_ext
18761 cat >>conftest.
$ac_ext <<_ACEOF
18762 /* end confdefs.h. */
18763 #include <sys/types.h>
18764 #ifdef HAVE_SCSI_SG_H
18765 #include <scsi/sg.h>
18771 static scsireq_t ac_aggr;
18778 rm -f conftest.
$ac_objext
18779 if { (ac_try
="$ac_compile"
18780 case "(($ac_try" in
18781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18782 *) ac_try_echo=$ac_try;;
18784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18785 (eval "$ac_compile") 2>conftest.er1
18787 grep -v '^ *+' conftest.er1 >conftest.err
18789 cat conftest.err >&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); } && {
18792 test -z "$ac_c_werror_flag" ||
18793 test ! -s conftest.err
18794 } && test -s conftest.$ac_objext; then
18795 ac_cv_member_scsireq_t_cmd=yes
18797 echo "$as_me: failed program was:" >&5
18798 sed 's/^/| /' conftest.$ac_ext >&5
18800 cat >conftest.$ac_ext <<_ACEOF
18803 cat confdefs.h >>conftest.$ac_ext
18804 cat >>conftest.$ac_ext <<_ACEOF
18805 /* end confdefs.h. */
18806 #include <sys/types.h>
18807 #ifdef HAVE_SCSI_SG_H
18808 #include <scsi/sg.h>
18814 static scsireq_t ac_aggr;
18815 if (sizeof ac_aggr.cmd)
18821 rm -f conftest.$ac_objext
18822 if { (ac_try="$ac_compile"
18823 case "(($ac_try" in
18824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18825 *) ac_try_echo
=$ac_try;;
18827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18828 (eval "$ac_compile") 2>conftest.er1
18830 grep -v '^ *+' conftest.er1
>conftest.err
18832 cat conftest.err
>&5
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); } && {
18835 test -z "$ac_c_werror_flag" ||
18836 test ! -s conftest.err
18837 } && test -s conftest.
$ac_objext; then
18838 ac_cv_member_scsireq_t_cmd
=yes
18840 echo "$as_me: failed program was:" >&5
18841 sed 's/^/| /' conftest.
$ac_ext >&5
18843 ac_cv_member_scsireq_t_cmd
=no
18846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18851 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18852 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18853 if test $ac_cv_member_scsireq_t_cmd = yes; then
18855 cat >>confdefs.h
<<_ACEOF
18856 #define HAVE_SCSIREQ_T_CMD 1
18861 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18862 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18863 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18864 echo $ECHO_N "(cached) $ECHO_C" >&6
18866 cat >conftest.
$ac_ext <<_ACEOF
18869 cat confdefs.h
>>conftest.
$ac_ext
18870 cat >>conftest.
$ac_ext <<_ACEOF
18871 /* end confdefs.h. */
18872 #include <sys/types.h>
18873 #ifdef HAVE_SCSI_SG_H
18874 #include <scsi/sg.h>
18880 static sg_io_hdr_t ac_aggr;
18881 if (ac_aggr.interface_id)
18887 rm -f conftest.
$ac_objext
18888 if { (ac_try
="$ac_compile"
18889 case "(($ac_try" in
18890 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18891 *) ac_try_echo=$ac_try;;
18893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18894 (eval "$ac_compile") 2>conftest.er1
18896 grep -v '^ *+' conftest.er1 >conftest.err
18898 cat conftest.err >&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); } && {
18901 test -z "$ac_c_werror_flag" ||
18902 test ! -s conftest.err
18903 } && test -s conftest.$ac_objext; then
18904 ac_cv_member_sg_io_hdr_t_interface_id=yes
18906 echo "$as_me: failed program was:" >&5
18907 sed 's/^/| /' conftest.$ac_ext >&5
18909 cat >conftest.$ac_ext <<_ACEOF
18912 cat confdefs.h >>conftest.$ac_ext
18913 cat >>conftest.$ac_ext <<_ACEOF
18914 /* end confdefs.h. */
18915 #include <sys/types.h>
18916 #ifdef HAVE_SCSI_SG_H
18917 #include <scsi/sg.h>
18923 static sg_io_hdr_t ac_aggr;
18924 if (sizeof ac_aggr.interface_id)
18930 rm -f conftest.$ac_objext
18931 if { (ac_try="$ac_compile"
18932 case "(($ac_try" in
18933 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18934 *) ac_try_echo
=$ac_try;;
18936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18937 (eval "$ac_compile") 2>conftest.er1
18939 grep -v '^ *+' conftest.er1
>conftest.err
18941 cat conftest.err
>&5
18942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943 (exit $ac_status); } && {
18944 test -z "$ac_c_werror_flag" ||
18945 test ! -s conftest.err
18946 } && test -s conftest.
$ac_objext; then
18947 ac_cv_member_sg_io_hdr_t_interface_id
=yes
18949 echo "$as_me: failed program was:" >&5
18950 sed 's/^/| /' conftest.
$ac_ext >&5
18952 ac_cv_member_sg_io_hdr_t_interface_id
=no
18955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18960 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18961 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
18962 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18964 cat >>confdefs.h
<<_ACEOF
18965 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18972 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18973 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
18974 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18975 echo $ECHO_N "(cached) $ECHO_C" >&6
18977 cat >conftest.
$ac_ext <<_ACEOF
18980 cat confdefs.h
>>conftest.
$ac_ext
18981 cat >>conftest.
$ac_ext <<_ACEOF
18982 /* end confdefs.h. */
18983 #include <signal.h>
18988 static siginfo_t ac_aggr;
18995 rm -f conftest.
$ac_objext
18996 if { (ac_try
="$ac_compile"
18997 case "(($ac_try" in
18998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18999 *) ac_try_echo=$ac_try;;
19001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19002 (eval "$ac_compile") 2>conftest.er1
19004 grep -v '^ *+' conftest.er1 >conftest.err
19006 cat conftest.err >&5
19007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008 (exit $ac_status); } && {
19009 test -z "$ac_c_werror_flag" ||
19010 test ! -s conftest.err
19011 } && test -s conftest.$ac_objext; then
19012 ac_cv_member_siginfo_t_si_fd=yes
19014 echo "$as_me: failed program was:" >&5
19015 sed 's/^/| /' conftest.$ac_ext >&5
19017 cat >conftest.$ac_ext <<_ACEOF
19020 cat confdefs.h >>conftest.$ac_ext
19021 cat >>conftest.$ac_ext <<_ACEOF
19022 /* end confdefs.h. */
19023 #include <signal.h>
19028 static siginfo_t ac_aggr;
19029 if (sizeof ac_aggr.si_fd)
19035 rm -f conftest.$ac_objext
19036 if { (ac_try="$ac_compile"
19037 case "(($ac_try" in
19038 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19039 *) ac_try_echo
=$ac_try;;
19041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19042 (eval "$ac_compile") 2>conftest.er1
19044 grep -v '^ *+' conftest.er1
>conftest.err
19046 cat conftest.err
>&5
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); } && {
19049 test -z "$ac_c_werror_flag" ||
19050 test ! -s conftest.err
19051 } && test -s conftest.
$ac_objext; then
19052 ac_cv_member_siginfo_t_si_fd
=yes
19054 echo "$as_me: failed program was:" >&5
19055 sed 's/^/| /' conftest.
$ac_ext >&5
19057 ac_cv_member_siginfo_t_si_fd
=no
19060 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19065 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19066 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19067 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19069 cat >>confdefs.h
<<_ACEOF
19070 #define HAVE_SIGINFO_T_SI_FD 1
19077 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19078 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19079 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19080 echo $ECHO_N "(cached) $ECHO_C" >&6
19082 cat >conftest.
$ac_ext <<_ACEOF
19085 cat confdefs.h
>>conftest.
$ac_ext
19086 cat >>conftest.
$ac_ext <<_ACEOF
19087 /* end confdefs.h. */
19088 #include <sys/types.h>
19089 #ifdef HAVE_SYS_MTIO_H
19090 #include <sys/mtio.h>
19096 static struct mtget ac_aggr;
19097 if (ac_aggr.mt_blksiz)
19103 rm -f conftest.
$ac_objext
19104 if { (ac_try
="$ac_compile"
19105 case "(($ac_try" in
19106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19107 *) ac_try_echo=$ac_try;;
19109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19110 (eval "$ac_compile") 2>conftest.er1
19112 grep -v '^ *+' conftest.er1 >conftest.err
19114 cat conftest.err >&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); } && {
19117 test -z "$ac_c_werror_flag" ||
19118 test ! -s conftest.err
19119 } && test -s conftest.$ac_objext; then
19120 ac_cv_member_struct_mtget_mt_blksiz=yes
19122 echo "$as_me: failed program was:" >&5
19123 sed 's/^/| /' conftest.$ac_ext >&5
19125 cat >conftest.$ac_ext <<_ACEOF
19128 cat confdefs.h >>conftest.$ac_ext
19129 cat >>conftest.$ac_ext <<_ACEOF
19130 /* end confdefs.h. */
19131 #include <sys/types.h>
19132 #ifdef HAVE_SYS_MTIO_H
19133 #include <sys/mtio.h>
19139 static struct mtget ac_aggr;
19140 if (sizeof ac_aggr.mt_blksiz)
19146 rm -f conftest.$ac_objext
19147 if { (ac_try="$ac_compile"
19148 case "(($ac_try" in
19149 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19150 *) ac_try_echo
=$ac_try;;
19152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19153 (eval "$ac_compile") 2>conftest.er1
19155 grep -v '^ *+' conftest.er1
>conftest.err
19157 cat conftest.err
>&5
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); } && {
19160 test -z "$ac_c_werror_flag" ||
19161 test ! -s conftest.err
19162 } && test -s conftest.
$ac_objext; then
19163 ac_cv_member_struct_mtget_mt_blksiz
=yes
19165 echo "$as_me: failed program was:" >&5
19166 sed 's/^/| /' conftest.
$ac_ext >&5
19168 ac_cv_member_struct_mtget_mt_blksiz
=no
19171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19174 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19176 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19177 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19178 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19180 cat >>confdefs.h
<<_ACEOF
19181 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19186 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19187 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19188 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19189 echo $ECHO_N "(cached) $ECHO_C" >&6
19191 cat >conftest.
$ac_ext <<_ACEOF
19194 cat confdefs.h
>>conftest.
$ac_ext
19195 cat >>conftest.
$ac_ext <<_ACEOF
19196 /* end confdefs.h. */
19197 #include <sys/types.h>
19198 #ifdef HAVE_SYS_MTIO_H
19199 #include <sys/mtio.h>
19205 static struct mtget ac_aggr;
19206 if (ac_aggr.mt_gstat)
19212 rm -f conftest.
$ac_objext
19213 if { (ac_try
="$ac_compile"
19214 case "(($ac_try" in
19215 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19216 *) ac_try_echo=$ac_try;;
19218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19219 (eval "$ac_compile") 2>conftest.er1
19221 grep -v '^ *+' conftest.er1 >conftest.err
19223 cat conftest.err >&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); } && {
19226 test -z "$ac_c_werror_flag" ||
19227 test ! -s conftest.err
19228 } && test -s conftest.$ac_objext; then
19229 ac_cv_member_struct_mtget_mt_gstat=yes
19231 echo "$as_me: failed program was:" >&5
19232 sed 's/^/| /' conftest.$ac_ext >&5
19234 cat >conftest.$ac_ext <<_ACEOF
19237 cat confdefs.h >>conftest.$ac_ext
19238 cat >>conftest.$ac_ext <<_ACEOF
19239 /* end confdefs.h. */
19240 #include <sys/types.h>
19241 #ifdef HAVE_SYS_MTIO_H
19242 #include <sys/mtio.h>
19248 static struct mtget ac_aggr;
19249 if (sizeof ac_aggr.mt_gstat)
19255 rm -f conftest.$ac_objext
19256 if { (ac_try="$ac_compile"
19257 case "(($ac_try" in
19258 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19259 *) ac_try_echo
=$ac_try;;
19261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19262 (eval "$ac_compile") 2>conftest.er1
19264 grep -v '^ *+' conftest.er1
>conftest.err
19266 cat conftest.err
>&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); } && {
19269 test -z "$ac_c_werror_flag" ||
19270 test ! -s conftest.err
19271 } && test -s conftest.
$ac_objext; then
19272 ac_cv_member_struct_mtget_mt_gstat
=yes
19274 echo "$as_me: failed program was:" >&5
19275 sed 's/^/| /' conftest.
$ac_ext >&5
19277 ac_cv_member_struct_mtget_mt_gstat
=no
19280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19285 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19286 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19287 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19289 cat >>confdefs.h
<<_ACEOF
19290 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19295 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19296 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19297 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19298 echo $ECHO_N "(cached) $ECHO_C" >&6
19300 cat >conftest.
$ac_ext <<_ACEOF
19303 cat confdefs.h
>>conftest.
$ac_ext
19304 cat >>conftest.
$ac_ext <<_ACEOF
19305 /* end confdefs.h. */
19306 #include <sys/types.h>
19307 #ifdef HAVE_SYS_MTIO_H
19308 #include <sys/mtio.h>
19314 static struct mtget ac_aggr;
19315 if (ac_aggr.mt_blkno)
19321 rm -f conftest.
$ac_objext
19322 if { (ac_try
="$ac_compile"
19323 case "(($ac_try" in
19324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19325 *) ac_try_echo=$ac_try;;
19327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19328 (eval "$ac_compile") 2>conftest.er1
19330 grep -v '^ *+' conftest.er1 >conftest.err
19332 cat conftest.err >&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); } && {
19335 test -z "$ac_c_werror_flag" ||
19336 test ! -s conftest.err
19337 } && test -s conftest.$ac_objext; then
19338 ac_cv_member_struct_mtget_mt_blkno=yes
19340 echo "$as_me: failed program was:" >&5
19341 sed 's/^/| /' conftest.$ac_ext >&5
19343 cat >conftest.$ac_ext <<_ACEOF
19346 cat confdefs.h >>conftest.$ac_ext
19347 cat >>conftest.$ac_ext <<_ACEOF
19348 /* end confdefs.h. */
19349 #include <sys/types.h>
19350 #ifdef HAVE_SYS_MTIO_H
19351 #include <sys/mtio.h>
19357 static struct mtget ac_aggr;
19358 if (sizeof ac_aggr.mt_blkno)
19364 rm -f conftest.$ac_objext
19365 if { (ac_try="$ac_compile"
19366 case "(($ac_try" in
19367 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19368 *) ac_try_echo
=$ac_try;;
19370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19371 (eval "$ac_compile") 2>conftest.er1
19373 grep -v '^ *+' conftest.er1
>conftest.err
19375 cat conftest.err
>&5
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); } && {
19378 test -z "$ac_c_werror_flag" ||
19379 test ! -s conftest.err
19380 } && test -s conftest.
$ac_objext; then
19381 ac_cv_member_struct_mtget_mt_blkno
=yes
19383 echo "$as_me: failed program was:" >&5
19384 sed 's/^/| /' conftest.
$ac_ext >&5
19386 ac_cv_member_struct_mtget_mt_blkno
=no
19389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19394 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19395 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19396 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19398 cat >>confdefs.h
<<_ACEOF
19399 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19406 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19407 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19408 if test "${ac_cv_member_struct_option_name+set}" = set; then
19409 echo $ECHO_N "(cached) $ECHO_C" >&6
19411 cat >conftest.
$ac_ext <<_ACEOF
19414 cat confdefs.h
>>conftest.
$ac_ext
19415 cat >>conftest.
$ac_ext <<_ACEOF
19416 /* end confdefs.h. */
19417 #ifdef HAVE_GETOPT_H
19418 #include <getopt.h>
19424 static struct option ac_aggr;
19431 rm -f conftest.
$ac_objext
19432 if { (ac_try
="$ac_compile"
19433 case "(($ac_try" in
19434 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19435 *) ac_try_echo=$ac_try;;
19437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19438 (eval "$ac_compile") 2>conftest.er1
19440 grep -v '^ *+' conftest.er1 >conftest.err
19442 cat conftest.err >&5
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); } && {
19445 test -z "$ac_c_werror_flag" ||
19446 test ! -s conftest.err
19447 } && test -s conftest.$ac_objext; then
19448 ac_cv_member_struct_option_name=yes
19450 echo "$as_me: failed program was:" >&5
19451 sed 's/^/| /' conftest.$ac_ext >&5
19453 cat >conftest.$ac_ext <<_ACEOF
19456 cat confdefs.h >>conftest.$ac_ext
19457 cat >>conftest.$ac_ext <<_ACEOF
19458 /* end confdefs.h. */
19459 #ifdef HAVE_GETOPT_H
19460 #include <getopt.h>
19466 static struct option ac_aggr;
19467 if (sizeof ac_aggr.name)
19473 rm -f conftest.$ac_objext
19474 if { (ac_try="$ac_compile"
19475 case "(($ac_try" in
19476 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19477 *) ac_try_echo
=$ac_try;;
19479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19480 (eval "$ac_compile") 2>conftest.er1
19482 grep -v '^ *+' conftest.er1
>conftest.err
19484 cat conftest.err
>&5
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); } && {
19487 test -z "$ac_c_werror_flag" ||
19488 test ! -s conftest.err
19489 } && test -s conftest.
$ac_objext; then
19490 ac_cv_member_struct_option_name
=yes
19492 echo "$as_me: failed program was:" >&5
19493 sed 's/^/| /' conftest.
$ac_ext >&5
19495 ac_cv_member_struct_option_name
=no
19498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19503 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19504 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19505 if test $ac_cv_member_struct_option_name = yes; then
19507 cat >>confdefs.h
<<_ACEOF
19508 #define HAVE_STRUCT_OPTION_NAME 1
19515 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19516 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19517 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19518 echo $ECHO_N "(cached) $ECHO_C" >&6
19520 cat >conftest.
$ac_ext <<_ACEOF
19523 cat confdefs.h
>>conftest.
$ac_ext
19524 cat >>conftest.
$ac_ext <<_ACEOF
19525 /* end confdefs.h. */
19526 $ac_includes_default
19530 static struct stat ac_aggr;
19531 if (ac_aggr.st_blocks)
19537 rm -f conftest.
$ac_objext
19538 if { (ac_try
="$ac_compile"
19539 case "(($ac_try" in
19540 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19541 *) ac_try_echo=$ac_try;;
19543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19544 (eval "$ac_compile") 2>conftest.er1
19546 grep -v '^ *+' conftest.er1 >conftest.err
19548 cat conftest.err >&5
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); } && {
19551 test -z "$ac_c_werror_flag" ||
19552 test ! -s conftest.err
19553 } && test -s conftest.$ac_objext; then
19554 ac_cv_member_struct_stat_st_blocks=yes
19556 echo "$as_me: failed program was:" >&5
19557 sed 's/^/| /' conftest.$ac_ext >&5
19559 cat >conftest.$ac_ext <<_ACEOF
19562 cat confdefs.h >>conftest.$ac_ext
19563 cat >>conftest.$ac_ext <<_ACEOF
19564 /* end confdefs.h. */
19565 $ac_includes_default
19569 static struct stat ac_aggr;
19570 if (sizeof ac_aggr.st_blocks)
19576 rm -f conftest.$ac_objext
19577 if { (ac_try="$ac_compile"
19578 case "(($ac_try" in
19579 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19580 *) ac_try_echo
=$ac_try;;
19582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19583 (eval "$ac_compile") 2>conftest.er1
19585 grep -v '^ *+' conftest.er1
>conftest.err
19587 cat conftest.err
>&5
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); } && {
19590 test -z "$ac_c_werror_flag" ||
19591 test ! -s conftest.err
19592 } && test -s conftest.
$ac_objext; then
19593 ac_cv_member_struct_stat_st_blocks
=yes
19595 echo "$as_me: failed program was:" >&5
19596 sed 's/^/| /' conftest.
$ac_ext >&5
19598 ac_cv_member_struct_stat_st_blocks
=no
19601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19606 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19607 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19608 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19610 cat >>confdefs.h
<<_ACEOF
19611 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19618 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19619 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19620 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19621 echo $ECHO_N "(cached) $ECHO_C" >&6
19623 cat >conftest.
$ac_ext <<_ACEOF
19626 cat confdefs.h
>>conftest.
$ac_ext
19627 cat >>conftest.
$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19629 #ifdef HAVE_SYS_TYPES_H
19630 #include <sys/types.h>
19632 #ifdef HAVE_NETINET_IN_H
19633 #include <netinet/in.h>
19639 static struct sockaddr_in6 ac_aggr;
19640 if (ac_aggr.sin6_scope_id)
19646 rm -f conftest.
$ac_objext
19647 if { (ac_try
="$ac_compile"
19648 case "(($ac_try" in
19649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19650 *) ac_try_echo=$ac_try;;
19652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19653 (eval "$ac_compile") 2>conftest.er1
19655 grep -v '^ *+' conftest.er1 >conftest.err
19657 cat conftest.err >&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } && {
19660 test -z "$ac_c_werror_flag" ||
19661 test ! -s conftest.err
19662 } && test -s conftest.$ac_objext; then
19663 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19665 echo "$as_me: failed program was:" >&5
19666 sed 's/^/| /' conftest.$ac_ext >&5
19668 cat >conftest.$ac_ext <<_ACEOF
19671 cat confdefs.h >>conftest.$ac_ext
19672 cat >>conftest.$ac_ext <<_ACEOF
19673 /* end confdefs.h. */
19674 #ifdef HAVE_SYS_TYPES_H
19675 #include <sys/types.h>
19677 #ifdef HAVE_NETINET_IN_H
19678 #include <netinet/in.h>
19684 static struct sockaddr_in6 ac_aggr;
19685 if (sizeof ac_aggr.sin6_scope_id)
19691 rm -f conftest.$ac_objext
19692 if { (ac_try="$ac_compile"
19693 case "(($ac_try" in
19694 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19695 *) ac_try_echo
=$ac_try;;
19697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19698 (eval "$ac_compile") 2>conftest.er1
19700 grep -v '^ *+' conftest.er1
>conftest.err
19702 cat conftest.err
>&5
19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); } && {
19705 test -z "$ac_c_werror_flag" ||
19706 test ! -s conftest.err
19707 } && test -s conftest.
$ac_objext; then
19708 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19710 echo "$as_me: failed program was:" >&5
19711 sed 's/^/| /' conftest.
$ac_ext >&5
19713 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
19716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19721 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19722 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19723 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19725 cat >>confdefs.h
<<_ACEOF
19726 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19733 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19734 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19735 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19736 echo $ECHO_N "(cached) $ECHO_C" >&6
19738 cat >conftest.
$ac_ext <<_ACEOF
19741 cat confdefs.h
>>conftest.
$ac_ext
19742 cat >>conftest.
$ac_ext <<_ACEOF
19743 /* end confdefs.h. */
19744 #ifdef HAVE_SYS_TYPES_H
19745 #include <sys/types.h>
19747 #ifdef HAVE_NETINET_IN_H
19748 # include <netinet/in.h>
19750 #ifdef HAVE_ARPA_NAMESER_H
19751 # include <arpa/nameser.h>
19757 static ns_msg ac_aggr;
19758 if (ac_aggr._msg_ptr)
19764 rm -f conftest.
$ac_objext
19765 if { (ac_try
="$ac_compile"
19766 case "(($ac_try" in
19767 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19768 *) ac_try_echo=$ac_try;;
19770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19771 (eval "$ac_compile") 2>conftest.er1
19773 grep -v '^ *+' conftest.er1 >conftest.err
19775 cat conftest.err >&5
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); } && {
19778 test -z "$ac_c_werror_flag" ||
19779 test ! -s conftest.err
19780 } && test -s conftest.$ac_objext; then
19781 ac_cv_member_ns_msg__msg_ptr=yes
19783 echo "$as_me: failed program was:" >&5
19784 sed 's/^/| /' conftest.$ac_ext >&5
19786 cat >conftest.$ac_ext <<_ACEOF
19789 cat confdefs.h >>conftest.$ac_ext
19790 cat >>conftest.$ac_ext <<_ACEOF
19791 /* end confdefs.h. */
19792 #ifdef HAVE_SYS_TYPES_H
19793 #include <sys/types.h>
19795 #ifdef HAVE_NETINET_IN_H
19796 # include <netinet/in.h>
19798 #ifdef HAVE_ARPA_NAMESER_H
19799 # include <arpa/nameser.h>
19805 static ns_msg ac_aggr;
19806 if (sizeof ac_aggr._msg_ptr)
19812 rm -f conftest.$ac_objext
19813 if { (ac_try="$ac_compile"
19814 case "(($ac_try" in
19815 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19816 *) ac_try_echo
=$ac_try;;
19818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19819 (eval "$ac_compile") 2>conftest.er1
19821 grep -v '^ *+' conftest.er1
>conftest.err
19823 cat conftest.err
>&5
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); } && {
19826 test -z "$ac_c_werror_flag" ||
19827 test ! -s conftest.err
19828 } && test -s conftest.
$ac_objext; then
19829 ac_cv_member_ns_msg__msg_ptr
=yes
19831 echo "$as_me: failed program was:" >&5
19832 sed 's/^/| /' conftest.
$ac_ext >&5
19834 ac_cv_member_ns_msg__msg_ptr
=no
19837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19840 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19842 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19843 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19844 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19846 cat >>confdefs.h
<<_ACEOF
19847 #define HAVE_NS_MSG__MSG_PTR 1
19854 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19855 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19856 if test "${ac_cv_have_timezone+set}" = set; then
19857 echo $ECHO_N "(cached) $ECHO_C" >&6
19859 cat >conftest.
$ac_ext <<_ACEOF
19862 cat confdefs.h
>>conftest.
$ac_ext
19863 cat >>conftest.
$ac_ext <<_ACEOF
19864 /* end confdefs.h. */
19874 rm -f conftest.
$ac_objext conftest
$ac_exeext
19875 if { (ac_try
="$ac_link"
19876 case "(($ac_try" in
19877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19878 *) ac_try_echo=$ac_try;;
19880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19881 (eval "$ac_link") 2>conftest.er1
19883 grep -v '^ *+' conftest.er1 >conftest.err
19885 cat conftest.err >&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); } && {
19888 test -z "$ac_c_werror_flag" ||
19889 test ! -s conftest.err
19890 } && test -s conftest$ac_exeext &&
19891 $as_test_x conftest$ac_exeext; then
19892 ac_cv_have_timezone="yes"
19894 echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19897 ac_cv_have_timezone="no"
19900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19901 conftest$ac_exeext conftest.$ac_ext
19903 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19904 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19905 if test "$ac_cv_have_timezone" = "yes"
19908 cat >>confdefs.h <<\_ACEOF
19909 #define HAVE_TIMEZONE 1
19913 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19914 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19915 if test "${ac_cv_have_daylight+set}" = set; then
19916 echo $ECHO_N "(cached) $ECHO_C" >&6
19918 cat >conftest.$ac_ext <<_ACEOF
19921 cat confdefs.h >>conftest.$ac_ext
19922 cat >>conftest.$ac_ext <<_ACEOF
19923 /* end confdefs.h. */
19933 rm -f conftest.$ac_objext conftest$ac_exeext
19934 if { (ac_try="$ac_link"
19935 case "(($ac_try" in
19936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19937 *) ac_try_echo
=$ac_try;;
19939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19940 (eval "$ac_link") 2>conftest.er1
19942 grep -v '^ *+' conftest.er1
>conftest.err
19944 cat conftest.err
>&5
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); } && {
19947 test -z "$ac_c_werror_flag" ||
19948 test ! -s conftest.err
19949 } && test -s conftest
$ac_exeext &&
19950 $as_test_x conftest
$ac_exeext; then
19951 ac_cv_have_daylight
="yes"
19953 echo "$as_me: failed program was:" >&5
19954 sed 's/^/| /' conftest.
$ac_ext >&5
19956 ac_cv_have_daylight
="no"
19959 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19960 conftest
$ac_exeext conftest.
$ac_ext
19962 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
19963 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
19964 if test "$ac_cv_have_daylight" = "yes"
19967 cat >>confdefs.h
<<\_ACEOF
19968 #define HAVE_DAYLIGHT 1
19975 *i
[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19976 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
19977 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19978 echo $ECHO_N "(cached) $ECHO_C" >&6
19980 cat >conftest.
$ac_ext <<_ACEOF
19983 cat confdefs.h
>>conftest.
$ac_ext
19984 cat >>conftest.
$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19991 $EGREP "yes" >/dev
/null
2>&1; then
19992 ac_cv_cpp_def___i386__
=yes
19994 ac_cv_cpp_def___i386__
=no
19999 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20000 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20001 if test $ac_cv_cpp_def___i386__ = yes; then
20002 CFLAGS
="$CFLAGS -D__i386__"
20003 LINTFLAGS
="$LINTFLAGS -D__i386__"
20006 *x86_64
*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20007 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20008 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20009 echo $ECHO_N "(cached) $ECHO_C" >&6
20011 cat >conftest.
$ac_ext <<_ACEOF
20014 cat confdefs.h
>>conftest.
$ac_ext
20015 cat >>conftest.
$ac_ext <<_ACEOF
20016 /* end confdefs.h. */
20021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20022 $EGREP "yes" >/dev
/null
2>&1; then
20023 ac_cv_cpp_def___x86_64__
=yes
20025 ac_cv_cpp_def___x86_64__
=no
20030 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20031 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20032 if test $ac_cv_cpp_def___x86_64__ = yes; then
20033 CFLAGS
="$CFLAGS -D__x86_64__"
20034 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20037 *alpha
*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20038 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20039 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20040 echo $ECHO_N "(cached) $ECHO_C" >&6
20042 cat >conftest.
$ac_ext <<_ACEOF
20045 cat confdefs.h
>>conftest.
$ac_ext
20046 cat >>conftest.
$ac_ext <<_ACEOF
20047 /* end confdefs.h. */
20052 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20053 $EGREP "yes" >/dev
/null
2>&1; then
20054 ac_cv_cpp_def___ALPHA__
=yes
20056 ac_cv_cpp_def___ALPHA__
=no
20061 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20062 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20063 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20064 CFLAGS
="$CFLAGS -D__ALPHA__"
20065 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
20068 *sparc
*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20069 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20070 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20071 echo $ECHO_N "(cached) $ECHO_C" >&6
20073 cat >conftest.
$ac_ext <<_ACEOF
20076 cat confdefs.h
>>conftest.
$ac_ext
20077 cat >>conftest.
$ac_ext <<_ACEOF
20078 /* end confdefs.h. */
20083 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20084 $EGREP "yes" >/dev
/null
2>&1; then
20085 ac_cv_cpp_def___sparc__
=yes
20087 ac_cv_cpp_def___sparc__
=no
20092 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20093 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20094 if test $ac_cv_cpp_def___sparc__ = yes; then
20095 CFLAGS
="$CFLAGS -D__sparc__"
20096 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20099 *powerpc
*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20100 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20101 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20102 echo $ECHO_N "(cached) $ECHO_C" >&6
20104 cat >conftest.
$ac_ext <<_ACEOF
20107 cat confdefs.h
>>conftest.
$ac_ext
20108 cat >>conftest.
$ac_ext <<_ACEOF
20109 /* end confdefs.h. */
20110 #ifndef __powerpc__
20114 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20115 $EGREP "yes" >/dev
/null
2>&1; then
20116 ac_cv_cpp_def___powerpc__
=yes
20118 ac_cv_cpp_def___powerpc__
=no
20123 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20124 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20125 if test $ac_cv_cpp_def___powerpc__ = yes; then
20126 CFLAGS
="$CFLAGS -D__powerpc__"
20127 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20132 case $host_vendor in
20133 *sun
*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20134 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20135 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20136 echo $ECHO_N "(cached) $ECHO_C" >&6
20138 cat >conftest.
$ac_ext <<_ACEOF
20141 cat confdefs.h
>>conftest.
$ac_ext
20142 cat >>conftest.
$ac_ext <<_ACEOF
20143 /* end confdefs.h. */
20148 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20149 $EGREP "yes" >/dev
/null
2>&1; then
20150 ac_cv_cpp_def___sun__
=yes
20152 ac_cv_cpp_def___sun__
=no
20157 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20158 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20159 if test $ac_cv_cpp_def___sun__ = yes; then
20160 CFLAGS
="$CFLAGS -D__sun__"
20161 LINTFLAGS
="$LINTFLAGS -D__sun__"
20167 DEPENDENCIES
="### Dependencies:
20172 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20174 \$(OBJS): \$(IDL_GEN_HEADERS)
20175 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20176 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20177 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20183 ac_config_commands
="$ac_config_commands include/stamp-h"
20186 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
20188 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
20190 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
20192 ac_config_commands
="$ac_config_commands dlls/user32/resources"
20194 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
20196 ac_config_commands
="$ac_config_commands include/wine"
20199 MAKE_RULES
=Make.rules
20202 MAKE_DLL_RULES
=dlls
/Makedll.rules
20205 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
20208 MAKE_TEST_RULES
=dlls
/Maketest.rules
20211 MAKE_PROG_RULES
=programs
/Makeprog.rules
20214 ac_config_files
="$ac_config_files Make.rules"
20216 ac_config_files
="$ac_config_files dlls/Makedll.rules"
20218 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
20220 ac_config_files
="$ac_config_files dlls/Maketest.rules"
20222 ac_config_files
="$ac_config_files programs/Makeprog.rules"
20224 ac_config_files
="$ac_config_files Makefile"
20226 ac_config_files
="$ac_config_files dlls/Makefile"
20228 ac_config_files
="$ac_config_files dlls/acledit/Makefile"
20230 ac_config_files
="$ac_config_files dlls/activeds/Makefile"
20232 ac_config_files
="$ac_config_files dlls/advapi32/Makefile"
20234 ac_config_files
="$ac_config_files dlls/advapi32/tests/Makefile"
20236 ac_config_files
="$ac_config_files dlls/advpack/Makefile"
20238 ac_config_files
="$ac_config_files dlls/advpack/tests/Makefile"
20240 ac_config_files
="$ac_config_files dlls/amstream/Makefile"
20242 ac_config_files
="$ac_config_files dlls/atl/Makefile"
20244 ac_config_files
="$ac_config_files dlls/avicap32/Makefile"
20246 ac_config_files
="$ac_config_files dlls/avifil32/Makefile"
20248 ac_config_files
="$ac_config_files dlls/browseui/Makefile"
20250 ac_config_files
="$ac_config_files dlls/browseui/tests/Makefile"
20252 ac_config_files
="$ac_config_files dlls/cabinet/Makefile"
20254 ac_config_files
="$ac_config_files dlls/cabinet/tests/Makefile"
20256 ac_config_files
="$ac_config_files dlls/capi2032/Makefile"
20258 ac_config_files
="$ac_config_files dlls/cards/Makefile"
20260 ac_config_files
="$ac_config_files dlls/cfgmgr32/Makefile"
20262 ac_config_files
="$ac_config_files dlls/clusapi/Makefile"
20264 ac_config_files
="$ac_config_files dlls/comcat/Makefile"
20266 ac_config_files
="$ac_config_files dlls/comcat/tests/Makefile"
20268 ac_config_files
="$ac_config_files dlls/comctl32/Makefile"
20270 ac_config_files
="$ac_config_files dlls/comctl32/tests/Makefile"
20272 ac_config_files
="$ac_config_files dlls/comdlg32/Makefile"
20274 ac_config_files
="$ac_config_files dlls/comdlg32/tests/Makefile"
20276 ac_config_files
="$ac_config_files dlls/compstui/Makefile"
20278 ac_config_files
="$ac_config_files dlls/credui/Makefile"
20280 ac_config_files
="$ac_config_files dlls/crtdll/Makefile"
20282 ac_config_files
="$ac_config_files dlls/crypt32/Makefile"
20284 ac_config_files
="$ac_config_files dlls/crypt32/tests/Makefile"
20286 ac_config_files
="$ac_config_files dlls/cryptdll/Makefile"
20288 ac_config_files
="$ac_config_files dlls/cryptnet/Makefile"
20290 ac_config_files
="$ac_config_files dlls/ctl3d32/Makefile"
20292 ac_config_files
="$ac_config_files dlls/d3d10/Makefile"
20294 ac_config_files
="$ac_config_files dlls/d3d8/Makefile"
20296 ac_config_files
="$ac_config_files dlls/d3d8/tests/Makefile"
20298 ac_config_files
="$ac_config_files dlls/d3d9/Makefile"
20300 ac_config_files
="$ac_config_files dlls/d3d9/tests/Makefile"
20302 ac_config_files
="$ac_config_files dlls/d3dim/Makefile"
20304 ac_config_files
="$ac_config_files dlls/d3drm/Makefile"
20306 ac_config_files
="$ac_config_files dlls/d3drm/tests/Makefile"
20308 ac_config_files
="$ac_config_files dlls/d3dx8/Makefile"
20310 ac_config_files
="$ac_config_files dlls/d3dxof/Makefile"
20312 ac_config_files
="$ac_config_files dlls/dbghelp/Makefile"
20314 ac_config_files
="$ac_config_files dlls/dciman32/Makefile"
20316 ac_config_files
="$ac_config_files dlls/ddraw/Makefile"
20318 ac_config_files
="$ac_config_files dlls/ddraw/tests/Makefile"
20320 ac_config_files
="$ac_config_files dlls/ddrawex/Makefile"
20322 ac_config_files
="$ac_config_files dlls/devenum/Makefile"
20324 ac_config_files
="$ac_config_files dlls/dinput/Makefile"
20326 ac_config_files
="$ac_config_files dlls/dinput/tests/Makefile"
20328 ac_config_files
="$ac_config_files dlls/dinput8/Makefile"
20330 ac_config_files
="$ac_config_files dlls/dmband/Makefile"
20332 ac_config_files
="$ac_config_files dlls/dmcompos/Makefile"
20334 ac_config_files
="$ac_config_files dlls/dmime/Makefile"
20336 ac_config_files
="$ac_config_files dlls/dmloader/Makefile"
20338 ac_config_files
="$ac_config_files dlls/dmscript/Makefile"
20340 ac_config_files
="$ac_config_files dlls/dmstyle/Makefile"
20342 ac_config_files
="$ac_config_files dlls/dmsynth/Makefile"
20344 ac_config_files
="$ac_config_files dlls/dmusic/Makefile"
20346 ac_config_files
="$ac_config_files dlls/dmusic32/Makefile"
20348 ac_config_files
="$ac_config_files dlls/dnsapi/Makefile"
20350 ac_config_files
="$ac_config_files dlls/dnsapi/tests/Makefile"
20352 ac_config_files
="$ac_config_files dlls/dplay/Makefile"
20354 ac_config_files
="$ac_config_files dlls/dplayx/Makefile"
20356 ac_config_files
="$ac_config_files dlls/dplayx/tests/Makefile"
20358 ac_config_files
="$ac_config_files dlls/dpnaddr/Makefile"
20360 ac_config_files
="$ac_config_files dlls/dpnet/Makefile"
20362 ac_config_files
="$ac_config_files dlls/dpnhpast/Makefile"
20364 ac_config_files
="$ac_config_files dlls/dsound/Makefile"
20366 ac_config_files
="$ac_config_files dlls/dsound/tests/Makefile"
20368 ac_config_files
="$ac_config_files dlls/dswave/Makefile"
20370 ac_config_files
="$ac_config_files dlls/dwmapi/Makefile"
20372 ac_config_files
="$ac_config_files dlls/dxdiagn/Makefile"
20374 ac_config_files
="$ac_config_files dlls/dxerr8/Makefile"
20376 ac_config_files
="$ac_config_files dlls/dxerr9/Makefile"
20378 ac_config_files
="$ac_config_files dlls/dxguid/Makefile"
20380 ac_config_files
="$ac_config_files dlls/gdi32/Makefile"
20382 ac_config_files
="$ac_config_files dlls/gdi32/tests/Makefile"
20384 ac_config_files
="$ac_config_files dlls/gdiplus/Makefile"
20386 ac_config_files
="$ac_config_files dlls/gdiplus/tests/Makefile"
20388 ac_config_files
="$ac_config_files dlls/glu32/Makefile"
20390 ac_config_files
="$ac_config_files dlls/gphoto2.ds/Makefile"
20392 ac_config_files
="$ac_config_files dlls/hal/Makefile"
20394 ac_config_files
="$ac_config_files dlls/hhctrl.ocx/Makefile"
20396 ac_config_files
="$ac_config_files dlls/hid/Makefile"
20398 ac_config_files
="$ac_config_files dlls/hlink/Makefile"
20400 ac_config_files
="$ac_config_files dlls/hlink/tests/Makefile"
20402 ac_config_files
="$ac_config_files dlls/hnetcfg/Makefile"
20404 ac_config_files
="$ac_config_files dlls/iccvid/Makefile"
20406 ac_config_files
="$ac_config_files dlls/icmp/Makefile"
20408 ac_config_files
="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20410 ac_config_files
="$ac_config_files dlls/imaadp32.acm/Makefile"
20412 ac_config_files
="$ac_config_files dlls/imagehlp/Makefile"
20414 ac_config_files
="$ac_config_files dlls/imm32/Makefile"
20416 ac_config_files
="$ac_config_files dlls/infosoft/Makefile"
20418 ac_config_files
="$ac_config_files dlls/infosoft/tests/Makefile"
20420 ac_config_files
="$ac_config_files dlls/inseng/Makefile"
20422 ac_config_files
="$ac_config_files dlls/iphlpapi/Makefile"
20424 ac_config_files
="$ac_config_files dlls/iphlpapi/tests/Makefile"
20426 ac_config_files
="$ac_config_files dlls/itss/Makefile"
20428 ac_config_files
="$ac_config_files dlls/itss/tests/Makefile"
20430 ac_config_files
="$ac_config_files dlls/kernel32/Makefile"
20432 ac_config_files
="$ac_config_files dlls/kernel32/tests/Makefile"
20434 ac_config_files
="$ac_config_files dlls/localspl/Makefile"
20436 ac_config_files
="$ac_config_files dlls/localspl/tests/Makefile"
20438 ac_config_files
="$ac_config_files dlls/localui/Makefile"
20440 ac_config_files
="$ac_config_files dlls/localui/tests/Makefile"
20442 ac_config_files
="$ac_config_files dlls/lz32/Makefile"
20444 ac_config_files
="$ac_config_files dlls/lz32/tests/Makefile"
20446 ac_config_files
="$ac_config_files dlls/mapi32/Makefile"
20448 ac_config_files
="$ac_config_files dlls/mapi32/tests/Makefile"
20450 ac_config_files
="$ac_config_files dlls/mciavi32/Makefile"
20452 ac_config_files
="$ac_config_files dlls/mcicda/Makefile"
20454 ac_config_files
="$ac_config_files dlls/mciseq/Makefile"
20456 ac_config_files
="$ac_config_files dlls/mciwave/Makefile"
20458 ac_config_files
="$ac_config_files dlls/midimap/Makefile"
20460 ac_config_files
="$ac_config_files dlls/mlang/Makefile"
20462 ac_config_files
="$ac_config_files dlls/mlang/tests/Makefile"
20464 ac_config_files
="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20466 ac_config_files
="$ac_config_files dlls/monodebg.vxd/Makefile"
20468 ac_config_files
="$ac_config_files dlls/mpr/Makefile"
20470 ac_config_files
="$ac_config_files dlls/mprapi/Makefile"
20472 ac_config_files
="$ac_config_files dlls/msacm32.drv/Makefile"
20474 ac_config_files
="$ac_config_files dlls/msacm32/Makefile"
20476 ac_config_files
="$ac_config_files dlls/msacm32/tests/Makefile"
20478 ac_config_files
="$ac_config_files dlls/msadp32.acm/Makefile"
20480 ac_config_files
="$ac_config_files dlls/mscms/Makefile"
20482 ac_config_files
="$ac_config_files dlls/mscms/tests/Makefile"
20484 ac_config_files
="$ac_config_files dlls/mscoree/Makefile"
20486 ac_config_files
="$ac_config_files dlls/msdmo/Makefile"
20488 ac_config_files
="$ac_config_files dlls/msftedit/Makefile"
20490 ac_config_files
="$ac_config_files dlls/msg711.acm/Makefile"
20492 ac_config_files
="$ac_config_files dlls/mshtml/Makefile"
20494 ac_config_files
="$ac_config_files dlls/mshtml/tests/Makefile"
20496 ac_config_files
="$ac_config_files dlls/msi/Makefile"
20498 ac_config_files
="$ac_config_files dlls/msi/tests/Makefile"
20500 ac_config_files
="$ac_config_files dlls/msimg32/Makefile"
20502 ac_config_files
="$ac_config_files dlls/msisys.ocx/Makefile"
20504 ac_config_files
="$ac_config_files dlls/msnet32/Makefile"
20506 ac_config_files
="$ac_config_files dlls/msrle32/Makefile"
20508 ac_config_files
="$ac_config_files dlls/msvcrt/Makefile"
20510 ac_config_files
="$ac_config_files dlls/msvcrt/tests/Makefile"
20512 ac_config_files
="$ac_config_files dlls/msvcrt20/Makefile"
20514 ac_config_files
="$ac_config_files dlls/msvcrt40/Makefile"
20516 ac_config_files
="$ac_config_files dlls/msvcrtd/Makefile"
20518 ac_config_files
="$ac_config_files dlls/msvcrtd/tests/Makefile"
20520 ac_config_files
="$ac_config_files dlls/msvfw32/Makefile"
20522 ac_config_files
="$ac_config_files dlls/msvidc32/Makefile"
20524 ac_config_files
="$ac_config_files dlls/mswsock/Makefile"
20526 ac_config_files
="$ac_config_files dlls/msxml3/Makefile"
20528 ac_config_files
="$ac_config_files dlls/msxml3/tests/Makefile"
20530 ac_config_files
="$ac_config_files dlls/nddeapi/Makefile"
20532 ac_config_files
="$ac_config_files dlls/netapi32/Makefile"
20534 ac_config_files
="$ac_config_files dlls/netapi32/tests/Makefile"
20536 ac_config_files
="$ac_config_files dlls/newdev/Makefile"
20538 ac_config_files
="$ac_config_files dlls/ntdll/Makefile"
20540 ac_config_files
="$ac_config_files dlls/ntdll/tests/Makefile"
20542 ac_config_files
="$ac_config_files dlls/ntdsapi/Makefile"
20544 ac_config_files
="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20546 ac_config_files
="$ac_config_files dlls/ntprint/Makefile"
20548 ac_config_files
="$ac_config_files dlls/ntprint/tests/Makefile"
20550 ac_config_files
="$ac_config_files dlls/objsel/Makefile"
20552 ac_config_files
="$ac_config_files dlls/odbc32/Makefile"
20554 ac_config_files
="$ac_config_files dlls/odbccp32/Makefile"
20556 ac_config_files
="$ac_config_files dlls/odbccp32/tests/Makefile"
20558 ac_config_files
="$ac_config_files dlls/ole32/Makefile"
20560 ac_config_files
="$ac_config_files dlls/ole32/tests/Makefile"
20562 ac_config_files
="$ac_config_files dlls/oleacc/Makefile"
20564 ac_config_files
="$ac_config_files dlls/oleaut32/Makefile"
20566 ac_config_files
="$ac_config_files dlls/oleaut32/tests/Makefile"
20568 ac_config_files
="$ac_config_files dlls/olecli32/Makefile"
20570 ac_config_files
="$ac_config_files dlls/oledlg/Makefile"
20572 ac_config_files
="$ac_config_files dlls/olepro32/Makefile"
20574 ac_config_files
="$ac_config_files dlls/olesvr32/Makefile"
20576 ac_config_files
="$ac_config_files dlls/opengl32/Makefile"
20578 ac_config_files
="$ac_config_files dlls/pdh/Makefile"
20580 ac_config_files
="$ac_config_files dlls/pdh/tests/Makefile"
20582 ac_config_files
="$ac_config_files dlls/powrprof/Makefile"
20584 ac_config_files
="$ac_config_files dlls/printui/Makefile"
20586 ac_config_files
="$ac_config_files dlls/psapi/Makefile"
20588 ac_config_files
="$ac_config_files dlls/psapi/tests/Makefile"
20590 ac_config_files
="$ac_config_files dlls/pstorec/Makefile"
20592 ac_config_files
="$ac_config_files dlls/qcap/Makefile"
20594 ac_config_files
="$ac_config_files dlls/quartz/Makefile"
20596 ac_config_files
="$ac_config_files dlls/quartz/tests/Makefile"
20598 ac_config_files
="$ac_config_files dlls/query/Makefile"
20600 ac_config_files
="$ac_config_files dlls/rasapi32/Makefile"
20602 ac_config_files
="$ac_config_files dlls/resutils/Makefile"
20604 ac_config_files
="$ac_config_files dlls/riched20/Makefile"
20606 ac_config_files
="$ac_config_files dlls/riched20/tests/Makefile"
20608 ac_config_files
="$ac_config_files dlls/riched32/Makefile"
20610 ac_config_files
="$ac_config_files dlls/rpcrt4/Makefile"
20612 ac_config_files
="$ac_config_files dlls/rpcrt4/tests/Makefile"
20614 ac_config_files
="$ac_config_files dlls/rsabase/Makefile"
20616 ac_config_files
="$ac_config_files dlls/rsabase/tests/Makefile"
20618 ac_config_files
="$ac_config_files dlls/rsaenh/Makefile"
20620 ac_config_files
="$ac_config_files dlls/rsaenh/tests/Makefile"
20622 ac_config_files
="$ac_config_files dlls/sane.ds/Makefile"
20624 ac_config_files
="$ac_config_files dlls/schannel/Makefile"
20626 ac_config_files
="$ac_config_files dlls/schannel/tests/Makefile"
20628 ac_config_files
="$ac_config_files dlls/secur32/Makefile"
20630 ac_config_files
="$ac_config_files dlls/secur32/tests/Makefile"
20632 ac_config_files
="$ac_config_files dlls/security/Makefile"
20634 ac_config_files
="$ac_config_files dlls/sensapi/Makefile"
20636 ac_config_files
="$ac_config_files dlls/serialui/Makefile"
20638 ac_config_files
="$ac_config_files dlls/serialui/tests/Makefile"
20640 ac_config_files
="$ac_config_files dlls/setupapi/Makefile"
20642 ac_config_files
="$ac_config_files dlls/setupapi/tests/Makefile"
20644 ac_config_files
="$ac_config_files dlls/sfc/Makefile"
20646 ac_config_files
="$ac_config_files dlls/sfc_os/Makefile"
20648 ac_config_files
="$ac_config_files dlls/shdoclc/Makefile"
20650 ac_config_files
="$ac_config_files dlls/shdocvw/Makefile"
20652 ac_config_files
="$ac_config_files dlls/shdocvw/tests/Makefile"
20654 ac_config_files
="$ac_config_files dlls/shell32/Makefile"
20656 ac_config_files
="$ac_config_files dlls/shell32/tests/Makefile"
20658 ac_config_files
="$ac_config_files dlls/shfolder/Makefile"
20660 ac_config_files
="$ac_config_files dlls/shlwapi/Makefile"
20662 ac_config_files
="$ac_config_files dlls/shlwapi/tests/Makefile"
20664 ac_config_files
="$ac_config_files dlls/snmpapi/Makefile"
20666 ac_config_files
="$ac_config_files dlls/snmpapi/tests/Makefile"
20668 ac_config_files
="$ac_config_files dlls/spoolss/Makefile"
20670 ac_config_files
="$ac_config_files dlls/stdole2.tlb/Makefile"
20672 ac_config_files
="$ac_config_files dlls/stdole32.tlb/Makefile"
20674 ac_config_files
="$ac_config_files dlls/sti/Makefile"
20676 ac_config_files
="$ac_config_files dlls/strmiids/Makefile"
20678 ac_config_files
="$ac_config_files dlls/svrapi/Makefile"
20680 ac_config_files
="$ac_config_files dlls/sxs/Makefile"
20682 ac_config_files
="$ac_config_files dlls/tapi32/Makefile"
20684 ac_config_files
="$ac_config_files dlls/twain_32/Makefile"
20686 ac_config_files
="$ac_config_files dlls/unicows/Makefile"
20688 ac_config_files
="$ac_config_files dlls/url/Makefile"
20690 ac_config_files
="$ac_config_files dlls/urlmon/Makefile"
20692 ac_config_files
="$ac_config_files dlls/urlmon/tests/Makefile"
20694 ac_config_files
="$ac_config_files dlls/user32/Makefile"
20696 ac_config_files
="$ac_config_files dlls/user32/tests/Makefile"
20698 ac_config_files
="$ac_config_files dlls/userenv/Makefile"
20700 ac_config_files
="$ac_config_files dlls/usp10/Makefile"
20702 ac_config_files
="$ac_config_files dlls/usp10/tests/Makefile"
20704 ac_config_files
="$ac_config_files dlls/uuid/Makefile"
20706 ac_config_files
="$ac_config_files dlls/uxtheme/Makefile"
20708 ac_config_files
="$ac_config_files dlls/uxtheme/tests/Makefile"
20710 ac_config_files
="$ac_config_files dlls/vdhcp.vxd/Makefile"
20712 ac_config_files
="$ac_config_files dlls/vdmdbg/Makefile"
20714 ac_config_files
="$ac_config_files dlls/version/Makefile"
20716 ac_config_files
="$ac_config_files dlls/version/tests/Makefile"
20718 ac_config_files
="$ac_config_files dlls/vmm.vxd/Makefile"
20720 ac_config_files
="$ac_config_files dlls/vnbt.vxd/Makefile"
20722 ac_config_files
="$ac_config_files dlls/vnetbios.vxd/Makefile"
20724 ac_config_files
="$ac_config_files dlls/vtdapi.vxd/Makefile"
20726 ac_config_files
="$ac_config_files dlls/vwin32.vxd/Makefile"
20728 ac_config_files
="$ac_config_files dlls/w32skrnl/Makefile"
20730 ac_config_files
="$ac_config_files dlls/winealsa.drv/Makefile"
20732 ac_config_files
="$ac_config_files dlls/wineaudioio.drv/Makefile"
20734 ac_config_files
="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20736 ac_config_files
="$ac_config_files dlls/winecrt0/Makefile"
20738 ac_config_files
="$ac_config_files dlls/wined3d/Makefile"
20740 ac_config_files
="$ac_config_files dlls/winedos/Makefile"
20742 ac_config_files
="$ac_config_files dlls/wineesd.drv/Makefile"
20744 ac_config_files
="$ac_config_files dlls/winejack.drv/Makefile"
20746 ac_config_files
="$ac_config_files dlls/winejoystick.drv/Makefile"
20748 ac_config_files
="$ac_config_files dlls/winemp3.acm/Makefile"
20750 ac_config_files
="$ac_config_files dlls/winenas.drv/Makefile"
20752 ac_config_files
="$ac_config_files dlls/wineoss.drv/Makefile"
20754 ac_config_files
="$ac_config_files dlls/wineps.drv/Makefile"
20756 ac_config_files
="$ac_config_files dlls/winequartz.drv/Makefile"
20758 ac_config_files
="$ac_config_files dlls/winex11.drv/Makefile"
20760 ac_config_files
="$ac_config_files dlls/wing32/Makefile"
20762 ac_config_files
="$ac_config_files dlls/wininet/Makefile"
20764 ac_config_files
="$ac_config_files dlls/wininet/tests/Makefile"
20766 ac_config_files
="$ac_config_files dlls/winmm/Makefile"
20768 ac_config_files
="$ac_config_files dlls/winmm/tests/Makefile"
20770 ac_config_files
="$ac_config_files dlls/winnls32/Makefile"
20772 ac_config_files
="$ac_config_files dlls/winscard/Makefile"
20774 ac_config_files
="$ac_config_files dlls/winspool.drv/Makefile"
20776 ac_config_files
="$ac_config_files dlls/winspool.drv/tests/Makefile"
20778 ac_config_files
="$ac_config_files dlls/wintab32/Makefile"
20780 ac_config_files
="$ac_config_files dlls/wintrust/Makefile"
20782 ac_config_files
="$ac_config_files dlls/wintrust/tests/Makefile"
20784 ac_config_files
="$ac_config_files dlls/wldap32/Makefile"
20786 ac_config_files
="$ac_config_files dlls/wnaspi32/Makefile"
20788 ac_config_files
="$ac_config_files dlls/wow32/Makefile"
20790 ac_config_files
="$ac_config_files dlls/ws2_32/Makefile"
20792 ac_config_files
="$ac_config_files dlls/ws2_32/tests/Makefile"
20794 ac_config_files
="$ac_config_files dlls/wsock32/Makefile"
20796 ac_config_files
="$ac_config_files dlls/wtsapi32/Makefile"
20798 ac_config_files
="$ac_config_files documentation/Makefile"
20800 ac_config_files
="$ac_config_files fonts/Makefile"
20802 ac_config_files
="$ac_config_files include/Makefile"
20804 ac_config_files
="$ac_config_files libs/Makefile"
20806 ac_config_files
="$ac_config_files libs/port/Makefile"
20808 ac_config_files
="$ac_config_files libs/wine/Makefile"
20810 ac_config_files
="$ac_config_files libs/wpp/Makefile"
20812 ac_config_files
="$ac_config_files loader/Makefile"
20814 ac_config_files
="$ac_config_files programs/Makefile"
20816 ac_config_files
="$ac_config_files programs/clock/Makefile"
20818 ac_config_files
="$ac_config_files programs/cmd/Makefile"
20820 ac_config_files
="$ac_config_files programs/cmdlgtst/Makefile"
20822 ac_config_files
="$ac_config_files programs/control/Makefile"
20824 ac_config_files
="$ac_config_files programs/eject/Makefile"
20826 ac_config_files
="$ac_config_files programs/expand/Makefile"
20828 ac_config_files
="$ac_config_files programs/explorer/Makefile"
20830 ac_config_files
="$ac_config_files programs/hh/Makefile"
20832 ac_config_files
="$ac_config_files programs/icinfo/Makefile"
20834 ac_config_files
="$ac_config_files programs/iexplore/Makefile"
20836 ac_config_files
="$ac_config_files programs/msiexec/Makefile"
20838 ac_config_files
="$ac_config_files programs/net/Makefile"
20840 ac_config_files
="$ac_config_files programs/notepad/Makefile"
20842 ac_config_files
="$ac_config_files programs/oleview/Makefile"
20844 ac_config_files
="$ac_config_files programs/progman/Makefile"
20846 ac_config_files
="$ac_config_files programs/regedit/Makefile"
20848 ac_config_files
="$ac_config_files programs/regsvr32/Makefile"
20850 ac_config_files
="$ac_config_files programs/rpcss/Makefile"
20852 ac_config_files
="$ac_config_files programs/rundll32/Makefile"
20854 ac_config_files
="$ac_config_files programs/spoolsv/Makefile"
20856 ac_config_files
="$ac_config_files programs/start/Makefile"
20858 ac_config_files
="$ac_config_files programs/taskmgr/Makefile"
20860 ac_config_files
="$ac_config_files programs/uninstaller/Makefile"
20862 ac_config_files
="$ac_config_files programs/view/Makefile"
20864 ac_config_files
="$ac_config_files programs/wineboot/Makefile"
20866 ac_config_files
="$ac_config_files programs/winebrowser/Makefile"
20868 ac_config_files
="$ac_config_files programs/winecfg/Makefile"
20870 ac_config_files
="$ac_config_files programs/wineconsole/Makefile"
20872 ac_config_files
="$ac_config_files programs/winedbg/Makefile"
20874 ac_config_files
="$ac_config_files programs/winedevice/Makefile"
20876 ac_config_files
="$ac_config_files programs/winefile/Makefile"
20878 ac_config_files
="$ac_config_files programs/winemenubuilder/Makefile"
20880 ac_config_files
="$ac_config_files programs/winemine/Makefile"
20882 ac_config_files
="$ac_config_files programs/winepath/Makefile"
20884 ac_config_files
="$ac_config_files programs/winetest/Makefile"
20886 ac_config_files
="$ac_config_files programs/winevdm/Makefile"
20888 ac_config_files
="$ac_config_files programs/winhelp/Makefile"
20890 ac_config_files
="$ac_config_files programs/winver/Makefile"
20892 ac_config_files
="$ac_config_files programs/wordpad/Makefile"
20894 ac_config_files
="$ac_config_files programs/xcopy/Makefile"
20896 ac_config_files
="$ac_config_files server/Makefile"
20898 ac_config_files
="$ac_config_files tools/Makefile"
20900 ac_config_files
="$ac_config_files tools/widl/Makefile"
20902 ac_config_files
="$ac_config_files tools/winebuild/Makefile"
20904 ac_config_files
="$ac_config_files tools/winedump/Makefile"
20906 ac_config_files
="$ac_config_files tools/winegcc/Makefile"
20908 ac_config_files
="$ac_config_files tools/wmc/Makefile"
20910 ac_config_files
="$ac_config_files tools/wrc/Makefile"
20913 cat >confcache
<<\_ACEOF
20914 # This file is a shell script that caches the results of configure
20915 # tests run on this system so they can be shared between configure
20916 # scripts and configure runs, see configure's option --config-cache.
20917 # It is not useful on other systems. If it contains results you don't
20918 # want to keep, you may remove or edit it.
20920 # config.status only pays attention to the cache file if you give it
20921 # the --recheck option to rerun configure.
20923 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20924 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20925 # following values.
20929 # The following way of writing the cache mishandles newlines in values,
20930 # but we know of no workaround that is simple, portable, and efficient.
20931 # So, we kill variables containing newlines.
20932 # Ultrix sh set writes to stderr and can't be redirected directly,
20933 # and sets the high bit in the cache file unless we assign to the vars.
20935 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20936 eval ac_val
=\$
$ac_var
20940 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20941 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20944 _ | IFS | as_nl
) ;; #(
20945 *) $as_unset $ac_var ;;
20951 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20952 *${as_nl}ac_space
=\
*)
20953 # `set' does not quote correctly, so add quotes (double-quote
20954 # substitution turns \\\\ into \\, and sed turns \\ into \).
20957 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20960 # `set' quotes correctly as required by POSIX, so do not add quotes.
20961 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20970 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20972 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20974 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20975 if test -w "$cache_file"; then
20976 test "x$cache_file" != "x/dev/null" &&
20977 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20978 echo "$as_me: updating cache $cache_file" >&6;}
20979 cat confcache
>$cache_file
20981 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20982 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20987 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20988 # Let make expand exec_prefix.
20989 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20991 DEFS
=-DHAVE_CONFIG_H
20995 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20996 # 1. Remove the extension, and $U if already installed.
20997 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20998 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20999 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21000 # will be set to the directory where LIBOBJS objects are built.
21001 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21002 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21004 LIBOBJS
=$ac_libobjs
21006 LTLIBOBJS
=$ac_ltlibobjs
21010 : ${CONFIG_STATUS=./config.status}
21011 ac_clean_files_save
=$ac_clean_files
21012 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21013 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21014 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21015 cat >$CONFIG_STATUS <<_ACEOF
21017 # Generated by $as_me.
21018 # Run this file to recreate the current configuration.
21019 # Compiler output produced by configure, useful for debugging
21020 # configure, is in config.log if it exists.
21023 ac_cs_recheck=false
21025 SHELL=\${CONFIG_SHELL-$SHELL}
21028 cat >>$CONFIG_STATUS <<\_ACEOF
21029 ## --------------------- ##
21030 ## M4sh Initialization. ##
21031 ## --------------------- ##
21033 # Be more Bourne compatible
21034 DUALCASE
=1; export DUALCASE
# for MKS sh
21035 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21038 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21039 # is contrary to our usage. Disable this feature.
21040 alias -g '${1+"$@"}'='"$@"'
21041 setopt NO_GLOB_SUBST
21043 case `(set -o) 2>/dev/null` in
21044 *posix
*) set -o posix
;;
21053 # Avoid depending upon Character Ranges.
21054 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21055 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21056 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21057 as_cr_digits
='0123456789'
21058 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21060 # The user is always right.
21061 if test "${PATH_SEPARATOR+set}" != set; then
21062 echo "#! /bin/sh" >conf$$.sh
21063 echo "exit 0" >>conf$$.sh
21065 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21073 # Support unset when possible.
21074 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21082 # We need space, tab and new line, in precisely that order. Quoting is
21083 # there to prevent editors from complaining about space-tab.
21084 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21085 # splitting by setting IFS to empty value.)
21090 # Find who we are. Look in the path if we contain no directory separator.
21092 *[\\/]* ) as_myself
=$0 ;;
21093 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21094 for as_dir
in $PATH
21097 test -z "$as_dir" && as_dir
=.
21098 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21104 # We did not find ourselves, most probably we were run as `sh COMMAND'
21105 # in which case we are not to be found in the path.
21106 if test "x$as_myself" = x
; then
21109 if test ! -f "$as_myself"; then
21110 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21111 { (exit 1); exit 1; }
21114 # Work around bugs in pre-3.0 UWIN ksh.
21115 for as_var
in ENV MAIL MAILPATH
21116 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21124 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21125 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21126 LC_TELEPHONE LC_TIME
21128 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21129 eval $as_var=C
; export $as_var
21131 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21135 # Required to use basename.
21136 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21137 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21143 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21144 as_basename
=basename
21150 # Name of the executable.
21151 as_me
=`$as_basename -- "$0" ||
21152 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21153 X"$0" : 'X\(//\)$' \| \
21154 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21156 sed '/^.*\/\([^/][^/]*\)\/*$/{
21175 as_lineno_1
=$LINENO
21176 as_lineno_2
=$LINENO
21177 test "x$as_lineno_1" != "x$as_lineno_2" &&
21178 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21180 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21181 # uniformly replaced by the line number. The first 'sed' inserts a
21182 # line-number line after each line using $LINENO; the second 'sed'
21183 # does the real work. The second script uses 'N' to pair each
21184 # line-number line with the line containing $LINENO, and appends
21185 # trailing '-' during substitution so that $LINENO is not a special
21186 # case at line end.
21187 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21188 # scripts with optimization help from Paolo Bonzini. Blame Lee
21189 # E. McMahon (1931-1989) for sed's syntax. :-)
21201 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21204 ' >$as_me.lineno
&&
21205 chmod +x
"$as_me.lineno" ||
21206 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21207 { (exit 1); exit 1; }; }
21209 # Don't try to exec as it changes $[0], causing all sort of problems
21210 # (the dirname of $[0] is not the place where we might find the
21211 # original and so on. Autoconf is especially sensitive to this).
21212 .
"./$as_me.lineno"
21213 # Exit status is that of the last command.
21218 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21224 ECHO_C
= ECHO_N
= ECHO_T
=
21225 case `echo -n x` in
21227 case `echo 'x\c'` in
21228 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21235 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21236 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21242 rm -f conf$$ conf$$.exe conf$$.
file
21243 if test -d conf$$.dir
; then
21244 rm -f conf$$.dir
/conf$$.
file
21250 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21252 # ... but there are two gotchas:
21253 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21254 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21255 # In both cases, we have to default to `cp -p'.
21256 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21258 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21263 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21264 rmdir conf$$.dir
2>/dev
/null
21266 if mkdir
-p .
2>/dev
/null
; then
21269 test -d .
/-p && rmdir .
/-p
21273 if test -x / >/dev
/null
2>&1; then
21274 as_test_x
='test -x'
21276 if ls -dL / >/dev
/null
2>&1; then
21283 if test -d "$1"; then
21289 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21290 ???[sx]*):;;*)false;;esac;fi
21294 as_executable_p
=$as_test_x
21296 # Sed expression to map a string onto a valid CPP name.
21297 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21299 # Sed expression to map a string onto a valid variable name.
21300 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21305 # Save the log message, to keep $[0] and so on meaningful, and to
21306 # report actual input values of CONFIG_FILES etc. instead of their
21307 # values after options handling.
21309 This file was extended by Wine $as_me 0.9.42, which was
21310 generated by GNU Autoconf 2.61. Invocation command line was
21312 CONFIG_FILES = $CONFIG_FILES
21313 CONFIG_HEADERS = $CONFIG_HEADERS
21314 CONFIG_LINKS = $CONFIG_LINKS
21315 CONFIG_COMMANDS = $CONFIG_COMMANDS
21318 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21323 cat >>$CONFIG_STATUS <<_ACEOF
21324 # Files that config.status was made for.
21325 config_files="$ac_config_files"
21326 config_headers="$ac_config_headers"
21327 config_commands="$ac_config_commands"
21331 cat >>$CONFIG_STATUS <<\_ACEOF
21333 \`$as_me' instantiates files from templates according to the
21334 current configuration.
21336 Usage: $0 [OPTIONS] [FILE]...
21338 -h, --help print this help, then exit
21339 -V, --version print version number and configuration settings, then exit
21340 -q, --quiet do not print progress messages
21341 -d, --debug don't remove temporary files
21342 --recheck update $as_me by reconfiguring in the same conditions
21343 --file=FILE[:TEMPLATE]
21344 instantiate the configuration file FILE
21345 --header=FILE[:TEMPLATE]
21346 instantiate the configuration header FILE
21348 Configuration files:
21351 Configuration headers:
21354 Configuration commands:
21357 Report bugs to <bug-autoconf@gnu.org>."
21360 cat >>$CONFIG_STATUS <<_ACEOF
21362 Wine config.status 0.9.42
21363 configured by $0, generated by GNU Autoconf 2.61,
21364 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21366 Copyright (C) 2006 Free Software Foundation, Inc.
21367 This config.status script is free software; the Free Software Foundation
21368 gives unlimited permission to copy, distribute and modify it."
21375 cat >>$CONFIG_STATUS <<\_ACEOF
21376 # If no file are specified by the user, then we need to provide default
21377 # value. By we need to know if files were specified by the user.
21383 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21384 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21395 # Handling of the options.
21396 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21398 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21399 echo "$ac_cs_version"; exit ;;
21400 --debug |
--debu |
--deb |
--de |
--d |
-d )
21402 --file |
--fil |
--fi |
--f )
21404 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21405 ac_need_defaults
=false
;;
21406 --header |
--heade |
--head |
--hea )
21408 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21409 ac_need_defaults
=false
;;
21411 # Conflict between --help and --header
21412 { echo "$as_me: error: ambiguous option: $1
21413 Try \`$0 --help' for more information." >&2
21414 { (exit 1); exit 1; }; };;
21415 --help |
--hel |
-h )
21416 echo "$ac_cs_usage"; exit ;;
21417 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21418 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21421 # This is an error.
21422 -*) { echo "$as_me: error: unrecognized option: $1
21423 Try \`$0 --help' for more information." >&2
21424 { (exit 1); exit 1; }; } ;;
21426 *) ac_config_targets
="$ac_config_targets $1"
21427 ac_need_defaults
=false
;;
21433 ac_configure_extra_args
=
21435 if $ac_cs_silent; then
21437 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21441 cat >>$CONFIG_STATUS <<_ACEOF
21442 if \$ac_cs_recheck; then
21443 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21444 CONFIG_SHELL=$SHELL
21445 export CONFIG_SHELL
21446 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21450 cat >>$CONFIG_STATUS <<\_ACEOF
21454 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21455 ## Running $as_me. ##
21461 cat >>$CONFIG_STATUS <<_ACEOF
21464 cat >>$CONFIG_STATUS <<\_ACEOF
21466 # Handling of arguments.
21467 for ac_config_target
in $ac_config_targets
21469 case $ac_config_target in
21470 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21471 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
21472 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21473 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21474 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21475 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
21476 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21477 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21478 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
21479 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
21480 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21481 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
21482 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
21483 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21484 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
21485 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
21486 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
21487 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21488 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21489 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
21490 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21491 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
21492 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
21493 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21494 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21495 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
21496 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21497 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21498 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21499 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21500 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
21501 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21502 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21503 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
21504 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21505 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21506 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21507 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21508 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21509 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
21510 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
21511 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21512 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21513 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21514 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21515 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21516 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21517 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21518 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21519 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21520 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21521 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21522 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21523 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21524 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21525 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21526 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21527 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21528 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21529 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21530 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21531 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21532 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
21533 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
21534 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21535 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21536 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
21537 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21538 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
21539 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21540 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21541 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21542 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21543 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21544 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21545 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21546 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21547 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
21548 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21549 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21550 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21551 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21552 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21553 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
21554 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21555 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
21556 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21557 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21558 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21559 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21560 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21561 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21562 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21563 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21564 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21565 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
21566 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21567 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
21568 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21569 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
21570 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
21571 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21572 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21573 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21574 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
21575 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21576 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21577 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21578 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
21579 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21580 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21581 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
21582 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21583 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21584 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
21585 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21586 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21587 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21588 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
21589 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21590 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
21591 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21592 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
21593 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21594 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21595 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21596 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21597 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21598 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21599 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21600 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
21601 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
21602 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21603 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21604 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21605 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
21606 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21607 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21608 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21609 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21610 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21611 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
21612 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21613 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21614 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21615 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21616 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21617 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21618 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21619 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
21620 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21621 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21622 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21623 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21624 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21625 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21626 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21627 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21628 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21629 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21630 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21631 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21632 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21633 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21634 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21635 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21636 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21637 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21638 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21639 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
21640 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21641 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21642 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21643 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21644 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21645 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21646 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
21647 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21648 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21649 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21650 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
21651 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21652 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21653 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21654 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21655 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21656 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21657 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21658 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21659 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21660 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
21661 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
21662 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21663 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
21664 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
21665 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21666 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21667 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
21668 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
21669 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21670 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
21671 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21672 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
21673 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
21674 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21675 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
21676 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21677 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21678 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21679 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21680 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21681 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21682 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21683 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
21684 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21685 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
21686 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21687 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
21688 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21689 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
21690 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21691 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21692 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21693 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
21694 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21695 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21696 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21697 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21698 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
21699 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21700 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21701 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21702 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21703 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21704 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21705 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21706 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21707 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21708 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
21709 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21710 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21711 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
21712 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21713 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21714 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
21715 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
21716 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21717 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21718 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
21719 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21720 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
21721 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
21722 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21723 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
21724 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21725 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21726 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21727 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21728 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
21729 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21730 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21731 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21732 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21733 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21734 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21735 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21736 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21737 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21738 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21739 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21740 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21741 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
21742 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21743 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21744 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21745 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21746 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21747 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21748 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21749 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21750 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21751 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
21752 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
21753 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21754 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
21755 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21756 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21757 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
21758 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21759 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21760 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21761 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21762 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21763 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21764 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21765 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
21766 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21767 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21768 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21769 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21770 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
21771 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
21772 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
21773 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
21774 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
21775 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
21776 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
21777 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
21778 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
21779 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
21780 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
21781 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21782 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
21783 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
21784 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
21785 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
21786 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
21787 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
21788 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
21789 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
21790 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
21791 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
21792 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
21793 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
21794 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
21795 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21796 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
21797 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
21798 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21799 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
21800 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21801 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21802 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
21803 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
21804 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21805 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
21806 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21807 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
21808 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
21809 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
21810 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21811 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
21812 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
21813 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
21814 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
21815 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
21816 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
21817 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
21818 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
21819 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
21820 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
21821 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
21822 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
21823 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
21824 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
21825 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
21826 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
21828 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21829 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21830 { (exit 1); exit 1; }; };;
21835 # If the user did not use the arguments to specify the items to instantiate,
21836 # then the envvar interface is used. Set only those that are not.
21837 # We use the long form for the default assignment because of an extremely
21838 # bizarre bug on SunOS 4.1.3.
21839 if $ac_need_defaults; then
21840 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21841 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21842 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21845 # Have a temporary directory for convenience. Make it in the build tree
21846 # simply because there is no reason against having it here, and in addition,
21847 # creating and moving files from /tmp can sometimes cause problems.
21848 # Hook for its removal unless debugging.
21849 # Note that there is a small window in which the directory will not be cleaned:
21850 # after its creation but before its name has been assigned to `$tmp'.
21854 trap 'exit_status=$?
21855 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21857 trap '{ (exit 1); exit 1; }' 1 2 13 15
21859 # Create a (secure) tmp directory for tmp files.
21862 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21863 test -n "$tmp" && test -d "$tmp"
21866 tmp
=.
/conf$$
-$RANDOM
21867 (umask 077 && mkdir
"$tmp")
21870 echo "$me: cannot create a temporary directory in ." >&2
21871 { (exit 1); exit 1; }
21875 # Set up the sed scripts for CONFIG_FILES section.
21878 # No need to generate the scripts if there are no CONFIG_FILES.
21879 # This happens for instance when ./config.status config.h
21880 if test -n "$CONFIG_FILES"; then
21884 # Create sed commands to just substitute file output variables.
21886 # Remaining file output variables are in a fragment that also has non-file
21892 for ac_last_try
in false false false false false
:; do
21893 cat >conf$
$subs.
sed <<_ACEOF
21894 SHELL!$SHELL$ac_delim
21895 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21896 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21897 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21898 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21899 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21900 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21901 exec_prefix!$exec_prefix$ac_delim
21902 prefix!$prefix$ac_delim
21903 program_transform_name!$program_transform_name$ac_delim
21904 bindir!$bindir$ac_delim
21905 sbindir!$sbindir$ac_delim
21906 libexecdir!$libexecdir$ac_delim
21907 datarootdir!$datarootdir$ac_delim
21908 datadir!$datadir$ac_delim
21909 sysconfdir!$sysconfdir$ac_delim
21910 sharedstatedir!$sharedstatedir$ac_delim
21911 localstatedir!$localstatedir$ac_delim
21912 includedir!$includedir$ac_delim
21913 oldincludedir!$oldincludedir$ac_delim
21914 docdir!$docdir$ac_delim
21915 infodir!$infodir$ac_delim
21916 htmldir!$htmldir$ac_delim
21917 dvidir!$dvidir$ac_delim
21918 pdfdir!$pdfdir$ac_delim
21919 psdir!$psdir$ac_delim
21920 libdir!$libdir$ac_delim
21921 localedir!$localedir$ac_delim
21922 mandir!$mandir$ac_delim
21923 DEFS!$DEFS$ac_delim
21924 ECHO_C!$ECHO_C$ac_delim
21925 ECHO_N!$ECHO_N$ac_delim
21926 ECHO_T!$ECHO_T$ac_delim
21927 LIBS!$LIBS$ac_delim
21928 build_alias!$build_alias$ac_delim
21929 host_alias!$host_alias$ac_delim
21930 target_alias!$target_alias$ac_delim
21931 build!$build$ac_delim
21932 build_cpu!$build_cpu$ac_delim
21933 build_vendor!$build_vendor$ac_delim
21934 build_os!$build_os$ac_delim
21935 host!$host$ac_delim
21936 host_cpu!$host_cpu$ac_delim
21937 host_vendor!$host_vendor$ac_delim
21938 host_os!$host_os$ac_delim
21939 WIN16_FILES!$WIN16_FILES$ac_delim
21940 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21941 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
21942 WINETEST!$WINETEST$ac_delim
21943 SET_MAKE!$SET_MAKE$ac_delim
21945 CFLAGS!$CFLAGS$ac_delim
21946 LDFLAGS!$LDFLAGS$ac_delim
21947 CPPFLAGS!$CPPFLAGS$ac_delim
21948 ac_ct_CC!$ac_ct_CC$ac_delim
21949 EXEEXT!$EXEEXT$ac_delim
21950 OBJEXT!$OBJEXT$ac_delim
21952 CXXFLAGS!$CXXFLAGS$ac_delim
21953 ac_ct_CXX!$ac_ct_CXX$ac_delim
21954 CPPBIN!$CPPBIN$ac_delim
21955 TOOLSDIR!$TOOLSDIR$ac_delim
21956 XMKMF!$XMKMF$ac_delim
21958 X_CFLAGS!$X_CFLAGS$ac_delim
21959 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21960 X_LIBS!$X_LIBS$ac_delim
21961 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21962 FLEX!$FLEX$ac_delim
21963 BISON!$BISON$ac_delim
21965 ac_ct_AS!$ac_ct_AS$ac_delim
21968 RANLIB!$RANLIB$ac_delim
21969 STRIP!$STRIP$ac_delim
21970 WINDRES!$WINDRES$ac_delim
21971 LN_S!$LN_S$ac_delim
21973 GREP!$GREP$ac_delim
21974 EGREP!$EGREP$ac_delim
21975 LDCONFIG!$LDCONFIG$ac_delim
21978 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21980 elif $ac_last_try; then
21981 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21982 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21983 { (exit 1); exit 1; }; }
21985 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21989 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21990 if test -n "$ac_eof"; then
21991 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21992 ac_eof
=`expr $ac_eof + 1`
21995 cat >>$CONFIG_STATUS <<_ACEOF
21996 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21997 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21998 /^[ ]*@MAKE_RULES@[ ]*$/{
22002 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22006 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22007 r $MAKE_IMPLIB_RULES
22010 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22014 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22020 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22021 s/^/s,@/; s/!/@,|#_!!_#|/
22024 s/'"$ac_delim"'$/,g/; t
22026 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22027 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22028 rm -f conf$
$subs.
sed
22029 cat >>$CONFIG_STATUS <<_ACEOF
22035 for ac_last_try
in false false false false false
:; do
22036 cat >conf$
$subs.
sed <<_ACEOF
22037 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22038 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22039 INSTALL_DATA!$INSTALL_DATA$ac_delim
22040 LINT!$LINT$ac_delim
22041 LINTFLAGS!$LINTFLAGS$ac_delim
22042 FONTFORGE!$FONTFORGE$ac_delim
22043 PKG_CONFIG!$PKG_CONFIG$ac_delim
22044 PRELINK!$PRELINK$ac_delim
22045 LIBPTHREAD!$LIBPTHREAD$ac_delim
22046 XLIB!$XLIB$ac_delim
22047 XFILES!$XFILES$ac_delim
22048 OPENGLFILES!$OPENGLFILES$ac_delim
22049 GLU32FILES!$GLU32FILES$ac_delim
22050 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22051 QUARTZFILES!$QUARTZFILES$ac_delim
22052 DLLEXT!$DLLEXT$ac_delim
22053 DLLFLAGS!$DLLFLAGS$ac_delim
22054 LDSHARED!$LDSHARED$ac_delim
22055 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22056 LIBEXT!$LIBEXT$ac_delim
22057 IMPLIBEXT!$IMPLIBEXT$ac_delim
22058 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22059 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22061 DLLTOOL!$DLLTOOL$ac_delim
22062 DLLWRAP!$DLLWRAP$ac_delim
22063 MINGWAR!$MINGWAR$ac_delim
22064 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22065 IOKITLIB!$IOKITLIB$ac_delim
22066 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22067 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22068 COREAUDIO!$COREAUDIO$ac_delim
22069 CARBONLIB!$CARBONLIB$ac_delim
22070 CROSSTEST!$CROSSTEST$ac_delim
22071 CROSSCC!$CROSSCC$ac_delim
22072 CROSSWINDRES!$CROSSWINDRES$ac_delim
22073 NASLIBS!$NASLIBS$ac_delim
22074 XML2LIBS!$XML2LIBS$ac_delim
22075 XML2INCL!$XML2INCL$ac_delim
22076 XSLTLIBS!$XSLTLIBS$ac_delim
22077 XSLTINCL!$XSLTINCL$ac_delim
22078 HALINCL!$HALINCL$ac_delim
22079 sane_devel!$sane_devel$ac_delim
22080 SANEINCL!$SANEINCL$ac_delim
22081 gphoto2_devel!$gphoto2_devel$ac_delim
22082 gphoto2port_devel!$gphoto2port_devel$ac_delim
22083 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22084 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22085 ICULIBS!$ICULIBS$ac_delim
22086 RESOLVLIBS!$RESOLVLIBS$ac_delim
22087 LCMSLIBS!$LCMSLIBS$ac_delim
22088 LDAPLIBS!$LDAPLIBS$ac_delim
22089 ft_devel!$ft_devel$ac_delim
22090 FREETYPELIBS!$FREETYPELIBS$ac_delim
22091 FREETYPEINCL!$FREETYPEINCL$ac_delim
22092 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22093 ESDCONFIG!$ESDCONFIG$ac_delim
22094 ESDLIBS!$ESDLIBS$ac_delim
22095 ESDINCL!$ESDINCL$ac_delim
22096 ALSALIBS!$ALSALIBS$ac_delim
22097 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22098 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22099 BUILTINFLAG!$BUILTINFLAG$ac_delim
22100 LDPATH!$LDPATH$ac_delim
22101 CRTLIBS!$CRTLIBS$ac_delim
22102 SOCKETLIBS!$SOCKETLIBS$ac_delim
22103 MAIN_BINARY!$MAIN_BINARY$ac_delim
22104 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22105 LIBDL!$LIBDL$ac_delim
22106 LIBPOLL!$LIBPOLL$ac_delim
22107 DEPENDENCIES!$DEPENDENCIES$ac_delim
22108 LIBOBJS!$LIBOBJS$ac_delim
22109 LTLIBOBJS!$LTLIBOBJS$ac_delim
22112 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 73; then
22114 elif $ac_last_try; then
22115 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22116 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22117 { (exit 1); exit 1; }; }
22119 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22123 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22124 if test -n "$ac_eof"; then
22125 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22126 ac_eof
=`expr $ac_eof + 1`
22129 cat >>$CONFIG_STATUS <<_ACEOF
22130 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22131 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22134 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22135 s/^/s,@/; s/!/@,|#_!!_#|/
22138 s/'"$ac_delim"'$/,g/; t
22140 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22141 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22142 rm -f conf$
$subs.
sed
22143 cat >>$CONFIG_STATUS <<_ACEOF
22150 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22151 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22152 # trailing colons and then remove the whole line if VPATH becomes empty
22153 # (actually we leave an empty line to preserve line numbers).
22154 if test "x$srcdir" = x.
; then
22155 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22156 s/:*\$(srcdir):*/:/
22157 s/:*\${srcdir}:*/:/
22159 s/^\([^=]*=[ ]*\):*/\1/
22165 cat >>$CONFIG_STATUS <<\_ACEOF
22166 fi # test -n "$CONFIG_FILES"
22169 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22172 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22174 case $ac_mode$ac_tag in
22176 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22177 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22178 { (exit 1); exit 1; }; };;
22179 :[FH
]-) ac_tag
=-:-;;
22180 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22197 -) ac_f
="$tmp/stdin";;
22198 *) # Look for the file first in the build tree, then in the source tree
22199 # (if the path is not absolute). The absolute path cannot be DOS-style,
22200 # because $ac_f cannot contain `:'.
22204 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22206 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22207 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22208 { (exit 1); exit 1; }; };;
22210 ac_file_inputs
="$ac_file_inputs $ac_f"
22213 # Let's still pretend it is `configure' which instantiates (i.e., don't
22214 # use $as_me), people would be surprised to read:
22215 # /* config.h. Generated by config.status. */
22216 configure_input
="Generated from "`IFS=:
22217 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22218 if test x
"$ac_file" != x-
; then
22219 configure_input
="$ac_file. $configure_input"
22220 { echo "$as_me:$LINENO: creating $ac_file" >&5
22221 echo "$as_me: creating $ac_file" >&6;}
22225 *:-:* |
*:-) cat >"$tmp/stdin";;
22230 ac_dir
=`$as_dirname -- "$ac_file" ||
22231 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22232 X"$ac_file" : 'X\(//\)[^/]' \| \
22233 X"$ac_file" : 'X\(//\)$' \| \
22234 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22240 /^X\(\/\/\)[^/].*/{
22255 -*) as_dir
=.
/$as_dir;;
22257 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22261 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22262 *) as_qdir
=$as_dir;;
22264 as_dirs
="'$as_qdir' $as_dirs"
22265 as_dir
=`$as_dirname -- "$as_dir" ||
22266 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22267 X"$as_dir" : 'X\(//\)[^/]' \| \
22268 X"$as_dir" : 'X\(//\)$' \| \
22269 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22275 /^X\(\/\/\)[^/].*/{
22288 test -d "$as_dir" && break
22290 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22291 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22292 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22293 { (exit 1); exit 1; }; }; }
22297 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22299 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22300 # A ".." for each directory in $ac_dir_suffix.
22301 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22302 case $ac_top_builddir_sub in
22303 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22304 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22307 ac_abs_top_builddir
=$ac_pwd
22308 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22309 # for backward compatibility:
22310 ac_top_builddir
=$ac_top_build_prefix
22313 .
) # We are building in place.
22315 ac_top_srcdir
=$ac_top_builddir_sub
22316 ac_abs_top_srcdir
=$ac_pwd ;;
22317 [\\/]* | ?
:[\\/]* ) # Absolute name.
22318 ac_srcdir
=$srcdir$ac_dir_suffix;
22319 ac_top_srcdir
=$srcdir
22320 ac_abs_top_srcdir
=$srcdir ;;
22321 *) # Relative name.
22322 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22323 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22324 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22326 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22336 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22337 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22341 cat >>$CONFIG_STATUS <<\_ACEOF
22342 # If the template does not know about datarootdir, expand it.
22343 # FIXME: This hack should be removed a few years after 2.60.
22344 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22346 case `sed -n '/datarootdir/ {
22355 ' $ac_file_inputs` in
22356 *datarootdir
*) ac_datarootdir_seen
=yes;;
22357 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22358 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22359 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22361 cat >>$CONFIG_STATUS <<_ACEOF
22362 ac_datarootdir_hack='
22363 s&@datadir@&$datadir&g
22364 s&@docdir@&$docdir&g
22365 s&@infodir@&$infodir&g
22366 s&@localedir@&$localedir&g
22367 s&@mandir@&$mandir&g
22368 s&\\\${datarootdir}&$datarootdir&g' ;;
22372 # Neutralize VPATH when `$srcdir' = `.'.
22373 # Shell code in configure.ac might set extrasub.
22374 # FIXME: do we really want to maintain this feature?
22375 cat >>$CONFIG_STATUS <<_ACEOF
22379 cat >>$CONFIG_STATUS <<\_ACEOF
22381 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22382 s
&@configure_input@
&$configure_input&;t t
22383 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22384 s
&@srcdir@
&$ac_srcdir&;t t
22385 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22386 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22387 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22388 s
&@builddir@
&$ac_builddir&;t t
22389 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22390 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22391 s
&@INSTALL@
&$ac_INSTALL&;t t
22392 $ac_datarootdir_hack
22393 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22395 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22396 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22397 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22398 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22399 which seems to be undefined. Please make sure it is defined." >&5
22400 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22401 which seems to be undefined. Please make sure it is defined." >&2;}
22405 -) cat "$tmp/out"; rm -f "$tmp/out";;
22406 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22415 # Transform confdefs.h into a sed script `conftest.defines', that
22416 # substitutes the proper values into config.h.in to produce config.h.
22417 rm -f conftest.defines conftest.
tail
22418 # First, append a space to every undef/define line, to ease matching.
22419 echo 's/$/ /' >conftest.defines
22420 # Then, protect against being on the right side of a sed subst, or in
22421 # an unquoted here document, in config.status. If some macros were
22422 # called several times there might be several #defines for the same
22423 # symbol, which is useless. But do not sort them, since the last
22424 # AC_DEFINE must be honored.
22425 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22426 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22427 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22428 # PARAMS is the parameter list in the macro definition--in most cases, it's
22429 # just an empty string.
22430 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22431 ac_dB
='\\)[ (].*,\\1define\\2'
22439 s/^[ ]*#[ ]*define[ ][ ]*//
22444 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22445 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22446 ' >>conftest.defines
22448 # Remove the space that was appended to ease matching.
22449 # Then replace #undef with comments. This is necessary, for
22450 # example, in the case of _POSIX_SOURCE, which is predefined and required
22451 # on some systems where configure will not decide to define it.
22452 # (The regexp can be short, since the line contains either #define or #undef.)
22454 s,^[ #]*u.*,/* & */,' >>conftest.defines
22456 # Break up conftest.defines:
22457 ac_max_sed_lines
=50
22459 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22460 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22461 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22463 ac_in
='$ac_file_inputs'
22464 ac_out
='"$tmp/out1"'
22465 ac_nxt
='"$tmp/out2"'
22469 # Write a here document:
22470 cat >>$CONFIG_STATUS <<_ACEOF
22471 # First, check the format of the line:
22472 cat >"\$tmp/defines.sed" <<\\CEOF
22473 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22474 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22478 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22480 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22481 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22482 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22483 grep . conftest.
tail >/dev
/null ||
break
22484 rm -f conftest.defines
22485 mv conftest.
tail conftest.defines
22487 rm -f conftest.defines conftest.
tail
22489 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22490 cat >>$CONFIG_STATUS <<\_ACEOF
22491 if test x
"$ac_file" != x-
; then
22492 echo "/* $configure_input */" >"$tmp/config.h"
22493 cat "$ac_result" >>"$tmp/config.h"
22494 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22495 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22496 echo "$as_me: $ac_file is unchanged" >&6;}
22499 mv "$tmp/config.h" $ac_file
22502 echo "/* $configure_input */"
22508 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22509 echo "$as_me: executing $ac_file commands" >&6;}
22514 case $ac_file$ac_mode in
22515 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
22516 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22517 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
22518 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22519 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
22520 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22521 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
22522 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22523 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
22524 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22525 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
22526 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
22527 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
22533 { (exit 0); exit 0; }
22535 chmod +x
$CONFIG_STATUS
22536 ac_clean_files
=$ac_clean_files_save
22539 # configure is writing to config.log, and then calls config.status.
22540 # config.status does its own redirection, appending to config.log.
22541 # Unfortunately, on DOS this fails, as config.log is still kept open
22542 # by configure, so config.status won't be able to write to it; its
22543 # output is simply discarded. So we exec the FD to /dev/null,
22544 # effectively closing config.log, so it can be properly (re)opened and
22545 # appended to by config.status. When coming back to configure, we
22546 # need to make the FD available again.
22547 if test "$no_create" != yes; then
22549 ac_config_status_args
=
22550 test "$silent" = yes &&
22551 ac_config_status_args
="$ac_config_status_args --quiet"
22553 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22555 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22556 # would make configure fail if this is the last instruction.
22557 $ac_cs_success ||
{ (exit 1); exit 1; }
22561 if test "$no_create" = "yes"
22568 if test "$verbose" = "yes"; then
22569 for msg
in $wine_notices; do
22570 if test -n "$msg"; then
22572 { echo "$as_me:$LINENO: $msg" >&5
22573 echo "$as_me: $msg" >&6;}
22577 for msg
in $wine_warnings; do
22578 if test -n "$msg"; then
22580 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22581 echo "$as_me: WARNING: $msg" >&2;}
22587 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."