2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.45.
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.45'
578 PACKAGE_STRING
='Wine 0.9.45'
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
772 ac_subst_files
='MAKE_RULES
777 ac_precious_vars
='build_alias
792 # Initialize some variables set by options.
794 ac_init_version
=false
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
804 program_transform_name
=s
,x
,x
,
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir
='${exec_prefix}/bin'
819 sbindir
='${exec_prefix}/sbin'
820 libexecdir
='${exec_prefix}/libexec'
821 datarootdir
='${prefix}/share'
822 datadir
='${datarootdir}'
823 sysconfdir
='${prefix}/etc'
824 sharedstatedir
='${prefix}/com'
825 localstatedir
='${prefix}/var'
826 includedir
='${prefix}/include'
827 oldincludedir
='/usr/include'
828 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir
='${datarootdir}/info'
834 libdir
='${exec_prefix}/lib'
835 localedir
='${datarootdir}/locale'
836 mandir
='${datarootdir}/man'
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\
$ac_option
850 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
854 # Accept the important Cygnus configure options, so we can diagnose typos.
856 case $ac_dashdash$ac_option in
860 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
862 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
865 -build |
--build |
--buil |
--bui |
--bu)
866 ac_prev
=build_alias
;;
867 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
868 build_alias
=$ac_optarg ;;
870 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
871 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
872 ac_prev
=cache_file
;;
873 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
874 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
875 cache_file
=$ac_optarg ;;
878 cache_file
=config.cache
;;
880 -datadir |
--datadir |
--datadi |
--datad)
882 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
883 datadir
=$ac_optarg ;;
885 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
886 |
--dataroo |
--dataro |
--datar)
887 ac_prev
=datarootdir
;;
888 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
889 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
890 datarootdir
=$ac_optarg ;;
892 -disable-* |
--disable-*)
893 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
896 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
897 { (exit 1); exit 1; }; }
898 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
899 eval enable_
$ac_feature=no
;;
901 -docdir |
--docdir |
--docdi |
--doc |
--do)
903 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
906 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
908 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
911 -enable-* |
--enable-*)
912 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names.
914 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
915 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
916 { (exit 1); exit 1; }; }
917 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
918 eval enable_
$ac_feature=\
$ac_optarg ;;
920 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
921 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
922 |
--exec |
--exe |
--ex)
923 ac_prev
=exec_prefix
;;
924 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
925 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
926 |
--exec=* |
--exe=* |
--ex=*)
927 exec_prefix
=$ac_optarg ;;
929 -gas |
--gas |
--ga |
--g)
930 # Obsolete; use --with-gas.
933 -help |
--help |
--hel |
--he |
-h)
935 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
936 ac_init_help
=recursive
;;
937 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
938 ac_init_help
=short
;;
940 -host |
--host |
--hos |
--ho)
941 ac_prev
=host_alias
;;
942 -host=* |
--host=* |
--hos=* |
--ho=*)
943 host_alias
=$ac_optarg ;;
945 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
947 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
949 htmldir
=$ac_optarg ;;
951 -includedir |
--includedir |
--includedi |
--included |
--include \
952 |
--includ |
--inclu |
--incl |
--inc)
953 ac_prev
=includedir
;;
954 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
955 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
956 includedir
=$ac_optarg ;;
958 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
960 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
961 infodir
=$ac_optarg ;;
963 -libdir |
--libdir |
--libdi |
--libd)
965 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
968 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
969 |
--libexe |
--libex |
--libe)
970 ac_prev
=libexecdir
;;
971 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
972 |
--libexe=* |
--libex=* |
--libe=*)
973 libexecdir
=$ac_optarg ;;
975 -localedir |
--localedir |
--localedi |
--localed |
--locale)
977 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
978 localedir
=$ac_optarg ;;
980 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
981 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
982 ac_prev
=localstatedir
;;
983 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
984 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
985 localstatedir
=$ac_optarg ;;
987 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
989 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
993 # Obsolete; use --without-fp.
996 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
997 |
--no-cr |
--no-c |
-n)
1000 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1001 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1004 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1005 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1006 |
--oldin |
--oldi |
--old |
--ol |
--o)
1007 ac_prev
=oldincludedir
;;
1008 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1009 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1010 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1011 oldincludedir
=$ac_optarg ;;
1013 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1015 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1016 prefix
=$ac_optarg ;;
1018 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1019 |
--program-pre |
--program-pr |
--program-p)
1020 ac_prev
=program_prefix
;;
1021 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1022 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1023 program_prefix
=$ac_optarg ;;
1025 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1026 |
--program-suf |
--program-su |
--program-s)
1027 ac_prev
=program_suffix
;;
1028 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1029 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1030 program_suffix
=$ac_optarg ;;
1032 -program-transform-name |
--program-transform-name \
1033 |
--program-transform-nam |
--program-transform-na \
1034 |
--program-transform-n |
--program-transform- \
1035 |
--program-transform |
--program-transfor \
1036 |
--program-transfo |
--program-transf \
1037 |
--program-trans |
--program-tran \
1038 |
--progr-tra |
--program-tr |
--program-t)
1039 ac_prev
=program_transform_name
;;
1040 -program-transform-name=* |
--program-transform-name=* \
1041 |
--program-transform-nam=* |
--program-transform-na=* \
1042 |
--program-transform-n=* |
--program-transform-=* \
1043 |
--program-transform=* |
--program-transfor=* \
1044 |
--program-transfo=* |
--program-transf=* \
1045 |
--program-trans=* |
--program-tran=* \
1046 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1047 program_transform_name
=$ac_optarg ;;
1049 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1051 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1052 pdfdir
=$ac_optarg ;;
1054 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1056 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1059 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1060 |
-silent |
--silent |
--silen |
--sile |
--sil)
1063 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1065 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1067 sbindir
=$ac_optarg ;;
1069 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1070 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1071 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1073 ac_prev
=sharedstatedir
;;
1074 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1075 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1076 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1078 sharedstatedir
=$ac_optarg ;;
1080 -site |
--site |
--sit)
1082 -site=* |
--site=* |
--sit=*)
1085 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1087 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1088 srcdir
=$ac_optarg ;;
1090 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1091 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1092 ac_prev
=sysconfdir
;;
1093 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1094 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1095 sysconfdir
=$ac_optarg ;;
1097 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1098 ac_prev
=target_alias
;;
1099 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1100 target_alias
=$ac_optarg ;;
1102 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1105 -version |
--version |
--versio |
--versi |
--vers |
-V)
1106 ac_init_version
=: ;;
1109 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1112 { echo "$as_me: error: invalid package name: $ac_package" >&2
1113 { (exit 1); exit 1; }; }
1114 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1115 eval with_
$ac_package=\
$ac_optarg ;;
1117 -without-* |
--without-*)
1118 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1121 { echo "$as_me: error: invalid package name: $ac_package" >&2
1122 { (exit 1); exit 1; }; }
1123 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1124 eval with_
$ac_package=no
;;
1127 # Obsolete; use --with-x.
1130 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1131 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1132 ac_prev
=x_includes
;;
1133 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1134 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1135 x_includes
=$ac_optarg ;;
1137 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1138 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1139 ac_prev
=x_libraries
;;
1140 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1141 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1142 x_libraries
=$ac_optarg ;;
1144 -*) { echo "$as_me: error: unrecognized option: $ac_option
1145 Try \`$0 --help' for more information." >&2
1146 { (exit 1); exit 1; }; }
1150 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1153 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1154 { (exit 1); exit 1; }; }
1155 eval $ac_envvar=\
$ac_optarg
1156 export $ac_envvar ;;
1159 # FIXME: should be removed in autoconf 3.0.
1160 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1161 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1162 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1163 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1169 if test -n "$ac_prev"; then
1170 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1171 { echo "$as_me: error: missing argument to $ac_option" >&2
1172 { (exit 1); exit 1; }; }
1175 # Be sure to have absolute directory names.
1176 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1177 datadir sysconfdir sharedstatedir localstatedir includedir \
1178 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1179 libdir localedir mandir
1181 eval ac_val
=\$
$ac_var
1183 [\\/$
]* | ?
:[\\/]* ) continue;;
1184 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1186 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1187 { (exit 1); exit 1; }; }
1190 # There might be people who depend on the old broken behavior: `$host'
1191 # used to hold the argument of --host etc.
1192 # FIXME: To remove some day.
1195 target
=$target_alias
1197 # FIXME: To remove some day.
1198 if test "x$host_alias" != x
; then
1199 if test "x$build_alias" = x
; then
1200 cross_compiling
=maybe
1201 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1202 If a cross compiler is detected then cross compile mode will be used." >&2
1203 elif test "x$build_alias" != "x$host_alias"; then
1209 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1211 test "$silent" = yes && exec 6>/dev
/null
1214 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1215 ac_ls_di
=`ls -di .` &&
1216 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1217 { echo "$as_me: error: Working directory cannot be determined" >&2
1218 { (exit 1); exit 1; }; }
1219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220 { echo "$as_me: error: pwd does not report name of working directory" >&2
1221 { (exit 1); exit 1; }; }
1224 # Find the source files, if location was not specified.
1225 if test -z "$srcdir"; then
1226 ac_srcdir_defaulted
=yes
1227 # Try the directory containing this script, then the parent directory.
1228 ac_confdir
=`$as_dirname -- "$0" ||
1229 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1230 X"$0" : 'X\(//\)[^/]' \| \
1231 X"$0" : 'X\(//\)$' \| \
1232 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1256 ac_srcdir_defaulted
=no
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1260 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1261 { (exit 1); exit 1; }; }
1263 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1265 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1266 { (exit 1); exit 1; }; }
1268 # When building in place, set srcdir=.
1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
1272 # Remove unnecessary trailing slashes from srcdir.
1273 # Double slashes in file names in object file debugging info
1274 # mess up M-x gdb in Emacs.
1276 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1278 for ac_var
in $ac_precious_vars; do
1279 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1280 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1281 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1282 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1286 # Report the --help message.
1288 if test "$ac_init_help" = "long"; then
1289 # Omit some internal or obsolete options to make the list less imposing.
1290 # This message is too long to be a string in the A/UX 3.1 sh.
1292 \`configure' configures Wine 0.9.45 to adapt to many kinds of systems.
1294 Usage: $0 [OPTION]... [VAR=VALUE]...
1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1297 VAR=VALUE. See below for descriptions of some of the useful variables.
1299 Defaults for the options are specified in brackets.
1302 -h, --help display this help and exit
1303 --help=short display options specific to this package
1304 --help=recursive display the short help of all the included packages
1305 -V, --version display version information and exit
1306 -q, --quiet, --silent do not print \`checking...' messages
1307 --cache-file=FILE cache test results in FILE [disabled]
1308 -C, --config-cache alias for \`--cache-file=config.cache'
1309 -n, --no-create do not create output files
1310 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1312 Installation directories:
1313 --prefix=PREFIX install architecture-independent files in PREFIX
1314 [$ac_default_prefix]
1315 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1318 By default, \`make install' will install all the files in
1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1321 for instance \`--prefix=\$HOME'.
1323 For better control, use the options below.
1325 Fine tuning of the installation directories:
1326 --bindir=DIR user executables [EPREFIX/bin]
1327 --sbindir=DIR system admin executables [EPREFIX/sbin]
1328 --libexecdir=DIR program executables [EPREFIX/libexec]
1329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1331 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1332 --libdir=DIR object code libraries [EPREFIX/lib]
1333 --includedir=DIR C header files [PREFIX/include]
1334 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1337 --infodir=DIR info documentation [DATAROOTDIR/info]
1338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1339 --mandir=DIR man documentation [DATAROOTDIR/man]
1340 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1341 --htmldir=DIR html documentation [DOCDIR]
1342 --dvidir=DIR dvi documentation [DOCDIR]
1343 --pdfdir=DIR pdf documentation [DOCDIR]
1344 --psdir=DIR ps documentation [DOCDIR]
1350 --x-includes=DIR X include files are
in DIR
1351 --x-libraries=DIR X library files are
in DIR
1354 --build=BUILD configure
for building on BUILD
[guessed
]
1355 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1359 if test -n "$ac_init_help"; then
1360 case $ac_init_help in
1361 short | recursive
) echo "Configuration of Wine 0.9.45:";;
1366 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1367 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1368 --disable-win16 do not include Win16 support
1369 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1371 --disable-tests do not build the testsuites
1374 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1375 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1376 --without-opengl do not use OpenGL
1377 --with-wine-tools=<dir> use Wine tools from directory <dir>
1378 --with-x use the X Window System
1380 Some influential environment variables:
1381 CC C compiler command
1382 CFLAGS C compiler flags
1383 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1384 nonstandard directory <lib dir>
1385 LIBS libraries to pass to the linker, e.g. -l<library>
1386 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1387 you have headers in a nonstandard directory <include dir>
1388 CXX C++ compiler command
1389 CXXFLAGS C++ compiler flags
1390 XMKMF Path to xmkmf, Makefile generator for X Window System
1393 Use these variables to override the choices made by `configure' or to
help
1394 it to
find libraries and programs with nonstandard names
/locations.
1396 Report bugs to
<wine-devel@winehq.org
>.
1401 if test "$ac_init_help" = "recursive"; then
1402 # If there are subdirs, report their specific --help.
1403 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1404 test -d "$ac_dir" ||
continue
1408 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1410 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1411 # A ".." for each directory in $ac_dir_suffix.
1412 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1413 case $ac_top_builddir_sub in
1414 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1415 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1418 ac_abs_top_builddir
=$ac_pwd
1419 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1420 # for backward compatibility:
1421 ac_top_builddir
=$ac_top_build_prefix
1424 .
) # We are building in place.
1426 ac_top_srcdir
=$ac_top_builddir_sub
1427 ac_abs_top_srcdir
=$ac_pwd ;;
1428 [\\/]* | ?
:[\\/]* ) # Absolute name.
1429 ac_srcdir
=$srcdir$ac_dir_suffix;
1430 ac_top_srcdir
=$srcdir
1431 ac_abs_top_srcdir
=$srcdir ;;
1433 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1434 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1435 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1437 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1439 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1440 # Check for guested configure.
1441 if test -f "$ac_srcdir/configure.gnu"; then
1443 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1444 elif test -f "$ac_srcdir/configure"; then
1446 $SHELL "$ac_srcdir/configure" --help=recursive
1448 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1450 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1454 test -n "$ac_init_help" && exit $ac_status
1455 if $ac_init_version; then
1457 Wine configure
0.9.45
1458 generated by GNU Autoconf
2.61
1460 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1461 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1462 This configure
script is free software
; the Free Software Foundation
1463 gives unlimited permission to copy
, distribute and modify it.
1467 cat >config.log
<<_ACEOF
1468 This file contains any messages produced by compilers while
1469 running configure, to aid debugging if configure makes a mistake.
1471 It was created by Wine $as_me 0.9.45, which was
1472 generated by GNU Autoconf 2.61. Invocation command line was
1484 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1485 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1486 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1487 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1488 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1490 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1491 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1493 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1494 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1495 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1496 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1497 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1498 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1499 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1507 test -z "$as_dir" && as_dir
=.
1508 echo "PATH: $as_dir"
1524 # Keep a trace of the command line.
1525 # Strip out --no-create and --no-recursion so they do not pile up.
1526 # Strip out --silent because we don't want to record it for future runs.
1527 # Also quote any args containing shell meta-characters.
1528 # Make two passes to allow for proper duplicate-argument suppression.
1532 ac_must_keep_next
=false
1538 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1540 |
-silent |
--silent |
--silen |
--sile |
--sil)
1543 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1546 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1548 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1549 if test $ac_must_keep_next = true
; then
1550 ac_must_keep_next
=false
# Got value, back to normal.
1553 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1554 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1555 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1556 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1557 case "$ac_configure_args0 " in
1558 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1561 -* ) ac_must_keep_next
=true
;;
1564 ac_configure_args
="$ac_configure_args '$ac_arg'"
1569 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1570 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1572 # When interrupted or exit'd, cleanup temporary files, and complete
1573 # config.log. We remove comments because anyway the quotes in there
1574 # would cause problems or look ugly.
1575 # WARNING: Use '\'' to represent an apostrophe within the trap.
1576 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1577 trap 'exit_status=$?
1578 # Save into config.log some information that might help in debugging.
1583 ## ---------------- ##
1584 ## Cache variables. ##
1585 ## ---------------- ##
1588 # The following way of writing the cache mishandles newlines in values,
1590 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1591 eval ac_val=\$$ac_var
1595 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1596 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1599 _ | IFS | as_nl) ;; #(
1600 *) $as_unset $ac_var ;;
1605 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1606 *${as_nl}ac_space=\ *)
1608 "s/'\''/'\''\\\\'\'''\''/g;
1609 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1612 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1620 ## ----------------- ##
1621 ## Output variables. ##
1622 ## ----------------- ##
1625 for ac_var in $ac_subst_vars
1627 eval ac_val=\$$ac_var
1629 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1631 echo "$ac_var='\''$ac_val'\''"
1635 if test -n "$ac_subst_files"; then
1637 ## ------------------- ##
1638 ## File substitutions. ##
1639 ## ------------------- ##
1642 for ac_var
in $ac_subst_files
1644 eval ac_val
=\$
$ac_var
1646 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1648 echo "$ac_var='\''$ac_val'\''"
1653 if test -s confdefs.h; then
1663 test "$ac_signal" != 0 &&
1664 echo "$as_me: caught signal $ac_signal"
1665 echo "$as_me: exit $exit_status"
1667 rm -f core *.core core.conftest.* &&
1668 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1671 for ac_signal
in 1 2 13 15; do
1672 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1676 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1677 rm -f -r conftest
* confdefs.h
1679 # Predefined preprocessor variables.
1681 cat >>confdefs.h
<<_ACEOF
1682 #define PACKAGE_NAME "$PACKAGE_NAME"
1686 cat >>confdefs.h
<<_ACEOF
1687 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1691 cat >>confdefs.h
<<_ACEOF
1692 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1696 cat >>confdefs.h
<<_ACEOF
1697 #define PACKAGE_STRING "$PACKAGE_STRING"
1701 cat >>confdefs.h
<<_ACEOF
1702 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1706 # Let the site file select an alternate cache file if it wants to.
1707 # Prefer explicitly selected file to automatically selected ones.
1708 if test -n "$CONFIG_SITE"; then
1709 set x
"$CONFIG_SITE"
1710 elif test "x$prefix" != xNONE
; then
1711 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1713 set x
"$ac_default_prefix/share/config.site" \
1714 "$ac_default_prefix/etc/config.site"
1719 if test -r "$ac_site_file"; then
1720 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1721 echo "$as_me: loading site script $ac_site_file" >&6;}
1722 sed 's/^/| /' "$ac_site_file" >&5
1727 if test -r "$cache_file"; then
1728 # Some versions of bash will fail to source /dev/null (special
1729 # files actually), so we avoid doing that.
1730 if test -f "$cache_file"; then
1731 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1732 echo "$as_me: loading cache $cache_file" >&6;}
1734 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1735 *) .
"./$cache_file";;
1739 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1740 echo "$as_me: creating cache $cache_file" >&6;}
1744 # Check that the precious variables saved in the cache have kept the same
1746 ac_cache_corrupted
=false
1747 for ac_var
in $ac_precious_vars; do
1748 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1749 eval ac_new_set
=\
$ac_env_${ac_var}_set
1750 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1751 eval ac_new_val
=\
$ac_env_${ac_var}_value
1752 case $ac_old_set,$ac_new_set in
1754 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1755 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1756 ac_cache_corrupted
=: ;;
1758 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1759 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1760 ac_cache_corrupted
=: ;;
1763 if test "x$ac_old_val" != "x$ac_new_val"; then
1764 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1765 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1766 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1767 echo "$as_me: former value: $ac_old_val" >&2;}
1768 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1769 echo "$as_me: current value: $ac_new_val" >&2;}
1770 ac_cache_corrupted
=:
1773 # Pass precious variables to config.status.
1774 if test "$ac_new_set" = set; then
1776 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1777 *) ac_arg
=$ac_var=$ac_new_val ;;
1779 case " $ac_configure_args " in
1780 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1781 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1785 if $ac_cache_corrupted; then
1786 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1787 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1788 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1789 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1790 { (exit 1); exit 1; }; }
1818 ac_cpp
='$CPP $CPPFLAGS'
1819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1825 ac_config_headers
="$ac_config_headers include/config.h"
1828 for ac_dir
in tools
"$srcdir"/tools
; do
1829 if test -f "$ac_dir/install-sh"; then
1831 ac_install_sh
="$ac_aux_dir/install-sh -c"
1833 elif test -f "$ac_dir/install.sh"; then
1835 ac_install_sh
="$ac_aux_dir/install.sh -c"
1837 elif test -f "$ac_dir/shtool"; then
1839 ac_install_sh
="$ac_aux_dir/shtool install -c"
1843 if test -z "$ac_aux_dir"; then
1844 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1845 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1846 { (exit 1); exit 1; }; }
1849 # These three variables are undocumented and unsupported,
1850 # and are intended to be withdrawn in a future Autoconf release.
1851 # They can cause serious problems if a builder's source tree is in a directory
1852 # whose full name contains unusual characters.
1853 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1854 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1855 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1860 # Check whether --enable-win16 was given.
1861 if test "${enable_win16+set}" = set; then
1862 enableval
=$enable_win16;
1865 # Check whether --enable-win64 was given.
1866 if test "${enable_win64+set}" = set; then
1867 enableval
=$enable_win64;
1872 # Check whether --with-opengl was given.
1873 if test "${with_opengl+set}" = set; then
1874 withval
=$with_opengl;
1878 # Check whether --with-wine-tools was given.
1879 if test "${with_wine_tools+set}" = set; then
1880 withval
=$with_wine_tools;
1883 # Check whether --enable-tests was given.
1884 if test "${enable_tests+set}" = set; then
1885 enableval
=$enable_tests;
1889 # Make sure we can run config.sub.
1890 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1891 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1892 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1893 { (exit 1); exit 1; }; }
1895 { echo "$as_me:$LINENO: checking build system type" >&5
1896 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1897 if test "${ac_cv_build+set}" = set; then
1898 echo $ECHO_N "(cached) $ECHO_C" >&6
1900 ac_build_alias
=$build_alias
1901 test "x$ac_build_alias" = x
&&
1902 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1903 test "x$ac_build_alias" = x
&&
1904 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1905 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1906 { (exit 1); exit 1; }; }
1907 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1908 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1909 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1910 { (exit 1); exit 1; }; }
1913 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1914 echo "${ECHO_T}$ac_cv_build" >&6; }
1915 case $ac_cv_build in
1917 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1918 echo "$as_me: error: invalid value of canonical build" >&2;}
1919 { (exit 1); exit 1; }; };;
1922 ac_save_IFS
=$IFS; IFS
='-'
1928 # Remember, the first character of IFS is used to create $*,
1929 # except with old shells:
1932 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1935 { echo "$as_me:$LINENO: checking host system type" >&5
1936 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1937 if test "${ac_cv_host+set}" = set; then
1938 echo $ECHO_N "(cached) $ECHO_C" >&6
1940 if test "x$host_alias" = x
; then
1941 ac_cv_host
=$ac_cv_build
1943 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1944 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1945 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1946 { (exit 1); exit 1; }; }
1950 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1951 echo "${ECHO_T}$ac_cv_host" >&6; }
1954 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1955 echo "$as_me: error: invalid value of canonical host" >&2;}
1956 { (exit 1); exit 1; }; };;
1959 ac_save_IFS
=$IFS; IFS
='-'
1965 # Remember, the first character of IFS is used to create $*,
1966 # except with old shells:
1969 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1974 if test "x$enable_win64" != "xyes"
1976 test -n "$CC" || CC
="gcc -m32"
1977 test -n "$CXX"|| CXX
="g++ -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"
6339 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6340 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6341 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6342 echo $ECHO_N "(cached) $ECHO_C" >&6
6344 ac_check_lib_save_LIBS
=$LIBS
6345 LIBS
="-lpthread $LIBS"
6346 cat >conftest.
$ac_ext <<_ACEOF
6349 cat confdefs.h
>>conftest.
$ac_ext
6350 cat >>conftest.
$ac_ext <<_ACEOF
6351 /* end confdefs.h. */
6353 /* Override any GCC internal prototype to avoid an error.
6354 Use char because int might match the return type of a GCC
6355 builtin and then its argument prototype would still apply. */
6359 char pthread_create ();
6363 return pthread_create ();
6368 rm -f conftest.
$ac_objext conftest
$ac_exeext
6369 if { (ac_try
="$ac_link"
6371 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6372 *) ac_try_echo=$ac_try;;
6374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6375 (eval "$ac_link") 2>conftest.er1
6377 grep -v '^ *+' conftest.er1 >conftest.err
6379 cat conftest.err >&5
6380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381 (exit $ac_status); } && {
6382 test -z "$ac_c_werror_flag" ||
6383 test ! -s conftest.err
6384 } && test -s conftest$ac_exeext &&
6385 $as_test_x conftest$ac_exeext; then
6386 ac_cv_lib_pthread_pthread_create=yes
6388 echo "$as_me: failed program was:" >&5
6389 sed 's/^/| /' conftest.$ac_ext >&5
6391 ac_cv_lib_pthread_pthread_create=no
6394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6395 conftest$ac_exeext conftest.$ac_ext
6396 LIBS=$ac_check_lib_save_LIBS
6398 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6399 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6400 if test $ac_cv_lib_pthread_pthread_create = yes; then
6401 LIBPTHREAD="-lpthread"
6420 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6421 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6422 if test "${ac_cv_header_stdc+set}" = set; then
6423 echo $ECHO_N "(cached) $ECHO_C" >&6
6425 cat >conftest.$ac_ext <<_ACEOF
6428 cat confdefs.h >>conftest.$ac_ext
6429 cat >>conftest.$ac_ext <<_ACEOF
6430 /* end confdefs.h. */
6444 rm -f conftest.$ac_objext
6445 if { (ac_try="$ac_compile"
6447 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6448 *) ac_try_echo
=$ac_try;;
6450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6451 (eval "$ac_compile") 2>conftest.er1
6453 grep -v '^ *+' conftest.er1
>conftest.err
6455 cat conftest.err
>&5
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); } && {
6458 test -z "$ac_c_werror_flag" ||
6459 test ! -s conftest.err
6460 } && test -s conftest.
$ac_objext; then
6461 ac_cv_header_stdc
=yes
6463 echo "$as_me: failed program was:" >&5
6464 sed 's/^/| /' conftest.
$ac_ext >&5
6466 ac_cv_header_stdc
=no
6469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6471 if test $ac_cv_header_stdc = yes; then
6472 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6473 cat >conftest.
$ac_ext <<_ACEOF
6476 cat confdefs.h
>>conftest.
$ac_ext
6477 cat >>conftest.
$ac_ext <<_ACEOF
6478 /* end confdefs.h. */
6482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6483 $EGREP "memchr" >/dev
/null
2>&1; then
6486 ac_cv_header_stdc
=no
6492 if test $ac_cv_header_stdc = yes; then
6493 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6494 cat >conftest.
$ac_ext <<_ACEOF
6497 cat confdefs.h
>>conftest.
$ac_ext
6498 cat >>conftest.
$ac_ext <<_ACEOF
6499 /* end confdefs.h. */
6503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6504 $EGREP "free" >/dev
/null
2>&1; then
6507 ac_cv_header_stdc
=no
6513 if test $ac_cv_header_stdc = yes; then
6514 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6515 if test "$cross_compiling" = yes; then
6518 cat >conftest.
$ac_ext <<_ACEOF
6521 cat confdefs.h
>>conftest.
$ac_ext
6522 cat >>conftest.
$ac_ext <<_ACEOF
6523 /* end confdefs.h. */
6526 #if ((' ' & 0x0FF) == 0x020)
6527 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6528 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6530 # define ISLOWER(c) \
6531 (('a' <= (c) && (c) <= 'i') \
6532 || ('j' <= (c) && (c) <= 'r') \
6533 || ('s' <= (c) && (c) <= 'z'))
6534 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6537 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6542 for (i = 0; i < 256; i++)
6543 if (XOR (islower (i), ISLOWER (i))
6544 || toupper (i) != TOUPPER (i))
6549 rm -f conftest
$ac_exeext
6550 if { (ac_try
="$ac_link"
6552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6553 *) ac_try_echo=$ac_try;;
6555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6556 (eval "$ac_link") 2>&5
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6560 { (case "(($ac_try" in
6561 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6562 *) ac_try_echo
=$ac_try;;
6564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6565 (eval "$ac_try") 2>&5
6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568 (exit $ac_status); }; }; then
6571 echo "$as_me: program exited with status $ac_status" >&5
6572 echo "$as_me: failed program was:" >&5
6573 sed 's/^/| /' conftest.
$ac_ext >&5
6576 ac_cv_header_stdc
=no
6578 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6584 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6585 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6586 if test $ac_cv_header_stdc = yes; then
6588 cat >>confdefs.h
<<\_ACEOF
6589 #define STDC_HEADERS 1
6594 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6604 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6605 inttypes.h stdint.h unistd.h
6607 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6608 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6610 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6611 echo $ECHO_N "(cached) $ECHO_C" >&6
6613 cat >conftest.
$ac_ext <<_ACEOF
6616 cat confdefs.h
>>conftest.
$ac_ext
6617 cat >>conftest.
$ac_ext <<_ACEOF
6618 /* end confdefs.h. */
6619 $ac_includes_default
6621 #include <$ac_header>
6623 rm -f conftest.
$ac_objext
6624 if { (ac_try
="$ac_compile"
6626 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6627 *) ac_try_echo=$ac_try;;
6629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6630 (eval "$ac_compile") 2>conftest.er1
6632 grep -v '^ *+' conftest.er1 >conftest.err
6634 cat conftest.err >&5
6635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6636 (exit $ac_status); } && {
6637 test -z "$ac_c_werror_flag" ||
6638 test ! -s conftest.err
6639 } && test -s conftest.$ac_objext; then
6640 eval "$as_ac_Header=yes"
6642 echo "$as_me: failed program was:" >&5
6643 sed 's/^/| /' conftest.$ac_ext >&5
6645 eval "$as_ac_Header=no"
6648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6650 ac_res=`eval echo '${'$as_ac_Header'}'`
6651 { echo "$as_me:$LINENO: result: $ac_res" >&5
6652 echo "${ECHO_T}$ac_res" >&6; }
6653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6654 cat >>confdefs.h <<_ACEOF
6655 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6774 AudioUnit/AudioUnit.h \
6776 CoreAudio/CoreAudio.h \
6777 DiskArbitration/DiskArbitration.h \
6790 fontconfig/fontconfig.h \
6816 machine/soundcard.h \
6821 netinet/in_systm.h \
6886 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6888 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6890 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6891 echo $ECHO_N "(cached) $ECHO_C" >&6
6893 ac_res=`eval echo '${'$as_ac_Header'}'`
6894 { echo "$as_me:$LINENO: result: $ac_res" >&5
6895 echo "${ECHO_T}$ac_res" >&6; }
6897 # Is the header compilable?
6898 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6899 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6900 cat >conftest.$ac_ext <<_ACEOF
6903 cat confdefs.h >>conftest.$ac_ext
6904 cat >>conftest.$ac_ext <<_ACEOF
6905 /* end confdefs.h. */
6906 $ac_includes_default
6907 #include <$ac_header>
6909 rm -f conftest.$ac_objext
6910 if { (ac_try="$ac_compile"
6912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6913 *) ac_try_echo
=$ac_try;;
6915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6916 (eval "$ac_compile") 2>conftest.er1
6918 grep -v '^ *+' conftest.er1
>conftest.err
6920 cat conftest.err
>&5
6921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6922 (exit $ac_status); } && {
6923 test -z "$ac_c_werror_flag" ||
6924 test ! -s conftest.err
6925 } && test -s conftest.
$ac_objext; then
6926 ac_header_compiler
=yes
6928 echo "$as_me: failed program was:" >&5
6929 sed 's/^/| /' conftest.
$ac_ext >&5
6931 ac_header_compiler
=no
6934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6935 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6936 echo "${ECHO_T}$ac_header_compiler" >&6; }
6938 # Is the header present?
6939 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6940 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6941 cat >conftest.
$ac_ext <<_ACEOF
6944 cat confdefs.h
>>conftest.
$ac_ext
6945 cat >>conftest.
$ac_ext <<_ACEOF
6946 /* end confdefs.h. */
6947 #include <$ac_header>
6949 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6952 *) ac_try_echo=$ac_try;;
6954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6957 grep -v '^ *+' conftest.er1 >conftest.err
6959 cat conftest.err >&5
6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961 (exit $ac_status); } >/dev/null && {
6962 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6963 test ! -s conftest.err
6965 ac_header_preproc=yes
6967 echo "$as_me: failed program was:" >&5
6968 sed 's/^/| /' conftest.$ac_ext >&5
6970 ac_header_preproc=no
6973 rm -f conftest.err conftest.$ac_ext
6974 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6975 echo "${ECHO_T}$ac_header_preproc" >&6; }
6977 # So? What about this header?
6978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6980 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6981 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6983 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6984 ac_header_preproc=yes
6987 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6988 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6989 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6990 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6991 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6992 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6993 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6994 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6997 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6998 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7000 ## ------------------------------------ ##
7001 ## Report this to wine-devel@winehq.org ##
7002 ## ------------------------------------ ##
7004 ) | sed "s/^/$as_me: WARNING: /" >&2
7007 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7009 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7010 echo $ECHO_N "(cached) $ECHO_C" >&6
7012 eval "$as_ac_Header=\$ac_header_preproc"
7014 ac_res=`eval echo '${'$as_ac_Header'}'`
7015 { echo "$as_me:$LINENO: result: $ac_res" >&5
7016 echo "${ECHO_T}$ac_res" >&6; }
7019 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7020 cat >>confdefs.h <<_ACEOF
7021 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7028 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7029 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7030 if test "${ac_cv_header_stat_broken+set}" = set; then
7031 echo $ECHO_N "(cached) $ECHO_C" >&6
7033 cat >conftest.$ac_ext <<_ACEOF
7036 cat confdefs.h >>conftest.$ac_ext
7037 cat >>conftest.$ac_ext <<_ACEOF
7038 /* end confdefs.h. */
7039 #include <sys/types.h>
7040 #include <sys/stat.h>
7042 #if defined S_ISBLK && defined S_IFDIR
7043 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7046 #if defined S_ISBLK && defined S_IFCHR
7047 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7050 #if defined S_ISLNK && defined S_IFREG
7051 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7054 #if defined S_ISSOCK && defined S_IFREG
7055 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7059 rm -f conftest.$ac_objext
7060 if { (ac_try="$ac_compile"
7062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7063 *) ac_try_echo
=$ac_try;;
7065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7066 (eval "$ac_compile") 2>conftest.er1
7068 grep -v '^ *+' conftest.er1
>conftest.err
7070 cat conftest.err
>&5
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); } && {
7073 test -z "$ac_c_werror_flag" ||
7074 test ! -s conftest.err
7075 } && test -s conftest.
$ac_objext; then
7076 ac_cv_header_stat_broken
=no
7078 echo "$as_me: failed program was:" >&5
7079 sed 's/^/| /' conftest.
$ac_ext >&5
7081 ac_cv_header_stat_broken
=yes
7084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7086 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7087 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7088 if test $ac_cv_header_stat_broken = yes; then
7090 cat >>confdefs.h
<<\_ACEOF
7091 #define STAT_MACROS_BROKEN 1
7102 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7104 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7105 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7107 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7108 echo $ECHO_N "(cached) $ECHO_C" >&6
7110 cat >conftest.
$ac_ext <<_ACEOF
7113 cat confdefs.h
>>conftest.
$ac_ext
7114 cat >>conftest.
$ac_ext <<_ACEOF
7115 /* end confdefs.h. */
7116 #include <sys/types.h>
7117 #if HAVE_SYS_PARAM_H
7118 # include <sys/param.h>
7121 #include <$ac_header>
7123 rm -f conftest.
$ac_objext
7124 if { (ac_try
="$ac_compile"
7126 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7127 *) ac_try_echo=$ac_try;;
7129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7130 (eval "$ac_compile") 2>conftest.er1
7132 grep -v '^ *+' conftest.er1 >conftest.err
7134 cat conftest.err >&5
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); } && {
7137 test -z "$ac_c_werror_flag" ||
7138 test ! -s conftest.err
7139 } && test -s conftest.$ac_objext; then
7140 eval "$as_ac_Header=yes"
7142 echo "$as_me: failed program was:" >&5
7143 sed 's/^/| /' conftest.$ac_ext >&5
7145 eval "$as_ac_Header=no"
7148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7150 ac_res=`eval echo '${'$as_ac_Header'}'`
7151 { echo "$as_me:$LINENO: result: $ac_res" >&5
7152 echo "${ECHO_T}$ac_res" >&6; }
7153 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7154 cat >>confdefs.h <<_ACEOF
7155 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7171 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
7173 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7174 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7177 echo $ECHO_N "(cached) $ECHO_C" >&6
7179 cat >conftest.$ac_ext <<_ACEOF
7182 cat confdefs.h >>conftest.$ac_ext
7183 cat >>conftest.$ac_ext <<_ACEOF
7184 /* end confdefs.h. */
7185 #include <sys/types.h>
7186 #if HAVE_SYS_SOCKET_H
7187 # include <sys/socket.h>
7190 #include <$ac_header>
7192 rm -f conftest.$ac_objext
7193 if { (ac_try="$ac_compile"
7195 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7196 *) ac_try_echo
=$ac_try;;
7198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7199 (eval "$ac_compile") 2>conftest.er1
7201 grep -v '^ *+' conftest.er1
>conftest.err
7203 cat conftest.err
>&5
7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205 (exit $ac_status); } && {
7206 test -z "$ac_c_werror_flag" ||
7207 test ! -s conftest.err
7208 } && test -s conftest.
$ac_objext; then
7209 eval "$as_ac_Header=yes"
7211 echo "$as_me: failed program was:" >&5
7212 sed 's/^/| /' conftest.
$ac_ext >&5
7214 eval "$as_ac_Header=no"
7217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7219 ac_res
=`eval echo '${'$as_ac_Header'}'`
7220 { echo "$as_me:$LINENO: result: $ac_res" >&5
7221 echo "${ECHO_T}$ac_res" >&6; }
7222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7223 cat >>confdefs.h
<<_ACEOF
7224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7231 #if HAVE_SYS_SOCKETVAR_H
7232 # include <sys/socketvar.h>
7236 for ac_header
in netinet
/tcp_var.h
7238 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7239 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7241 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7242 echo $ECHO_N "(cached) $ECHO_C" >&6
7244 cat >conftest.
$ac_ext <<_ACEOF
7247 cat confdefs.h
>>conftest.
$ac_ext
7248 cat >>conftest.
$ac_ext <<_ACEOF
7249 /* end confdefs.h. */
7250 #include <sys/types.h>
7251 #if HAVE_SYS_SOCKET_H
7252 # include <sys/socket.h>
7254 #if HAVE_SYS_SOCKETVAR_H
7255 # include <sys/socketvar.h>
7257 #if HAVE_NETINET_IN_H
7258 # include <netinet/in.h>
7260 #ifdef HAVE_NETINET_TCP_H
7261 # include <netinet/tcp.h>
7264 #include <$ac_header>
7266 rm -f conftest.
$ac_objext
7267 if { (ac_try
="$ac_compile"
7269 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7270 *) ac_try_echo=$ac_try;;
7272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7273 (eval "$ac_compile") 2>conftest.er1
7275 grep -v '^ *+' conftest.er1 >conftest.err
7277 cat conftest.err >&5
7278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); } && {
7280 test -z "$ac_c_werror_flag" ||
7281 test ! -s conftest.err
7282 } && test -s conftest.$ac_objext; then
7283 eval "$as_ac_Header=yes"
7285 echo "$as_me: failed program was:" >&5
7286 sed 's/^/| /' conftest.$ac_ext >&5
7288 eval "$as_ac_Header=no"
7291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7293 ac_res=`eval echo '${'$as_ac_Header'}'`
7294 { echo "$as_me:$LINENO: result: $ac_res" >&5
7295 echo "${ECHO_T}$ac_res" >&6; }
7296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7297 cat >>confdefs.h <<_ACEOF
7298 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7307 for ac_header in linux/ipx.h
7309 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7310 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7312 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7313 echo $ECHO_N "(cached) $ECHO_C" >&6
7315 cat >conftest.$ac_ext <<_ACEOF
7318 cat confdefs.h >>conftest.$ac_ext
7319 cat >>conftest.$ac_ext <<_ACEOF
7320 /* end confdefs.h. */
7321 #include <sys/types.h>
7322 #ifdef HAVE_ASM_TYPES_H
7323 # include <asm/types.h>
7325 #if HAVE_SYS_SOCKET_H
7326 # include <sys/socket.h>
7329 #include <$ac_header>
7331 rm -f conftest.$ac_objext
7332 if { (ac_try="$ac_compile"
7334 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7335 *) ac_try_echo
=$ac_try;;
7337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7338 (eval "$ac_compile") 2>conftest.er1
7340 grep -v '^ *+' conftest.er1
>conftest.err
7342 cat conftest.err
>&5
7343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7344 (exit $ac_status); } && {
7345 test -z "$ac_c_werror_flag" ||
7346 test ! -s conftest.err
7347 } && test -s conftest.
$ac_objext; then
7348 eval "$as_ac_Header=yes"
7350 echo "$as_me: failed program was:" >&5
7351 sed 's/^/| /' conftest.
$ac_ext >&5
7353 eval "$as_ac_Header=no"
7356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7358 ac_res
=`eval echo '${'$as_ac_Header'}'`
7359 { echo "$as_me:$LINENO: result: $ac_res" >&5
7360 echo "${ECHO_T}$ac_res" >&6; }
7361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7362 cat >>confdefs.h
<<_ACEOF
7363 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7372 for ac_header
in resolv.h
7374 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7375 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7377 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7378 echo $ECHO_N "(cached) $ECHO_C" >&6
7380 cat >conftest.
$ac_ext <<_ACEOF
7383 cat confdefs.h
>>conftest.
$ac_ext
7384 cat >>conftest.
$ac_ext <<_ACEOF
7385 /* end confdefs.h. */
7386 #include <sys/types.h>
7387 #if HAVE_SYS_SOCKET_H
7388 # include <sys/socket.h>
7390 #if HAVE_NETINET_IN_H
7391 # include <netinet/in.h>
7393 #if HAVE_ARPA_NAMESER_H
7394 # include <arpa/nameser.h>
7397 #include <$ac_header>
7399 rm -f conftest.
$ac_objext
7400 if { (ac_try
="$ac_compile"
7402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7403 *) ac_try_echo=$ac_try;;
7405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7406 (eval "$ac_compile") 2>conftest.er1
7408 grep -v '^ *+' conftest.er1 >conftest.err
7410 cat conftest.err >&5
7411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7412 (exit $ac_status); } && {
7413 test -z "$ac_c_werror_flag" ||
7414 test ! -s conftest.err
7415 } && test -s conftest.$ac_objext; then
7416 eval "$as_ac_Header=yes"
7418 echo "$as_me: failed program was:" >&5
7419 sed 's/^/| /' conftest.$ac_ext >&5
7421 eval "$as_ac_Header=no"
7424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7426 ac_res=`eval echo '${'$as_ac_Header'}'`
7427 { echo "$as_me:$LINENO: result: $ac_res" >&5
7428 echo "${ECHO_T}$ac_res" >&6; }
7429 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7430 cat >>confdefs.h <<_ACEOF
7431 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7440 for ac_header in ucontext.h
7442 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7443 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7445 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7446 echo $ECHO_N "(cached) $ECHO_C" >&6
7448 cat >conftest.$ac_ext <<_ACEOF
7451 cat confdefs.h >>conftest.$ac_ext
7452 cat >>conftest.$ac_ext <<_ACEOF
7453 /* end confdefs.h. */
7456 #include <$ac_header>
7458 rm -f conftest.$ac_objext
7459 if { (ac_try="$ac_compile"
7461 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7462 *) ac_try_echo
=$ac_try;;
7464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7465 (eval "$ac_compile") 2>conftest.er1
7467 grep -v '^ *+' conftest.er1
>conftest.err
7469 cat conftest.err
>&5
7470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7471 (exit $ac_status); } && {
7472 test -z "$ac_c_werror_flag" ||
7473 test ! -s conftest.err
7474 } && test -s conftest.
$ac_objext; then
7475 eval "$as_ac_Header=yes"
7477 echo "$as_me: failed program was:" >&5
7478 sed 's/^/| /' conftest.
$ac_ext >&5
7480 eval "$as_ac_Header=no"
7483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7485 ac_res
=`eval echo '${'$as_ac_Header'}'`
7486 { echo "$as_me:$LINENO: result: $ac_res" >&5
7487 echo "${ECHO_T}$ac_res" >&6; }
7488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7489 cat >>confdefs.h
<<_ACEOF
7490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7499 for ac_header
in sys
/thr.h
7501 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7502 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7504 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7505 echo $ECHO_N "(cached) $ECHO_C" >&6
7507 cat >conftest.
$ac_ext <<_ACEOF
7510 cat confdefs.h
>>conftest.
$ac_ext
7511 cat >>conftest.
$ac_ext <<_ACEOF
7512 /* end confdefs.h. */
7513 #include <sys/types.h>
7515 #include <ucontext.h>
7518 #include <$ac_header>
7520 rm -f conftest.
$ac_objext
7521 if { (ac_try
="$ac_compile"
7523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7524 *) ac_try_echo=$ac_try;;
7526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7527 (eval "$ac_compile") 2>conftest.er1
7529 grep -v '^ *+' conftest.er1 >conftest.err
7531 cat conftest.err >&5
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); } && {
7534 test -z "$ac_c_werror_flag" ||
7535 test ! -s conftest.err
7536 } && test -s conftest.$ac_objext; then
7537 eval "$as_ac_Header=yes"
7539 echo "$as_me: failed program was:" >&5
7540 sed 's/^/| /' conftest.$ac_ext >&5
7542 eval "$as_ac_Header=no"
7545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7547 ac_res=`eval echo '${'$as_ac_Header'}'`
7548 { echo "$as_me:$LINENO: result: $ac_res" >&5
7549 echo "${ECHO_T}$ac_res" >&6; }
7550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7551 cat >>confdefs.h <<_ACEOF
7552 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7561 for ac_header in pthread_np.h
7563 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7564 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7566 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7567 echo $ECHO_N "(cached) $ECHO_C" >&6
7569 cat >conftest.$ac_ext <<_ACEOF
7572 cat confdefs.h >>conftest.$ac_ext
7573 cat >>conftest.$ac_ext <<_ACEOF
7574 /* end confdefs.h. */
7575 #ifdef HAVE_PTHREAD_H
7576 #include <pthread.h>
7579 #include <$ac_header>
7581 rm -f conftest.$ac_objext
7582 if { (ac_try="$ac_compile"
7584 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7585 *) ac_try_echo
=$ac_try;;
7587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7588 (eval "$ac_compile") 2>conftest.er1
7590 grep -v '^ *+' conftest.er1
>conftest.err
7592 cat conftest.err
>&5
7593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7594 (exit $ac_status); } && {
7595 test -z "$ac_c_werror_flag" ||
7596 test ! -s conftest.err
7597 } && test -s conftest.
$ac_objext; then
7598 eval "$as_ac_Header=yes"
7600 echo "$as_me: failed program was:" >&5
7601 sed 's/^/| /' conftest.
$ac_ext >&5
7603 eval "$as_ac_Header=no"
7606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7608 ac_res
=`eval echo '${'$as_ac_Header'}'`
7609 { echo "$as_me:$LINENO: result: $ac_res" >&5
7610 echo "${ECHO_T}$ac_res" >&6; }
7611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7612 cat >>confdefs.h
<<_ACEOF
7613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7622 for ac_header
in linux
/videodev.h
7624 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7625 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7627 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7628 echo $ECHO_N "(cached) $ECHO_C" >&6
7630 cat >conftest.
$ac_ext <<_ACEOF
7633 cat confdefs.h
>>conftest.
$ac_ext
7634 cat >>conftest.
$ac_ext <<_ACEOF
7635 /* end confdefs.h. */
7636 #ifdef HAVE_SYS_TIME_H
7637 #include <sys/time.h>
7639 #include <sys/types.h>
7640 #ifdef HAVE_ASM_TYPES_H
7641 #include <asm/types.h>
7644 #include <$ac_header>
7646 rm -f conftest.
$ac_objext
7647 if { (ac_try
="$ac_compile"
7649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7650 *) ac_try_echo=$ac_try;;
7652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7653 (eval "$ac_compile") 2>conftest.er1
7655 grep -v '^ *+' conftest.er1 >conftest.err
7657 cat conftest.err >&5
7658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7659 (exit $ac_status); } && {
7660 test -z "$ac_c_werror_flag" ||
7661 test ! -s conftest.err
7662 } && test -s conftest.$ac_objext; then
7663 eval "$as_ac_Header=yes"
7665 echo "$as_me: failed program was:" >&5
7666 sed 's/^/| /' conftest.$ac_ext >&5
7668 eval "$as_ac_Header=no"
7671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7673 ac_res=`eval echo '${'$as_ac_Header'}'`
7674 { echo "$as_me:$LINENO: result: $ac_res" >&5
7675 echo "${ECHO_T}$ac_res" >&6; }
7676 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7677 cat >>confdefs.h <<_ACEOF
7678 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7687 for ac_header in linux/capi.h
7689 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7690 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7692 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7693 echo $ECHO_N "(cached) $ECHO_C" >&6
7695 cat >conftest.$ac_ext <<_ACEOF
7698 cat confdefs.h >>conftest.$ac_ext
7699 cat >>conftest.$ac_ext <<_ACEOF
7700 /* end confdefs.h. */
7703 #include <$ac_header>
7705 rm -f conftest.$ac_objext
7706 if { (ac_try="$ac_compile"
7708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7709 *) ac_try_echo
=$ac_try;;
7711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7712 (eval "$ac_compile") 2>conftest.er1
7714 grep -v '^ *+' conftest.er1
>conftest.err
7716 cat conftest.err
>&5
7717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7718 (exit $ac_status); } && {
7719 test -z "$ac_c_werror_flag" ||
7720 test ! -s conftest.err
7721 } && test -s conftest.
$ac_objext; then
7722 eval "$as_ac_Header=yes"
7724 echo "$as_me: failed program was:" >&5
7725 sed 's/^/| /' conftest.
$ac_ext >&5
7727 eval "$as_ac_Header=no"
7730 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7732 ac_res
=`eval echo '${'$as_ac_Header'}'`
7733 { echo "$as_me:$LINENO: result: $ac_res" >&5
7734 echo "${ECHO_T}$ac_res" >&6; }
7735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7736 cat >>confdefs.h
<<_ACEOF
7737 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7748 DLLFLAGS
="-D_REENTRANT"
7762 # Extract the first word of "ldd", so it can be a program name with args.
7763 set dummy ldd
; ac_word
=$2
7764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7766 if test "${ac_cv_path_LDD+set}" = set; then
7767 echo $ECHO_N "(cached) $ECHO_C" >&6
7771 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7775 as_dummy
="/sbin:/usr/sbin:$PATH"
7776 for as_dir
in $as_dummy
7779 test -z "$as_dir" && as_dir
=.
7780 for ac_exec_ext
in '' $ac_executable_extensions; do
7781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7782 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7790 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7795 if test -n "$LDD"; then
7796 { echo "$as_me:$LINENO: result: $LDD" >&5
7797 echo "${ECHO_T}$LDD" >&6; }
7799 { echo "$as_me:$LINENO: result: no" >&5
7800 echo "${ECHO_T}no" >&6; }
7807 if test -n "$ac_tool_prefix"; then
7808 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7809 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7810 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7812 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7813 echo $ECHO_N "(cached) $ECHO_C" >&6
7815 if test -n "$DLLTOOL"; then
7816 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7822 test -z "$as_dir" && as_dir
=.
7823 for ac_exec_ext
in '' $ac_executable_extensions; do
7824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7825 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7835 DLLTOOL
=$ac_cv_prog_DLLTOOL
7836 if test -n "$DLLTOOL"; then
7837 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7838 echo "${ECHO_T}$DLLTOOL" >&6; }
7840 { echo "$as_me:$LINENO: result: no" >&5
7841 echo "${ECHO_T}no" >&6; }
7846 if test -z "$ac_cv_prog_DLLTOOL"; then
7847 ac_ct_DLLTOOL
=$DLLTOOL
7848 # Extract the first word of "dlltool", so it can be a program name with args.
7849 set dummy dlltool
; ac_word
=$2
7850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7852 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7853 echo $ECHO_N "(cached) $ECHO_C" >&6
7855 if test -n "$ac_ct_DLLTOOL"; then
7856 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7862 test -z "$as_dir" && as_dir
=.
7863 for ac_exec_ext
in '' $ac_executable_extensions; do
7864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7865 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7875 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7876 if test -n "$ac_ct_DLLTOOL"; then
7877 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7878 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7880 { echo "$as_me:$LINENO: result: no" >&5
7881 echo "${ECHO_T}no" >&6; }
7884 if test "x$ac_ct_DLLTOOL" = x
; then
7887 case $cross_compiling:$ac_tool_warned in
7889 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7890 whose name does not start with the host triplet. If you think this
7891 configuration is useful to you, please write to autoconf@gnu.org." >&5
7892 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7893 whose name does not start with the host triplet. If you think this
7894 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7895 ac_tool_warned
=yes ;;
7897 DLLTOOL
=$ac_ct_DLLTOOL
7900 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7903 if test -n "$ac_tool_prefix"; then
7904 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7905 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
7906 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7908 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7909 echo $ECHO_N "(cached) $ECHO_C" >&6
7911 if test -n "$DLLWRAP"; then
7912 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
7914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7918 test -z "$as_dir" && as_dir
=.
7919 for ac_exec_ext
in '' $ac_executable_extensions; do
7920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7921 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
7922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7931 DLLWRAP
=$ac_cv_prog_DLLWRAP
7932 if test -n "$DLLWRAP"; then
7933 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7934 echo "${ECHO_T}$DLLWRAP" >&6; }
7936 { echo "$as_me:$LINENO: result: no" >&5
7937 echo "${ECHO_T}no" >&6; }
7942 if test -z "$ac_cv_prog_DLLWRAP"; then
7943 ac_ct_DLLWRAP
=$DLLWRAP
7944 # Extract the first word of "dllwrap", so it can be a program name with args.
7945 set dummy dllwrap
; ac_word
=$2
7946 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7948 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7949 echo $ECHO_N "(cached) $ECHO_C" >&6
7951 if test -n "$ac_ct_DLLWRAP"; then
7952 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
7954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7958 test -z "$as_dir" && as_dir
=.
7959 for ac_exec_ext
in '' $ac_executable_extensions; do
7960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7961 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
7962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7971 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
7972 if test -n "$ac_ct_DLLWRAP"; then
7973 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7974 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7976 { echo "$as_me:$LINENO: result: no" >&5
7977 echo "${ECHO_T}no" >&6; }
7980 if test "x$ac_ct_DLLWRAP" = x
; then
7983 case $cross_compiling:$ac_tool_warned in
7985 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7986 whose name does not start with the host triplet. If you think this
7987 configuration is useful to you, please write to autoconf@gnu.org." >&5
7988 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7989 whose name does not start with the host triplet. If you think this
7990 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7991 ac_tool_warned
=yes ;;
7993 DLLWRAP
=$ac_ct_DLLWRAP
7996 DLLWRAP
="$ac_cv_prog_DLLWRAP"
7999 if test -n "$ac_tool_prefix"; then
8000 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8001 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8002 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8004 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8005 echo $ECHO_N "(cached) $ECHO_C" >&6
8007 if test -n "$MINGWAR"; then
8008 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8014 test -z "$as_dir" && as_dir
=.
8015 for ac_exec_ext
in '' $ac_executable_extensions; do
8016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8017 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8027 MINGWAR
=$ac_cv_prog_MINGWAR
8028 if test -n "$MINGWAR"; then
8029 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8030 echo "${ECHO_T}$MINGWAR" >&6; }
8032 { echo "$as_me:$LINENO: result: no" >&5
8033 echo "${ECHO_T}no" >&6; }
8038 if test -z "$ac_cv_prog_MINGWAR"; then
8039 ac_ct_MINGWAR
=$MINGWAR
8040 # Extract the first word of "ar", so it can be a program name with args.
8041 set dummy
ar; ac_word
=$2
8042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8044 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8045 echo $ECHO_N "(cached) $ECHO_C" >&6
8047 if test -n "$ac_ct_MINGWAR"; then
8048 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8054 test -z "$as_dir" && as_dir
=.
8055 for ac_exec_ext
in '' $ac_executable_extensions; do
8056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8057 ac_cv_prog_ac_ct_MINGWAR
="ar"
8058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8067 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8068 if test -n "$ac_ct_MINGWAR"; then
8069 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8070 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8072 { echo "$as_me:$LINENO: result: no" >&5
8073 echo "${ECHO_T}no" >&6; }
8076 if test "x$ac_ct_MINGWAR" = x
; then
8079 case $cross_compiling:$ac_tool_warned in
8081 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8082 whose name does not start with the host triplet. If you think this
8083 configuration is useful to you, please write to autoconf@gnu.org." >&5
8084 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8085 whose name does not start with the host triplet. If you think this
8086 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8087 ac_tool_warned
=yes ;;
8089 MINGWAR
=$ac_ct_MINGWAR
8092 MINGWAR
="$ac_cv_prog_MINGWAR"
8095 if test "$DLLWRAP" = "false"; then
8107 DLLFLAGS
="$DLLFLAGS -fPIC"
8108 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8109 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8110 LDSHARED
="\$(CC) -dynamiclib"
8112 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8113 COREFOUNDATIONLIB
="-framework CoreFoundation"
8115 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8117 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8119 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8121 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8124 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8126 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8131 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8133 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8135 CARBONLIB
="-framework Carbon"
8137 QUARTZFILES
='$(QUARTZFILES)'
8141 DLLFLAGS
="$DLLFLAGS -fPIC"
8143 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8144 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8145 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8146 echo $ECHO_N "(cached) $ECHO_C" >&6
8148 ac_wine_try_cflags_saved
=$CFLAGS
8149 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8150 cat >conftest.
$ac_ext <<_ACEOF
8153 rm -f conftest.
$ac_objext conftest
$ac_exeext
8154 if { (ac_try
="$ac_link"
8156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8157 *) ac_try_echo=$ac_try;;
8159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8160 (eval "$ac_link") 2>conftest.er1
8162 grep -v '^ *+' conftest.er1 >conftest.err
8164 cat conftest.err >&5
8165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8166 (exit $ac_status); } && {
8167 test -z "$ac_c_werror_flag" ||
8168 test ! -s conftest.err
8169 } && test -s conftest$ac_exeext &&
8170 $as_test_x conftest$ac_exeext; then
8171 ac_cv_c_dll_gnuelf="yes"
8173 echo "$as_me: failed program was:" >&5
8174 sed 's/^/| /' conftest.$ac_ext >&5
8176 ac_cv_c_dll_gnuelf="no"
8179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8180 conftest$ac_exeext conftest.$ac_ext
8181 CFLAGS=$ac_wine_try_cflags_saved
8183 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8184 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8185 if test "$ac_cv_c_dll_gnuelf" = "yes"
8187 LDSHARED="\$(CC) -shared"
8188 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8189 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8190 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8191 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8192 echo $ECHO_N "(cached) $ECHO_C" >&6
8194 ac_wine_try_cflags_saved=$CFLAGS
8195 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8196 cat >conftest.$ac_ext <<_ACEOF
8199 cat confdefs.h >>conftest.$ac_ext
8200 cat >>conftest.$ac_ext <<_ACEOF
8201 /* end confdefs.h. */
8211 rm -f conftest.$ac_objext conftest$ac_exeext
8212 if { (ac_try="$ac_link"
8214 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8215 *) ac_try_echo
=$ac_try;;
8217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8218 (eval "$ac_link") 2>conftest.er1
8220 grep -v '^ *+' conftest.er1
>conftest.err
8222 cat conftest.err
>&5
8223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8224 (exit $ac_status); } && {
8225 test -z "$ac_c_werror_flag" ||
8226 test ! -s conftest.err
8227 } && test -s conftest
$ac_exeext &&
8228 $as_test_x conftest
$ac_exeext; then
8229 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8231 echo "$as_me: failed program was:" >&5
8232 sed 's/^/| /' conftest.
$ac_ext >&5
8234 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8237 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8238 conftest
$ac_exeext conftest.
$ac_ext
8239 CFLAGS
=$ac_wine_try_cflags_saved
8241 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8242 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8243 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8244 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8246 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8247 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8248 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8249 echo $ECHO_N "(cached) $ECHO_C" >&6
8251 ac_wine_try_cflags_saved
=$CFLAGS
8252 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8253 cat >conftest.
$ac_ext <<_ACEOF
8256 cat confdefs.h
>>conftest.
$ac_ext
8257 cat >>conftest.
$ac_ext <<_ACEOF
8258 /* end confdefs.h. */
8268 rm -f conftest.
$ac_objext conftest
$ac_exeext
8269 if { (ac_try
="$ac_link"
8271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8272 *) ac_try_echo=$ac_try;;
8274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8275 (eval "$ac_link") 2>conftest.er1
8277 grep -v '^ *+' conftest.er1 >conftest.err
8279 cat conftest.err >&5
8280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281 (exit $ac_status); } && {
8282 test -z "$ac_c_werror_flag" ||
8283 test ! -s conftest.err
8284 } && test -s conftest$ac_exeext &&
8285 $as_test_x conftest$ac_exeext; then
8286 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8288 echo "$as_me: failed program was:" >&5
8289 sed 's/^/| /' conftest.$ac_ext >&5
8291 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8295 conftest$ac_exeext conftest.$ac_ext
8296 CFLAGS=$ac_wine_try_cflags_saved
8298 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8299 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8300 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8301 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8307 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8308 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8309 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8310 echo $ECHO_N "(cached) $ECHO_C" >&6
8312 ac_wine_try_cflags_saved=$CFLAGS
8313 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8314 cat >conftest.$ac_ext <<_ACEOF
8317 cat confdefs.h >>conftest.$ac_ext
8318 cat >>conftest.$ac_ext <<_ACEOF
8319 /* end confdefs.h. */
8329 rm -f conftest.$ac_objext conftest$ac_exeext
8330 if { (ac_try="$ac_link"
8332 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8333 *) ac_try_echo
=$ac_try;;
8335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8336 (eval "$ac_link") 2>conftest.er1
8338 grep -v '^ *+' conftest.er1
>conftest.err
8340 cat conftest.err
>&5
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); } && {
8343 test -z "$ac_c_werror_flag" ||
8344 test ! -s conftest.err
8345 } && test -s conftest
$ac_exeext &&
8346 $as_test_x conftest
$ac_exeext; then
8347 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8349 echo "$as_me: failed program was:" >&5
8350 sed 's/^/| /' conftest.
$ac_ext >&5
8352 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8355 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8356 conftest
$ac_exeext conftest.
$ac_ext
8357 CFLAGS
=$ac_wine_try_cflags_saved
8359 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8360 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8361 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8362 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8366 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8367 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8368 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8369 echo $ECHO_N "(cached) $ECHO_C" >&6
8371 ac_wine_try_cflags_saved
=$CFLAGS
8372 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8373 cat >conftest.
$ac_ext <<_ACEOF
8376 cat confdefs.h
>>conftest.
$ac_ext
8377 cat >>conftest.
$ac_ext <<_ACEOF
8378 /* end confdefs.h. */
8388 rm -f conftest.
$ac_objext conftest
$ac_exeext
8389 if { (ac_try
="$ac_link"
8391 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8392 *) ac_try_echo=$ac_try;;
8394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8395 (eval "$ac_link") 2>conftest.er1
8397 grep -v '^ *+' conftest.er1 >conftest.err
8399 cat conftest.err >&5
8400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); } && {
8402 test -z "$ac_c_werror_flag" ||
8403 test ! -s conftest.err
8404 } && test -s conftest$ac_exeext &&
8405 $as_test_x conftest$ac_exeext; then
8406 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8408 echo "$as_me: failed program was:" >&5
8409 sed 's/^/| /' conftest.$ac_ext >&5
8411 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8415 conftest$ac_exeext conftest.$ac_ext
8416 CFLAGS=$ac_wine_try_cflags_saved
8418 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8419 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8420 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8421 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8425 echo '{ global: *; };' >conftest.map
8426 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8427 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8428 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8429 echo $ECHO_N "(cached) $ECHO_C" >&6
8431 ac_wine_try_cflags_saved=$CFLAGS
8432 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8433 cat >conftest.$ac_ext <<_ACEOF
8436 cat confdefs.h >>conftest.$ac_ext
8437 cat >>conftest.$ac_ext <<_ACEOF
8438 /* end confdefs.h. */
8448 rm -f conftest.$ac_objext conftest$ac_exeext
8449 if { (ac_try="$ac_link"
8451 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8452 *) ac_try_echo
=$ac_try;;
8454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8455 (eval "$ac_link") 2>conftest.er1
8457 grep -v '^ *+' conftest.er1
>conftest.err
8459 cat conftest.err
>&5
8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461 (exit $ac_status); } && {
8462 test -z "$ac_c_werror_flag" ||
8463 test ! -s conftest.err
8464 } && test -s conftest
$ac_exeext &&
8465 $as_test_x conftest
$ac_exeext; then
8466 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8468 echo "$as_me: failed program was:" >&5
8469 sed 's/^/| /' conftest.
$ac_ext >&5
8471 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8474 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8475 conftest
$ac_exeext conftest.
$ac_ext
8476 CFLAGS
=$ac_wine_try_cflags_saved
8478 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8479 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8480 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8481 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8486 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8487 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8488 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8489 echo $ECHO_N "(cached) $ECHO_C" >&6
8491 ac_wine_try_cflags_saved
=$CFLAGS
8492 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8493 cat >conftest.
$ac_ext <<_ACEOF
8496 cat confdefs.h
>>conftest.
$ac_ext
8497 cat >>conftest.
$ac_ext <<_ACEOF
8498 /* end confdefs.h. */
8508 rm -f conftest.
$ac_objext conftest
$ac_exeext
8509 if { (ac_try
="$ac_link"
8511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8512 *) ac_try_echo=$ac_try;;
8514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8515 (eval "$ac_link") 2>conftest.er1
8517 grep -v '^ *+' conftest.er1 >conftest.err
8519 cat conftest.err >&5
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); } && {
8522 test -z "$ac_c_werror_flag" ||
8523 test ! -s conftest.err
8524 } && test -s conftest$ac_exeext &&
8525 $as_test_x conftest$ac_exeext; then
8526 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8528 echo "$as_me: failed program was:" >&5
8529 sed 's/^/| /' conftest.$ac_ext >&5
8531 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8535 conftest$ac_exeext conftest.$ac_ext
8536 CFLAGS=$ac_wine_try_cflags_saved
8538 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8539 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8540 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8541 LDEXECFLAGS="-Wl,--export-dynamic"
8546 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
8547 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8548 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8549 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8550 echo $ECHO_N "(cached) $ECHO_C" >&6
8552 ac_wine_try_cflags_saved=$CFLAGS
8553 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8554 cat >conftest.$ac_ext <<_ACEOF
8557 cat confdefs.h >>conftest.$ac_ext
8558 cat >>conftest.$ac_ext <<_ACEOF
8559 /* end confdefs.h. */
8569 rm -f conftest.$ac_objext conftest$ac_exeext
8570 if { (ac_try="$ac_link"
8572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8573 *) ac_try_echo
=$ac_try;;
8575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8576 (eval "$ac_link") 2>conftest.er1
8578 grep -v '^ *+' conftest.er1
>conftest.err
8580 cat conftest.err
>&5
8581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8582 (exit $ac_status); } && {
8583 test -z "$ac_c_werror_flag" ||
8584 test ! -s conftest.err
8585 } && test -s conftest
$ac_exeext &&
8586 $as_test_x conftest
$ac_exeext; then
8587 eval "$as_ac_var=yes"
8589 echo "$as_me: failed program was:" >&5
8590 sed 's/^/| /' conftest.
$ac_ext >&5
8592 eval "$as_ac_var=no"
8595 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8596 conftest
$ac_exeext conftest.
$ac_ext
8597 CFLAGS
=$ac_wine_try_cflags_saved
8599 ac_res
=`eval echo '${'$as_ac_var'}'`
8600 { echo "$as_me:$LINENO: result: $ac_res" >&5
8601 echo "${ECHO_T}$ac_res" >&6; }
8602 if test `eval echo '${'$as_ac_var'}'` = yes; then
8603 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8604 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8606 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8607 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8608 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8609 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8610 echo $ECHO_N "(cached) $ECHO_C" >&6
8612 ac_wine_try_cflags_saved
=$CFLAGS
8613 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8614 cat >conftest.
$ac_ext <<_ACEOF
8617 cat confdefs.h
>>conftest.
$ac_ext
8618 cat >>conftest.
$ac_ext <<_ACEOF
8619 /* end confdefs.h. */
8629 rm -f conftest.
$ac_objext conftest
$ac_exeext
8630 if { (ac_try
="$ac_link"
8632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8633 *) ac_try_echo=$ac_try;;
8635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8636 (eval "$ac_link") 2>conftest.er1
8638 grep -v '^ *+' conftest.er1 >conftest.err
8640 cat conftest.err >&5
8641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8642 (exit $ac_status); } && {
8643 test -z "$ac_c_werror_flag" ||
8644 test ! -s conftest.err
8645 } && test -s conftest$ac_exeext &&
8646 $as_test_x conftest$ac_exeext; then
8647 eval "$as_ac_var=yes"
8649 echo "$as_me: failed program was:" >&5
8650 sed 's/^/| /' conftest.$ac_ext >&5
8652 eval "$as_ac_var=no"
8655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8656 conftest$ac_exeext conftest.$ac_ext
8657 CFLAGS=$ac_wine_try_cflags_saved
8659 ac_res=`eval echo '${'$as_ac_var'}'`
8660 { echo "$as_me:$LINENO: result: $ac_res" >&5
8661 echo "${ECHO_T}$ac_res" >&6; }
8662 if test `eval echo '${'$as_ac_var'}'` = yes; then
8663 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
8664 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8670 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8671 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8672 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8673 echo $ECHO_N "(cached) $ECHO_C" >&6
8675 ac_wine_try_cflags_saved=$CFLAGS
8676 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8677 cat >conftest.$ac_ext <<_ACEOF
8680 cat confdefs.h >>conftest.$ac_ext
8681 cat >>conftest.$ac_ext <<_ACEOF
8682 /* end confdefs.h. */
8692 rm -f conftest.$ac_objext conftest$ac_exeext
8693 if { (ac_try="$ac_link"
8695 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8696 *) ac_try_echo
=$ac_try;;
8698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8699 (eval "$ac_link") 2>conftest.er1
8701 grep -v '^ *+' conftest.er1
>conftest.err
8703 cat conftest.err
>&5
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); } && {
8706 test -z "$ac_c_werror_flag" ||
8707 test ! -s conftest.err
8708 } && test -s conftest
$ac_exeext &&
8709 $as_test_x conftest
$ac_exeext; then
8710 ac_cv_cflags__Wl___enable_new_dtags
=yes
8712 echo "$as_me: failed program was:" >&5
8713 sed 's/^/| /' conftest.
$ac_ext >&5
8715 ac_cv_cflags__Wl___enable_new_dtags
=no
8718 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8719 conftest
$ac_exeext conftest.
$ac_ext
8720 CFLAGS
=$ac_wine_try_cflags_saved
8722 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8723 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8724 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8725 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8730 *i
[3456789]86* | x86_64
)
8731 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8732 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8733 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8734 echo $ECHO_N "(cached) $ECHO_C" >&6
8736 ac_wine_try_cflags_saved
=$CFLAGS
8737 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8738 cat >conftest.
$ac_ext <<_ACEOF
8741 cat confdefs.h
>>conftest.
$ac_ext
8742 cat >>conftest.
$ac_ext <<_ACEOF
8743 /* end confdefs.h. */
8753 rm -f conftest.
$ac_objext conftest
$ac_exeext
8754 if { (ac_try
="$ac_link"
8756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8757 *) ac_try_echo=$ac_try;;
8759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8760 (eval "$ac_link") 2>conftest.er1
8762 grep -v '^ *+' conftest.er1 >conftest.err
8764 cat conftest.err >&5
8765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766 (exit $ac_status); } && {
8767 test -z "$ac_c_werror_flag" ||
8768 test ! -s conftest.err
8769 } && test -s conftest$ac_exeext &&
8770 $as_test_x conftest$ac_exeext; then
8771 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8773 echo "$as_me: failed program was:" >&5
8774 sed 's/^/| /' conftest.$ac_ext >&5
8776 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8780 conftest$ac_exeext conftest.$ac_ext
8781 CFLAGS=$ac_wine_try_cflags_saved
8783 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8784 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8785 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8786 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8793 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8794 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8795 if test "${ac_cv_c_dll_unixware+set}" = set; then
8796 echo $ECHO_N "(cached) $ECHO_C" >&6
8798 ac_wine_try_cflags_saved=$CFLAGS
8799 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
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_unixware
="yes"
8823 echo "$as_me: failed program was:" >&5
8824 sed 's/^/| /' conftest.
$ac_ext >&5
8826 ac_cv_c_dll_unixware
="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_unixware" >&5
8834 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8835 if test "$ac_cv_c_dll_unixware" = "yes"
8837 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8838 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
8841 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8842 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8843 if test "${ac_cv_c_dll_hpux+set}" = set; then
8844 echo $ECHO_N "(cached) $ECHO_C" >&6
8846 ac_wine_try_cflags_saved
=$CFLAGS
8847 CFLAGS
="$CFLAGS -shared"
8848 cat >conftest.
$ac_ext <<_ACEOF
8851 rm -f conftest.
$ac_objext conftest
$ac_exeext
8852 if { (ac_try
="$ac_link"
8854 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8855 *) ac_try_echo=$ac_try;;
8857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8858 (eval "$ac_link") 2>conftest.er1
8860 grep -v '^ *+' conftest.er1 >conftest.err
8862 cat conftest.err >&5
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); } && {
8865 test -z "$ac_c_werror_flag" ||
8866 test ! -s conftest.err
8867 } && test -s conftest$ac_exeext &&
8868 $as_test_x conftest$ac_exeext; then
8869 ac_cv_c_dll_hpux="yes"
8871 echo "$as_me: failed program was:" >&5
8872 sed 's/^/| /' conftest.$ac_ext >&5
8874 ac_cv_c_dll_hpux="no"
8877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8878 conftest$ac_exeext conftest.$ac_ext
8879 CFLAGS=$ac_wine_try_cflags_saved
8881 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8882 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8883 if test "$ac_cv_c_dll_hpux" = "yes"
8887 LDDLLFLAGS="-shared -fPIC"
8888 LDSHARED="\$(CC) -shared"
8895 if test "$cross_compiling" = "no"
8897 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8899 # Extract the first word of "$ac_prog", so it can be a program name with args.
8900 set dummy $ac_prog; ac_word=$2
8901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8903 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8904 echo $ECHO_N "(cached) $ECHO_C" >&6
8906 if test -n "$CROSSCC"; then
8907 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8913 test -z "$as_dir" && as_dir=.
8914 for ac_exec_ext in '' $ac_executable_extensions; do
8915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8916 ac_cv_prog_CROSSCC="$ac_prog"
8917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8926 CROSSCC=$ac_cv_prog_CROSSCC
8927 if test -n "$CROSSCC"; then
8928 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8929 echo "${ECHO_T}$CROSSCC" >&6; }
8931 { echo "$as_me:$LINENO: result: no" >&5
8932 echo "${ECHO_T}no" >&6; }
8936 test -n "$CROSSCC" && break
8938 test -n "$CROSSCC" || CROSSCC="false"
8940 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8942 # Extract the first word of "$ac_prog", so it can be a program name with args.
8943 set dummy $ac_prog; ac_word=$2
8944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8946 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8947 echo $ECHO_N "(cached) $ECHO_C" >&6
8949 if test -n "$DLLTOOL"; then
8950 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8956 test -z "$as_dir" && as_dir=.
8957 for ac_exec_ext in '' $ac_executable_extensions; do
8958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8959 ac_cv_prog_DLLTOOL="$ac_prog"
8960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8969 DLLTOOL=$ac_cv_prog_DLLTOOL
8970 if test -n "$DLLTOOL"; then
8971 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8972 echo "${ECHO_T}$DLLTOOL" >&6; }
8974 { echo "$as_me:$LINENO: result: no" >&5
8975 echo "${ECHO_T}no" >&6; }
8979 test -n "$DLLTOOL" && break
8981 test -n "$DLLTOOL" || DLLTOOL="false"
8983 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
8985 # Extract the first word of "$ac_prog", so it can be a program name with args.
8986 set dummy $ac_prog; ac_word=$2
8987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8989 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8990 echo $ECHO_N "(cached) $ECHO_C" >&6
8992 if test -n "$CROSSWINDRES"; then
8993 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8999 test -z "$as_dir" && as_dir=.
9000 for ac_exec_ext in '' $ac_executable_extensions; do
9001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9002 ac_cv_prog_CROSSWINDRES="$ac_prog"
9003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9012 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9013 if test -n "$CROSSWINDRES"; then
9014 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9015 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9017 { echo "$as_me:$LINENO: result: no" >&5
9018 echo "${ECHO_T}no" >&6; }
9022 test -n "$CROSSWINDRES" && break
9024 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9026 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9028 # Extract the first word of "$ac_prog", so it can be a program name with args.
9029 set dummy $ac_prog; ac_word=$2
9030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9032 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9033 echo $ECHO_N "(cached) $ECHO_C" >&6
9035 if test -n "$MINGWAR"; then
9036 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9042 test -z "$as_dir" && as_dir=.
9043 for ac_exec_ext in '' $ac_executable_extensions; do
9044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9045 ac_cv_prog_MINGWAR="$ac_prog"
9046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9055 MINGWAR=$ac_cv_prog_MINGWAR
9056 if test -n "$MINGWAR"; then
9057 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9058 echo "${ECHO_T}$MINGWAR" >&6; }
9060 { echo "$as_me:$LINENO: result: no" >&5
9061 echo "${ECHO_T}no" >&6; }
9065 test -n "$MINGWAR" && break
9067 test -n "$MINGWAR" || MINGWAR="false"
9069 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9074 if test "$LIBEXT" = "a"; then
9075 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9076 It is currently not possible to build Wine without shared library
9077 (.so) support to allow transparent switch between .so and .dll files.
9078 If you are using Linux, you will need a newer binutils.
9080 echo "$as_me: error: could not find a way to build shared libraries.
9081 It is currently not possible to build Wine without shared library
9082 (.so) support to allow transparent switch between .so and .dll files.
9083 If you are using Linux, you will need a newer binutils.
9085 { (exit 1); exit 1; }; }
9089 if test "$have_x" = "yes"
9092 ac_save_CPPFLAGS="$CPPFLAGS"
9093 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9095 { echo "$as_me:$LINENO: checking for -lX11" >&5
9096 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9097 if test "${ac_cv_lib_soname_X11+set}" = set; then
9098 echo $ECHO_N "(cached) $ECHO_C" >&6
9100 ac_check_soname_save_LIBS=$LIBS
9101 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9102 cat >conftest.$ac_ext <<_ACEOF
9105 cat confdefs.h >>conftest.$ac_ext
9106 cat >>conftest.$ac_ext <<_ACEOF
9107 /* end confdefs.h. */
9109 /* Override any GCC internal prototype to avoid an error.
9110 Use char because int might match the return type of a GCC
9111 builtin and then its argument prototype would still apply. */
9115 char XCreateWindow ();
9119 return XCreateWindow ();
9124 rm -f conftest.$ac_objext conftest$ac_exeext
9125 if { (ac_try="$ac_link"
9127 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9128 *) ac_try_echo
=$ac_try;;
9130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9131 (eval "$ac_link") 2>conftest.er1
9133 grep -v '^ *+' conftest.er1
>conftest.err
9135 cat conftest.err
>&5
9136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9137 (exit $ac_status); } && {
9138 test -z "$ac_c_werror_flag" ||
9139 test ! -s conftest.err
9140 } && test -s conftest
$ac_exeext &&
9141 $as_test_x conftest
$ac_exeext; then
9144 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'` ;;
9145 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9148 echo "$as_me: failed program was:" >&5
9149 sed 's/^/| /' conftest.
$ac_ext >&5
9154 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9155 conftest
$ac_exeext conftest.
$ac_ext
9156 LIBS
=$ac_check_soname_save_LIBS
9158 if test "x$ac_cv_lib_soname_X11" = "x"; then
9159 { echo "$as_me:$LINENO: result: not found" >&5
9160 echo "${ECHO_T}not found" >&6; }
9163 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9164 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9166 cat >>confdefs.h
<<_ACEOF
9167 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9173 { echo "$as_me:$LINENO: checking for -lXext" >&5
9174 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9175 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9176 echo $ECHO_N "(cached) $ECHO_C" >&6
9178 ac_check_soname_save_LIBS
=$LIBS
9179 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9180 cat >conftest.
$ac_ext <<_ACEOF
9183 cat confdefs.h
>>conftest.
$ac_ext
9184 cat >>conftest.
$ac_ext <<_ACEOF
9185 /* end confdefs.h. */
9187 /* Override any GCC internal prototype to avoid an error.
9188 Use char because int might match the return type of a GCC
9189 builtin and then its argument prototype would still apply. */
9193 char XextCreateExtension ();
9197 return XextCreateExtension ();
9202 rm -f conftest.
$ac_objext conftest
$ac_exeext
9203 if { (ac_try
="$ac_link"
9205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9206 *) ac_try_echo=$ac_try;;
9208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9209 (eval "$ac_link") 2>conftest.er1
9211 grep -v '^ *+' conftest.er1 >conftest.err
9213 cat conftest.err >&5
9214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9215 (exit $ac_status); } && {
9216 test -z "$ac_c_werror_flag" ||
9217 test ! -s conftest.err
9218 } && test -s conftest$ac_exeext &&
9219 $as_test_x conftest$ac_exeext; then
9222 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'` ;;
9223 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9226 echo "$as_me: failed program was:" >&5
9227 sed 's/^/| /' conftest.$ac_ext >&5
9232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9233 conftest$ac_exeext conftest.$ac_ext
9234 LIBS=$ac_check_soname_save_LIBS
9236 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9237 { echo "$as_me:$LINENO: result: not found" >&5
9238 echo "${ECHO_T}not found" >&6; }
9241 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9242 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9244 cat >>confdefs.h <<_ACEOF
9245 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9263 for ac_header in X11/Xlib.h \
9266 X11/Xcursor/Xcursor.h \
9267 X11/extensions/shape.h \
9268 X11/extensions/XInput.h \
9269 X11/extensions/XShm.h \
9270 X11/extensions/Xinerama.h \
9271 X11/extensions/Xrandr.h \
9272 X11/extensions/Xrender.h \
9273 X11/extensions/xf86vmode.h
9275 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9276 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9278 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9279 echo $ECHO_N "(cached) $ECHO_C" >&6
9281 cat >conftest.$ac_ext <<_ACEOF
9284 cat confdefs.h >>conftest.$ac_ext
9285 cat >>conftest.$ac_ext <<_ACEOF
9286 /* end confdefs.h. */
9287 #ifdef HAVE_X11_XLIB_H
9288 # include <X11/Xlib.h>
9290 #ifdef HAVE_X11_XUTIL_H
9291 # include <X11/Xutil.h>
9294 #include <$ac_header>
9296 rm -f conftest.$ac_objext
9297 if { (ac_try="$ac_compile"
9299 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9300 *) ac_try_echo
=$ac_try;;
9302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9303 (eval "$ac_compile") 2>conftest.er1
9305 grep -v '^ *+' conftest.er1
>conftest.err
9307 cat conftest.err
>&5
9308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9309 (exit $ac_status); } && {
9310 test -z "$ac_c_werror_flag" ||
9311 test ! -s conftest.err
9312 } && test -s conftest.
$ac_objext; then
9313 eval "$as_ac_Header=yes"
9315 echo "$as_me: failed program was:" >&5
9316 sed 's/^/| /' conftest.
$ac_ext >&5
9318 eval "$as_ac_Header=no"
9321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9323 ac_res
=`eval echo '${'$as_ac_Header'}'`
9324 { echo "$as_me:$LINENO: result: $ac_res" >&5
9325 echo "${ECHO_T}$ac_res" >&6; }
9326 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9327 cat >>confdefs.h
<<_ACEOF
9328 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9336 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9338 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9339 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9340 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9341 echo $ECHO_N "(cached) $ECHO_C" >&6
9343 ac_check_lib_save_LIBS
=$LIBS
9344 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9345 cat >conftest.
$ac_ext <<_ACEOF
9348 cat confdefs.h
>>conftest.
$ac_ext
9349 cat >>conftest.
$ac_ext <<_ACEOF
9350 /* end confdefs.h. */
9352 /* Override any GCC internal prototype to avoid an error.
9353 Use char because int might match the return type of a GCC
9354 builtin and then its argument prototype would still apply. */
9358 char XkbQueryExtension ();
9362 return XkbQueryExtension ();
9367 rm -f conftest.
$ac_objext conftest
$ac_exeext
9368 if { (ac_try
="$ac_link"
9370 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9371 *) ac_try_echo=$ac_try;;
9373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9374 (eval "$ac_link") 2>conftest.er1
9376 grep -v '^ *+' conftest.er1 >conftest.err
9378 cat conftest.err >&5
9379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9380 (exit $ac_status); } && {
9381 test -z "$ac_c_werror_flag" ||
9382 test ! -s conftest.err
9383 } && test -s conftest$ac_exeext &&
9384 $as_test_x conftest$ac_exeext; then
9385 ac_cv_lib_X11_XkbQueryExtension=yes
9387 echo "$as_me: failed program was:" >&5
9388 sed 's/^/| /' conftest.$ac_ext >&5
9390 ac_cv_lib_X11_XkbQueryExtension=no
9393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9394 conftest$ac_exeext conftest.$ac_ext
9395 LIBS=$ac_check_lib_save_LIBS
9397 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9398 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9399 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9401 cat >>confdefs.h <<\_ACEOF
9409 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9411 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9412 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9413 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9414 echo $ECHO_N "(cached) $ECHO_C" >&6
9416 ac_check_soname_save_LIBS=$LIBS
9417 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9418 cat >conftest.$ac_ext <<_ACEOF
9421 cat confdefs.h >>conftest.$ac_ext
9422 cat >>conftest.$ac_ext <<_ACEOF
9423 /* end confdefs.h. */
9425 /* Override any GCC internal prototype to avoid an error.
9426 Use char because int might match the return type of a GCC
9427 builtin and then its argument prototype would still apply. */
9431 char XcursorImageLoadCursor ();
9435 return XcursorImageLoadCursor ();
9440 rm -f conftest.$ac_objext conftest$ac_exeext
9441 if { (ac_try="$ac_link"
9443 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9444 *) ac_try_echo
=$ac_try;;
9446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9447 (eval "$ac_link") 2>conftest.er1
9449 grep -v '^ *+' conftest.er1
>conftest.err
9451 cat conftest.err
>&5
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); } && {
9454 test -z "$ac_c_werror_flag" ||
9455 test ! -s conftest.err
9456 } && test -s conftest
$ac_exeext &&
9457 $as_test_x conftest
$ac_exeext; then
9460 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'` ;;
9461 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9464 echo "$as_me: failed program was:" >&5
9465 sed 's/^/| /' conftest.
$ac_ext >&5
9470 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9471 conftest
$ac_exeext conftest.
$ac_ext
9472 LIBS
=$ac_check_soname_save_LIBS
9474 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9475 { echo "$as_me:$LINENO: result: not found" >&5
9476 echo "${ECHO_T}not found" >&6; }
9479 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9480 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9482 cat >>confdefs.h
<<_ACEOF
9483 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9491 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9493 { echo "$as_me:$LINENO: checking for -lXi" >&5
9494 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9495 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9496 echo $ECHO_N "(cached) $ECHO_C" >&6
9498 ac_check_soname_save_LIBS
=$LIBS
9499 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9500 cat >conftest.
$ac_ext <<_ACEOF
9503 cat confdefs.h
>>conftest.
$ac_ext
9504 cat >>conftest.
$ac_ext <<_ACEOF
9505 /* end confdefs.h. */
9507 /* Override any GCC internal prototype to avoid an error.
9508 Use char because int might match the return type of a GCC
9509 builtin and then its argument prototype would still apply. */
9513 char XOpenDevice ();
9517 return XOpenDevice ();
9522 rm -f conftest.
$ac_objext conftest
$ac_exeext
9523 if { (ac_try
="$ac_link"
9525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9526 *) ac_try_echo=$ac_try;;
9528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9529 (eval "$ac_link") 2>conftest.er1
9531 grep -v '^ *+' conftest.er1 >conftest.err
9533 cat conftest.err >&5
9534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 (exit $ac_status); } && {
9536 test -z "$ac_c_werror_flag" ||
9537 test ! -s conftest.err
9538 } && test -s conftest$ac_exeext &&
9539 $as_test_x conftest$ac_exeext; then
9542 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'` ;;
9543 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9546 echo "$as_me: failed program was:" >&5
9547 sed 's/^/| /' conftest.$ac_ext >&5
9552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9553 conftest$ac_exeext conftest.$ac_ext
9554 LIBS=$ac_check_soname_save_LIBS
9556 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9557 { echo "$as_me:$LINENO: result: not found" >&5
9558 echo "${ECHO_T}not found" >&6; }
9561 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9562 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9564 cat >>confdefs.h <<_ACEOF
9565 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9573 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9575 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9576 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9577 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9578 echo $ECHO_N "(cached) $ECHO_C" >&6
9580 ac_check_lib_save_LIBS=$LIBS
9581 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9582 cat >conftest.$ac_ext <<_ACEOF
9585 cat confdefs.h >>conftest.$ac_ext
9586 cat >>conftest.$ac_ext <<_ACEOF
9587 /* end confdefs.h. */
9589 /* Override any GCC internal prototype to avoid an error.
9590 Use char because int might match the return type of a GCC
9591 builtin and then its argument prototype would still apply. */
9595 char XShmQueryExtension ();
9599 return XShmQueryExtension ();
9604 rm -f conftest.$ac_objext conftest$ac_exeext
9605 if { (ac_try="$ac_link"
9607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9608 *) ac_try_echo
=$ac_try;;
9610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9611 (eval "$ac_link") 2>conftest.er1
9613 grep -v '^ *+' conftest.er1
>conftest.err
9615 cat conftest.err
>&5
9616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617 (exit $ac_status); } && {
9618 test -z "$ac_c_werror_flag" ||
9619 test ! -s conftest.err
9620 } && test -s conftest
$ac_exeext &&
9621 $as_test_x conftest
$ac_exeext; then
9622 ac_cv_lib_Xext_XShmQueryExtension
=yes
9624 echo "$as_me: failed program was:" >&5
9625 sed 's/^/| /' conftest.
$ac_ext >&5
9627 ac_cv_lib_Xext_XShmQueryExtension
=no
9630 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9631 conftest
$ac_exeext conftest.
$ac_ext
9632 LIBS
=$ac_check_lib_save_LIBS
9634 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9635 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9636 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9638 cat >>confdefs.h
<<\_ACEOF
9639 #define HAVE_LIBXXSHM 1
9645 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9646 wine_notices
="$wine_notices|XShm development files not found.
9647 Wine will be built without XShm support. (winex11.drv)"
9651 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9653 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9654 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9655 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9656 echo $ECHO_N "(cached) $ECHO_C" >&6
9658 ac_check_lib_save_LIBS
=$LIBS
9659 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9660 cat >conftest.
$ac_ext <<_ACEOF
9663 cat confdefs.h
>>conftest.
$ac_ext
9664 cat >>conftest.
$ac_ext <<_ACEOF
9665 /* end confdefs.h. */
9667 /* Override any GCC internal prototype to avoid an error.
9668 Use char because int might match the return type of a GCC
9669 builtin and then its argument prototype would still apply. */
9673 char XShapeQueryExtension ();
9677 return XShapeQueryExtension ();
9682 rm -f conftest.
$ac_objext conftest
$ac_exeext
9683 if { (ac_try
="$ac_link"
9685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9686 *) ac_try_echo=$ac_try;;
9688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9689 (eval "$ac_link") 2>conftest.er1
9691 grep -v '^ *+' conftest.er1 >conftest.err
9693 cat conftest.err >&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); } && {
9696 test -z "$ac_c_werror_flag" ||
9697 test ! -s conftest.err
9698 } && test -s conftest$ac_exeext &&
9699 $as_test_x conftest$ac_exeext; then
9700 ac_cv_lib_Xext_XShapeQueryExtension=yes
9702 echo "$as_me: failed program was:" >&5
9703 sed 's/^/| /' conftest.$ac_ext >&5
9705 ac_cv_lib_Xext_XShapeQueryExtension=no
9708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9709 conftest$ac_exeext conftest.$ac_ext
9710 LIBS=$ac_check_lib_save_LIBS
9712 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9713 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9714 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9716 cat >>confdefs.h <<\_ACEOF
9717 #define HAVE_LIBXSHAPE 1
9723 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9724 wine_notices="$wine_notices|XShape development files not found.
9725 Wine will be built without XShape support. (winex11.drv)"
9729 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9731 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9732 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9733 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9734 echo $ECHO_N "(cached) $ECHO_C" >&6
9736 ac_check_lib_save_LIBS=$LIBS
9737 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9738 cat >conftest.$ac_ext <<_ACEOF
9741 cat confdefs.h >>conftest.$ac_ext
9742 cat >>conftest.$ac_ext <<_ACEOF
9743 /* end confdefs.h. */
9745 /* Override any GCC internal prototype to avoid an error.
9746 Use char because int might match the return type of a GCC
9747 builtin and then its argument prototype would still apply. */
9751 char XF86VidModeQueryExtension ();
9755 return XF86VidModeQueryExtension ();
9760 rm -f conftest.$ac_objext conftest$ac_exeext
9761 if { (ac_try="$ac_link"
9763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9764 *) ac_try_echo
=$ac_try;;
9766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9767 (eval "$ac_link") 2>conftest.er1
9769 grep -v '^ *+' conftest.er1
>conftest.err
9771 cat conftest.err
>&5
9772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9773 (exit $ac_status); } && {
9774 test -z "$ac_c_werror_flag" ||
9775 test ! -s conftest.err
9776 } && test -s conftest
$ac_exeext &&
9777 $as_test_x conftest
$ac_exeext; then
9778 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
9780 echo "$as_me: failed program was:" >&5
9781 sed 's/^/| /' conftest.
$ac_ext >&5
9783 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
9786 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9787 conftest
$ac_exeext conftest.
$ac_ext
9788 LIBS
=$ac_check_lib_save_LIBS
9790 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9791 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9792 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9794 cat >>confdefs.h
<<\_ACEOF
9795 #define HAVE_LIBXXF86VM 1
9798 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
9803 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9804 wine_notices
="$wine_notices|Xxf86vm development files not found.
9805 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9809 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"
9811 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9812 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9813 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9814 echo $ECHO_N "(cached) $ECHO_C" >&6
9816 ac_check_soname_save_LIBS
=$LIBS
9817 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9818 cat >conftest.
$ac_ext <<_ACEOF
9821 cat confdefs.h
>>conftest.
$ac_ext
9822 cat >>conftest.
$ac_ext <<_ACEOF
9823 /* end confdefs.h. */
9825 /* Override any GCC internal prototype to avoid an error.
9826 Use char because int might match the return type of a GCC
9827 builtin and then its argument prototype would still apply. */
9831 char XRenderQueryExtension ();
9835 return XRenderQueryExtension ();
9840 rm -f conftest.
$ac_objext conftest
$ac_exeext
9841 if { (ac_try
="$ac_link"
9843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9844 *) ac_try_echo=$ac_try;;
9846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9847 (eval "$ac_link") 2>conftest.er1
9849 grep -v '^ *+' conftest.er1 >conftest.err
9851 cat conftest.err >&5
9852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9853 (exit $ac_status); } && {
9854 test -z "$ac_c_werror_flag" ||
9855 test ! -s conftest.err
9856 } && test -s conftest$ac_exeext &&
9857 $as_test_x conftest$ac_exeext; then
9860 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'` ;;
9861 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9864 echo "$as_me: failed program was:" >&5
9865 sed 's/^/| /' conftest.$ac_ext >&5
9870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9871 conftest$ac_exeext conftest.$ac_ext
9872 LIBS=$ac_check_soname_save_LIBS
9874 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9875 { echo "$as_me:$LINENO: result: not found" >&5
9876 echo "${ECHO_T}not found" >&6; }
9879 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9880 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9882 cat >>confdefs.h <<_ACEOF
9883 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9886 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9887 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9888 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9889 echo $ECHO_N "(cached) $ECHO_C" >&6
9891 ac_check_lib_save_LIBS=$LIBS
9892 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9893 cat >conftest.$ac_ext <<_ACEOF
9896 cat confdefs.h >>conftest.$ac_ext
9897 cat >>conftest.$ac_ext <<_ACEOF
9898 /* end confdefs.h. */
9900 /* Override any GCC internal prototype to avoid an error.
9901 Use char because int might match the return type of a GCC
9902 builtin and then its argument prototype would still apply. */
9906 char XRenderSetPictureTransform ();
9910 return XRenderSetPictureTransform ();
9915 rm -f conftest.$ac_objext conftest$ac_exeext
9916 if { (ac_try="$ac_link"
9918 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9919 *) ac_try_echo
=$ac_try;;
9921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9922 (eval "$ac_link") 2>conftest.er1
9924 grep -v '^ *+' conftest.er1
>conftest.err
9926 cat conftest.err
>&5
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); } && {
9929 test -z "$ac_c_werror_flag" ||
9930 test ! -s conftest.err
9931 } && test -s conftest
$ac_exeext &&
9932 $as_test_x conftest
$ac_exeext; then
9933 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9935 echo "$as_me: failed program was:" >&5
9936 sed 's/^/| /' conftest.
$ac_ext >&5
9938 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9941 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9942 conftest
$ac_exeext conftest.
$ac_ext
9943 LIBS
=$ac_check_lib_save_LIBS
9945 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9946 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9947 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9949 cat >>confdefs.h
<<\_ACEOF
9950 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9959 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9960 wine_notices
="$wine_notices|XRender development files not found.
9961 Wine will be built without XRender support. (winex11.drv)"
9965 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9967 cat >conftest.
$ac_ext <<_ACEOF
9970 cat confdefs.h
>>conftest.
$ac_ext
9971 cat >>conftest.
$ac_ext <<_ACEOF
9972 /* end confdefs.h. */
9973 #include <X11/Xlib.h>
9974 #include <X11/extensions/Xrandr.h>
9978 static typeof(XRRSetScreenConfigAndRate) * func;
9983 rm -f conftest.
$ac_objext
9984 if { (ac_try
="$ac_compile"
9986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9987 *) ac_try_echo=$ac_try;;
9989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9990 (eval "$ac_compile") 2>conftest.er1
9992 grep -v '^ *+' conftest.er1 >conftest.err
9994 cat conftest.err >&5
9995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9996 (exit $ac_status); } && {
9997 test -z "$ac_c_werror_flag" ||
9998 test ! -s conftest.err
9999 } && test -s conftest.$ac_objext; then
10000 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10001 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10002 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10003 echo $ECHO_N "(cached) $ECHO_C" >&6
10005 ac_check_soname_save_LIBS=$LIBS
10006 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10007 cat >conftest.$ac_ext <<_ACEOF
10010 cat confdefs.h >>conftest.$ac_ext
10011 cat >>conftest.$ac_ext <<_ACEOF
10012 /* end confdefs.h. */
10014 /* Override any GCC internal prototype to avoid an error.
10015 Use char because int might match the return type of a GCC
10016 builtin and then its argument prototype would still apply. */
10020 char XRRQueryExtension ();
10024 return XRRQueryExtension ();
10029 rm -f conftest.$ac_objext conftest$ac_exeext
10030 if { (ac_try="$ac_link"
10031 case "(($ac_try" in
10032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10033 *) ac_try_echo
=$ac_try;;
10035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10036 (eval "$ac_link") 2>conftest.er1
10038 grep -v '^ *+' conftest.er1
>conftest.err
10040 cat conftest.err
>&5
10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042 (exit $ac_status); } && {
10043 test -z "$ac_c_werror_flag" ||
10044 test ! -s conftest.err
10045 } && test -s conftest
$ac_exeext &&
10046 $as_test_x conftest
$ac_exeext; then
10049 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'` ;;
10050 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10053 echo "$as_me: failed program was:" >&5
10054 sed 's/^/| /' conftest.
$ac_ext >&5
10059 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10060 conftest
$ac_exeext conftest.
$ac_ext
10061 LIBS
=$ac_check_soname_save_LIBS
10063 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10064 { echo "$as_me:$LINENO: result: not found" >&5
10065 echo "${ECHO_T}not found" >&6; }
10068 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10069 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10071 cat >>confdefs.h
<<_ACEOF
10072 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10079 echo "$as_me: failed program was:" >&5
10080 sed 's/^/| /' conftest.
$ac_ext >&5
10085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10087 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10088 wine_notices
="$wine_notices|XRandr development files not found.
10089 Wine will be built without XRandr support. (winex11.drv)"
10093 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10095 cat >conftest.
$ac_ext <<_ACEOF
10098 cat confdefs.h
>>conftest.
$ac_ext
10099 cat >>conftest.
$ac_ext <<_ACEOF
10100 /* end confdefs.h. */
10101 #include <X11/Xlib.h>
10102 #include <X11/extensions/Xinerama.h>
10106 static typeof(XineramaQueryScreens) * func;
10111 rm -f conftest.
$ac_objext
10112 if { (ac_try
="$ac_compile"
10113 case "(($ac_try" in
10114 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10115 *) ac_try_echo=$ac_try;;
10117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10118 (eval "$ac_compile") 2>conftest.er1
10120 grep -v '^ *+' conftest.er1 >conftest.err
10122 cat conftest.err >&5
10123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10124 (exit $ac_status); } && {
10125 test -z "$ac_c_werror_flag" ||
10126 test ! -s conftest.err
10127 } && test -s conftest.$ac_objext; then
10128 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10129 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10130 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10131 echo $ECHO_N "(cached) $ECHO_C" >&6
10133 ac_check_soname_save_LIBS=$LIBS
10134 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10135 cat >conftest.$ac_ext <<_ACEOF
10138 cat confdefs.h >>conftest.$ac_ext
10139 cat >>conftest.$ac_ext <<_ACEOF
10140 /* end confdefs.h. */
10142 /* Override any GCC internal prototype to avoid an error.
10143 Use char because int might match the return type of a GCC
10144 builtin and then its argument prototype would still apply. */
10148 char XineramaQueryScreens ();
10152 return XineramaQueryScreens ();
10157 rm -f conftest.$ac_objext conftest$ac_exeext
10158 if { (ac_try="$ac_link"
10159 case "(($ac_try" in
10160 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10161 *) ac_try_echo
=$ac_try;;
10163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10164 (eval "$ac_link") 2>conftest.er1
10166 grep -v '^ *+' conftest.er1
>conftest.err
10168 cat conftest.err
>&5
10169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10170 (exit $ac_status); } && {
10171 test -z "$ac_c_werror_flag" ||
10172 test ! -s conftest.err
10173 } && test -s conftest
$ac_exeext &&
10174 $as_test_x conftest
$ac_exeext; then
10177 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'` ;;
10178 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10181 echo "$as_me: failed program was:" >&5
10182 sed 's/^/| /' conftest.
$ac_ext >&5
10187 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10188 conftest
$ac_exeext conftest.
$ac_ext
10189 LIBS
=$ac_check_soname_save_LIBS
10191 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10192 { echo "$as_me:$LINENO: result: not found" >&5
10193 echo "${ECHO_T}not found" >&6; }
10196 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10197 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10199 cat >>confdefs.h
<<_ACEOF
10200 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10207 echo "$as_me: failed program was:" >&5
10208 sed 's/^/| /' conftest.
$ac_ext >&5
10213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10215 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10216 wine_notices
="$wine_notices|Xinerama development files not found.
10217 Wine will be built without Xinerama support. (winex11.drv)"
10222 if test "x$with_opengl" != "xno"
10228 for ac_header
in GL
/gl.h GL
/glx.h GL
/glext.h GL
/glu.h
10230 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10231 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10233 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10234 echo $ECHO_N "(cached) $ECHO_C" >&6
10236 cat >conftest.
$ac_ext <<_ACEOF
10239 cat confdefs.h
>>conftest.
$ac_ext
10240 cat >>conftest.
$ac_ext <<_ACEOF
10241 /* end confdefs.h. */
10242 #ifdef HAVE_GL_GLX_H
10243 # include <GL/glx.h>
10246 #include <$ac_header>
10248 rm -f conftest.
$ac_objext
10249 if { (ac_try
="$ac_compile"
10250 case "(($ac_try" in
10251 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10252 *) ac_try_echo=$ac_try;;
10254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10255 (eval "$ac_compile") 2>conftest.er1
10257 grep -v '^ *+' conftest.er1 >conftest.err
10259 cat conftest.err >&5
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); } && {
10262 test -z "$ac_c_werror_flag" ||
10263 test ! -s conftest.err
10264 } && test -s conftest.$ac_objext; then
10265 eval "$as_ac_Header=yes"
10267 echo "$as_me: failed program was:" >&5
10268 sed 's/^/| /' conftest.$ac_ext >&5
10270 eval "$as_ac_Header=no"
10273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10275 ac_res=`eval echo '${'$as_ac_Header'}'`
10276 { echo "$as_me:$LINENO: result: $ac_res" >&5
10277 echo "${ECHO_T}$ac_res" >&6; }
10278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10279 cat >>confdefs.h <<_ACEOF
10280 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10287 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10289 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10290 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10291 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10292 echo $ECHO_N "(cached) $ECHO_C" >&6
10294 cat >conftest.$ac_ext <<_ACEOF
10297 cat confdefs.h >>conftest.$ac_ext
10298 cat >>conftest.$ac_ext <<_ACEOF
10299 /* end confdefs.h. */
10304 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10309 rm -f conftest.$ac_objext
10310 if { (ac_try="$ac_compile"
10311 case "(($ac_try" in
10312 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10313 *) ac_try_echo
=$ac_try;;
10315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10316 (eval "$ac_compile") 2>conftest.er1
10318 grep -v '^ *+' conftest.er1
>conftest.err
10320 cat conftest.err
>&5
10321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); } && {
10323 test -z "$ac_c_werror_flag" ||
10324 test ! -s conftest.err
10325 } && test -s conftest.
$ac_objext; then
10326 wine_cv_opengl_header_version_OK
="yes"
10328 echo "$as_me: failed program was:" >&5
10329 sed 's/^/| /' conftest.
$ac_ext >&5
10331 wine_cv_opengl_header_version_OK
="no"
10334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10336 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10337 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10339 if test "$wine_cv_opengl_header_version_OK" = "yes"
10341 { echo "$as_me:$LINENO: checking for -lGL" >&5
10342 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10343 if test "${ac_cv_lib_soname_GL+set}" = set; then
10344 echo $ECHO_N "(cached) $ECHO_C" >&6
10346 ac_check_soname_save_LIBS
=$LIBS
10347 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10348 cat >conftest.
$ac_ext <<_ACEOF
10351 cat confdefs.h
>>conftest.
$ac_ext
10352 cat >>conftest.
$ac_ext <<_ACEOF
10353 /* end confdefs.h. */
10355 /* Override any GCC internal prototype to avoid an error.
10356 Use char because int might match the return type of a GCC
10357 builtin and then its argument prototype would still apply. */
10361 char glXCreateContext ();
10365 return glXCreateContext ();
10370 rm -f conftest.
$ac_objext conftest
$ac_exeext
10371 if { (ac_try
="$ac_link"
10372 case "(($ac_try" in
10373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10374 *) ac_try_echo=$ac_try;;
10376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10377 (eval "$ac_link") 2>conftest.er1
10379 grep -v '^ *+' conftest.er1 >conftest.err
10381 cat conftest.err >&5
10382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10383 (exit $ac_status); } && {
10384 test -z "$ac_c_werror_flag" ||
10385 test ! -s conftest.err
10386 } && test -s conftest$ac_exeext &&
10387 $as_test_x conftest$ac_exeext; then
10390 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'` ;;
10391 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libGL\\.$LIBEXT" |
sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10394 echo "$as_me: failed program was:" >&5
10395 sed 's/^/| /' conftest.$ac_ext >&5
10400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10401 conftest$ac_exeext conftest.$ac_ext
10402 LIBS=$ac_check_soname_save_LIBS
10404 if test "x$ac_cv_lib_soname_GL" = "x"; then
10405 { echo "$as_me:$LINENO: result: not found" >&5
10406 echo "${ECHO_T}not found" >&6; }
10407 if test -f /usr/X11R6/lib/libGL.a
10409 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10410 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10412 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10413 Wine will be build without OpenGL or Direct3D support."
10416 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10417 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10419 cat >>confdefs.h <<_ACEOF
10420 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10424 OPENGLFILES='$(OPENGLFILES)'
10426 cat >>confdefs.h <<\_ACEOF
10427 #define HAVE_OPENGL 1
10433 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10434 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10435 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10436 echo $ECHO_N "(cached) $ECHO_C" >&6
10438 ac_check_lib_save_LIBS=$LIBS
10439 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10440 cat >conftest.$ac_ext <<_ACEOF
10443 cat confdefs.h >>conftest.$ac_ext
10444 cat >>conftest.$ac_ext <<_ACEOF
10445 /* end confdefs.h. */
10447 /* Override any GCC internal prototype to avoid an error.
10448 Use char because int might match the return type of a GCC
10449 builtin and then its argument prototype would still apply. */
10457 return gluLookAt ();
10462 rm -f conftest.$ac_objext conftest$ac_exeext
10463 if { (ac_try="$ac_link"
10464 case "(($ac_try" in
10465 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10466 *) ac_try_echo
=$ac_try;;
10468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10469 (eval "$ac_link") 2>conftest.er1
10471 grep -v '^ *+' conftest.er1
>conftest.err
10473 cat conftest.err
>&5
10474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475 (exit $ac_status); } && {
10476 test -z "$ac_c_werror_flag" ||
10477 test ! -s conftest.err
10478 } && test -s conftest
$ac_exeext &&
10479 $as_test_x conftest
$ac_exeext; then
10480 ac_cv_lib_GLU_gluLookAt
=yes
10482 echo "$as_me: failed program was:" >&5
10483 sed 's/^/| /' conftest.
$ac_ext >&5
10485 ac_cv_lib_GLU_gluLookAt
=no
10488 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10489 conftest
$ac_exeext conftest.
$ac_ext
10490 LIBS
=$ac_check_lib_save_LIBS
10492 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10493 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10494 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10495 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
10496 GLU32FILES
='$(GLU32FILES)'
10501 wine_warnings
="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10502 Wine will be build without OpenGL or Direct3D support."
10505 wine_warnings
="$wine_warnings|OpenGL development headers not found.
10506 Wine will be build without OpenGL or Direct3D support."
10513 for ac_header
in audio
/audiolib.h
10515 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10516 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10517 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10519 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10520 echo $ECHO_N "(cached) $ECHO_C" >&6
10522 ac_res
=`eval echo '${'$as_ac_Header'}'`
10523 { echo "$as_me:$LINENO: result: $ac_res" >&5
10524 echo "${ECHO_T}$ac_res" >&6; }
10526 # Is the header compilable?
10527 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10528 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10529 cat >conftest.
$ac_ext <<_ACEOF
10532 cat confdefs.h
>>conftest.
$ac_ext
10533 cat >>conftest.
$ac_ext <<_ACEOF
10534 /* end confdefs.h. */
10535 $ac_includes_default
10536 #include <$ac_header>
10538 rm -f conftest.
$ac_objext
10539 if { (ac_try
="$ac_compile"
10540 case "(($ac_try" in
10541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10542 *) ac_try_echo=$ac_try;;
10544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10545 (eval "$ac_compile") 2>conftest.er1
10547 grep -v '^ *+' conftest.er1 >conftest.err
10549 cat conftest.err >&5
10550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10551 (exit $ac_status); } && {
10552 test -z "$ac_c_werror_flag" ||
10553 test ! -s conftest.err
10554 } && test -s conftest.$ac_objext; then
10555 ac_header_compiler=yes
10557 echo "$as_me: failed program was:" >&5
10558 sed 's/^/| /' conftest.$ac_ext >&5
10560 ac_header_compiler=no
10563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10564 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10565 echo "${ECHO_T}$ac_header_compiler" >&6; }
10567 # Is the header present?
10568 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10570 cat >conftest.$ac_ext <<_ACEOF
10573 cat confdefs.h >>conftest.$ac_ext
10574 cat >>conftest.$ac_ext <<_ACEOF
10575 /* end confdefs.h. */
10576 #include <$ac_header>
10578 if { (ac_try="$ac_cpp conftest.$ac_ext"
10579 case "(($ac_try" in
10580 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10581 *) ac_try_echo
=$ac_try;;
10583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10584 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10586 grep -v '^ *+' conftest.er1
>conftest.err
10588 cat conftest.err
>&5
10589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10590 (exit $ac_status); } >/dev
/null
&& {
10591 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10592 test ! -s conftest.err
10594 ac_header_preproc
=yes
10596 echo "$as_me: failed program was:" >&5
10597 sed 's/^/| /' conftest.
$ac_ext >&5
10599 ac_header_preproc
=no
10602 rm -f conftest.err conftest.
$ac_ext
10603 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10604 echo "${ECHO_T}$ac_header_preproc" >&6; }
10606 # So? What about this header?
10607 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10609 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10610 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10612 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10613 ac_header_preproc
=yes
10616 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10617 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10618 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10619 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10620 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10621 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10622 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10623 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10625 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10626 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10627 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10629 ## ------------------------------------ ##
10630 ## Report this to wine-devel@winehq.org ##
10631 ## ------------------------------------ ##
10633 ) |
sed "s/^/$as_me: WARNING: /" >&2
10636 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10638 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10639 echo $ECHO_N "(cached) $ECHO_C" >&6
10641 eval "$as_ac_Header=\$ac_header_preproc"
10643 ac_res
=`eval echo '${'$as_ac_Header'}'`
10644 { echo "$as_me:$LINENO: result: $ac_res" >&5
10645 echo "${ECHO_T}$ac_res" >&6; }
10648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10649 cat >>confdefs.h
<<_ACEOF
10650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10653 for ac_header
in audio
/soundlib.h
10655 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10656 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10658 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10659 echo $ECHO_N "(cached) $ECHO_C" >&6
10661 cat >conftest.
$ac_ext <<_ACEOF
10664 cat confdefs.h
>>conftest.
$ac_ext
10665 cat >>conftest.
$ac_ext <<_ACEOF
10666 /* end confdefs.h. */
10667 #include <audio/audiolib.h>
10669 #include <$ac_header>
10671 rm -f conftest.
$ac_objext
10672 if { (ac_try
="$ac_compile"
10673 case "(($ac_try" in
10674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10675 *) ac_try_echo=$ac_try;;
10677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10678 (eval "$ac_compile") 2>conftest.er1
10680 grep -v '^ *+' conftest.er1 >conftest.err
10682 cat conftest.err >&5
10683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684 (exit $ac_status); } && {
10685 test -z "$ac_c_werror_flag" ||
10686 test ! -s conftest.err
10687 } && test -s conftest.$ac_objext; then
10688 eval "$as_ac_Header=yes"
10690 echo "$as_me: failed program was:" >&5
10691 sed 's/^/| /' conftest.$ac_ext >&5
10693 eval "$as_ac_Header=no"
10696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10698 ac_res=`eval echo '${'$as_ac_Header'}'`
10699 { echo "$as_me:$LINENO: result: $ac_res" >&5
10700 echo "${ECHO_T}$ac_res" >&6; }
10701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10702 cat >>confdefs.h <<_ACEOF
10703 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10710 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10711 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10712 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10713 echo $ECHO_N "(cached) $ECHO_C" >&6
10715 ac_check_lib_save_LIBS=$LIBS
10716 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10717 cat >conftest.$ac_ext <<_ACEOF
10720 cat confdefs.h >>conftest.$ac_ext
10721 cat >>conftest.$ac_ext <<_ACEOF
10722 /* end confdefs.h. */
10724 /* Override any GCC internal prototype to avoid an error.
10725 Use char because int might match the return type of a GCC
10726 builtin and then its argument prototype would still apply. */
10730 char AuCreateFlow ();
10734 return AuCreateFlow ();
10739 rm -f conftest.$ac_objext conftest$ac_exeext
10740 if { (ac_try="$ac_link"
10741 case "(($ac_try" in
10742 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10743 *) ac_try_echo
=$ac_try;;
10745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10746 (eval "$ac_link") 2>conftest.er1
10748 grep -v '^ *+' conftest.er1
>conftest.err
10750 cat conftest.err
>&5
10751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10752 (exit $ac_status); } && {
10753 test -z "$ac_c_werror_flag" ||
10754 test ! -s conftest.err
10755 } && test -s conftest
$ac_exeext &&
10756 $as_test_x conftest
$ac_exeext; then
10757 ac_cv_lib_audio_AuCreateFlow
=yes
10759 echo "$as_me: failed program was:" >&5
10760 sed 's/^/| /' conftest.
$ac_ext >&5
10762 ac_cv_lib_audio_AuCreateFlow
=no
10765 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10766 conftest
$ac_exeext conftest.
$ac_ext
10767 LIBS
=$ac_check_lib_save_LIBS
10769 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10770 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10771 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10773 cat >>confdefs.h
<<\_ACEOF
10777 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10778 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10779 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10780 echo $ECHO_N "(cached) $ECHO_C" >&6
10782 ac_check_lib_save_LIBS
=$LIBS
10783 LIBS
="-lXau $X_LIBS $LIBS"
10784 cat >conftest.
$ac_ext <<_ACEOF
10787 cat confdefs.h
>>conftest.
$ac_ext
10788 cat >>conftest.
$ac_ext <<_ACEOF
10789 /* end confdefs.h. */
10791 /* Override any GCC internal prototype to avoid an error.
10792 Use char because int might match the return type of a GCC
10793 builtin and then its argument prototype would still apply. */
10797 char XauGetBestAuthByAddr ();
10801 return XauGetBestAuthByAddr ();
10806 rm -f conftest.
$ac_objext conftest
$ac_exeext
10807 if { (ac_try
="$ac_link"
10808 case "(($ac_try" in
10809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10810 *) ac_try_echo=$ac_try;;
10812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10813 (eval "$ac_link") 2>conftest.er1
10815 grep -v '^ *+' conftest.er1 >conftest.err
10817 cat conftest.err >&5
10818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10819 (exit $ac_status); } && {
10820 test -z "$ac_c_werror_flag" ||
10821 test ! -s conftest.err
10822 } && test -s conftest$ac_exeext &&
10823 $as_test_x conftest$ac_exeext; then
10824 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10826 echo "$as_me: failed program was:" >&5
10827 sed 's/^/| /' conftest.$ac_ext >&5
10829 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10833 conftest$ac_exeext conftest.$ac_ext
10834 LIBS=$ac_check_lib_save_LIBS
10836 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10837 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10838 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10839 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10841 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10852 CPPFLAGS="$ac_save_CPPFLAGS"
10858 wine_warnings="$wine_warnings|X development files not found. Wine will be built
10859 without X support, which probably isn't what you want. You will need to install
10860 development packages of Xlib/Xfree86 at the very least."
10872 ac_save_CPPFLAGS="$CPPFLAGS"
10873 if test "$PKG_CONFIG" != "false"
10875 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
10876 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
10878 ac_xml_libs="`xml2-config
--libs 2>/dev
/null
`"
10879 ac_xml_cflags="`xml2-config
--cflags 2>/dev
/null
`"
10881 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10883 for ac_header in libxml/parser.h
10885 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10886 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10887 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10889 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10890 echo $ECHO_N "(cached) $ECHO_C" >&6
10892 ac_res=`eval echo '${'$as_ac_Header'}'`
10893 { echo "$as_me:$LINENO: result: $ac_res" >&5
10894 echo "${ECHO_T}$ac_res" >&6; }
10896 # Is the header compilable?
10897 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10898 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10899 cat >conftest.$ac_ext <<_ACEOF
10902 cat confdefs.h >>conftest.$ac_ext
10903 cat >>conftest.$ac_ext <<_ACEOF
10904 /* end confdefs.h. */
10905 $ac_includes_default
10906 #include <$ac_header>
10908 rm -f conftest.$ac_objext
10909 if { (ac_try="$ac_compile"
10910 case "(($ac_try" in
10911 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10912 *) ac_try_echo
=$ac_try;;
10914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10915 (eval "$ac_compile") 2>conftest.er1
10917 grep -v '^ *+' conftest.er1
>conftest.err
10919 cat conftest.err
>&5
10920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10921 (exit $ac_status); } && {
10922 test -z "$ac_c_werror_flag" ||
10923 test ! -s conftest.err
10924 } && test -s conftest.
$ac_objext; then
10925 ac_header_compiler
=yes
10927 echo "$as_me: failed program was:" >&5
10928 sed 's/^/| /' conftest.
$ac_ext >&5
10930 ac_header_compiler
=no
10933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10934 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10935 echo "${ECHO_T}$ac_header_compiler" >&6; }
10937 # Is the header present?
10938 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10939 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10940 cat >conftest.
$ac_ext <<_ACEOF
10943 cat confdefs.h
>>conftest.
$ac_ext
10944 cat >>conftest.
$ac_ext <<_ACEOF
10945 /* end confdefs.h. */
10946 #include <$ac_header>
10948 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10949 case "(($ac_try" in
10950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10951 *) ac_try_echo=$ac_try;;
10953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10954 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10956 grep -v '^ *+' conftest.er1 >conftest.err
10958 cat conftest.err >&5
10959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10960 (exit $ac_status); } >/dev/null && {
10961 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10962 test ! -s conftest.err
10964 ac_header_preproc=yes
10966 echo "$as_me: failed program was:" >&5
10967 sed 's/^/| /' conftest.$ac_ext >&5
10969 ac_header_preproc=no
10972 rm -f conftest.err conftest.$ac_ext
10973 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10974 echo "${ECHO_T}$ac_header_preproc" >&6; }
10976 # So? What about this header?
10977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10979 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10980 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10981 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10982 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10983 ac_header_preproc=yes
10986 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10987 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10988 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10989 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10990 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10991 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10992 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10993 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10994 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10995 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10996 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10997 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10999 ## ------------------------------------ ##
11000 ## Report this to wine-devel@winehq.org ##
11001 ## ------------------------------------ ##
11003 ) | sed "s/^/$as_me: WARNING: /" >&2
11006 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11008 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11009 echo $ECHO_N "(cached) $ECHO_C" >&6
11011 eval "$as_ac_Header=\$ac_header_preproc"
11013 ac_res=`eval echo '${'$as_ac_Header'}'`
11014 { echo "$as_me:$LINENO: result: $ac_res" >&5
11015 echo "${ECHO_T}$ac_res" >&6; }
11018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11019 cat >>confdefs.h <<_ACEOF
11020 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11022 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11023 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11024 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11025 echo $ECHO_N "(cached) $ECHO_C" >&6
11027 ac_check_lib_save_LIBS=$LIBS
11028 LIBS="-lxml2 $ac_xml_libs $LIBS"
11029 cat >conftest.$ac_ext <<_ACEOF
11032 cat confdefs.h >>conftest.$ac_ext
11033 cat >>conftest.$ac_ext <<_ACEOF
11034 /* end confdefs.h. */
11036 /* Override any GCC internal prototype to avoid an error.
11037 Use char because int might match the return type of a GCC
11038 builtin and then its argument prototype would still apply. */
11042 char xmlParseMemory ();
11046 return xmlParseMemory ();
11051 rm -f conftest.$ac_objext conftest$ac_exeext
11052 if { (ac_try="$ac_link"
11053 case "(($ac_try" in
11054 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11055 *) ac_try_echo
=$ac_try;;
11057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11058 (eval "$ac_link") 2>conftest.er1
11060 grep -v '^ *+' conftest.er1
>conftest.err
11062 cat conftest.err
>&5
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); } && {
11065 test -z "$ac_c_werror_flag" ||
11066 test ! -s conftest.err
11067 } && test -s conftest
$ac_exeext &&
11068 $as_test_x conftest
$ac_exeext; then
11069 ac_cv_lib_xml2_xmlParseMemory
=yes
11071 echo "$as_me: failed program was:" >&5
11072 sed 's/^/| /' conftest.
$ac_ext >&5
11074 ac_cv_lib_xml2_xmlParseMemory
=no
11077 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11078 conftest
$ac_exeext conftest.
$ac_ext
11079 LIBS
=$ac_check_lib_save_LIBS
11081 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11082 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11083 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11085 cat >>confdefs.h
<<\_ACEOF
11086 #define HAVE_LIBXML2 1
11089 XML2LIBS
="$ac_xml_libs"
11090 XML2INCL
="$ac_xml_cflags"
11093 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11094 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11095 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11096 echo $ECHO_N "(cached) $ECHO_C" >&6
11098 ac_check_lib_save_LIBS
=$LIBS
11099 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11100 cat >conftest.
$ac_ext <<_ACEOF
11103 cat confdefs.h
>>conftest.
$ac_ext
11104 cat >>conftest.
$ac_ext <<_ACEOF
11105 /* end confdefs.h. */
11107 /* Override any GCC internal prototype to avoid an error.
11108 Use char because int might match the return type of a GCC
11109 builtin and then its argument prototype would still apply. */
11113 char xmlReadMemory ();
11117 return xmlReadMemory ();
11122 rm -f conftest.
$ac_objext conftest
$ac_exeext
11123 if { (ac_try
="$ac_link"
11124 case "(($ac_try" in
11125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11126 *) ac_try_echo=$ac_try;;
11128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11129 (eval "$ac_link") 2>conftest.er1
11131 grep -v '^ *+' conftest.er1 >conftest.err
11133 cat conftest.err >&5
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); } && {
11136 test -z "$ac_c_werror_flag" ||
11137 test ! -s conftest.err
11138 } && test -s conftest$ac_exeext &&
11139 $as_test_x conftest$ac_exeext; then
11140 ac_cv_lib_xml2_xmlReadMemory=yes
11142 echo "$as_me: failed program was:" >&5
11143 sed 's/^/| /' conftest.$ac_ext >&5
11145 ac_cv_lib_xml2_xmlReadMemory=no
11148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11149 conftest$ac_exeext conftest.$ac_ext
11150 LIBS=$ac_check_lib_save_LIBS
11152 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11153 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11154 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11156 cat >>confdefs.h <<\_ACEOF
11157 #define HAVE_XMLREADMEMORY 1
11162 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11163 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11164 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11165 echo $ECHO_N "(cached) $ECHO_C" >&6
11167 ac_check_lib_save_LIBS=$LIBS
11168 LIBS="-lxml2 $ac_xml_libs $LIBS"
11169 cat >conftest.$ac_ext <<_ACEOF
11172 cat confdefs.h >>conftest.$ac_ext
11173 cat >>conftest.$ac_ext <<_ACEOF
11174 /* end confdefs.h. */
11176 /* Override any GCC internal prototype to avoid an error.
11177 Use char because int might match the return type of a GCC
11178 builtin and then its argument prototype would still apply. */
11182 char xmlNewDocPI ();
11186 return xmlNewDocPI ();
11191 rm -f conftest.$ac_objext conftest$ac_exeext
11192 if { (ac_try="$ac_link"
11193 case "(($ac_try" in
11194 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11195 *) ac_try_echo
=$ac_try;;
11197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11198 (eval "$ac_link") 2>conftest.er1
11200 grep -v '^ *+' conftest.er1
>conftest.err
11202 cat conftest.err
>&5
11203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204 (exit $ac_status); } && {
11205 test -z "$ac_c_werror_flag" ||
11206 test ! -s conftest.err
11207 } && test -s conftest
$ac_exeext &&
11208 $as_test_x conftest
$ac_exeext; then
11209 ac_cv_lib_xml2_xmlNewDocPI
=yes
11211 echo "$as_me: failed program was:" >&5
11212 sed 's/^/| /' conftest.
$ac_ext >&5
11214 ac_cv_lib_xml2_xmlNewDocPI
=no
11217 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11218 conftest
$ac_exeext conftest.
$ac_ext
11219 LIBS
=$ac_check_lib_save_LIBS
11221 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11222 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11223 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11225 cat >>confdefs.h
<<\_ACEOF
11226 #define HAVE_XMLNEWDOCPI 1
11236 CPPFLAGS
="$ac_save_CPPFLAGS"
11237 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11238 wine_notices
="$wine_notices|libxml2 development files not found.
11239 Wine will be built without XML support. (msxml.dll)"
11243 if test "$PKG_CONFIG" != "false"
11245 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11246 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11248 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
11249 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
11251 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
11254 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11256 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11257 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11259 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11260 echo $ECHO_N "(cached) $ECHO_C" >&6
11262 cat >conftest.
$ac_ext <<_ACEOF
11265 cat confdefs.h
>>conftest.
$ac_ext
11266 cat >>conftest.
$ac_ext <<_ACEOF
11267 /* end confdefs.h. */
11268 #ifdef HAVE_LIBXSLT_PATTERN_H
11269 # include <libxslt/pattern.h>
11272 #include <$ac_header>
11274 rm -f conftest.
$ac_objext
11275 if { (ac_try
="$ac_compile"
11276 case "(($ac_try" in
11277 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11278 *) ac_try_echo=$ac_try;;
11280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11281 (eval "$ac_compile") 2>conftest.er1
11283 grep -v '^ *+' conftest.er1 >conftest.err
11285 cat conftest.err >&5
11286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); } && {
11288 test -z "$ac_c_werror_flag" ||
11289 test ! -s conftest.err
11290 } && test -s conftest.$ac_objext; then
11291 eval "$as_ac_Header=yes"
11293 echo "$as_me: failed program was:" >&5
11294 sed 's/^/| /' conftest.$ac_ext >&5
11296 eval "$as_ac_Header=no"
11299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11301 ac_res=`eval echo '${'$as_ac_Header'}'`
11302 { echo "$as_me:$LINENO: result: $ac_res" >&5
11303 echo "${ECHO_T}$ac_res" >&6; }
11304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11305 cat >>confdefs.h <<_ACEOF
11306 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11308 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11309 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11310 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11311 echo $ECHO_N "(cached) $ECHO_C" >&6
11313 ac_check_lib_save_LIBS=$LIBS
11314 LIBS="-lxslt $ac_xslt_libs $LIBS"
11315 cat >conftest.$ac_ext <<_ACEOF
11318 cat confdefs.h >>conftest.$ac_ext
11319 cat >>conftest.$ac_ext <<_ACEOF
11320 /* end confdefs.h. */
11322 /* Override any GCC internal prototype to avoid an error.
11323 Use char because int might match the return type of a GCC
11324 builtin and then its argument prototype would still apply. */
11328 char xsltCompilePattern ();
11332 return xsltCompilePattern ();
11337 rm -f conftest.$ac_objext conftest$ac_exeext
11338 if { (ac_try="$ac_link"
11339 case "(($ac_try" in
11340 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11341 *) ac_try_echo
=$ac_try;;
11343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11344 (eval "$ac_link") 2>conftest.er1
11346 grep -v '^ *+' conftest.er1
>conftest.err
11348 cat conftest.err
>&5
11349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11350 (exit $ac_status); } && {
11351 test -z "$ac_c_werror_flag" ||
11352 test ! -s conftest.err
11353 } && test -s conftest
$ac_exeext &&
11354 $as_test_x conftest
$ac_exeext; then
11355 ac_cv_lib_xslt_xsltCompilePattern
=yes
11357 echo "$as_me: failed program was:" >&5
11358 sed 's/^/| /' conftest.
$ac_ext >&5
11360 ac_cv_lib_xslt_xsltCompilePattern
=no
11363 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11364 conftest
$ac_exeext conftest.
$ac_ext
11365 LIBS
=$ac_check_lib_save_LIBS
11367 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11368 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11369 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11371 cat >>confdefs.h
<<\_ACEOF
11372 #define HAVE_LIBXSLT 1
11375 XSLTLIBS
="$ac_xslt_libs"
11376 XSLTINCL
="$ac_xslt_cflags"
11384 CPPFLAGS
="$ac_save_CPPFLAGS"
11385 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11386 wine_notices
="$wine_notices|libxslt development files not found.
11387 Wine will be built without xslt support. (msxml.dll)"
11393 if test "$PKG_CONFIG" != "false"
11395 ac_save_CPPFLAGS
="$CPPFLAGS"
11396 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
11397 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11398 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
11401 for ac_header
in dbus
/dbus.h hal
/libhal.h
11403 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11404 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11405 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11407 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11408 echo $ECHO_N "(cached) $ECHO_C" >&6
11410 ac_res
=`eval echo '${'$as_ac_Header'}'`
11411 { echo "$as_me:$LINENO: result: $ac_res" >&5
11412 echo "${ECHO_T}$ac_res" >&6; }
11414 # Is the header compilable?
11415 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11416 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11417 cat >conftest.
$ac_ext <<_ACEOF
11420 cat confdefs.h
>>conftest.
$ac_ext
11421 cat >>conftest.
$ac_ext <<_ACEOF
11422 /* end confdefs.h. */
11423 $ac_includes_default
11424 #include <$ac_header>
11426 rm -f conftest.
$ac_objext
11427 if { (ac_try
="$ac_compile"
11428 case "(($ac_try" in
11429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11430 *) ac_try_echo=$ac_try;;
11432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11433 (eval "$ac_compile") 2>conftest.er1
11435 grep -v '^ *+' conftest.er1 >conftest.err
11437 cat conftest.err >&5
11438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11439 (exit $ac_status); } && {
11440 test -z "$ac_c_werror_flag" ||
11441 test ! -s conftest.err
11442 } && test -s conftest.$ac_objext; then
11443 ac_header_compiler=yes
11445 echo "$as_me: failed program was:" >&5
11446 sed 's/^/| /' conftest.$ac_ext >&5
11448 ac_header_compiler=no
11451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11452 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11453 echo "${ECHO_T}$ac_header_compiler" >&6; }
11455 # Is the header present?
11456 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11457 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11458 cat >conftest.$ac_ext <<_ACEOF
11461 cat confdefs.h >>conftest.$ac_ext
11462 cat >>conftest.$ac_ext <<_ACEOF
11463 /* end confdefs.h. */
11464 #include <$ac_header>
11466 if { (ac_try="$ac_cpp conftest.$ac_ext"
11467 case "(($ac_try" in
11468 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11469 *) ac_try_echo
=$ac_try;;
11471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11472 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11474 grep -v '^ *+' conftest.er1
>conftest.err
11476 cat conftest.err
>&5
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); } >/dev
/null
&& {
11479 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11480 test ! -s conftest.err
11482 ac_header_preproc
=yes
11484 echo "$as_me: failed program was:" >&5
11485 sed 's/^/| /' conftest.
$ac_ext >&5
11487 ac_header_preproc
=no
11490 rm -f conftest.err conftest.
$ac_ext
11491 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11492 echo "${ECHO_T}$ac_header_preproc" >&6; }
11494 # So? What about this header?
11495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11497 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11498 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11500 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11501 ac_header_preproc
=yes
11504 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11505 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11506 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11507 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11508 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11509 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11510 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11511 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11514 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11515 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11517 ## ------------------------------------ ##
11518 ## Report this to wine-devel@winehq.org ##
11519 ## ------------------------------------ ##
11521 ) |
sed "s/^/$as_me: WARNING: /" >&2
11524 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11526 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11527 echo $ECHO_N "(cached) $ECHO_C" >&6
11529 eval "$as_ac_Header=\$ac_header_preproc"
11531 ac_res
=`eval echo '${'$as_ac_Header'}'`
11532 { echo "$as_me:$LINENO: result: $ac_res" >&5
11533 echo "${ECHO_T}$ac_res" >&6; }
11536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11537 cat >>confdefs.h
<<_ACEOF
11538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11545 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11547 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11548 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11549 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11550 echo $ECHO_N "(cached) $ECHO_C" >&6
11552 ac_check_lib_save_LIBS
=$LIBS
11553 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
11554 cat >conftest.
$ac_ext <<_ACEOF
11557 cat confdefs.h
>>conftest.
$ac_ext
11558 cat >>conftest.
$ac_ext <<_ACEOF
11559 /* end confdefs.h. */
11561 /* Override any GCC internal prototype to avoid an error.
11562 Use char because int might match the return type of a GCC
11563 builtin and then its argument prototype would still apply. */
11567 char dbus_connection_close ();
11571 return dbus_connection_close ();
11576 rm -f conftest.
$ac_objext conftest
$ac_exeext
11577 if { (ac_try
="$ac_link"
11578 case "(($ac_try" in
11579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11580 *) ac_try_echo=$ac_try;;
11582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11583 (eval "$ac_link") 2>conftest.er1
11585 grep -v '^ *+' conftest.er1 >conftest.err
11587 cat conftest.err >&5
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); } && {
11590 test -z "$ac_c_werror_flag" ||
11591 test ! -s conftest.err
11592 } && test -s conftest$ac_exeext &&
11593 $as_test_x conftest$ac_exeext; then
11594 ac_cv_lib_dbus_1_dbus_connection_close=yes
11596 echo "$as_me: failed program was:" >&5
11597 sed 's/^/| /' conftest.$ac_ext >&5
11599 ac_cv_lib_dbus_1_dbus_connection_close=no
11602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11603 conftest$ac_exeext conftest.$ac_ext
11604 LIBS=$ac_check_lib_save_LIBS
11606 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11607 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11608 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11609 { echo "$as_me:$LINENO: checking for -lhal" >&5
11610 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11611 if test "${ac_cv_lib_soname_hal+set}" = set; then
11612 echo $ECHO_N "(cached) $ECHO_C" >&6
11614 ac_check_soname_save_LIBS=$LIBS
11615 LIBS="-lhal $ac_hal_libs $LIBS"
11616 cat >conftest.$ac_ext <<_ACEOF
11619 cat confdefs.h >>conftest.$ac_ext
11620 cat >>conftest.$ac_ext <<_ACEOF
11621 /* end confdefs.h. */
11623 /* Override any GCC internal prototype to avoid an error.
11624 Use char because int might match the return type of a GCC
11625 builtin and then its argument prototype would still apply. */
11629 char libhal_ctx_new ();
11633 return libhal_ctx_new ();
11638 rm -f conftest.$ac_objext conftest$ac_exeext
11639 if { (ac_try="$ac_link"
11640 case "(($ac_try" in
11641 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11642 *) ac_try_echo
=$ac_try;;
11644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11645 (eval "$ac_link") 2>conftest.er1
11647 grep -v '^ *+' conftest.er1
>conftest.err
11649 cat conftest.err
>&5
11650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11651 (exit $ac_status); } && {
11652 test -z "$ac_c_werror_flag" ||
11653 test ! -s conftest.err
11654 } && test -s conftest
$ac_exeext &&
11655 $as_test_x conftest
$ac_exeext; then
11658 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'` ;;
11659 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11662 echo "$as_me: failed program was:" >&5
11663 sed 's/^/| /' conftest.
$ac_ext >&5
11668 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11669 conftest
$ac_exeext conftest.
$ac_ext
11670 LIBS
=$ac_check_soname_save_LIBS
11672 if test "x$ac_cv_lib_soname_hal" = "x"; then
11673 { echo "$as_me:$LINENO: result: not found" >&5
11674 echo "${ECHO_T}not found" >&6; }
11677 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11678 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11680 cat >>confdefs.h
<<_ACEOF
11681 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11684 HALINCL
="$ac_hal_cflags"
11690 CPPFLAGS
="$ac_save_CPPFLAGS"
11692 if test "x$ac_cv_lib_soname_hal" = "x"; then
11693 wine_notices
="$wine_notices|libhal development files not found.
11694 Wine will be built without dynamic device support. (explorer.exe)"
11699 if test "$ac_cv_header_ncurses_h" = "yes"
11701 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11702 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11703 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11704 echo $ECHO_N "(cached) $ECHO_C" >&6
11706 ac_check_soname_save_LIBS
=$LIBS
11707 LIBS
="-lncurses $LIBS"
11708 cat >conftest.
$ac_ext <<_ACEOF
11711 cat confdefs.h
>>conftest.
$ac_ext
11712 cat >>conftest.
$ac_ext <<_ACEOF
11713 /* end confdefs.h. */
11715 /* Override any GCC internal prototype to avoid an error.
11716 Use char because int might match the return type of a GCC
11717 builtin and then its argument prototype would still apply. */
11730 rm -f conftest.
$ac_objext conftest
$ac_exeext
11731 if { (ac_try
="$ac_link"
11732 case "(($ac_try" in
11733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11734 *) ac_try_echo=$ac_try;;
11736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11737 (eval "$ac_link") 2>conftest.er1
11739 grep -v '^ *+' conftest.er1 >conftest.err
11741 cat conftest.err >&5
11742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11743 (exit $ac_status); } && {
11744 test -z "$ac_c_werror_flag" ||
11745 test ! -s conftest.err
11746 } && test -s conftest$ac_exeext &&
11747 $as_test_x conftest$ac_exeext; then
11750 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'` ;;
11751 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libncurses\\.$LIBEXT" |
sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11754 echo "$as_me: failed program was:" >&5
11755 sed 's/^/| /' conftest.$ac_ext >&5
11760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11761 conftest$ac_exeext conftest.$ac_ext
11762 LIBS=$ac_check_soname_save_LIBS
11764 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11765 { echo "$as_me:$LINENO: result: not found" >&5
11766 echo "${ECHO_T}not found" >&6; }
11769 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11770 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11772 cat >>confdefs.h <<_ACEOF
11773 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11776 CURSESLIBS="-lncurses"
11779 elif test "$ac_cv_header_curses_h" = "yes"
11781 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11782 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11783 if test "${ac_cv_lib_soname_curses+set}" = set; then
11784 echo $ECHO_N "(cached) $ECHO_C" >&6
11786 ac_check_soname_save_LIBS=$LIBS
11787 LIBS="-lcurses $LIBS"
11788 cat >conftest.$ac_ext <<_ACEOF
11791 cat confdefs.h >>conftest.$ac_ext
11792 cat >>conftest.$ac_ext <<_ACEOF
11793 /* end confdefs.h. */
11795 /* Override any GCC internal prototype to avoid an error.
11796 Use char because int might match the return type of a GCC
11797 builtin and then its argument prototype would still apply. */
11810 rm -f conftest.$ac_objext conftest$ac_exeext
11811 if { (ac_try="$ac_link"
11812 case "(($ac_try" in
11813 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11814 *) ac_try_echo
=$ac_try;;
11816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11817 (eval "$ac_link") 2>conftest.er1
11819 grep -v '^ *+' conftest.er1
>conftest.err
11821 cat conftest.err
>&5
11822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11823 (exit $ac_status); } && {
11824 test -z "$ac_c_werror_flag" ||
11825 test ! -s conftest.err
11826 } && test -s conftest
$ac_exeext &&
11827 $as_test_x conftest
$ac_exeext; then
11830 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'` ;;
11831 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11834 echo "$as_me: failed program was:" >&5
11835 sed 's/^/| /' conftest.
$ac_ext >&5
11840 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11841 conftest
$ac_exeext conftest.
$ac_ext
11842 LIBS
=$ac_check_soname_save_LIBS
11844 if test "x$ac_cv_lib_soname_curses" = "x"; then
11845 { echo "$as_me:$LINENO: result: not found" >&5
11846 echo "${ECHO_T}not found" >&6; }
11849 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11850 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11852 cat >>confdefs.h
<<_ACEOF
11853 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11856 CURSESLIBS
="-lcurses"
11860 ac_save_LIBS
="$LIBS"
11861 LIBS
="$LIBS $CURSESLIBS"
11863 for ac_func
in mousemask
11865 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11866 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11868 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11869 echo $ECHO_N "(cached) $ECHO_C" >&6
11871 cat >conftest.
$ac_ext <<_ACEOF
11874 cat confdefs.h
>>conftest.
$ac_ext
11875 cat >>conftest.
$ac_ext <<_ACEOF
11876 /* end confdefs.h. */
11877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11879 #define $ac_func innocuous_$ac_func
11881 /* System header to define __stub macros and hopefully few prototypes,
11882 which can conflict with char $ac_func (); below.
11883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11884 <limits.h> exists even on freestanding compilers. */
11887 # include <limits.h>
11889 # include <assert.h>
11894 /* Override any GCC internal prototype to avoid an error.
11895 Use char because int might match the return type of a GCC
11896 builtin and then its argument prototype would still apply. */
11901 /* The GNU C library defines this for functions which it implements
11902 to always fail with ENOSYS. Some functions are actually named
11903 something starting with __ and the normal name is an alias. */
11904 #if defined __stub_$ac_func || defined __stub___$ac_func
11911 return $ac_func ();
11916 rm -f conftest.
$ac_objext conftest
$ac_exeext
11917 if { (ac_try
="$ac_link"
11918 case "(($ac_try" in
11919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11920 *) ac_try_echo=$ac_try;;
11922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11923 (eval "$ac_link") 2>conftest.er1
11925 grep -v '^ *+' conftest.er1 >conftest.err
11927 cat conftest.err >&5
11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 (exit $ac_status); } && {
11930 test -z "$ac_c_werror_flag" ||
11931 test ! -s conftest.err
11932 } && test -s conftest$ac_exeext &&
11933 $as_test_x conftest$ac_exeext; then
11934 eval "$as_ac_var=yes"
11936 echo "$as_me: failed program was:" >&5
11937 sed 's/^/| /' conftest.$ac_ext >&5
11939 eval "$as_ac_var=no"
11942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11943 conftest$ac_exeext conftest.$ac_ext
11945 ac_res=`eval echo '${'$as_ac_var'}'`
11946 { echo "$as_me:$LINENO: result: $ac_res" >&5
11947 echo "${ECHO_T}$ac_res" >&6; }
11948 if test `eval echo '${'$as_ac_var'}'` = yes; then
11949 cat >>confdefs.h <<_ACEOF
11950 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11956 LIBS="$ac_save_LIBS"
11957 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
11958 wine_notices="$wine_notices|lib(n)curses development files not found.
11959 Wine will be built without (n)curses support. (wineconsole.exe)"
11963 # Extract the first word of "sane-config", so it can be a program name with args.
11964 set dummy sane-config; ac_word=$2
11965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11967 if test "${ac_cv_prog_sane_devel+set}" = set; then
11968 echo $ECHO_N "(cached) $ECHO_C" >&6
11970 if test -n "$sane_devel"; then
11971 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11974 for as_dir in $PATH
11977 test -z "$as_dir" && as_dir=.
11978 for ac_exec_ext in '' $ac_executable_extensions; do
11979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11980 ac_cv_prog_sane_devel="sane-config"
11981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11988 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11991 sane_devel=$ac_cv_prog_sane_devel
11992 if test -n "$sane_devel"; then
11993 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11994 echo "${ECHO_T}$sane_devel" >&6; }
11996 { echo "$as_me:$LINENO: result: no" >&5
11997 echo "${ECHO_T}no" >&6; }
12001 if test "$sane_devel" != "no"
12003 ac_sane_incl="`$sane_devel --cflags`"
12004 ac_save_CPPFLAGS="$CPPFLAGS"
12005 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12006 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12007 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12008 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12009 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12010 echo $ECHO_N "(cached) $ECHO_C" >&6
12012 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12013 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12015 # Is the header compilable?
12016 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12017 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12018 cat >conftest.$ac_ext <<_ACEOF
12021 cat confdefs.h >>conftest.$ac_ext
12022 cat >>conftest.$ac_ext <<_ACEOF
12023 /* end confdefs.h. */
12024 $ac_includes_default
12025 #include <sane/sane.h>
12027 rm -f conftest.$ac_objext
12028 if { (ac_try="$ac_compile"
12029 case "(($ac_try" in
12030 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12031 *) ac_try_echo
=$ac_try;;
12033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12034 (eval "$ac_compile") 2>conftest.er1
12036 grep -v '^ *+' conftest.er1
>conftest.err
12038 cat conftest.err
>&5
12039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040 (exit $ac_status); } && {
12041 test -z "$ac_c_werror_flag" ||
12042 test ! -s conftest.err
12043 } && test -s conftest.
$ac_objext; then
12044 ac_header_compiler
=yes
12046 echo "$as_me: failed program was:" >&5
12047 sed 's/^/| /' conftest.
$ac_ext >&5
12049 ac_header_compiler
=no
12052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12053 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12054 echo "${ECHO_T}$ac_header_compiler" >&6; }
12056 # Is the header present?
12057 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12058 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12059 cat >conftest.
$ac_ext <<_ACEOF
12062 cat confdefs.h
>>conftest.
$ac_ext
12063 cat >>conftest.
$ac_ext <<_ACEOF
12064 /* end confdefs.h. */
12065 #include <sane/sane.h>
12067 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12068 case "(($ac_try" in
12069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12070 *) ac_try_echo=$ac_try;;
12072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12073 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12075 grep -v '^ *+' conftest.er1 >conftest.err
12077 cat conftest.err >&5
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); } >/dev/null && {
12080 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12081 test ! -s conftest.err
12083 ac_header_preproc=yes
12085 echo "$as_me: failed program was:" >&5
12086 sed 's/^/| /' conftest.$ac_ext >&5
12088 ac_header_preproc=no
12091 rm -f conftest.err conftest.$ac_ext
12092 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12093 echo "${ECHO_T}$ac_header_preproc" >&6; }
12095 # So? What about this header?
12096 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12098 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12099 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12100 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12101 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12102 ac_header_preproc=yes
12105 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12106 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12107 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12108 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12109 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12110 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12111 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12112 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12113 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12114 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12115 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12116 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12118 ## ------------------------------------ ##
12119 ## Report this to wine-devel@winehq.org ##
12120 ## ------------------------------------ ##
12122 ) | sed "s/^/$as_me: WARNING: /" >&2
12125 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12126 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12127 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12128 echo $ECHO_N "(cached) $ECHO_C" >&6
12130 ac_cv_header_sane_sane_h=$ac_header_preproc
12132 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12133 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12136 if test $ac_cv_header_sane_sane_h = yes; then
12137 { echo "$as_me:$LINENO: checking for -lsane" >&5
12138 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12139 if test "${ac_cv_lib_soname_sane+set}" = set; then
12140 echo $ECHO_N "(cached) $ECHO_C" >&6
12142 ac_check_soname_save_LIBS=$LIBS
12143 LIBS="-lsane $LIBS"
12144 cat >conftest.$ac_ext <<_ACEOF
12147 cat confdefs.h >>conftest.$ac_ext
12148 cat >>conftest.$ac_ext <<_ACEOF
12149 /* end confdefs.h. */
12151 /* Override any GCC internal prototype to avoid an error.
12152 Use char because int might match the return type of a GCC
12153 builtin and then its argument prototype would still apply. */
12161 return sane_init ();
12166 rm -f conftest.$ac_objext conftest$ac_exeext
12167 if { (ac_try="$ac_link"
12168 case "(($ac_try" in
12169 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12170 *) ac_try_echo
=$ac_try;;
12172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12173 (eval "$ac_link") 2>conftest.er1
12175 grep -v '^ *+' conftest.er1
>conftest.err
12177 cat conftest.err
>&5
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); } && {
12180 test -z "$ac_c_werror_flag" ||
12181 test ! -s conftest.err
12182 } && test -s conftest
$ac_exeext &&
12183 $as_test_x conftest
$ac_exeext; then
12186 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'` ;;
12187 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12190 echo "$as_me: failed program was:" >&5
12191 sed 's/^/| /' conftest.
$ac_ext >&5
12196 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12197 conftest
$ac_exeext conftest.
$ac_ext
12198 LIBS
=$ac_check_soname_save_LIBS
12200 if test "x$ac_cv_lib_soname_sane" = "x"; then
12201 { echo "$as_me:$LINENO: result: not found" >&5
12202 echo "${ECHO_T}not found" >&6; }
12205 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12206 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12208 cat >>confdefs.h
<<_ACEOF
12209 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12212 SANEINCL
="$ac_sane_incl"
12219 CPPFLAGS
="$ac_save_CPPFLAGS"
12221 if test "x$ac_cv_lib_soname_sane" = "x"; then
12222 wine_notices
="$wine_notices|libsane development files not found.
12223 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12227 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12228 set dummy gphoto2-config
; ac_word
=$2
12229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12231 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12232 echo $ECHO_N "(cached) $ECHO_C" >&6
12234 if test -n "$gphoto2_devel"; then
12235 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
12237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12238 for as_dir
in $PATH
12241 test -z "$as_dir" && as_dir
=.
12242 for ac_exec_ext
in '' $ac_executable_extensions; do
12243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12244 ac_cv_prog_gphoto2_devel
="gphoto2-config"
12245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12252 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
12255 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
12256 if test -n "$gphoto2_devel"; then
12257 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12258 echo "${ECHO_T}$gphoto2_devel" >&6; }
12260 { echo "$as_me:$LINENO: result: no" >&5
12261 echo "${ECHO_T}no" >&6; }
12265 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12266 set dummy gphoto2-port-config
; ac_word
=$2
12267 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12269 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12270 echo $ECHO_N "(cached) $ECHO_C" >&6
12272 if test -n "$gphoto2port_devel"; then
12273 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
12275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12276 for as_dir
in $PATH
12279 test -z "$as_dir" && as_dir
=.
12280 for ac_exec_ext
in '' $ac_executable_extensions; do
12281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12282 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
12283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12290 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
12293 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
12294 if test -n "$gphoto2port_devel"; then
12295 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12296 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12298 { echo "$as_me:$LINENO: result: no" >&5
12299 echo "${ECHO_T}no" >&6; }
12303 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12305 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12307 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12310 -L/usr
/lib|
-L/usr
/lib64
) ;;
12311 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
12314 ac_save_CPPFLAGS
="$CPPFLAGS"
12315 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
12316 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12317 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12318 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12319 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12320 echo $ECHO_N "(cached) $ECHO_C" >&6
12322 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12323 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12325 # Is the header compilable?
12326 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12327 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12328 cat >conftest.
$ac_ext <<_ACEOF
12331 cat confdefs.h
>>conftest.
$ac_ext
12332 cat >>conftest.
$ac_ext <<_ACEOF
12333 /* end confdefs.h. */
12334 $ac_includes_default
12335 #include <gphoto2-camera.h>
12337 rm -f conftest.
$ac_objext
12338 if { (ac_try
="$ac_compile"
12339 case "(($ac_try" in
12340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12341 *) ac_try_echo=$ac_try;;
12343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12344 (eval "$ac_compile") 2>conftest.er1
12346 grep -v '^ *+' conftest.er1 >conftest.err
12348 cat conftest.err >&5
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); } && {
12351 test -z "$ac_c_werror_flag" ||
12352 test ! -s conftest.err
12353 } && test -s conftest.$ac_objext; then
12354 ac_header_compiler=yes
12356 echo "$as_me: failed program was:" >&5
12357 sed 's/^/| /' conftest.$ac_ext >&5
12359 ac_header_compiler=no
12362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12363 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12364 echo "${ECHO_T}$ac_header_compiler" >&6; }
12366 # Is the header present?
12367 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12368 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12369 cat >conftest.$ac_ext <<_ACEOF
12372 cat confdefs.h >>conftest.$ac_ext
12373 cat >>conftest.$ac_ext <<_ACEOF
12374 /* end confdefs.h. */
12375 #include <gphoto2-camera.h>
12377 if { (ac_try="$ac_cpp conftest.$ac_ext"
12378 case "(($ac_try" in
12379 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12380 *) ac_try_echo
=$ac_try;;
12382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12383 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12385 grep -v '^ *+' conftest.er1
>conftest.err
12387 cat conftest.err
>&5
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); } >/dev
/null
&& {
12390 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12391 test ! -s conftest.err
12393 ac_header_preproc
=yes
12395 echo "$as_me: failed program was:" >&5
12396 sed 's/^/| /' conftest.
$ac_ext >&5
12398 ac_header_preproc
=no
12401 rm -f conftest.err conftest.
$ac_ext
12402 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12403 echo "${ECHO_T}$ac_header_preproc" >&6; }
12405 # So? What about this header?
12406 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12408 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12409 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12410 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12411 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12412 ac_header_preproc
=yes
12415 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12416 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12417 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12418 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12419 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12420 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12421 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12422 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12423 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12424 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12425 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12426 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12428 ## ------------------------------------ ##
12429 ## Report this to wine-devel@winehq.org ##
12430 ## ------------------------------------ ##
12432 ) |
sed "s/^/$as_me: WARNING: /" >&2
12435 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12436 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12437 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12438 echo $ECHO_N "(cached) $ECHO_C" >&6
12440 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
12442 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12443 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12446 if test $ac_cv_header_gphoto2_camera_h = yes; then
12447 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12448 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12449 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12450 echo $ECHO_N "(cached) $ECHO_C" >&6
12452 ac_check_lib_save_LIBS
=$LIBS
12453 LIBS
="-lgphoto2 $GPHOTO2LIBS $LIBS"
12454 cat >conftest.
$ac_ext <<_ACEOF
12457 cat confdefs.h
>>conftest.
$ac_ext
12458 cat >>conftest.
$ac_ext <<_ACEOF
12459 /* end confdefs.h. */
12461 /* Override any GCC internal prototype to avoid an error.
12462 Use char because int might match the return type of a GCC
12463 builtin and then its argument prototype would still apply. */
12467 char gp_camera_new ();
12471 return gp_camera_new ();
12476 rm -f conftest.
$ac_objext conftest
$ac_exeext
12477 if { (ac_try
="$ac_link"
12478 case "(($ac_try" in
12479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12480 *) ac_try_echo=$ac_try;;
12482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12483 (eval "$ac_link") 2>conftest.er1
12485 grep -v '^ *+' conftest.er1 >conftest.err
12487 cat conftest.err >&5
12488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12489 (exit $ac_status); } && {
12490 test -z "$ac_c_werror_flag" ||
12491 test ! -s conftest.err
12492 } && test -s conftest$ac_exeext &&
12493 $as_test_x conftest$ac_exeext; then
12494 ac_cv_lib_gphoto2_gp_camera_new=yes
12496 echo "$as_me: failed program was:" >&5
12497 sed 's/^/| /' conftest.$ac_ext >&5
12499 ac_cv_lib_gphoto2_gp_camera_new=no
12502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12503 conftest$ac_exeext conftest.$ac_ext
12504 LIBS=$ac_check_lib_save_LIBS
12506 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12507 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12508 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12510 cat >>confdefs.h <<\_ACEOF
12511 #define HAVE_GPHOTO2 1
12514 GPHOTO2LIBS="$ac_gphoto2_libs"
12516 GPHOTO2INCL="$ac_gphoto2_incl"
12523 CPPFLAGS="$ac_save_CPPFLAGS"
12525 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12526 wine_notices="$wine_notices|libgphoto2 development files not found.
12527 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12534 if test "$ac_cv_header_resolv_h" = "yes"
12536 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12537 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12538 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12539 echo $ECHO_N "(cached) $ECHO_C" >&6
12541 ac_check_lib_save_LIBS=$LIBS
12542 LIBS="-lresolv $LIBS"
12543 cat >conftest.$ac_ext <<_ACEOF
12546 cat confdefs.h >>conftest.$ac_ext
12547 cat >>conftest.$ac_ext <<_ACEOF
12548 /* end confdefs.h. */
12550 /* Override any GCC internal prototype to avoid an error.
12551 Use char because int might match the return type of a GCC
12552 builtin and then its argument prototype would still apply. */
12560 return res_query ();
12565 rm -f conftest.$ac_objext conftest$ac_exeext
12566 if { (ac_try="$ac_link"
12567 case "(($ac_try" in
12568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12569 *) ac_try_echo
=$ac_try;;
12571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12572 (eval "$ac_link") 2>conftest.er1
12574 grep -v '^ *+' conftest.er1
>conftest.err
12576 cat conftest.err
>&5
12577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578 (exit $ac_status); } && {
12579 test -z "$ac_c_werror_flag" ||
12580 test ! -s conftest.err
12581 } && test -s conftest
$ac_exeext &&
12582 $as_test_x conftest
$ac_exeext; then
12583 ac_cv_lib_resolv_res_query
=yes
12585 echo "$as_me: failed program was:" >&5
12586 sed 's/^/| /' conftest.
$ac_ext >&5
12588 ac_cv_lib_resolv_res_query
=no
12591 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12592 conftest
$ac_exeext conftest.
$ac_ext
12593 LIBS
=$ac_check_lib_save_LIBS
12595 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12596 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12597 if test $ac_cv_lib_resolv_res_query = yes; then
12599 cat >>confdefs.h
<<\_ACEOF
12600 #define HAVE_RESOLV 1
12603 RESOLVLIBS
="-lresolv"
12610 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12612 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12613 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12614 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12615 echo $ECHO_N "(cached) $ECHO_C" >&6
12617 ac_check_lib_save_LIBS
=$LIBS
12618 LIBS
="-llcms $LIBS"
12619 cat >conftest.
$ac_ext <<_ACEOF
12622 cat confdefs.h
>>conftest.
$ac_ext
12623 cat >>conftest.
$ac_ext <<_ACEOF
12624 /* end confdefs.h. */
12626 /* Override any GCC internal prototype to avoid an error.
12627 Use char because int might match the return type of a GCC
12628 builtin and then its argument prototype would still apply. */
12632 char cmsOpenProfileFromFile ();
12636 return cmsOpenProfileFromFile ();
12641 rm -f conftest.
$ac_objext conftest
$ac_exeext
12642 if { (ac_try
="$ac_link"
12643 case "(($ac_try" in
12644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12645 *) ac_try_echo=$ac_try;;
12647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12648 (eval "$ac_link") 2>conftest.er1
12650 grep -v '^ *+' conftest.er1 >conftest.err
12652 cat conftest.err >&5
12653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12654 (exit $ac_status); } && {
12655 test -z "$ac_c_werror_flag" ||
12656 test ! -s conftest.err
12657 } && test -s conftest$ac_exeext &&
12658 $as_test_x conftest$ac_exeext; then
12659 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12661 echo "$as_me: failed program was:" >&5
12662 sed 's/^/| /' conftest.$ac_ext >&5
12664 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12668 conftest$ac_exeext conftest.$ac_ext
12669 LIBS=$ac_check_lib_save_LIBS
12671 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12672 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12673 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12675 cat >>confdefs.h <<\_ACEOF
12676 #define HAVE_LCMS 1
12683 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12684 wine_notices="$wine_notices|liblcms development files not found.
12685 Wine will be built without Color Management support. (mscms.dll)"
12691 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12693 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12694 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12695 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12696 echo $ECHO_N "(cached) $ECHO_C" >&6
12698 ac_check_lib_save_LIBS=$LIBS
12699 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12700 cat >conftest.$ac_ext <<_ACEOF
12703 cat confdefs.h >>conftest.$ac_ext
12704 cat >>conftest.$ac_ext <<_ACEOF
12705 /* end confdefs.h. */
12707 /* Override any GCC internal prototype to avoid an error.
12708 Use char because int might match the return type of a GCC
12709 builtin and then its argument prototype would still apply. */
12713 char ldap_initialize ();
12717 return ldap_initialize ();
12722 rm -f conftest.$ac_objext conftest$ac_exeext
12723 if { (ac_try="$ac_link"
12724 case "(($ac_try" in
12725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12726 *) ac_try_echo
=$ac_try;;
12728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12729 (eval "$ac_link") 2>conftest.er1
12731 grep -v '^ *+' conftest.er1
>conftest.err
12733 cat conftest.err
>&5
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); } && {
12736 test -z "$ac_c_werror_flag" ||
12737 test ! -s conftest.err
12738 } && test -s conftest
$ac_exeext &&
12739 $as_test_x conftest
$ac_exeext; then
12740 ac_cv_lib_ldap_r_ldap_initialize
=yes
12742 echo "$as_me: failed program was:" >&5
12743 sed 's/^/| /' conftest.
$ac_ext >&5
12745 ac_cv_lib_ldap_r_ldap_initialize
=no
12748 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12749 conftest
$ac_exeext conftest.
$ac_ext
12750 LIBS
=$ac_check_lib_save_LIBS
12752 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12753 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12754 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12755 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12756 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12757 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12758 echo $ECHO_N "(cached) $ECHO_C" >&6
12760 ac_check_lib_save_LIBS
=$LIBS
12761 LIBS
="-llber $LIBPTHREAD $LIBS"
12762 cat >conftest.
$ac_ext <<_ACEOF
12765 cat confdefs.h
>>conftest.
$ac_ext
12766 cat >>conftest.
$ac_ext <<_ACEOF
12767 /* end confdefs.h. */
12769 /* Override any GCC internal prototype to avoid an error.
12770 Use char because int might match the return type of a GCC
12771 builtin and then its argument prototype would still apply. */
12779 return ber_init ();
12784 rm -f conftest.
$ac_objext conftest
$ac_exeext
12785 if { (ac_try
="$ac_link"
12786 case "(($ac_try" in
12787 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12788 *) ac_try_echo=$ac_try;;
12790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12791 (eval "$ac_link") 2>conftest.er1
12793 grep -v '^ *+' conftest.er1 >conftest.err
12795 cat conftest.err >&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); } && {
12798 test -z "$ac_c_werror_flag" ||
12799 test ! -s conftest.err
12800 } && test -s conftest$ac_exeext &&
12801 $as_test_x conftest$ac_exeext; then
12802 ac_cv_lib_lber_ber_init=yes
12804 echo "$as_me: failed program was:" >&5
12805 sed 's/^/| /' conftest.$ac_ext >&5
12807 ac_cv_lib_lber_ber_init=no
12810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12811 conftest$ac_exeext conftest.$ac_ext
12812 LIBS=$ac_check_lib_save_LIBS
12814 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12815 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12816 if test $ac_cv_lib_lber_ber_init = yes; then
12818 cat >>confdefs.h <<\_ACEOF
12819 #define HAVE_LDAP 1
12822 LDAPLIBS="-lldap_r -llber"
12827 ac_wine_check_funcs_save_LIBS="$LIBS"
12828 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12834 ldap_count_references \
12835 ldap_first_reference \
12836 ldap_next_reference \
12837 ldap_parse_reference
12839 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12840 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12842 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12843 echo $ECHO_N "(cached) $ECHO_C" >&6
12845 cat >conftest.$ac_ext <<_ACEOF
12848 cat confdefs.h >>conftest.$ac_ext
12849 cat >>conftest.$ac_ext <<_ACEOF
12850 /* end confdefs.h. */
12851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12853 #define $ac_func innocuous_$ac_func
12855 /* System header to define __stub macros and hopefully few prototypes,
12856 which can conflict with char $ac_func (); below.
12857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12858 <limits.h> exists even on freestanding compilers. */
12861 # include <limits.h>
12863 # include <assert.h>
12868 /* Override any GCC internal prototype to avoid an error.
12869 Use char because int might match the return type of a GCC
12870 builtin and then its argument prototype would still apply. */
12875 /* The GNU C library defines this for functions which it implements
12876 to always fail with ENOSYS. Some functions are actually named
12877 something starting with __ and the normal name is an alias. */
12878 #if defined __stub_$ac_func || defined __stub___$ac_func
12885 return $ac_func ();
12890 rm -f conftest.$ac_objext conftest$ac_exeext
12891 if { (ac_try="$ac_link"
12892 case "(($ac_try" in
12893 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12894 *) ac_try_echo
=$ac_try;;
12896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12897 (eval "$ac_link") 2>conftest.er1
12899 grep -v '^ *+' conftest.er1
>conftest.err
12901 cat conftest.err
>&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); } && {
12904 test -z "$ac_c_werror_flag" ||
12905 test ! -s conftest.err
12906 } && test -s conftest
$ac_exeext &&
12907 $as_test_x conftest
$ac_exeext; then
12908 eval "$as_ac_var=yes"
12910 echo "$as_me: failed program was:" >&5
12911 sed 's/^/| /' conftest.
$ac_ext >&5
12913 eval "$as_ac_var=no"
12916 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12917 conftest
$ac_exeext conftest.
$ac_ext
12919 ac_res
=`eval echo '${'$as_ac_var'}'`
12920 { echo "$as_me:$LINENO: result: $ac_res" >&5
12921 echo "${ECHO_T}$ac_res" >&6; }
12922 if test `eval echo '${'$as_ac_var'}'` = yes; then
12923 cat >>confdefs.h
<<_ACEOF
12924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12930 LIBS
="$ac_wine_check_funcs_save_LIBS"
12932 if test "x$LDAPLIBS" = "x"; then
12933 wine_notices
="$wine_notices|libldap (OpenLDAP) development files not found.
12934 Wine will be built without LDAP support. (wldap32.dll)"
12938 for ac_prog
in freetype-config freetype2-config
12940 # Extract the first word of "$ac_prog", so it can be a program name with args.
12941 set dummy
$ac_prog; ac_word
=$2
12942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12944 if test "${ac_cv_prog_ft_devel+set}" = set; then
12945 echo $ECHO_N "(cached) $ECHO_C" >&6
12947 if test -n "$ft_devel"; then
12948 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
12950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12951 for as_dir
in $PATH
12954 test -z "$as_dir" && as_dir
=.
12955 for ac_exec_ext
in '' $ac_executable_extensions; do
12956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12957 ac_cv_prog_ft_devel
="$ac_prog"
12958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12967 ft_devel
=$ac_cv_prog_ft_devel
12968 if test -n "$ft_devel"; then
12969 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12970 echo "${ECHO_T}$ft_devel" >&6; }
12972 { echo "$as_me:$LINENO: result: no" >&5
12973 echo "${ECHO_T}no" >&6; }
12977 test -n "$ft_devel" && break
12979 test -n "$ft_devel" || ft_devel
="false"
12981 if test "$ft_devel" != "false"
12983 ac_freetype_libs
=`$ft_devel --libs`
12984 ac_freetype_incl
=`$ft_devel --cflags`
12985 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
12986 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
12987 if test "${ac_cv_lib_soname_freetype+set}" = set; then
12988 echo $ECHO_N "(cached) $ECHO_C" >&6
12990 ac_check_soname_save_LIBS
=$LIBS
12991 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
12992 cat >conftest.
$ac_ext <<_ACEOF
12995 cat confdefs.h
>>conftest.
$ac_ext
12996 cat >>conftest.
$ac_ext <<_ACEOF
12997 /* end confdefs.h. */
12999 /* Override any GCC internal prototype to avoid an error.
13000 Use char because int might match the return type of a GCC
13001 builtin and then its argument prototype would still apply. */
13005 char FT_Init_FreeType ();
13009 return FT_Init_FreeType ();
13014 rm -f conftest.
$ac_objext conftest
$ac_exeext
13015 if { (ac_try
="$ac_link"
13016 case "(($ac_try" in
13017 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13018 *) ac_try_echo=$ac_try;;
13020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13021 (eval "$ac_link") 2>conftest.er1
13023 grep -v '^ *+' conftest.er1 >conftest.err
13025 cat conftest.err >&5
13026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13027 (exit $ac_status); } && {
13028 test -z "$ac_c_werror_flag" ||
13029 test ! -s conftest.err
13030 } && test -s conftest$ac_exeext &&
13031 $as_test_x conftest$ac_exeext; then
13034 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'` ;;
13035 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfreetype\\.$LIBEXT" |
sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13038 echo "$as_me: failed program was:" >&5
13039 sed 's/^/| /' conftest.$ac_ext >&5
13044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13045 conftest$ac_exeext conftest.$ac_ext
13046 LIBS=$ac_check_soname_save_LIBS
13048 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13049 { echo "$as_me:$LINENO: result: not found" >&5
13050 echo "${ECHO_T}not found" >&6; }
13053 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13054 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13056 cat >>confdefs.h <<_ACEOF
13057 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13063 if test "$ft_lib" = "yes"
13065 ac_save_CPPFLAGS="$CPPFLAGS"
13066 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13078 for ac_header in ft2build.h \
13079 freetype/freetype.h \
13080 freetype/ftglyph.h \
13081 freetype/tttables.h \
13082 freetype/ftnames.h \
13083 freetype/ftsnames.h \
13084 freetype/ttnameid.h \
13085 freetype/ftoutln.h \
13086 freetype/ftwinfnt.h \
13087 freetype/ftmodapi.h \
13088 freetype/internal/sfnt.h
13090 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13091 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13093 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13094 echo $ECHO_N "(cached) $ECHO_C" >&6
13096 cat >conftest.$ac_ext <<_ACEOF
13099 cat confdefs.h >>conftest.$ac_ext
13100 cat >>conftest.$ac_ext <<_ACEOF
13101 /* end confdefs.h. */
13102 #if HAVE_FT2BUILD_H
13103 #include <ft2build.h>
13106 #include <$ac_header>
13108 rm -f conftest.$ac_objext
13109 if { (ac_try="$ac_compile"
13110 case "(($ac_try" in
13111 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13112 *) ac_try_echo
=$ac_try;;
13114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13115 (eval "$ac_compile") 2>conftest.er1
13117 grep -v '^ *+' conftest.er1
>conftest.err
13119 cat conftest.err
>&5
13120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13121 (exit $ac_status); } && {
13122 test -z "$ac_c_werror_flag" ||
13123 test ! -s conftest.err
13124 } && test -s conftest.
$ac_objext; then
13125 eval "$as_ac_Header=yes"
13127 echo "$as_me: failed program was:" >&5
13128 sed 's/^/| /' conftest.
$ac_ext >&5
13130 eval "$as_ac_Header=no"
13133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13135 ac_res
=`eval echo '${'$as_ac_Header'}'`
13136 { echo "$as_me:$LINENO: result: $ac_res" >&5
13137 echo "${ECHO_T}$ac_res" >&6; }
13138 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13139 cat >>confdefs.h
<<_ACEOF
13140 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13147 cat >conftest.
$ac_ext <<_ACEOF
13150 cat confdefs.h
>>conftest.
$ac_ext
13151 cat >>conftest.
$ac_ext <<_ACEOF
13152 /* end confdefs.h. */
13153 #include <ft2build.h>
13154 #include <freetype/fttrigon.h>
13156 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13157 case "(($ac_try" in
13158 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13159 *) ac_try_echo=$ac_try;;
13161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13162 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13164 grep -v '^ *+' conftest.er1 >conftest.err
13166 cat conftest.err >&5
13167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); } >/dev/null && {
13169 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13170 test ! -s conftest.err
13173 cat >>confdefs.h <<\_ACEOF
13174 #define HAVE_FREETYPE_FTTRIGON_H 1
13177 wine_cv_fttrigon=yes
13179 echo "$as_me: failed program was:" >&5
13180 sed 's/^/| /' conftest.$ac_ext >&5
13182 wine_cv_fttrigon=no
13185 rm -f conftest.err conftest.$ac_ext
13186 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13187 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13188 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13189 echo $ECHO_N "(cached) $ECHO_C" >&6
13191 cat >conftest.$ac_ext <<_ACEOF
13194 cat confdefs.h >>conftest.$ac_ext
13195 cat >>conftest.$ac_ext <<_ACEOF
13196 /* end confdefs.h. */
13197 #include <freetype/ftmodapi.h>
13199 typedef FT_TrueTypeEngineType ac__type_new_;
13203 if ((ac__type_new_ *) 0)
13205 if (sizeof (ac__type_new_))
13211 rm -f conftest.$ac_objext
13212 if { (ac_try="$ac_compile"
13213 case "(($ac_try" in
13214 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13215 *) ac_try_echo
=$ac_try;;
13217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13218 (eval "$ac_compile") 2>conftest.er1
13220 grep -v '^ *+' conftest.er1
>conftest.err
13222 cat conftest.err
>&5
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); } && {
13225 test -z "$ac_c_werror_flag" ||
13226 test ! -s conftest.err
13227 } && test -s conftest.
$ac_objext; then
13228 ac_cv_type_FT_TrueTypeEngineType
=yes
13230 echo "$as_me: failed program was:" >&5
13231 sed 's/^/| /' conftest.
$ac_ext >&5
13233 ac_cv_type_FT_TrueTypeEngineType
=no
13236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13238 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13239 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13240 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13242 cat >>confdefs.h
<<_ACEOF
13243 #define HAVE_FT_TRUETYPEENGINETYPE 1
13249 ac_save_CFLAGS
="$CFLAGS"
13250 CFLAGS
="$CFLAGS $ac_freetype_libs"
13252 for ac_func
in FT_Load_Sfnt_Table
13254 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13255 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13257 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13258 echo $ECHO_N "(cached) $ECHO_C" >&6
13260 cat >conftest.
$ac_ext <<_ACEOF
13263 cat confdefs.h
>>conftest.
$ac_ext
13264 cat >>conftest.
$ac_ext <<_ACEOF
13265 /* end confdefs.h. */
13266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13268 #define $ac_func innocuous_$ac_func
13270 /* System header to define __stub macros and hopefully few prototypes,
13271 which can conflict with char $ac_func (); below.
13272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13273 <limits.h> exists even on freestanding compilers. */
13276 # include <limits.h>
13278 # include <assert.h>
13283 /* Override any GCC internal prototype to avoid an error.
13284 Use char because int might match the return type of a GCC
13285 builtin and then its argument prototype would still apply. */
13290 /* The GNU C library defines this for functions which it implements
13291 to always fail with ENOSYS. Some functions are actually named
13292 something starting with __ and the normal name is an alias. */
13293 #if defined __stub_$ac_func || defined __stub___$ac_func
13300 return $ac_func ();
13305 rm -f conftest.
$ac_objext conftest
$ac_exeext
13306 if { (ac_try
="$ac_link"
13307 case "(($ac_try" in
13308 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13309 *) ac_try_echo=$ac_try;;
13311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13312 (eval "$ac_link") 2>conftest.er1
13314 grep -v '^ *+' conftest.er1 >conftest.err
13316 cat conftest.err >&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); } && {
13319 test -z "$ac_c_werror_flag" ||
13320 test ! -s conftest.err
13321 } && test -s conftest$ac_exeext &&
13322 $as_test_x conftest$ac_exeext; then
13323 eval "$as_ac_var=yes"
13325 echo "$as_me: failed program was:" >&5
13326 sed 's/^/| /' conftest.$ac_ext >&5
13328 eval "$as_ac_var=no"
13331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13332 conftest$ac_exeext conftest.$ac_ext
13334 ac_res=`eval echo '${'$as_ac_var'}'`
13335 { echo "$as_me:$LINENO: result: $ac_res" >&5
13336 echo "${ECHO_T}$ac_res" >&6; }
13337 if test `eval echo '${'$as_ac_var'}'` = yes; then
13338 cat >>confdefs.h <<_ACEOF
13339 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13345 CFLAGS="$ac_save_CFLAGS"
13346 CPPFLAGS="$ac_save_CPPFLAGS"
13347 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13350 cat >>confdefs.h <<\_ACEOF
13351 #define HAVE_FREETYPE 1
13354 FREETYPELIBS="$ac_freetype_libs"
13356 FREETYPEINCL="$ac_freetype_incl"
13362 if test "$FONTFORGE" = "false"
13364 wine_warnings="$wine_warnings|FontForge is missing.
13365 Fonts will not be built. Dialog text may be invisible or unaligned."
13366 elif test "x$FREETYPELIBS" = "x"
13368 wine_warnings="$wine_warnings|FreeType development files not found.
13369 Fonts will not be built. Dialog text may be invisible or unaligned."
13371 FONTSSUBDIRS="fonts"
13375 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13376 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13377 if test "${ac_cv_c_ppdev+set}" = set; then
13378 echo $ECHO_N "(cached) $ECHO_C" >&6
13380 cat >conftest.$ac_ext <<_ACEOF
13383 cat confdefs.h >>conftest.$ac_ext
13384 cat >>conftest.$ac_ext <<_ACEOF
13385 /* end confdefs.h. */
13386 #include <linux/ppdev.h>
13390 ioctl (1,PPCLAIM,0)
13395 rm -f conftest.$ac_objext
13396 if { (ac_try="$ac_compile"
13397 case "(($ac_try" in
13398 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13399 *) ac_try_echo
=$ac_try;;
13401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13402 (eval "$ac_compile") 2>conftest.er1
13404 grep -v '^ *+' conftest.er1
>conftest.err
13406 cat conftest.err
>&5
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); } && {
13409 test -z "$ac_c_werror_flag" ||
13410 test ! -s conftest.err
13411 } && test -s conftest.
$ac_objext; then
13412 ac_cv_c_ppdev
="yes"
13414 echo "$as_me: failed program was:" >&5
13415 sed 's/^/| /' conftest.
$ac_ext >&5
13420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13422 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13423 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13424 if test "$ac_cv_c_ppdev" = "yes"
13427 cat >>confdefs.h
<<\_ACEOF
13428 #define HAVE_PPDEV 1
13433 { echo "$as_me:$LINENO: checking for va_copy" >&5
13434 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13435 if test "${ac_cv_c_va_copy+set}" = set; then
13436 echo $ECHO_N "(cached) $ECHO_C" >&6
13438 cat >conftest.
$ac_ext <<_ACEOF
13441 cat confdefs.h
>>conftest.
$ac_ext
13442 cat >>conftest.
$ac_ext <<_ACEOF
13443 /* end confdefs.h. */
13444 #include <stdarg.h>
13448 va_list ap1, ap2; va_copy(ap1,ap2);
13453 rm -f conftest.
$ac_objext conftest
$ac_exeext
13454 if { (ac_try
="$ac_link"
13455 case "(($ac_try" in
13456 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13457 *) ac_try_echo=$ac_try;;
13459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13460 (eval "$ac_link") 2>conftest.er1
13462 grep -v '^ *+' conftest.er1 >conftest.err
13464 cat conftest.err >&5
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); } && {
13467 test -z "$ac_c_werror_flag" ||
13468 test ! -s conftest.err
13469 } && test -s conftest$ac_exeext &&
13470 $as_test_x conftest$ac_exeext; then
13471 ac_cv_c_va_copy="yes"
13473 echo "$as_me: failed program was:" >&5
13474 sed 's/^/| /' conftest.$ac_ext >&5
13476 ac_cv_c_va_copy="no"
13479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13480 conftest$ac_exeext conftest.$ac_ext
13483 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13484 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13485 if test "$ac_cv_c_va_copy" = "yes"
13488 cat >>confdefs.h <<\_ACEOF
13489 #define HAVE_VA_COPY 1
13493 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13494 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13495 if test "${ac_cv_c___va_copy+set}" = set; then
13496 echo $ECHO_N "(cached) $ECHO_C" >&6
13498 cat >conftest.$ac_ext <<_ACEOF
13501 cat confdefs.h >>conftest.$ac_ext
13502 cat >>conftest.$ac_ext <<_ACEOF
13503 /* end confdefs.h. */
13504 #include <stdarg.h>
13508 va_list ap1, ap2; __va_copy(ap1,ap2);
13513 rm -f conftest.$ac_objext conftest$ac_exeext
13514 if { (ac_try="$ac_link"
13515 case "(($ac_try" in
13516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13517 *) ac_try_echo
=$ac_try;;
13519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13520 (eval "$ac_link") 2>conftest.er1
13522 grep -v '^ *+' conftest.er1
>conftest.err
13524 cat conftest.err
>&5
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); } && {
13527 test -z "$ac_c_werror_flag" ||
13528 test ! -s conftest.err
13529 } && test -s conftest
$ac_exeext &&
13530 $as_test_x conftest
$ac_exeext; then
13531 ac_cv_c___va_copy
="yes"
13533 echo "$as_me: failed program was:" >&5
13534 sed 's/^/| /' conftest.
$ac_ext >&5
13536 ac_cv_c___va_copy
="no"
13539 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13540 conftest
$ac_exeext conftest.
$ac_ext
13543 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13544 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13545 if test "$ac_cv_c___va_copy" = "yes"
13548 cat >>confdefs.h
<<\_ACEOF
13549 #define HAVE___VA_COPY 1
13554 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13555 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13556 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13557 echo $ECHO_N "(cached) $ECHO_C" >&6
13559 cat >conftest.
$ac_ext <<_ACEOF
13562 cat confdefs.h
>>conftest.
$ac_ext
13563 cat >>conftest.
$ac_ext <<_ACEOF
13564 /* end confdefs.h. */
13565 #include <setjmp.h>
13570 sigsetjmp( buf, 1 );
13571 siglongjmp( buf, 1 );
13576 rm -f conftest.
$ac_objext conftest
$ac_exeext
13577 if { (ac_try
="$ac_link"
13578 case "(($ac_try" in
13579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13580 *) ac_try_echo=$ac_try;;
13582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13583 (eval "$ac_link") 2>conftest.er1
13585 grep -v '^ *+' conftest.er1 >conftest.err
13587 cat conftest.err >&5
13588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13589 (exit $ac_status); } && {
13590 test -z "$ac_c_werror_flag" ||
13591 test ! -s conftest.err
13592 } && test -s conftest$ac_exeext &&
13593 $as_test_x conftest$ac_exeext; then
13594 ac_cv_c_sigsetjmp="yes"
13596 echo "$as_me: failed program was:" >&5
13597 sed 's/^/| /' conftest.$ac_ext >&5
13599 ac_cv_c_sigsetjmp="no"
13602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13603 conftest$ac_exeext conftest.$ac_ext
13606 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13607 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13608 if test "$ac_cv_c_sigsetjmp" = "yes"
13611 cat >>confdefs.h <<\_ACEOF
13612 #define HAVE_SIGSETJMP 1
13617 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13618 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13619 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13620 echo $ECHO_N "(cached) $ECHO_C" >&6
13622 cat >conftest.$ac_ext <<_ACEOF
13625 cat confdefs.h >>conftest.$ac_ext
13626 cat >>conftest.$ac_ext <<_ACEOF
13627 /* end confdefs.h. */
13628 #define _GNU_SOURCE
13629 #include <pthread.h>
13631 typedef pthread_rwlock_t ac__type_new_;
13635 if ((ac__type_new_ *) 0)
13637 if (sizeof (ac__type_new_))
13643 rm -f conftest.$ac_objext
13644 if { (ac_try="$ac_compile"
13645 case "(($ac_try" in
13646 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13647 *) ac_try_echo
=$ac_try;;
13649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13650 (eval "$ac_compile") 2>conftest.er1
13652 grep -v '^ *+' conftest.er1
>conftest.err
13654 cat conftest.err
>&5
13655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13656 (exit $ac_status); } && {
13657 test -z "$ac_c_werror_flag" ||
13658 test ! -s conftest.err
13659 } && test -s conftest.
$ac_objext; then
13660 ac_cv_type_pthread_rwlock_t
=yes
13662 echo "$as_me: failed program was:" >&5
13663 sed 's/^/| /' conftest.
$ac_ext >&5
13665 ac_cv_type_pthread_rwlock_t
=no
13668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13670 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13671 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13672 if test $ac_cv_type_pthread_rwlock_t = yes; then
13674 cat >>confdefs.h
<<_ACEOF
13675 #define HAVE_PTHREAD_RWLOCK_T 1
13680 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13681 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13682 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13683 echo $ECHO_N "(cached) $ECHO_C" >&6
13685 cat >conftest.
$ac_ext <<_ACEOF
13688 cat confdefs.h
>>conftest.
$ac_ext
13689 cat >>conftest.
$ac_ext <<_ACEOF
13690 /* end confdefs.h. */
13691 #define _GNU_SOURCE
13692 #include <pthread.h>
13694 typedef pthread_rwlockattr_t ac__type_new_;
13698 if ((ac__type_new_ *) 0)
13700 if (sizeof (ac__type_new_))
13706 rm -f conftest.
$ac_objext
13707 if { (ac_try
="$ac_compile"
13708 case "(($ac_try" in
13709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13710 *) ac_try_echo=$ac_try;;
13712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13713 (eval "$ac_compile") 2>conftest.er1
13715 grep -v '^ *+' conftest.er1 >conftest.err
13717 cat conftest.err >&5
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); } && {
13720 test -z "$ac_c_werror_flag" ||
13721 test ! -s conftest.err
13722 } && test -s conftest.$ac_objext; then
13723 ac_cv_type_pthread_rwlockattr_t=yes
13725 echo "$as_me: failed program was:" >&5
13726 sed 's/^/| /' conftest.$ac_ext >&5
13728 ac_cv_type_pthread_rwlockattr_t=no
13731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13733 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13734 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13735 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13737 cat >>confdefs.h <<_ACEOF
13738 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13745 ac_wine_check_funcs_save_LIBS="$LIBS"
13746 LIBS="$LIBS $LIBPTHREAD"
13752 pthread_attr_get_np \
13753 pthread_getattr_np \
13754 pthread_get_stackaddr_np \
13755 pthread_get_stacksize_np
13757 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13758 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13760 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13761 echo $ECHO_N "(cached) $ECHO_C" >&6
13763 cat >conftest.$ac_ext <<_ACEOF
13766 cat confdefs.h >>conftest.$ac_ext
13767 cat >>conftest.$ac_ext <<_ACEOF
13768 /* end confdefs.h. */
13769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13771 #define $ac_func innocuous_$ac_func
13773 /* System header to define __stub macros and hopefully few prototypes,
13774 which can conflict with char $ac_func (); below.
13775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13776 <limits.h> exists even on freestanding compilers. */
13779 # include <limits.h>
13781 # include <assert.h>
13786 /* Override any GCC internal prototype to avoid an error.
13787 Use char because int might match the return type of a GCC
13788 builtin and then its argument prototype would still apply. */
13793 /* The GNU C library defines this for functions which it implements
13794 to always fail with ENOSYS. Some functions are actually named
13795 something starting with __ and the normal name is an alias. */
13796 #if defined __stub_$ac_func || defined __stub___$ac_func
13803 return $ac_func ();
13808 rm -f conftest.$ac_objext conftest$ac_exeext
13809 if { (ac_try="$ac_link"
13810 case "(($ac_try" in
13811 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13812 *) ac_try_echo
=$ac_try;;
13814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13815 (eval "$ac_link") 2>conftest.er1
13817 grep -v '^ *+' conftest.er1
>conftest.err
13819 cat conftest.err
>&5
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); } && {
13822 test -z "$ac_c_werror_flag" ||
13823 test ! -s conftest.err
13824 } && test -s conftest
$ac_exeext &&
13825 $as_test_x conftest
$ac_exeext; then
13826 eval "$as_ac_var=yes"
13828 echo "$as_me: failed program was:" >&5
13829 sed 's/^/| /' conftest.
$ac_ext >&5
13831 eval "$as_ac_var=no"
13834 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13835 conftest
$ac_exeext conftest.
$ac_ext
13837 ac_res
=`eval echo '${'$as_ac_var'}'`
13838 { echo "$as_me:$LINENO: result: $ac_res" >&5
13839 echo "${ECHO_T}$ac_res" >&6; }
13840 if test `eval echo '${'$as_ac_var'}'` = yes; then
13841 cat >>confdefs.h
<<_ACEOF
13842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13848 LIBS
="$ac_wine_check_funcs_save_LIBS"
13850 # Extract the first word of "esd-config", so it can be a program name with args.
13851 set dummy esd-config
; ac_word
=$2
13852 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13854 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13855 echo $ECHO_N "(cached) $ECHO_C" >&6
13859 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
13862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13863 for as_dir
in $PATH
13866 test -z "$as_dir" && as_dir
=.
13867 for ac_exec_ext
in '' $ac_executable_extensions; do
13868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13869 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
13870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13880 ESDCONFIG
=$ac_cv_path_ESDCONFIG
13881 if test -n "$ESDCONFIG"; then
13882 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13883 echo "${ECHO_T}$ESDCONFIG" >&6; }
13885 { echo "$as_me:$LINENO: result: no" >&5
13886 echo "${ECHO_T}no" >&6; }
13890 if test x
$ESDCONFIG != x
-a x
$ESDCONFIG != x
'"$ESDCONFIG"';
13893 for i
in `$ESDCONFIG --cflags`
13896 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
13899 ESD_LIBS
=`$ESDCONFIG --libs`
13900 save_CFLAGS
="$CFLAGS"
13901 CFLAGS
="$CFLAGS $ESD_CFLAGS"
13902 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13903 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13904 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13905 echo $ECHO_N "(cached) $ECHO_C" >&6
13907 ac_check_lib_save_LIBS
=$LIBS
13909 cat >conftest.
$ac_ext <<_ACEOF
13912 cat confdefs.h
>>conftest.
$ac_ext
13913 cat >>conftest.
$ac_ext <<_ACEOF
13914 /* end confdefs.h. */
13916 /* Override any GCC internal prototype to avoid an error.
13917 Use char because int might match the return type of a GCC
13918 builtin and then its argument prototype would still apply. */
13922 char esd_open_sound ();
13926 return esd_open_sound ();
13931 rm -f conftest.
$ac_objext conftest
$ac_exeext
13932 if { (ac_try
="$ac_link"
13933 case "(($ac_try" in
13934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13935 *) ac_try_echo=$ac_try;;
13937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13938 (eval "$ac_link") 2>conftest.er1
13940 grep -v '^ *+' conftest.er1 >conftest.err
13942 cat conftest.err >&5
13943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13944 (exit $ac_status); } && {
13945 test -z "$ac_c_werror_flag" ||
13946 test ! -s conftest.err
13947 } && test -s conftest$ac_exeext &&
13948 $as_test_x conftest$ac_exeext; then
13949 ac_cv_lib_esd_esd_open_sound=yes
13951 echo "$as_me: failed program was:" >&5
13952 sed 's/^/| /' conftest.$ac_ext >&5
13954 ac_cv_lib_esd_esd_open_sound=no
13957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13958 conftest$ac_exeext conftest.$ac_ext
13959 LIBS=$ac_check_lib_save_LIBS
13961 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13962 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13963 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13966 ESDINCL=$ESD_CFLAGS
13969 cat >>confdefs.h <<\_ACEOF
13975 CFLAGS="$save_CFLAGS"
13980 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13982 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13983 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13984 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13985 echo $ECHO_N "(cached) $ECHO_C" >&6
13987 ac_check_lib_save_LIBS=$LIBS
13988 LIBS="-lasound $LIBS"
13989 cat >conftest.$ac_ext <<_ACEOF
13992 cat confdefs.h >>conftest.$ac_ext
13993 cat >>conftest.$ac_ext <<_ACEOF
13994 /* end confdefs.h. */
13996 /* Override any GCC internal prototype to avoid an error.
13997 Use char because int might match the return type of a GCC
13998 builtin and then its argument prototype would still apply. */
14002 char snd_pcm_hw_params_get_access ();
14006 return snd_pcm_hw_params_get_access ();
14011 rm -f conftest.$ac_objext conftest$ac_exeext
14012 if { (ac_try="$ac_link"
14013 case "(($ac_try" in
14014 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14015 *) ac_try_echo
=$ac_try;;
14017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14018 (eval "$ac_link") 2>conftest.er1
14020 grep -v '^ *+' conftest.er1
>conftest.err
14022 cat conftest.err
>&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); } && {
14025 test -z "$ac_c_werror_flag" ||
14026 test ! -s conftest.err
14027 } && test -s conftest
$ac_exeext &&
14028 $as_test_x conftest
$ac_exeext; then
14029 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
14031 echo "$as_me: failed program was:" >&5
14032 sed 's/^/| /' conftest.
$ac_ext >&5
14034 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
14037 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14038 conftest
$ac_exeext conftest.
$ac_ext
14039 LIBS
=$ac_check_lib_save_LIBS
14041 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14042 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14043 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14044 cat >conftest.
$ac_ext <<_ACEOF
14047 cat confdefs.h
>>conftest.
$ac_ext
14048 cat >>conftest.
$ac_ext <<_ACEOF
14049 /* end confdefs.h. */
14050 #ifdef HAVE_ALSA_ASOUNDLIB_H
14051 #include <alsa/asoundlib.h>
14052 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14053 #include <sys/asoundlib.h>
14058 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14063 rm -f conftest.
$ac_objext
14064 if { (ac_try
="$ac_compile"
14065 case "(($ac_try" in
14066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14067 *) ac_try_echo=$ac_try;;
14069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14070 (eval "$ac_compile") 2>conftest.er1
14072 grep -v '^ *+' conftest.er1 >conftest.err
14074 cat conftest.err >&5
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); } && {
14077 test -z "$ac_c_werror_flag" ||
14078 test ! -s conftest.err
14079 } && test -s conftest.$ac_objext; then
14081 cat >>confdefs.h <<\_ACEOF
14082 #define HAVE_ALSA 1
14085 ALSALIBS="-lasound"
14087 echo "$as_me: failed program was:" >&5
14088 sed 's/^/| /' conftest.$ac_ext >&5
14093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14100 if test "$ac_cv_header_libaudioio_h" = "yes"
14102 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14103 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14104 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14105 echo $ECHO_N "(cached) $ECHO_C" >&6
14107 ac_check_lib_save_LIBS=$LIBS
14108 LIBS="-laudioio $LIBS"
14109 cat >conftest.$ac_ext <<_ACEOF
14112 cat confdefs.h >>conftest.$ac_ext
14113 cat >>conftest.$ac_ext <<_ACEOF
14114 /* end confdefs.h. */
14116 /* Override any GCC internal prototype to avoid an error.
14117 Use char because int might match the return type of a GCC
14118 builtin and then its argument prototype would still apply. */
14122 char AudioIOGetVersion ();
14126 return AudioIOGetVersion ();
14131 rm -f conftest.$ac_objext conftest$ac_exeext
14132 if { (ac_try="$ac_link"
14133 case "(($ac_try" in
14134 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14135 *) ac_try_echo
=$ac_try;;
14137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14138 (eval "$ac_link") 2>conftest.er1
14140 grep -v '^ *+' conftest.er1
>conftest.err
14142 cat conftest.err
>&5
14143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14144 (exit $ac_status); } && {
14145 test -z "$ac_c_werror_flag" ||
14146 test ! -s conftest.err
14147 } && test -s conftest
$ac_exeext &&
14148 $as_test_x conftest
$ac_exeext; then
14149 ac_cv_lib_audioio_AudioIOGetVersion
=yes
14151 echo "$as_me: failed program was:" >&5
14152 sed 's/^/| /' conftest.
$ac_ext >&5
14154 ac_cv_lib_audioio_AudioIOGetVersion
=no
14157 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14158 conftest
$ac_exeext conftest.
$ac_ext
14159 LIBS
=$ac_check_lib_save_LIBS
14161 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14162 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14163 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14164 AUDIOIOLIBS
="-laudioio"
14166 cat >>confdefs.h
<<\_ACEOF
14167 #define HAVE_LIBAUDIOIO 1
14175 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14177 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14178 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14179 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14180 echo $ECHO_N "(cached) $ECHO_C" >&6
14182 ac_check_soname_save_LIBS
=$LIBS
14183 LIBS
="-lcapi20 $LIBS"
14184 cat >conftest.
$ac_ext <<_ACEOF
14187 cat confdefs.h
>>conftest.
$ac_ext
14188 cat >>conftest.
$ac_ext <<_ACEOF
14189 /* end confdefs.h. */
14191 /* Override any GCC internal prototype to avoid an error.
14192 Use char because int might match the return type of a GCC
14193 builtin and then its argument prototype would still apply. */
14197 char capi20_register ();
14201 return capi20_register ();
14206 rm -f conftest.
$ac_objext conftest
$ac_exeext
14207 if { (ac_try
="$ac_link"
14208 case "(($ac_try" in
14209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14210 *) ac_try_echo=$ac_try;;
14212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14213 (eval "$ac_link") 2>conftest.er1
14215 grep -v '^ *+' conftest.er1 >conftest.err
14217 cat conftest.err >&5
14218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219 (exit $ac_status); } && {
14220 test -z "$ac_c_werror_flag" ||
14221 test ! -s conftest.err
14222 } && test -s conftest$ac_exeext &&
14223 $as_test_x conftest$ac_exeext; then
14226 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'` ;;
14227 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcapi20\\.$LIBEXT" |
sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14230 echo "$as_me: failed program was:" >&5
14231 sed 's/^/| /' conftest.$ac_ext >&5
14236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14237 conftest$ac_exeext conftest.$ac_ext
14238 LIBS=$ac_check_soname_save_LIBS
14240 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14241 { echo "$as_me:$LINENO: result: not found" >&5
14242 echo "${ECHO_T}not found" >&6; }
14245 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14246 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14248 cat >>confdefs.h <<_ACEOF
14249 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14256 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14257 wine_notices="$wine_notices|libcapi20 development files not found.
14258 Wine will be built without ISDN support. (capi2032.dll)"
14262 if test "$ac_cv_header_cups_cups_h" = "yes"
14264 { echo "$as_me:$LINENO: checking for -lcups" >&5
14265 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14266 if test "${ac_cv_lib_soname_cups+set}" = set; then
14267 echo $ECHO_N "(cached) $ECHO_C" >&6
14269 ac_check_soname_save_LIBS=$LIBS
14270 LIBS="-lcups $LIBS"
14271 cat >conftest.$ac_ext <<_ACEOF
14274 cat confdefs.h >>conftest.$ac_ext
14275 cat >>conftest.$ac_ext <<_ACEOF
14276 /* end confdefs.h. */
14278 /* Override any GCC internal prototype to avoid an error.
14279 Use char because int might match the return type of a GCC
14280 builtin and then its argument prototype would still apply. */
14284 char cupsGetDefault ();
14288 return cupsGetDefault ();
14293 rm -f conftest.$ac_objext conftest$ac_exeext
14294 if { (ac_try="$ac_link"
14295 case "(($ac_try" in
14296 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14297 *) ac_try_echo
=$ac_try;;
14299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14300 (eval "$ac_link") 2>conftest.er1
14302 grep -v '^ *+' conftest.er1
>conftest.err
14304 cat conftest.err
>&5
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); } && {
14307 test -z "$ac_c_werror_flag" ||
14308 test ! -s conftest.err
14309 } && test -s conftest
$ac_exeext &&
14310 $as_test_x conftest
$ac_exeext; then
14313 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'` ;;
14314 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14317 echo "$as_me: failed program was:" >&5
14318 sed 's/^/| /' conftest.
$ac_ext >&5
14323 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14324 conftest
$ac_exeext conftest.
$ac_ext
14325 LIBS
=$ac_check_soname_save_LIBS
14327 if test "x$ac_cv_lib_soname_cups" = "x"; then
14328 { echo "$as_me:$LINENO: result: not found" >&5
14329 echo "${ECHO_T}not found" >&6; }
14332 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14333 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14335 cat >>confdefs.h
<<_ACEOF
14336 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14343 if test "x$ac_cv_lib_soname_cups" = "x"; then
14344 wine_notices
="$wine_notices|libcups development files not found.
14345 Wine will be built without CUPS support."
14349 if test "$ac_cv_header_jack_jack_h" = "yes"
14351 { echo "$as_me:$LINENO: checking for -ljack" >&5
14352 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14353 if test "${ac_cv_lib_soname_jack+set}" = set; then
14354 echo $ECHO_N "(cached) $ECHO_C" >&6
14356 ac_check_soname_save_LIBS
=$LIBS
14357 LIBS
="-ljack $LIBS"
14358 cat >conftest.
$ac_ext <<_ACEOF
14361 cat confdefs.h
>>conftest.
$ac_ext
14362 cat >>conftest.
$ac_ext <<_ACEOF
14363 /* end confdefs.h. */
14365 /* Override any GCC internal prototype to avoid an error.
14366 Use char because int might match the return type of a GCC
14367 builtin and then its argument prototype would still apply. */
14371 char jack_client_new ();
14375 return jack_client_new ();
14380 rm -f conftest.
$ac_objext conftest
$ac_exeext
14381 if { (ac_try
="$ac_link"
14382 case "(($ac_try" in
14383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14384 *) ac_try_echo=$ac_try;;
14386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14387 (eval "$ac_link") 2>conftest.er1
14389 grep -v '^ *+' conftest.er1 >conftest.err
14391 cat conftest.err >&5
14392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14393 (exit $ac_status); } && {
14394 test -z "$ac_c_werror_flag" ||
14395 test ! -s conftest.err
14396 } && test -s conftest$ac_exeext &&
14397 $as_test_x conftest$ac_exeext; then
14400 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'` ;;
14401 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjack\\.$LIBEXT" |
sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14404 echo "$as_me: failed program was:" >&5
14405 sed 's/^/| /' conftest.$ac_ext >&5
14410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14411 conftest$ac_exeext conftest.$ac_ext
14412 LIBS=$ac_check_soname_save_LIBS
14414 if test "x$ac_cv_lib_soname_jack" = "x"; then
14415 { echo "$as_me:$LINENO: result: not found" >&5
14416 echo "${ECHO_T}not found" >&6; }
14419 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14420 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14422 cat >>confdefs.h <<_ACEOF
14423 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14431 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14433 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14434 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14435 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14436 echo $ECHO_N "(cached) $ECHO_C" >&6
14438 ac_check_soname_save_LIBS=$LIBS
14439 LIBS="-lfontconfig $LIBS"
14440 cat >conftest.$ac_ext <<_ACEOF
14443 cat confdefs.h >>conftest.$ac_ext
14444 cat >>conftest.$ac_ext <<_ACEOF
14445 /* end confdefs.h. */
14447 /* Override any GCC internal prototype to avoid an error.
14448 Use char because int might match the return type of a GCC
14449 builtin and then its argument prototype would still apply. */
14462 rm -f conftest.$ac_objext conftest$ac_exeext
14463 if { (ac_try="$ac_link"
14464 case "(($ac_try" in
14465 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14466 *) ac_try_echo
=$ac_try;;
14468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14469 (eval "$ac_link") 2>conftest.er1
14471 grep -v '^ *+' conftest.er1
>conftest.err
14473 cat conftest.err
>&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); } && {
14476 test -z "$ac_c_werror_flag" ||
14477 test ! -s conftest.err
14478 } && test -s conftest
$ac_exeext &&
14479 $as_test_x conftest
$ac_exeext; then
14482 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'` ;;
14483 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14486 echo "$as_me: failed program was:" >&5
14487 sed 's/^/| /' conftest.
$ac_ext >&5
14492 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14493 conftest
$ac_exeext conftest.
$ac_ext
14494 LIBS
=$ac_check_soname_save_LIBS
14496 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14497 { echo "$as_me:$LINENO: result: not found" >&5
14498 echo "${ECHO_T}not found" >&6; }
14501 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14502 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14504 cat >>confdefs.h
<<_ACEOF
14505 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14512 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14513 wine_notices
="$wine_notices|fontconfig development files not found.
14514 Wine will be built without fontconfig support."
14518 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14520 { echo "$as_me:$LINENO: checking for -lssl" >&5
14521 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14522 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14523 echo $ECHO_N "(cached) $ECHO_C" >&6
14525 ac_check_soname_save_LIBS
=$LIBS
14527 cat >conftest.
$ac_ext <<_ACEOF
14530 cat confdefs.h
>>conftest.
$ac_ext
14531 cat >>conftest.
$ac_ext <<_ACEOF
14532 /* end confdefs.h. */
14534 /* Override any GCC internal prototype to avoid an error.
14535 Use char because int might match the return type of a GCC
14536 builtin and then its argument prototype would still apply. */
14540 char SSL_library_init ();
14544 return SSL_library_init ();
14549 rm -f conftest.
$ac_objext conftest
$ac_exeext
14550 if { (ac_try
="$ac_link"
14551 case "(($ac_try" in
14552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14553 *) ac_try_echo=$ac_try;;
14555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14556 (eval "$ac_link") 2>conftest.er1
14558 grep -v '^ *+' conftest.er1 >conftest.err
14560 cat conftest.err >&5
14561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14562 (exit $ac_status); } && {
14563 test -z "$ac_c_werror_flag" ||
14564 test ! -s conftest.err
14565 } && test -s conftest$ac_exeext &&
14566 $as_test_x conftest$ac_exeext; then
14569 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'` ;;
14570 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libssl\\.$LIBEXT" |
sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14573 echo "$as_me: failed program was:" >&5
14574 sed 's/^/| /' conftest.$ac_ext >&5
14579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14580 conftest$ac_exeext conftest.$ac_ext
14581 LIBS=$ac_check_soname_save_LIBS
14583 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14584 { echo "$as_me:$LINENO: result: not found" >&5
14585 echo "${ECHO_T}not found" >&6; }
14588 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14589 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14591 cat >>confdefs.h <<_ACEOF
14592 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14598 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14599 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14600 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14601 echo $ECHO_N "(cached) $ECHO_C" >&6
14603 ac_check_soname_save_LIBS=$LIBS
14604 LIBS="-lcrypto $LIBS"
14605 cat >conftest.$ac_ext <<_ACEOF
14608 cat confdefs.h >>conftest.$ac_ext
14609 cat >>conftest.$ac_ext <<_ACEOF
14610 /* end confdefs.h. */
14612 /* Override any GCC internal prototype to avoid an error.
14613 Use char because int might match the return type of a GCC
14614 builtin and then its argument prototype would still apply. */
14618 char BIO_new_socket ();
14622 return BIO_new_socket ();
14627 rm -f conftest.$ac_objext conftest$ac_exeext
14628 if { (ac_try="$ac_link"
14629 case "(($ac_try" in
14630 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14631 *) ac_try_echo
=$ac_try;;
14633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14634 (eval "$ac_link") 2>conftest.er1
14636 grep -v '^ *+' conftest.er1
>conftest.err
14638 cat conftest.err
>&5
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); } && {
14641 test -z "$ac_c_werror_flag" ||
14642 test ! -s conftest.err
14643 } && test -s conftest
$ac_exeext &&
14644 $as_test_x conftest
$ac_exeext; then
14647 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'` ;;
14648 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14651 echo "$as_me: failed program was:" >&5
14652 sed 's/^/| /' conftest.
$ac_ext >&5
14657 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14658 conftest
$ac_exeext conftest.
$ac_ext
14659 LIBS
=$ac_check_soname_save_LIBS
14661 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14662 { echo "$as_me:$LINENO: result: not found" >&5
14663 echo "${ECHO_T}not found" >&6; }
14666 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14667 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14669 cat >>confdefs.h
<<_ACEOF
14670 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14677 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14678 wine_notices
="$wine_notices|OpenSSL development files not found.
14679 Wine will be built without SSL support. (wininet.dll)"
14683 if test "$ac_cv_header_jpeglib_h" = "yes"
14685 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14686 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14687 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14688 echo $ECHO_N "(cached) $ECHO_C" >&6
14690 ac_check_soname_save_LIBS
=$LIBS
14691 LIBS
="-ljpeg $LIBS"
14692 cat >conftest.
$ac_ext <<_ACEOF
14695 cat confdefs.h
>>conftest.
$ac_ext
14696 cat >>conftest.
$ac_ext <<_ACEOF
14697 /* end confdefs.h. */
14699 /* Override any GCC internal prototype to avoid an error.
14700 Use char because int might match the return type of a GCC
14701 builtin and then its argument prototype would still apply. */
14705 char jpeg_start_decompress ();
14709 return jpeg_start_decompress ();
14714 rm -f conftest.
$ac_objext conftest
$ac_exeext
14715 if { (ac_try
="$ac_link"
14716 case "(($ac_try" in
14717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14718 *) ac_try_echo=$ac_try;;
14720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14721 (eval "$ac_link") 2>conftest.er1
14723 grep -v '^ *+' conftest.er1 >conftest.err
14725 cat conftest.err >&5
14726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14727 (exit $ac_status); } && {
14728 test -z "$ac_c_werror_flag" ||
14729 test ! -s conftest.err
14730 } && test -s conftest$ac_exeext &&
14731 $as_test_x conftest$ac_exeext; then
14734 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'` ;;
14735 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjpeg\\.$LIBEXT" |
sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14738 echo "$as_me: failed program was:" >&5
14739 sed 's/^/| /' conftest.$ac_ext >&5
14744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14745 conftest$ac_exeext conftest.$ac_ext
14746 LIBS=$ac_check_soname_save_LIBS
14748 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14749 { echo "$as_me:$LINENO: result: not found" >&5
14750 echo "${ECHO_T}not found" >&6; }
14753 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14754 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14756 cat >>confdefs.h <<_ACEOF
14757 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14764 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14765 wine_notices="$wine_notices|libjpeg development files not found.
14766 Wine will be built without JPEG support. (oleaut32.dll)"
14770 if test "$ac_cv_header_png_h" = "yes"
14772 { echo "$as_me:$LINENO: checking for -lpng" >&5
14773 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14774 if test "${ac_cv_lib_soname_png+set}" = set; then
14775 echo $ECHO_N "(cached) $ECHO_C" >&6
14777 ac_check_soname_save_LIBS=$LIBS
14779 cat >conftest.$ac_ext <<_ACEOF
14782 cat confdefs.h >>conftest.$ac_ext
14783 cat >>conftest.$ac_ext <<_ACEOF
14784 /* end confdefs.h. */
14786 /* Override any GCC internal prototype to avoid an error.
14787 Use char because int might match the return type of a GCC
14788 builtin and then its argument prototype would still apply. */
14792 char png_create_read_struct ();
14796 return png_create_read_struct ();
14801 rm -f conftest.$ac_objext conftest$ac_exeext
14802 if { (ac_try="$ac_link"
14803 case "(($ac_try" in
14804 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14805 *) ac_try_echo
=$ac_try;;
14807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14808 (eval "$ac_link") 2>conftest.er1
14810 grep -v '^ *+' conftest.er1
>conftest.err
14812 cat conftest.err
>&5
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); } && {
14815 test -z "$ac_c_werror_flag" ||
14816 test ! -s conftest.err
14817 } && test -s conftest
$ac_exeext &&
14818 $as_test_x conftest
$ac_exeext; then
14821 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'` ;;
14822 *) 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'` ;;
14825 echo "$as_me: failed program was:" >&5
14826 sed 's/^/| /' conftest.
$ac_ext >&5
14831 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14832 conftest
$ac_exeext conftest.
$ac_ext
14833 LIBS
=$ac_check_soname_save_LIBS
14835 if test "x$ac_cv_lib_soname_png" = "x"; then
14836 { echo "$as_me:$LINENO: result: not found" >&5
14837 echo "${ECHO_T}not found" >&6; }
14840 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14841 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14843 cat >>confdefs.h
<<_ACEOF
14844 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14851 if test "x$ac_cv_lib_soname_png" = "x"; then
14852 wine_notices
="$wine_notices|libpng development files not found.
14853 Wine will be built without PNG support. (oleaut32.dll)"
14857 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
14858 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
14859 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
14860 "$ac_cv_header_soundcard_h" != "yes"; then
14861 wine_warnings
="$wine_warnings|No sound system was found. Windows applications will be silent."
14868 if test "x${GCC}" = "xyes"
14870 EXTRACFLAGS
="-Wall -pipe"
14872 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14873 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14874 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14875 echo $ECHO_N "(cached) $ECHO_C" >&6
14877 if test "$cross_compiling" = yes; then
14878 ac_cv_c_gcc_strength_bug
="yes"
14880 cat >conftest.
$ac_ext <<_ACEOF
14883 cat confdefs.h
>>conftest.
$ac_ext
14884 cat >>conftest.
$ac_ext <<_ACEOF
14885 /* end confdefs.h. */
14886 int L[4] = {0,1,2,3};
14890 static int Array[3];
14891 unsigned int B = 3;
14893 for(i=0; i<B; i++) Array[i] = i - 3;
14894 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14896 exit( Array[1] != -2 || L[2] != 3)
14901 rm -f conftest
$ac_exeext
14902 if { (ac_try
="$ac_link"
14903 case "(($ac_try" in
14904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14905 *) ac_try_echo=$ac_try;;
14907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14908 (eval "$ac_link") 2>&5
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14912 { (case "(($ac_try" in
14913 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14914 *) ac_try_echo
=$ac_try;;
14916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14917 (eval "$ac_try") 2>&5
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); }; }; then
14921 ac_cv_c_gcc_strength_bug
="no"
14923 echo "$as_me: program exited with status $ac_status" >&5
14924 echo "$as_me: failed program was:" >&5
14925 sed 's/^/| /' conftest.
$ac_ext >&5
14927 ( exit $ac_status )
14928 ac_cv_c_gcc_strength_bug
="yes"
14930 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14935 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14936 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14937 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14939 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14943 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14944 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14945 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14946 echo $ECHO_N "(cached) $ECHO_C" >&6
14948 ac_wine_try_cflags_saved
=$CFLAGS
14949 CFLAGS
="$CFLAGS -fshort-wchar"
14950 cat >conftest.
$ac_ext <<_ACEOF
14953 cat confdefs.h
>>conftest.
$ac_ext
14954 cat >>conftest.
$ac_ext <<_ACEOF
14955 /* end confdefs.h. */
14965 rm -f conftest.
$ac_objext conftest
$ac_exeext
14966 if { (ac_try
="$ac_link"
14967 case "(($ac_try" in
14968 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14969 *) ac_try_echo=$ac_try;;
14971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14972 (eval "$ac_link") 2>conftest.er1
14974 grep -v '^ *+' conftest.er1 >conftest.err
14976 cat conftest.err >&5
14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); } && {
14979 test -z "$ac_c_werror_flag" ||
14980 test ! -s conftest.err
14981 } && test -s conftest$ac_exeext &&
14982 $as_test_x conftest$ac_exeext; then
14983 ac_cv_cflags__fshort_wchar=yes
14985 echo "$as_me: failed program was:" >&5
14986 sed 's/^/| /' conftest.$ac_ext >&5
14988 ac_cv_cflags__fshort_wchar=no
14991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14992 conftest$ac_exeext conftest.$ac_ext
14993 CFLAGS=$ac_wine_try_cflags_saved
14995 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14996 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14997 if test $ac_cv_cflags__fshort_wchar = yes; then
14999 cat >>confdefs.h <<\_ACEOF
15000 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15005 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15006 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15007 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15008 echo $ECHO_N "(cached) $ECHO_C" >&6
15010 ac_wine_try_cflags_saved=$CFLAGS
15011 CFLAGS="$CFLAGS -fno-strict-aliasing"
15012 cat >conftest.$ac_ext <<_ACEOF
15015 cat confdefs.h >>conftest.$ac_ext
15016 cat >>conftest.$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15027 rm -f conftest.$ac_objext conftest$ac_exeext
15028 if { (ac_try="$ac_link"
15029 case "(($ac_try" in
15030 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15031 *) ac_try_echo
=$ac_try;;
15033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15034 (eval "$ac_link") 2>conftest.er1
15036 grep -v '^ *+' conftest.er1
>conftest.err
15038 cat conftest.err
>&5
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); } && {
15041 test -z "$ac_c_werror_flag" ||
15042 test ! -s conftest.err
15043 } && test -s conftest
$ac_exeext &&
15044 $as_test_x conftest
$ac_exeext; then
15045 ac_cv_cflags__fno_strict_aliasing
=yes
15047 echo "$as_me: failed program was:" >&5
15048 sed 's/^/| /' conftest.
$ac_ext >&5
15050 ac_cv_cflags__fno_strict_aliasing
=no
15053 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15054 conftest
$ac_exeext conftest.
$ac_ext
15055 CFLAGS
=$ac_wine_try_cflags_saved
15057 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15058 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15059 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15060 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
15063 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15064 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15065 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15066 echo $ECHO_N "(cached) $ECHO_C" >&6
15068 ac_wine_try_cflags_saved
=$CFLAGS
15069 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
15070 cat >conftest.
$ac_ext <<_ACEOF
15073 cat confdefs.h
>>conftest.
$ac_ext
15074 cat >>conftest.
$ac_ext <<_ACEOF
15075 /* end confdefs.h. */
15085 rm -f conftest.
$ac_objext conftest
$ac_exeext
15086 if { (ac_try
="$ac_link"
15087 case "(($ac_try" in
15088 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15089 *) ac_try_echo=$ac_try;;
15091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15092 (eval "$ac_link") 2>conftest.er1
15094 grep -v '^ *+' conftest.er1 >conftest.err
15096 cat conftest.err >&5
15097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15098 (exit $ac_status); } && {
15099 test -z "$ac_c_werror_flag" ||
15100 test ! -s conftest.err
15101 } && test -s conftest$ac_exeext &&
15102 $as_test_x conftest$ac_exeext; then
15103 ac_cv_cflags__Wdeclaration_after_statement=yes
15105 echo "$as_me: failed program was:" >&5
15106 sed 's/^/| /' conftest.$ac_ext >&5
15108 ac_cv_cflags__Wdeclaration_after_statement=no
15111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15112 conftest$ac_exeext conftest.$ac_ext
15113 CFLAGS=$ac_wine_try_cflags_saved
15115 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15116 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15117 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15118 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15121 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15122 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15123 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15124 echo $ECHO_N "(cached) $ECHO_C" >&6
15126 ac_wine_try_cflags_saved=$CFLAGS
15127 CFLAGS="$CFLAGS -Wwrite-strings"
15128 cat >conftest.$ac_ext <<_ACEOF
15131 cat confdefs.h >>conftest.$ac_ext
15132 cat >>conftest.$ac_ext <<_ACEOF
15133 /* end confdefs.h. */
15143 rm -f conftest.$ac_objext conftest$ac_exeext
15144 if { (ac_try="$ac_link"
15145 case "(($ac_try" in
15146 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15147 *) ac_try_echo
=$ac_try;;
15149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15150 (eval "$ac_link") 2>conftest.er1
15152 grep -v '^ *+' conftest.er1
>conftest.err
15154 cat conftest.err
>&5
15155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15156 (exit $ac_status); } && {
15157 test -z "$ac_c_werror_flag" ||
15158 test ! -s conftest.err
15159 } && test -s conftest
$ac_exeext &&
15160 $as_test_x conftest
$ac_exeext; then
15161 ac_cv_cflags__Wwrite_strings
=yes
15163 echo "$as_me: failed program was:" >&5
15164 sed 's/^/| /' conftest.
$ac_ext >&5
15166 ac_cv_cflags__Wwrite_strings
=no
15169 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15170 conftest
$ac_exeext conftest.
$ac_ext
15171 CFLAGS
=$ac_wine_try_cflags_saved
15173 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15174 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15175 if test $ac_cv_cflags__Wwrite_strings = yes; then
15176 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
15180 saved_CFLAGS
="$CFLAGS"
15181 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
15182 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15183 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15184 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15185 echo $ECHO_N "(cached) $ECHO_C" >&6
15187 cat >conftest.
$ac_ext <<_ACEOF
15190 cat confdefs.h
>>conftest.
$ac_ext
15191 cat >>conftest.
$ac_ext <<_ACEOF
15192 /* end confdefs.h. */
15193 #include <string.h>
15202 rm -f conftest.
$ac_objext
15203 if { (ac_try
="$ac_compile"
15204 case "(($ac_try" in
15205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15206 *) ac_try_echo=$ac_try;;
15208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15209 (eval "$ac_compile") 2>conftest.er1
15211 grep -v '^ *+' conftest.er1 >conftest.err
15213 cat conftest.err >&5
15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 (exit $ac_status); } && {
15216 test -z "$ac_c_werror_flag" ||
15217 test ! -s conftest.err
15218 } && test -s conftest.$ac_objext; then
15219 ac_cv_c_string_h_warnings=no
15221 echo "$as_me: failed program was:" >&5
15222 sed 's/^/| /' conftest.$ac_ext >&5
15224 ac_cv_c_string_h_warnings=yes
15227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15229 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15230 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15231 CFLAGS="$saved_CFLAGS"
15232 if test "$ac_cv_c_string_h_warnings" = "no"
15234 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15239 saved_CFLAGS="$CFLAGS"
15240 CFLAGS="$CFLAGS -Werror"
15241 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15242 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15243 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15244 echo $ECHO_N "(cached) $ECHO_C" >&6
15246 cat >conftest.$ac_ext <<_ACEOF
15249 cat confdefs.h >>conftest.$ac_ext
15250 cat >>conftest.$ac_ext <<_ACEOF
15251 /* end confdefs.h. */
15256 int iswlower(unsigned short);
15261 rm -f conftest.$ac_objext
15262 if { (ac_try="$ac_compile"
15263 case "(($ac_try" in
15264 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15265 *) ac_try_echo
=$ac_try;;
15267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15268 (eval "$ac_compile") 2>conftest.er1
15270 grep -v '^ *+' conftest.er1
>conftest.err
15272 cat conftest.err
>&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); } && {
15275 test -z "$ac_c_werror_flag" ||
15276 test ! -s conftest.err
15277 } && test -s conftest.
$ac_objext; then
15278 ac_cv_c_builtin_wchar_ctype
=no
15280 echo "$as_me: failed program was:" >&5
15281 sed 's/^/| /' conftest.
$ac_ext >&5
15283 ac_cv_c_builtin_wchar_ctype
=yes
15286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15288 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15289 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15290 CFLAGS
="$saved_CFLAGS"
15291 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15293 BUILTINFLAG
="-fno-builtin"
15298 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15299 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15300 if test "${ac_cv_asm_func_def+set}" = set; then
15301 echo $ECHO_N "(cached) $ECHO_C" >&6
15303 cat >conftest.
$ac_ext <<_ACEOF
15306 cat confdefs.h
>>conftest.
$ac_ext
15307 cat >>conftest.
$ac_ext <<_ACEOF
15308 /* end confdefs.h. */
15313 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15318 rm -f conftest.
$ac_objext conftest
$ac_exeext
15319 if { (ac_try
="$ac_link"
15320 case "(($ac_try" in
15321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15322 *) ac_try_echo=$ac_try;;
15324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15325 (eval "$ac_link") 2>conftest.er1
15327 grep -v '^ *+' conftest.er1 >conftest.err
15329 cat conftest.err >&5
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); } && {
15332 test -z "$ac_c_werror_flag" ||
15333 test ! -s conftest.err
15334 } && test -s conftest$ac_exeext &&
15335 $as_test_x conftest$ac_exeext; then
15336 ac_cv_asm_func_def=".def"
15338 echo "$as_me: failed program was:" >&5
15339 sed 's/^/| /' conftest.$ac_ext >&5
15341 cat >conftest.$ac_ext <<_ACEOF
15344 cat confdefs.h >>conftest.$ac_ext
15345 cat >>conftest.$ac_ext <<_ACEOF
15346 /* end confdefs.h. */
15351 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15356 rm -f conftest.$ac_objext conftest$ac_exeext
15357 if { (ac_try="$ac_link"
15358 case "(($ac_try" in
15359 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15360 *) ac_try_echo
=$ac_try;;
15362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15363 (eval "$ac_link") 2>conftest.er1
15365 grep -v '^ *+' conftest.er1
>conftest.err
15367 cat conftest.err
>&5
15368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15369 (exit $ac_status); } && {
15370 test -z "$ac_c_werror_flag" ||
15371 test ! -s conftest.err
15372 } && test -s conftest
$ac_exeext &&
15373 $as_test_x conftest
$ac_exeext; then
15374 ac_cv_asm_func_def
=".type @function"
15376 echo "$as_me: failed program was:" >&5
15377 sed 's/^/| /' conftest.
$ac_ext >&5
15379 cat >conftest.
$ac_ext <<_ACEOF
15382 cat confdefs.h
>>conftest.
$ac_ext
15383 cat >>conftest.
$ac_ext <<_ACEOF
15384 /* end confdefs.h. */
15389 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15394 rm -f conftest.
$ac_objext conftest
$ac_exeext
15395 if { (ac_try
="$ac_link"
15396 case "(($ac_try" in
15397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15398 *) ac_try_echo=$ac_try;;
15400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15401 (eval "$ac_link") 2>conftest.er1
15403 grep -v '^ *+' conftest.er1 >conftest.err
15405 cat conftest.err >&5
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); } && {
15408 test -z "$ac_c_werror_flag" ||
15409 test ! -s conftest.err
15410 } && test -s conftest$ac_exeext &&
15411 $as_test_x conftest$ac_exeext; then
15412 ac_cv_asm_func_def=".type 2"
15414 echo "$as_me: failed program was:" >&5
15415 sed 's/^/| /' conftest.$ac_ext >&5
15417 ac_cv_asm_func_def="unknown"
15420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15421 conftest$ac_exeext conftest.$ac_ext
15424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15425 conftest$ac_exeext conftest.$ac_ext
15428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15429 conftest$ac_exeext conftest.$ac_ext
15431 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15432 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15436 case "$ac_cv_asm_func_def" in
15438 cat >>confdefs.h <<\_ACEOF
15439 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15443 cat >>confdefs.h <<\_ACEOF
15444 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15448 cat >>confdefs.h <<\_ACEOF
15449 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15453 cat >>confdefs.h <<\_ACEOF
15454 #define __ASM_FUNC(name) ""
15460 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15461 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15462 if test "${ac_cv_c_extern_prefix+set}" = set; then
15463 echo $ECHO_N "(cached) $ECHO_C" >&6
15465 cat >conftest.$ac_ext <<_ACEOF
15468 cat confdefs.h >>conftest.$ac_ext
15469 cat >>conftest.$ac_ext <<_ACEOF
15470 /* end confdefs.h. */
15471 extern int ac_test;
15475 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15480 rm -f conftest.$ac_objext conftest$ac_exeext
15481 if { (ac_try="$ac_link"
15482 case "(($ac_try" in
15483 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15484 *) ac_try_echo
=$ac_try;;
15486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15487 (eval "$ac_link") 2>conftest.er1
15489 grep -v '^ *+' conftest.er1
>conftest.err
15491 cat conftest.err
>&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } && {
15494 test -z "$ac_c_werror_flag" ||
15495 test ! -s conftest.err
15496 } && test -s conftest
$ac_exeext &&
15497 $as_test_x conftest
$ac_exeext; then
15498 ac_cv_c_extern_prefix
="yes"
15500 echo "$as_me: failed program was:" >&5
15501 sed 's/^/| /' conftest.
$ac_ext >&5
15503 ac_cv_c_extern_prefix
="no"
15506 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15507 conftest
$ac_exeext conftest.
$ac_ext
15509 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15510 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15514 if test "$ac_cv_c_extern_prefix" = "yes"
15516 cat >>confdefs.h
<<\_ACEOF
15517 #define __ASM_NAME(name) "_" name
15521 cat >>confdefs.h
<<\_ACEOF
15522 #define __ASM_NAME(name) name
15532 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15536 linux
*|solaris
*) if test -z "$LDRPATH_LOCAL"
15538 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15542 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15550 SOCKETLIBS
="-lws2_32"
15555 MAIN_BINARY
="wine-pthread"
15559 linux
* | k
*bsd
*-gnu)
15560 MAIN_BINARY
="wine-glibc"
15562 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
15565 MAIN_BINARY
="wine-freebsd"
15567 EXTRA_BINARIES
="wine-pthread"
15701 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15702 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15704 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15705 echo $ECHO_N "(cached) $ECHO_C" >&6
15707 cat >conftest.
$ac_ext <<_ACEOF
15710 cat confdefs.h
>>conftest.
$ac_ext
15711 cat >>conftest.
$ac_ext <<_ACEOF
15712 /* end confdefs.h. */
15713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15715 #define $ac_func innocuous_$ac_func
15717 /* System header to define __stub macros and hopefully few prototypes,
15718 which can conflict with char $ac_func (); below.
15719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15720 <limits.h> exists even on freestanding compilers. */
15723 # include <limits.h>
15725 # include <assert.h>
15730 /* Override any GCC internal prototype to avoid an error.
15731 Use char because int might match the return type of a GCC
15732 builtin and then its argument prototype would still apply. */
15737 /* The GNU C library defines this for functions which it implements
15738 to always fail with ENOSYS. Some functions are actually named
15739 something starting with __ and the normal name is an alias. */
15740 #if defined __stub_$ac_func || defined __stub___$ac_func
15747 return $ac_func ();
15752 rm -f conftest.
$ac_objext conftest
$ac_exeext
15753 if { (ac_try
="$ac_link"
15754 case "(($ac_try" in
15755 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15756 *) ac_try_echo=$ac_try;;
15758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15759 (eval "$ac_link") 2>conftest.er1
15761 grep -v '^ *+' conftest.er1 >conftest.err
15763 cat conftest.err >&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); } && {
15766 test -z "$ac_c_werror_flag" ||
15767 test ! -s conftest.err
15768 } && test -s conftest$ac_exeext &&
15769 $as_test_x conftest$ac_exeext; then
15770 eval "$as_ac_var=yes"
15772 echo "$as_me: failed program was:" >&5
15773 sed 's/^/| /' conftest.$ac_ext >&5
15775 eval "$as_ac_var=no"
15778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15779 conftest$ac_exeext conftest.$ac_ext
15781 ac_res=`eval echo '${'$as_ac_var'}'`
15782 { echo "$as_me:$LINENO: result: $ac_res" >&5
15783 echo "${ECHO_T}$ac_res" >&6; }
15784 if test `eval echo '${'$as_ac_var'}'` = yes; then
15785 cat >>confdefs.h <<_ACEOF
15786 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
15793 if test "$ac_cv_func_dlopen" = no
15795 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15796 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15797 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15798 echo $ECHO_N "(cached) $ECHO_C" >&6
15800 ac_check_lib_save_LIBS=$LIBS
15802 cat >conftest.$ac_ext <<_ACEOF
15805 cat confdefs.h >>conftest.$ac_ext
15806 cat >>conftest.$ac_ext <<_ACEOF
15807 /* end confdefs.h. */
15809 /* Override any GCC internal prototype to avoid an error.
15810 Use char because int might match the return type of a GCC
15811 builtin and then its argument prototype would still apply. */
15824 rm -f conftest.$ac_objext conftest$ac_exeext
15825 if { (ac_try="$ac_link"
15826 case "(($ac_try" in
15827 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15828 *) ac_try_echo
=$ac_try;;
15830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15831 (eval "$ac_link") 2>conftest.er1
15833 grep -v '^ *+' conftest.er1
>conftest.err
15835 cat conftest.err
>&5
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); } && {
15838 test -z "$ac_c_werror_flag" ||
15839 test ! -s conftest.err
15840 } && test -s conftest
$ac_exeext &&
15841 $as_test_x conftest
$ac_exeext; then
15842 ac_cv_lib_dl_dlopen
=yes
15844 echo "$as_me: failed program was:" >&5
15845 sed 's/^/| /' conftest.
$ac_ext >&5
15847 ac_cv_lib_dl_dlopen
=no
15850 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15851 conftest
$ac_exeext conftest.
$ac_ext
15852 LIBS
=$ac_check_lib_save_LIBS
15854 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15855 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15856 if test $ac_cv_lib_dl_dlopen = yes; then
15857 cat >>confdefs.h
<<\_ACEOF
15858 #define HAVE_DLOPEN 1
15865 ac_wine_check_funcs_save_LIBS
="$LIBS"
15866 LIBS
="$LIBS $LIBDL"
15868 for ac_func
in dladdr
15870 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15871 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15873 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15874 echo $ECHO_N "(cached) $ECHO_C" >&6
15876 cat >conftest.
$ac_ext <<_ACEOF
15879 cat confdefs.h
>>conftest.
$ac_ext
15880 cat >>conftest.
$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15884 #define $ac_func innocuous_$ac_func
15886 /* System header to define __stub macros and hopefully few prototypes,
15887 which can conflict with char $ac_func (); below.
15888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15889 <limits.h> exists even on freestanding compilers. */
15892 # include <limits.h>
15894 # include <assert.h>
15899 /* Override any GCC internal prototype to avoid an error.
15900 Use char because int might match the return type of a GCC
15901 builtin and then its argument prototype would still apply. */
15906 /* The GNU C library defines this for functions which it implements
15907 to always fail with ENOSYS. Some functions are actually named
15908 something starting with __ and the normal name is an alias. */
15909 #if defined __stub_$ac_func || defined __stub___$ac_func
15916 return $ac_func ();
15921 rm -f conftest.
$ac_objext conftest
$ac_exeext
15922 if { (ac_try
="$ac_link"
15923 case "(($ac_try" in
15924 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15925 *) ac_try_echo=$ac_try;;
15927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15928 (eval "$ac_link") 2>conftest.er1
15930 grep -v '^ *+' conftest.er1 >conftest.err
15932 cat conftest.err >&5
15933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15934 (exit $ac_status); } && {
15935 test -z "$ac_c_werror_flag" ||
15936 test ! -s conftest.err
15937 } && test -s conftest$ac_exeext &&
15938 $as_test_x conftest$ac_exeext; then
15939 eval "$as_ac_var=yes"
15941 echo "$as_me: failed program was:" >&5
15942 sed 's/^/| /' conftest.$ac_ext >&5
15944 eval "$as_ac_var=no"
15947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15948 conftest$ac_exeext conftest.$ac_ext
15950 ac_res=`eval echo '${'$as_ac_var'}'`
15951 { echo "$as_me:$LINENO: result: $ac_res" >&5
15952 echo "${ECHO_T}$ac_res" >&6; }
15953 if test `eval echo '${'$as_ac_var'}'` = yes; then
15954 cat >>confdefs.h <<_ACEOF
15955 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
15961 LIBS="$ac_wine_check_funcs_save_LIBS"
15963 if test "$ac_cv_func_poll" = no
15965 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
15966 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
15967 if test "${ac_cv_lib_poll_poll+set}" = set; then
15968 echo $ECHO_N "(cached) $ECHO_C" >&6
15970 ac_check_lib_save_LIBS=$LIBS
15971 LIBS="-lpoll $LIBS"
15972 cat >conftest.$ac_ext <<_ACEOF
15975 cat confdefs.h >>conftest.$ac_ext
15976 cat >>conftest.$ac_ext <<_ACEOF
15977 /* end confdefs.h. */
15979 /* Override any GCC internal prototype to avoid an error.
15980 Use char because int might match the return type of a GCC
15981 builtin and then its argument prototype would still apply. */
15994 rm -f conftest.$ac_objext conftest$ac_exeext
15995 if { (ac_try="$ac_link"
15996 case "(($ac_try" in
15997 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15998 *) ac_try_echo
=$ac_try;;
16000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16001 (eval "$ac_link") 2>conftest.er1
16003 grep -v '^ *+' conftest.er1
>conftest.err
16005 cat conftest.err
>&5
16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007 (exit $ac_status); } && {
16008 test -z "$ac_c_werror_flag" ||
16009 test ! -s conftest.err
16010 } && test -s conftest
$ac_exeext &&
16011 $as_test_x conftest
$ac_exeext; then
16012 ac_cv_lib_poll_poll
=yes
16014 echo "$as_me: failed program was:" >&5
16015 sed 's/^/| /' conftest.
$ac_ext >&5
16017 ac_cv_lib_poll_poll
=no
16020 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16021 conftest
$ac_exeext conftest.
$ac_ext
16022 LIBS
=$ac_check_lib_save_LIBS
16024 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16025 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16026 if test $ac_cv_lib_poll_poll = yes; then
16027 cat >>confdefs.h
<<\_ACEOF
16028 #define HAVE_POLL 1
16036 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16037 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16038 if test "${ac_cv_search_gethostbyname+set}" = set; then
16039 echo $ECHO_N "(cached) $ECHO_C" >&6
16041 ac_func_search_save_LIBS
=$LIBS
16042 cat >conftest.
$ac_ext <<_ACEOF
16045 cat confdefs.h
>>conftest.
$ac_ext
16046 cat >>conftest.
$ac_ext <<_ACEOF
16047 /* end confdefs.h. */
16049 /* Override any GCC internal prototype to avoid an error.
16050 Use char because int might match the return type of a GCC
16051 builtin and then its argument prototype would still apply. */
16055 char gethostbyname ();
16059 return gethostbyname ();
16064 for ac_lib
in '' nsl
; do
16065 if test -z "$ac_lib"; then
16066 ac_res
="none required"
16069 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16071 rm -f conftest.
$ac_objext conftest
$ac_exeext
16072 if { (ac_try
="$ac_link"
16073 case "(($ac_try" in
16074 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16075 *) ac_try_echo=$ac_try;;
16077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16078 (eval "$ac_link") 2>conftest.er1
16080 grep -v '^ *+' conftest.er1 >conftest.err
16082 cat conftest.err >&5
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); } && {
16085 test -z "$ac_c_werror_flag" ||
16086 test ! -s conftest.err
16087 } && test -s conftest$ac_exeext &&
16088 $as_test_x conftest$ac_exeext; then
16089 ac_cv_search_gethostbyname=$ac_res
16091 echo "$as_me: failed program was:" >&5
16092 sed 's/^/| /' conftest.$ac_ext >&5
16097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16099 if test "${ac_cv_search_gethostbyname+set}" = set; then
16103 if test "${ac_cv_search_gethostbyname+set}" = set; then
16106 ac_cv_search_gethostbyname=no
16108 rm conftest.$ac_ext
16109 LIBS=$ac_func_search_save_LIBS
16111 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16112 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16113 ac_res=$ac_cv_search_gethostbyname
16114 if test "$ac_res" != no; then
16115 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16120 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16121 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16122 if test "${ac_cv_search_connect+set}" = set; then
16123 echo $ECHO_N "(cached) $ECHO_C" >&6
16125 ac_func_search_save_LIBS=$LIBS
16126 cat >conftest.$ac_ext <<_ACEOF
16129 cat confdefs.h >>conftest.$ac_ext
16130 cat >>conftest.$ac_ext <<_ACEOF
16131 /* end confdefs.h. */
16133 /* Override any GCC internal prototype to avoid an error.
16134 Use char because int might match the return type of a GCC
16135 builtin and then its argument prototype would still apply. */
16148 for ac_lib in '' socket; do
16149 if test -z "$ac_lib"; then
16150 ac_res="none required"
16153 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16155 rm -f conftest.$ac_objext conftest$ac_exeext
16156 if { (ac_try="$ac_link"
16157 case "(($ac_try" in
16158 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16159 *) ac_try_echo
=$ac_try;;
16161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16162 (eval "$ac_link") 2>conftest.er1
16164 grep -v '^ *+' conftest.er1
>conftest.err
16166 cat conftest.err
>&5
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); } && {
16169 test -z "$ac_c_werror_flag" ||
16170 test ! -s conftest.err
16171 } && test -s conftest
$ac_exeext &&
16172 $as_test_x conftest
$ac_exeext; then
16173 ac_cv_search_connect
=$ac_res
16175 echo "$as_me: failed program was:" >&5
16176 sed 's/^/| /' conftest.
$ac_ext >&5
16181 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16183 if test "${ac_cv_search_connect+set}" = set; then
16187 if test "${ac_cv_search_connect+set}" = set; then
16190 ac_cv_search_connect
=no
16192 rm conftest.
$ac_ext
16193 LIBS
=$ac_func_search_save_LIBS
16195 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16196 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16197 ac_res
=$ac_cv_search_connect
16198 if test "$ac_res" != no
; then
16199 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16204 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16205 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16206 if test "${ac_cv_search_inet_aton+set}" = set; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16209 ac_func_search_save_LIBS
=$LIBS
16210 cat >conftest.
$ac_ext <<_ACEOF
16213 cat confdefs.h
>>conftest.
$ac_ext
16214 cat >>conftest.
$ac_ext <<_ACEOF
16215 /* end confdefs.h. */
16217 /* Override any GCC internal prototype to avoid an error.
16218 Use char because int might match the return type of a GCC
16219 builtin and then its argument prototype would still apply. */
16227 return inet_aton ();
16232 for ac_lib
in '' resolv
; do
16233 if test -z "$ac_lib"; then
16234 ac_res
="none required"
16237 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16239 rm -f conftest.
$ac_objext conftest
$ac_exeext
16240 if { (ac_try
="$ac_link"
16241 case "(($ac_try" in
16242 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16243 *) ac_try_echo=$ac_try;;
16245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16246 (eval "$ac_link") 2>conftest.er1
16248 grep -v '^ *+' conftest.er1 >conftest.err
16250 cat conftest.err >&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } && {
16253 test -z "$ac_c_werror_flag" ||
16254 test ! -s conftest.err
16255 } && test -s conftest$ac_exeext &&
16256 $as_test_x conftest$ac_exeext; then
16257 ac_cv_search_inet_aton=$ac_res
16259 echo "$as_me: failed program was:" >&5
16260 sed 's/^/| /' conftest.$ac_ext >&5
16265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16267 if test "${ac_cv_search_inet_aton+set}" = set; then
16271 if test "${ac_cv_search_inet_aton+set}" = set; then
16274 ac_cv_search_inet_aton=no
16276 rm conftest.$ac_ext
16277 LIBS=$ac_func_search_save_LIBS
16279 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16280 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16281 ac_res=$ac_cv_search_inet_aton
16282 if test "$ac_res" != no; then
16283 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16307 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16308 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16310 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16311 echo $ECHO_N "(cached) $ECHO_C" >&6
16313 cat >conftest.$ac_ext <<_ACEOF
16316 cat confdefs.h >>conftest.$ac_ext
16317 cat >>conftest.$ac_ext <<_ACEOF
16318 /* end confdefs.h. */
16319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16321 #define $ac_func innocuous_$ac_func
16323 /* System header to define __stub macros and hopefully few prototypes,
16324 which can conflict with char $ac_func (); below.
16325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16326 <limits.h> exists even on freestanding compilers. */
16329 # include <limits.h>
16331 # include <assert.h>
16336 /* Override any GCC internal prototype to avoid an error.
16337 Use char because int might match the return type of a GCC
16338 builtin and then its argument prototype would still apply. */
16343 /* The GNU C library defines this for functions which it implements
16344 to always fail with ENOSYS. Some functions are actually named
16345 something starting with __ and the normal name is an alias. */
16346 #if defined __stub_$ac_func || defined __stub___$ac_func
16353 return $ac_func ();
16358 rm -f conftest.$ac_objext conftest$ac_exeext
16359 if { (ac_try="$ac_link"
16360 case "(($ac_try" in
16361 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16362 *) ac_try_echo
=$ac_try;;
16364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16365 (eval "$ac_link") 2>conftest.er1
16367 grep -v '^ *+' conftest.er1
>conftest.err
16369 cat conftest.err
>&5
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); } && {
16372 test -z "$ac_c_werror_flag" ||
16373 test ! -s conftest.err
16374 } && test -s conftest
$ac_exeext &&
16375 $as_test_x conftest
$ac_exeext; then
16376 eval "$as_ac_var=yes"
16378 echo "$as_me: failed program was:" >&5
16379 sed 's/^/| /' conftest.
$ac_ext >&5
16381 eval "$as_ac_var=no"
16384 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16385 conftest
$ac_exeext conftest.
$ac_ext
16387 ac_res
=`eval echo '${'$as_ac_var'}'`
16388 { echo "$as_me:$LINENO: result: $ac_res" >&5
16389 echo "${ECHO_T}$ac_res" >&6; }
16390 if test `eval echo '${'$as_ac_var'}'` = yes; then
16391 cat >>confdefs.h
<<_ACEOF
16392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16400 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16401 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16402 if test "${ac_cv_c_const+set}" = set; then
16403 echo $ECHO_N "(cached) $ECHO_C" >&6
16405 cat >conftest.
$ac_ext <<_ACEOF
16408 cat confdefs.h
>>conftest.
$ac_ext
16409 cat >>conftest.
$ac_ext <<_ACEOF
16410 /* end confdefs.h. */
16415 /* FIXME: Include the comments suggested by Paul. */
16416 #ifndef __cplusplus
16417 /* Ultrix mips cc rejects this. */
16418 typedef int charset[2];
16420 /* SunOS 4.1.1 cc rejects this. */
16421 char const *const *pcpcc;
16423 /* NEC SVR4.0.2 mips cc rejects this. */
16424 struct point {int x, y;};
16425 static struct point const zero = {0,0};
16426 /* AIX XL C 1.02.0.0 rejects this.
16427 It does not let you subtract one const X* pointer from another in
16428 an arm of an if-expression whose if-part is not a constant
16430 const char *g = "string";
16431 pcpcc = &g + (g ? g-g : 0);
16432 /* HPUX 7.0 cc rejects these. */
16434 ppc = (char**) pcpcc;
16435 pcpcc = (char const *const *) ppc;
16436 { /* SCO 3.2v4 cc rejects this. */
16438 char const *s = 0 ? (char *) 0 : (char const *) 0;
16443 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16444 int x[] = {25, 17};
16445 const int *foo = &x[0];
16448 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16449 typedef const int *iptr;
16453 { /* AIX XL C 1.02.0.0 rejects this saying
16454 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16455 struct s { int j; const int *ap[3]; };
16456 struct s *b; b->j = 5;
16458 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16459 const int foo = 10;
16460 if (!foo) return 0;
16462 return !cs[0] && !zero.x;
16469 rm -f conftest.
$ac_objext
16470 if { (ac_try
="$ac_compile"
16471 case "(($ac_try" in
16472 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16473 *) ac_try_echo=$ac_try;;
16475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16476 (eval "$ac_compile") 2>conftest.er1
16478 grep -v '^ *+' conftest.er1 >conftest.err
16480 cat conftest.err >&5
16481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16482 (exit $ac_status); } && {
16483 test -z "$ac_c_werror_flag" ||
16484 test ! -s conftest.err
16485 } && test -s conftest.$ac_objext; then
16488 echo "$as_me: failed program was:" >&5
16489 sed 's/^/| /' conftest.$ac_ext >&5
16494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16496 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16497 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16498 if test $ac_cv_c_const = no; then
16500 cat >>confdefs.h <<\_ACEOF
16506 { echo "$as_me:$LINENO: checking for inline" >&5
16507 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16508 if test "${ac_cv_c_inline+set}" = set; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16512 for ac_kw in inline __inline__ __inline; do
16513 cat >conftest.$ac_ext <<_ACEOF
16516 cat confdefs.h >>conftest.$ac_ext
16517 cat >>conftest.$ac_ext <<_ACEOF
16518 /* end confdefs.h. */
16519 #ifndef __cplusplus
16521 static $ac_kw foo_t static_foo () {return 0; }
16522 $ac_kw foo_t foo () {return 0; }
16526 rm -f conftest.$ac_objext
16527 if { (ac_try="$ac_compile"
16528 case "(($ac_try" in
16529 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16530 *) ac_try_echo
=$ac_try;;
16532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16533 (eval "$ac_compile") 2>conftest.er1
16535 grep -v '^ *+' conftest.er1
>conftest.err
16537 cat conftest.err
>&5
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); } && {
16540 test -z "$ac_c_werror_flag" ||
16541 test ! -s conftest.err
16542 } && test -s conftest.
$ac_objext; then
16543 ac_cv_c_inline
=$ac_kw
16545 echo "$as_me: failed program was:" >&5
16546 sed 's/^/| /' conftest.
$ac_ext >&5
16551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16552 test "$ac_cv_c_inline" != no
&& break
16556 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16557 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16560 case $ac_cv_c_inline in
16563 case $ac_cv_c_inline in
16565 *) ac_val
=$ac_cv_c_inline;;
16567 cat >>confdefs.h
<<_ACEOF
16568 #ifndef __cplusplus
16569 #define inline $ac_val
16575 { echo "$as_me:$LINENO: checking for mode_t" >&5
16576 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16577 if test "${ac_cv_type_mode_t+set}" = set; then
16578 echo $ECHO_N "(cached) $ECHO_C" >&6
16580 cat >conftest.
$ac_ext <<_ACEOF
16583 cat confdefs.h
>>conftest.
$ac_ext
16584 cat >>conftest.
$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16586 $ac_includes_default
16587 typedef mode_t ac__type_new_;
16591 if ((ac__type_new_ *) 0)
16593 if (sizeof (ac__type_new_))
16599 rm -f conftest.
$ac_objext
16600 if { (ac_try
="$ac_compile"
16601 case "(($ac_try" in
16602 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16603 *) ac_try_echo=$ac_try;;
16605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16606 (eval "$ac_compile") 2>conftest.er1
16608 grep -v '^ *+' conftest.er1 >conftest.err
16610 cat conftest.err >&5
16611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16612 (exit $ac_status); } && {
16613 test -z "$ac_c_werror_flag" ||
16614 test ! -s conftest.err
16615 } && test -s conftest.$ac_objext; then
16616 ac_cv_type_mode_t=yes
16618 echo "$as_me: failed program was:" >&5
16619 sed 's/^/| /' conftest.$ac_ext >&5
16621 ac_cv_type_mode_t=no
16624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16626 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16627 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16628 if test $ac_cv_type_mode_t = yes; then
16630 cat >>confdefs.h <<_ACEOF
16631 #define HAVE_MODE_T 1
16636 { echo "$as_me:$LINENO: checking for off_t" >&5
16637 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16638 if test "${ac_cv_type_off_t+set}" = set; then
16639 echo $ECHO_N "(cached) $ECHO_C" >&6
16641 cat >conftest.$ac_ext <<_ACEOF
16644 cat confdefs.h >>conftest.$ac_ext
16645 cat >>conftest.$ac_ext <<_ACEOF
16646 /* end confdefs.h. */
16647 $ac_includes_default
16648 typedef off_t ac__type_new_;
16652 if ((ac__type_new_ *) 0)
16654 if (sizeof (ac__type_new_))
16660 rm -f conftest.$ac_objext
16661 if { (ac_try="$ac_compile"
16662 case "(($ac_try" in
16663 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16664 *) ac_try_echo
=$ac_try;;
16666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16667 (eval "$ac_compile") 2>conftest.er1
16669 grep -v '^ *+' conftest.er1
>conftest.err
16671 cat conftest.err
>&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); } && {
16674 test -z "$ac_c_werror_flag" ||
16675 test ! -s conftest.err
16676 } && test -s conftest.
$ac_objext; then
16677 ac_cv_type_off_t
=yes
16679 echo "$as_me: failed program was:" >&5
16680 sed 's/^/| /' conftest.
$ac_ext >&5
16682 ac_cv_type_off_t
=no
16685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16687 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16688 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16689 if test $ac_cv_type_off_t = yes; then
16691 cat >>confdefs.h
<<_ACEOF
16692 #define HAVE_OFF_T 1
16697 { echo "$as_me:$LINENO: checking for pid_t" >&5
16698 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16699 if test "${ac_cv_type_pid_t+set}" = set; then
16700 echo $ECHO_N "(cached) $ECHO_C" >&6
16702 cat >conftest.
$ac_ext <<_ACEOF
16705 cat confdefs.h
>>conftest.
$ac_ext
16706 cat >>conftest.
$ac_ext <<_ACEOF
16707 /* end confdefs.h. */
16708 $ac_includes_default
16709 typedef pid_t ac__type_new_;
16713 if ((ac__type_new_ *) 0)
16715 if (sizeof (ac__type_new_))
16721 rm -f conftest.
$ac_objext
16722 if { (ac_try
="$ac_compile"
16723 case "(($ac_try" in
16724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16725 *) ac_try_echo=$ac_try;;
16727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16728 (eval "$ac_compile") 2>conftest.er1
16730 grep -v '^ *+' conftest.er1 >conftest.err
16732 cat conftest.err >&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } && {
16735 test -z "$ac_c_werror_flag" ||
16736 test ! -s conftest.err
16737 } && test -s conftest.$ac_objext; then
16738 ac_cv_type_pid_t=yes
16740 echo "$as_me: failed program was:" >&5
16741 sed 's/^/| /' conftest.$ac_ext >&5
16743 ac_cv_type_pid_t=no
16746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16748 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16749 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16750 if test $ac_cv_type_pid_t = yes; then
16752 cat >>confdefs.h <<_ACEOF
16753 #define HAVE_PID_T 1
16758 { echo "$as_me:$LINENO: checking for size_t" >&5
16759 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16760 if test "${ac_cv_type_size_t+set}" = set; then
16761 echo $ECHO_N "(cached) $ECHO_C" >&6
16763 cat >conftest.$ac_ext <<_ACEOF
16766 cat confdefs.h >>conftest.$ac_ext
16767 cat >>conftest.$ac_ext <<_ACEOF
16768 /* end confdefs.h. */
16769 $ac_includes_default
16770 typedef size_t ac__type_new_;
16774 if ((ac__type_new_ *) 0)
16776 if (sizeof (ac__type_new_))
16782 rm -f conftest.$ac_objext
16783 if { (ac_try="$ac_compile"
16784 case "(($ac_try" in
16785 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16786 *) ac_try_echo
=$ac_try;;
16788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16789 (eval "$ac_compile") 2>conftest.er1
16791 grep -v '^ *+' conftest.er1
>conftest.err
16793 cat conftest.err
>&5
16794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 (exit $ac_status); } && {
16796 test -z "$ac_c_werror_flag" ||
16797 test ! -s conftest.err
16798 } && test -s conftest.
$ac_objext; then
16799 ac_cv_type_size_t
=yes
16801 echo "$as_me: failed program was:" >&5
16802 sed 's/^/| /' conftest.
$ac_ext >&5
16804 ac_cv_type_size_t
=no
16807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16809 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16810 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16811 if test $ac_cv_type_size_t = yes; then
16813 cat >>confdefs.h
<<_ACEOF
16814 #define HAVE_SIZE_T 1
16819 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16820 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16821 if test "${ac_cv_type_ssize_t+set}" = set; then
16822 echo $ECHO_N "(cached) $ECHO_C" >&6
16824 cat >conftest.
$ac_ext <<_ACEOF
16827 cat confdefs.h
>>conftest.
$ac_ext
16828 cat >>conftest.
$ac_ext <<_ACEOF
16829 /* end confdefs.h. */
16830 $ac_includes_default
16831 typedef ssize_t ac__type_new_;
16835 if ((ac__type_new_ *) 0)
16837 if (sizeof (ac__type_new_))
16843 rm -f conftest.
$ac_objext
16844 if { (ac_try
="$ac_compile"
16845 case "(($ac_try" in
16846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16847 *) ac_try_echo=$ac_try;;
16849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16850 (eval "$ac_compile") 2>conftest.er1
16852 grep -v '^ *+' conftest.er1 >conftest.err
16854 cat conftest.err >&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); } && {
16857 test -z "$ac_c_werror_flag" ||
16858 test ! -s conftest.err
16859 } && test -s conftest.$ac_objext; then
16860 ac_cv_type_ssize_t=yes
16862 echo "$as_me: failed program was:" >&5
16863 sed 's/^/| /' conftest.$ac_ext >&5
16865 ac_cv_type_ssize_t=no
16868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16870 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16871 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16872 if test $ac_cv_type_ssize_t = yes; then
16874 cat >>confdefs.h <<_ACEOF
16875 #define HAVE_SSIZE_T 1
16880 { echo "$as_me:$LINENO: checking for long long" >&5
16881 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16882 if test "${ac_cv_type_long_long+set}" = set; then
16883 echo $ECHO_N "(cached) $ECHO_C" >&6
16885 cat >conftest.$ac_ext <<_ACEOF
16888 cat confdefs.h >>conftest.$ac_ext
16889 cat >>conftest.$ac_ext <<_ACEOF
16890 /* end confdefs.h. */
16891 $ac_includes_default
16892 typedef long long ac__type_new_;
16896 if ((ac__type_new_ *) 0)
16898 if (sizeof (ac__type_new_))
16904 rm -f conftest.$ac_objext
16905 if { (ac_try="$ac_compile"
16906 case "(($ac_try" in
16907 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16908 *) ac_try_echo
=$ac_try;;
16910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16911 (eval "$ac_compile") 2>conftest.er1
16913 grep -v '^ *+' conftest.er1
>conftest.err
16915 cat conftest.err
>&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); } && {
16918 test -z "$ac_c_werror_flag" ||
16919 test ! -s conftest.err
16920 } && test -s conftest.
$ac_objext; then
16921 ac_cv_type_long_long
=yes
16923 echo "$as_me: failed program was:" >&5
16924 sed 's/^/| /' conftest.
$ac_ext >&5
16926 ac_cv_type_long_long
=no
16929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16931 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16932 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16933 if test $ac_cv_type_long_long = yes; then
16935 cat >>confdefs.h
<<_ACEOF
16936 #define HAVE_LONG_LONG 1
16941 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
16942 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
16943 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
16944 echo $ECHO_N "(cached) $ECHO_C" >&6
16946 cat >conftest.
$ac_ext <<_ACEOF
16949 cat confdefs.h
>>conftest.
$ac_ext
16950 cat >>conftest.
$ac_ext <<_ACEOF
16951 /* end confdefs.h. */
16952 $ac_includes_default
16953 typedef fsblkcnt_t ac__type_new_;
16957 if ((ac__type_new_ *) 0)
16959 if (sizeof (ac__type_new_))
16965 rm -f conftest.
$ac_objext
16966 if { (ac_try
="$ac_compile"
16967 case "(($ac_try" in
16968 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16969 *) ac_try_echo=$ac_try;;
16971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16972 (eval "$ac_compile") 2>conftest.er1
16974 grep -v '^ *+' conftest.er1 >conftest.err
16976 cat conftest.err >&5
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); } && {
16979 test -z "$ac_c_werror_flag" ||
16980 test ! -s conftest.err
16981 } && test -s conftest.$ac_objext; then
16982 ac_cv_type_fsblkcnt_t=yes
16984 echo "$as_me: failed program was:" >&5
16985 sed 's/^/| /' conftest.$ac_ext >&5
16987 ac_cv_type_fsblkcnt_t=no
16990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16992 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
16993 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
16994 if test $ac_cv_type_fsblkcnt_t = yes; then
16996 cat >>confdefs.h <<_ACEOF
16997 #define HAVE_FSBLKCNT_T 1
17002 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17003 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17004 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17005 echo $ECHO_N "(cached) $ECHO_C" >&6
17007 cat >conftest.$ac_ext <<_ACEOF
17010 cat confdefs.h >>conftest.$ac_ext
17011 cat >>conftest.$ac_ext <<_ACEOF
17012 /* end confdefs.h. */
17013 $ac_includes_default
17014 typedef fsfilcnt_t ac__type_new_;
17018 if ((ac__type_new_ *) 0)
17020 if (sizeof (ac__type_new_))
17026 rm -f conftest.$ac_objext
17027 if { (ac_try="$ac_compile"
17028 case "(($ac_try" in
17029 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17030 *) ac_try_echo
=$ac_try;;
17032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17033 (eval "$ac_compile") 2>conftest.er1
17035 grep -v '^ *+' conftest.er1
>conftest.err
17037 cat conftest.err
>&5
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); } && {
17040 test -z "$ac_c_werror_flag" ||
17041 test ! -s conftest.err
17042 } && test -s conftest.
$ac_objext; then
17043 ac_cv_type_fsfilcnt_t
=yes
17045 echo "$as_me: failed program was:" >&5
17046 sed 's/^/| /' conftest.
$ac_ext >&5
17048 ac_cv_type_fsfilcnt_t
=no
17051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17053 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17054 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17055 if test $ac_cv_type_fsfilcnt_t = yes; then
17057 cat >>confdefs.h
<<_ACEOF
17058 #define HAVE_FSFILCNT_T 1
17064 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17065 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17066 if test "${ac_cv_type_sigset_t+set}" = set; then
17067 echo $ECHO_N "(cached) $ECHO_C" >&6
17069 cat >conftest.
$ac_ext <<_ACEOF
17072 cat confdefs.h
>>conftest.
$ac_ext
17073 cat >>conftest.
$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17075 #include <signal.h>
17077 typedef sigset_t ac__type_new_;
17081 if ((ac__type_new_ *) 0)
17083 if (sizeof (ac__type_new_))
17089 rm -f conftest.
$ac_objext
17090 if { (ac_try
="$ac_compile"
17091 case "(($ac_try" in
17092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17093 *) ac_try_echo=$ac_try;;
17095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17096 (eval "$ac_compile") 2>conftest.er1
17098 grep -v '^ *+' conftest.er1 >conftest.err
17100 cat conftest.err >&5
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); } && {
17103 test -z "$ac_c_werror_flag" ||
17104 test ! -s conftest.err
17105 } && test -s conftest.$ac_objext; then
17106 ac_cv_type_sigset_t=yes
17108 echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.$ac_ext >&5
17111 ac_cv_type_sigset_t=no
17114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17116 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17117 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17118 if test $ac_cv_type_sigset_t = yes; then
17120 cat >>confdefs.h <<_ACEOF
17121 #define HAVE_SIGSET_T 1
17127 { echo "$as_me:$LINENO: checking for request_sense" >&5
17128 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17129 if test "${ac_cv_type_request_sense+set}" = set; then
17130 echo $ECHO_N "(cached) $ECHO_C" >&6
17132 cat >conftest.$ac_ext <<_ACEOF
17135 cat confdefs.h >>conftest.$ac_ext
17136 cat >>conftest.$ac_ext <<_ACEOF
17137 /* end confdefs.h. */
17138 #include <linux/cdrom.h>
17140 typedef request_sense ac__type_new_;
17144 if ((ac__type_new_ *) 0)
17146 if (sizeof (ac__type_new_))
17152 rm -f conftest.$ac_objext
17153 if { (ac_try="$ac_compile"
17154 case "(($ac_try" in
17155 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17156 *) ac_try_echo
=$ac_try;;
17158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17159 (eval "$ac_compile") 2>conftest.er1
17161 grep -v '^ *+' conftest.er1
>conftest.err
17163 cat conftest.err
>&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); } && {
17166 test -z "$ac_c_werror_flag" ||
17167 test ! -s conftest.err
17168 } && test -s conftest.
$ac_objext; then
17169 ac_cv_type_request_sense
=yes
17171 echo "$as_me: failed program was:" >&5
17172 sed 's/^/| /' conftest.
$ac_ext >&5
17174 ac_cv_type_request_sense
=no
17177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17179 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17180 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17181 if test $ac_cv_type_request_sense = yes; then
17183 cat >>confdefs.h
<<_ACEOF
17184 #define HAVE_REQUEST_SENSE 1
17191 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17192 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17193 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17194 echo $ECHO_N "(cached) $ECHO_C" >&6
17196 cat >conftest.
$ac_ext <<_ACEOF
17199 cat confdefs.h
>>conftest.
$ac_ext
17200 cat >>conftest.
$ac_ext <<_ACEOF
17201 /* end confdefs.h. */
17202 #ifdef HAVE_LINUX_INPUT_H
17203 #include <linux/input.h>
17209 static struct ff_effect ac_aggr;
17210 if (ac_aggr.direction)
17216 rm -f conftest.
$ac_objext
17217 if { (ac_try
="$ac_compile"
17218 case "(($ac_try" in
17219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17220 *) ac_try_echo=$ac_try;;
17222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17223 (eval "$ac_compile") 2>conftest.er1
17225 grep -v '^ *+' conftest.er1 >conftest.err
17227 cat conftest.err >&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); } && {
17230 test -z "$ac_c_werror_flag" ||
17231 test ! -s conftest.err
17232 } && test -s conftest.$ac_objext; then
17233 ac_cv_member_struct_ff_effect_direction=yes
17235 echo "$as_me: failed program was:" >&5
17236 sed 's/^/| /' conftest.$ac_ext >&5
17238 cat >conftest.$ac_ext <<_ACEOF
17241 cat confdefs.h >>conftest.$ac_ext
17242 cat >>conftest.$ac_ext <<_ACEOF
17243 /* end confdefs.h. */
17244 #ifdef HAVE_LINUX_INPUT_H
17245 #include <linux/input.h>
17251 static struct ff_effect ac_aggr;
17252 if (sizeof ac_aggr.direction)
17258 rm -f conftest.$ac_objext
17259 if { (ac_try="$ac_compile"
17260 case "(($ac_try" in
17261 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17262 *) ac_try_echo
=$ac_try;;
17264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17265 (eval "$ac_compile") 2>conftest.er1
17267 grep -v '^ *+' conftest.er1
>conftest.err
17269 cat conftest.err
>&5
17270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17271 (exit $ac_status); } && {
17272 test -z "$ac_c_werror_flag" ||
17273 test ! -s conftest.err
17274 } && test -s conftest.
$ac_objext; then
17275 ac_cv_member_struct_ff_effect_direction
=yes
17277 echo "$as_me: failed program was:" >&5
17278 sed 's/^/| /' conftest.
$ac_ext >&5
17280 ac_cv_member_struct_ff_effect_direction
=no
17283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17288 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17289 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17290 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17292 cat >>confdefs.h
<<_ACEOF
17293 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17300 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17301 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17302 if test "${wine_cv_have_sigaddset+set}" = set; then
17303 echo $ECHO_N "(cached) $ECHO_C" >&6
17305 cat >conftest.
$ac_ext <<_ACEOF
17308 cat confdefs.h
>>conftest.
$ac_ext
17309 cat >>conftest.
$ac_ext <<_ACEOF
17310 /* end confdefs.h. */
17311 #include <signal.h>
17315 sigset_t set; sigaddset(&set,SIGTERM);
17320 rm -f conftest.
$ac_objext conftest
$ac_exeext
17321 if { (ac_try
="$ac_link"
17322 case "(($ac_try" in
17323 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17324 *) ac_try_echo=$ac_try;;
17326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17327 (eval "$ac_link") 2>conftest.er1
17329 grep -v '^ *+' conftest.er1 >conftest.err
17331 cat conftest.err >&5
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); } && {
17334 test -z "$ac_c_werror_flag" ||
17335 test ! -s conftest.err
17336 } && test -s conftest$ac_exeext &&
17337 $as_test_x conftest$ac_exeext; then
17338 wine_cv_have_sigaddset=yes
17340 echo "$as_me: failed program was:" >&5
17341 sed 's/^/| /' conftest.$ac_ext >&5
17343 wine_cv_have_sigaddset=no
17346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17347 conftest$ac_exeext conftest.$ac_ext
17349 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17350 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17351 if test "$wine_cv_have_sigaddset" = "yes"
17354 cat >>confdefs.h <<\_ACEOF
17355 #define HAVE_SIGADDSET 1
17361 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17362 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17363 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17364 echo $ECHO_N "(cached) $ECHO_C" >&6
17366 cat >conftest.$ac_ext <<_ACEOF
17369 cat confdefs.h >>conftest.$ac_ext
17370 cat >>conftest.$ac_ext <<_ACEOF
17371 /* end confdefs.h. */
17379 struct hostent *result;
17386 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17387 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17393 rm -f conftest.$ac_objext conftest$ac_exeext
17394 if { (ac_try="$ac_link"
17395 case "(($ac_try" in
17396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17397 *) ac_try_echo
=$ac_try;;
17399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17400 (eval "$ac_link") 2>conftest.er1
17402 grep -v '^ *+' conftest.er1
>conftest.err
17404 cat conftest.err
>&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); } && {
17407 test -z "$ac_c_werror_flag" ||
17408 test ! -s conftest.err
17409 } && test -s conftest
$ac_exeext &&
17410 $as_test_x conftest
$ac_exeext; then
17411 wine_cv_linux_gethostbyname_r_6
=yes
17413 echo "$as_me: failed program was:" >&5
17414 sed 's/^/| /' conftest.
$ac_ext >&5
17416 wine_cv_linux_gethostbyname_r_6
=no
17420 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17421 conftest
$ac_exeext conftest.
$ac_ext
17424 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17425 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17426 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17429 cat >>confdefs.h
<<\_ACEOF
17430 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17435 if test "$ac_cv_header_linux_joystick_h" = "yes"
17437 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17438 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17439 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17440 echo $ECHO_N "(cached) $ECHO_C" >&6
17442 cat >conftest.
$ac_ext <<_ACEOF
17445 cat confdefs.h
>>conftest.
$ac_ext
17446 cat >>conftest.
$ac_ext <<_ACEOF
17447 /* end confdefs.h. */
17449 #include <sys/ioctl.h>
17450 #include <sys/types.h>
17451 #include <linux/joystick.h>
17453 struct js_event blub;
17454 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17455 #error "no 2.2 header"
17466 rm -f conftest.
$ac_objext
17467 if { (ac_try
="$ac_compile"
17468 case "(($ac_try" in
17469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17470 *) ac_try_echo=$ac_try;;
17472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17473 (eval "$ac_compile") 2>conftest.er1
17475 grep -v '^ *+' conftest.er1 >conftest.err
17477 cat conftest.err >&5
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); } && {
17480 test -z "$ac_c_werror_flag" ||
17481 test ! -s conftest.err
17482 } && test -s conftest.$ac_objext; then
17483 wine_cv_linux_joystick_22_api=yes
17485 echo "$as_me: failed program was:" >&5
17486 sed 's/^/| /' conftest.$ac_ext >&5
17488 wine_cv_linux_joystick_22_api=no
17491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17494 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17495 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17496 if test "$wine_cv_linux_joystick_22_api" = "yes"
17499 cat >>confdefs.h <<\_ACEOF
17500 #define HAVE_LINUX_22_JOYSTICK_API 1
17507 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17508 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17509 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17510 echo $ECHO_N "(cached) $ECHO_C" >&6
17512 cat >conftest.$ac_ext <<_ACEOF
17515 cat confdefs.h >>conftest.$ac_ext
17516 cat >>conftest.$ac_ext <<_ACEOF
17517 /* end confdefs.h. */
17518 #include <sys/types.h>
17519 #ifdef HAVE_SYS_PARAM_H
17520 # include <sys/param.h>
17522 #ifdef HAVE_SYS_MOUNT_H
17523 # include <sys/mount.h>
17525 #ifdef HAVE_SYS_VFS_H
17526 # include <sys/vfs.h>
17528 #ifdef HAVE_SYS_STATFS_H
17529 # include <sys/statfs.h>
17535 static struct statfs ac_aggr;
17536 if (ac_aggr.f_bfree)
17542 rm -f conftest.$ac_objext
17543 if { (ac_try="$ac_compile"
17544 case "(($ac_try" in
17545 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17546 *) ac_try_echo
=$ac_try;;
17548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17549 (eval "$ac_compile") 2>conftest.er1
17551 grep -v '^ *+' conftest.er1
>conftest.err
17553 cat conftest.err
>&5
17554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); } && {
17556 test -z "$ac_c_werror_flag" ||
17557 test ! -s conftest.err
17558 } && test -s conftest.
$ac_objext; then
17559 ac_cv_member_struct_statfs_f_bfree
=yes
17561 echo "$as_me: failed program was:" >&5
17562 sed 's/^/| /' conftest.
$ac_ext >&5
17564 cat >conftest.
$ac_ext <<_ACEOF
17567 cat confdefs.h
>>conftest.
$ac_ext
17568 cat >>conftest.
$ac_ext <<_ACEOF
17569 /* end confdefs.h. */
17570 #include <sys/types.h>
17571 #ifdef HAVE_SYS_PARAM_H
17572 # include <sys/param.h>
17574 #ifdef HAVE_SYS_MOUNT_H
17575 # include <sys/mount.h>
17577 #ifdef HAVE_SYS_VFS_H
17578 # include <sys/vfs.h>
17580 #ifdef HAVE_SYS_STATFS_H
17581 # include <sys/statfs.h>
17587 static struct statfs ac_aggr;
17588 if (sizeof ac_aggr.f_bfree)
17594 rm -f conftest.
$ac_objext
17595 if { (ac_try
="$ac_compile"
17596 case "(($ac_try" in
17597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17598 *) ac_try_echo=$ac_try;;
17600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17601 (eval "$ac_compile") 2>conftest.er1
17603 grep -v '^ *+' conftest.er1 >conftest.err
17605 cat conftest.err >&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); } && {
17608 test -z "$ac_c_werror_flag" ||
17609 test ! -s conftest.err
17610 } && test -s conftest.$ac_objext; then
17611 ac_cv_member_struct_statfs_f_bfree=yes
17613 echo "$as_me: failed program was:" >&5
17614 sed 's/^/| /' conftest.$ac_ext >&5
17616 ac_cv_member_struct_statfs_f_bfree=no
17619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17624 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17625 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17626 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17628 cat >>confdefs.h <<_ACEOF
17629 #define HAVE_STRUCT_STATFS_F_BFREE 1
17634 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17635 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17636 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17637 echo $ECHO_N "(cached) $ECHO_C" >&6
17639 cat >conftest.$ac_ext <<_ACEOF
17642 cat confdefs.h >>conftest.$ac_ext
17643 cat >>conftest.$ac_ext <<_ACEOF
17644 /* end confdefs.h. */
17645 #include <sys/types.h>
17646 #ifdef HAVE_SYS_PARAM_H
17647 # include <sys/param.h>
17649 #ifdef HAVE_SYS_MOUNT_H
17650 # include <sys/mount.h>
17652 #ifdef HAVE_SYS_VFS_H
17653 # include <sys/vfs.h>
17655 #ifdef HAVE_SYS_STATFS_H
17656 # include <sys/statfs.h>
17662 static struct statfs ac_aggr;
17663 if (ac_aggr.f_bavail)
17669 rm -f conftest.$ac_objext
17670 if { (ac_try="$ac_compile"
17671 case "(($ac_try" in
17672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17673 *) ac_try_echo
=$ac_try;;
17675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17676 (eval "$ac_compile") 2>conftest.er1
17678 grep -v '^ *+' conftest.er1
>conftest.err
17680 cat conftest.err
>&5
17681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17682 (exit $ac_status); } && {
17683 test -z "$ac_c_werror_flag" ||
17684 test ! -s conftest.err
17685 } && test -s conftest.
$ac_objext; then
17686 ac_cv_member_struct_statfs_f_bavail
=yes
17688 echo "$as_me: failed program was:" >&5
17689 sed 's/^/| /' conftest.
$ac_ext >&5
17691 cat >conftest.
$ac_ext <<_ACEOF
17694 cat confdefs.h
>>conftest.
$ac_ext
17695 cat >>conftest.
$ac_ext <<_ACEOF
17696 /* end confdefs.h. */
17697 #include <sys/types.h>
17698 #ifdef HAVE_SYS_PARAM_H
17699 # include <sys/param.h>
17701 #ifdef HAVE_SYS_MOUNT_H
17702 # include <sys/mount.h>
17704 #ifdef HAVE_SYS_VFS_H
17705 # include <sys/vfs.h>
17707 #ifdef HAVE_SYS_STATFS_H
17708 # include <sys/statfs.h>
17714 static struct statfs ac_aggr;
17715 if (sizeof ac_aggr.f_bavail)
17721 rm -f conftest.
$ac_objext
17722 if { (ac_try
="$ac_compile"
17723 case "(($ac_try" in
17724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17725 *) ac_try_echo=$ac_try;;
17727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17728 (eval "$ac_compile") 2>conftest.er1
17730 grep -v '^ *+' conftest.er1 >conftest.err
17732 cat conftest.err >&5
17733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17734 (exit $ac_status); } && {
17735 test -z "$ac_c_werror_flag" ||
17736 test ! -s conftest.err
17737 } && test -s conftest.$ac_objext; then
17738 ac_cv_member_struct_statfs_f_bavail=yes
17740 echo "$as_me: failed program was:" >&5
17741 sed 's/^/| /' conftest.$ac_ext >&5
17743 ac_cv_member_struct_statfs_f_bavail=no
17746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17751 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17752 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17753 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17755 cat >>confdefs.h <<_ACEOF
17756 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17761 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17762 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17763 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17764 echo $ECHO_N "(cached) $ECHO_C" >&6
17766 cat >conftest.$ac_ext <<_ACEOF
17769 cat confdefs.h >>conftest.$ac_ext
17770 cat >>conftest.$ac_ext <<_ACEOF
17771 /* end confdefs.h. */
17772 #include <sys/types.h>
17773 #ifdef HAVE_SYS_PARAM_H
17774 # include <sys/param.h>
17776 #ifdef HAVE_SYS_MOUNT_H
17777 # include <sys/mount.h>
17779 #ifdef HAVE_SYS_VFS_H
17780 # include <sys/vfs.h>
17782 #ifdef HAVE_SYS_STATFS_H
17783 # include <sys/statfs.h>
17789 static struct statfs ac_aggr;
17790 if (ac_aggr.f_frsize)
17796 rm -f conftest.$ac_objext
17797 if { (ac_try="$ac_compile"
17798 case "(($ac_try" in
17799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17800 *) ac_try_echo
=$ac_try;;
17802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17803 (eval "$ac_compile") 2>conftest.er1
17805 grep -v '^ *+' conftest.er1
>conftest.err
17807 cat conftest.err
>&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); } && {
17810 test -z "$ac_c_werror_flag" ||
17811 test ! -s conftest.err
17812 } && test -s conftest.
$ac_objext; then
17813 ac_cv_member_struct_statfs_f_frsize
=yes
17815 echo "$as_me: failed program was:" >&5
17816 sed 's/^/| /' conftest.
$ac_ext >&5
17818 cat >conftest.
$ac_ext <<_ACEOF
17821 cat confdefs.h
>>conftest.
$ac_ext
17822 cat >>conftest.
$ac_ext <<_ACEOF
17823 /* end confdefs.h. */
17824 #include <sys/types.h>
17825 #ifdef HAVE_SYS_PARAM_H
17826 # include <sys/param.h>
17828 #ifdef HAVE_SYS_MOUNT_H
17829 # include <sys/mount.h>
17831 #ifdef HAVE_SYS_VFS_H
17832 # include <sys/vfs.h>
17834 #ifdef HAVE_SYS_STATFS_H
17835 # include <sys/statfs.h>
17841 static struct statfs ac_aggr;
17842 if (sizeof ac_aggr.f_frsize)
17848 rm -f conftest.
$ac_objext
17849 if { (ac_try
="$ac_compile"
17850 case "(($ac_try" in
17851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17852 *) ac_try_echo=$ac_try;;
17854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17855 (eval "$ac_compile") 2>conftest.er1
17857 grep -v '^ *+' conftest.er1 >conftest.err
17859 cat conftest.err >&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); } && {
17862 test -z "$ac_c_werror_flag" ||
17863 test ! -s conftest.err
17864 } && test -s conftest.$ac_objext; then
17865 ac_cv_member_struct_statfs_f_frsize=yes
17867 echo "$as_me: failed program was:" >&5
17868 sed 's/^/| /' conftest.$ac_ext >&5
17870 ac_cv_member_struct_statfs_f_frsize=no
17873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17878 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17879 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17880 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17882 cat >>confdefs.h <<_ACEOF
17883 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17888 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17889 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17890 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17891 echo $ECHO_N "(cached) $ECHO_C" >&6
17893 cat >conftest.$ac_ext <<_ACEOF
17896 cat confdefs.h >>conftest.$ac_ext
17897 cat >>conftest.$ac_ext <<_ACEOF
17898 /* end confdefs.h. */
17899 #include <sys/types.h>
17900 #ifdef HAVE_SYS_PARAM_H
17901 # include <sys/param.h>
17903 #ifdef HAVE_SYS_MOUNT_H
17904 # include <sys/mount.h>
17906 #ifdef HAVE_SYS_VFS_H
17907 # include <sys/vfs.h>
17909 #ifdef HAVE_SYS_STATFS_H
17910 # include <sys/statfs.h>
17916 static struct statfs ac_aggr;
17917 if (ac_aggr.f_ffree)
17923 rm -f conftest.$ac_objext
17924 if { (ac_try="$ac_compile"
17925 case "(($ac_try" in
17926 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17927 *) ac_try_echo
=$ac_try;;
17929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17930 (eval "$ac_compile") 2>conftest.er1
17932 grep -v '^ *+' conftest.er1
>conftest.err
17934 cat conftest.err
>&5
17935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17936 (exit $ac_status); } && {
17937 test -z "$ac_c_werror_flag" ||
17938 test ! -s conftest.err
17939 } && test -s conftest.
$ac_objext; then
17940 ac_cv_member_struct_statfs_f_ffree
=yes
17942 echo "$as_me: failed program was:" >&5
17943 sed 's/^/| /' conftest.
$ac_ext >&5
17945 cat >conftest.
$ac_ext <<_ACEOF
17948 cat confdefs.h
>>conftest.
$ac_ext
17949 cat >>conftest.
$ac_ext <<_ACEOF
17950 /* end confdefs.h. */
17951 #include <sys/types.h>
17952 #ifdef HAVE_SYS_PARAM_H
17953 # include <sys/param.h>
17955 #ifdef HAVE_SYS_MOUNT_H
17956 # include <sys/mount.h>
17958 #ifdef HAVE_SYS_VFS_H
17959 # include <sys/vfs.h>
17961 #ifdef HAVE_SYS_STATFS_H
17962 # include <sys/statfs.h>
17968 static struct statfs ac_aggr;
17969 if (sizeof ac_aggr.f_ffree)
17975 rm -f conftest.
$ac_objext
17976 if { (ac_try
="$ac_compile"
17977 case "(($ac_try" in
17978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17979 *) ac_try_echo=$ac_try;;
17981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17982 (eval "$ac_compile") 2>conftest.er1
17984 grep -v '^ *+' conftest.er1 >conftest.err
17986 cat conftest.err >&5
17987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988 (exit $ac_status); } && {
17989 test -z "$ac_c_werror_flag" ||
17990 test ! -s conftest.err
17991 } && test -s conftest.$ac_objext; then
17992 ac_cv_member_struct_statfs_f_ffree=yes
17994 echo "$as_me: failed program was:" >&5
17995 sed 's/^/| /' conftest.$ac_ext >&5
17997 ac_cv_member_struct_statfs_f_ffree=no
18000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18005 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18006 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18007 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18009 cat >>confdefs.h <<_ACEOF
18010 #define HAVE_STRUCT_STATFS_F_FFREE 1
18015 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18016 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18017 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18018 echo $ECHO_N "(cached) $ECHO_C" >&6
18020 cat >conftest.$ac_ext <<_ACEOF
18023 cat confdefs.h >>conftest.$ac_ext
18024 cat >>conftest.$ac_ext <<_ACEOF
18025 /* end confdefs.h. */
18026 #include <sys/types.h>
18027 #ifdef HAVE_SYS_PARAM_H
18028 # include <sys/param.h>
18030 #ifdef HAVE_SYS_MOUNT_H
18031 # include <sys/mount.h>
18033 #ifdef HAVE_SYS_VFS_H
18034 # include <sys/vfs.h>
18036 #ifdef HAVE_SYS_STATFS_H
18037 # include <sys/statfs.h>
18043 static struct statfs ac_aggr;
18044 if (ac_aggr.f_favail)
18050 rm -f conftest.$ac_objext
18051 if { (ac_try="$ac_compile"
18052 case "(($ac_try" in
18053 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18054 *) ac_try_echo
=$ac_try;;
18056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18057 (eval "$ac_compile") 2>conftest.er1
18059 grep -v '^ *+' conftest.er1
>conftest.err
18061 cat conftest.err
>&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); } && {
18064 test -z "$ac_c_werror_flag" ||
18065 test ! -s conftest.err
18066 } && test -s conftest.
$ac_objext; then
18067 ac_cv_member_struct_statfs_f_favail
=yes
18069 echo "$as_me: failed program was:" >&5
18070 sed 's/^/| /' conftest.
$ac_ext >&5
18072 cat >conftest.
$ac_ext <<_ACEOF
18075 cat confdefs.h
>>conftest.
$ac_ext
18076 cat >>conftest.
$ac_ext <<_ACEOF
18077 /* end confdefs.h. */
18078 #include <sys/types.h>
18079 #ifdef HAVE_SYS_PARAM_H
18080 # include <sys/param.h>
18082 #ifdef HAVE_SYS_MOUNT_H
18083 # include <sys/mount.h>
18085 #ifdef HAVE_SYS_VFS_H
18086 # include <sys/vfs.h>
18088 #ifdef HAVE_SYS_STATFS_H
18089 # include <sys/statfs.h>
18095 static struct statfs ac_aggr;
18096 if (sizeof ac_aggr.f_favail)
18102 rm -f conftest.
$ac_objext
18103 if { (ac_try
="$ac_compile"
18104 case "(($ac_try" in
18105 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18106 *) ac_try_echo=$ac_try;;
18108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18109 (eval "$ac_compile") 2>conftest.er1
18111 grep -v '^ *+' conftest.er1 >conftest.err
18113 cat conftest.err >&5
18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115 (exit $ac_status); } && {
18116 test -z "$ac_c_werror_flag" ||
18117 test ! -s conftest.err
18118 } && test -s conftest.$ac_objext; then
18119 ac_cv_member_struct_statfs_f_favail=yes
18121 echo "$as_me: failed program was:" >&5
18122 sed 's/^/| /' conftest.$ac_ext >&5
18124 ac_cv_member_struct_statfs_f_favail=no
18127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18132 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18133 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18134 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18136 cat >>confdefs.h <<_ACEOF
18137 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18142 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18143 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18144 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18145 echo $ECHO_N "(cached) $ECHO_C" >&6
18147 cat >conftest.$ac_ext <<_ACEOF
18150 cat confdefs.h >>conftest.$ac_ext
18151 cat >>conftest.$ac_ext <<_ACEOF
18152 /* end confdefs.h. */
18153 #include <sys/types.h>
18154 #ifdef HAVE_SYS_PARAM_H
18155 # include <sys/param.h>
18157 #ifdef HAVE_SYS_MOUNT_H
18158 # include <sys/mount.h>
18160 #ifdef HAVE_SYS_VFS_H
18161 # include <sys/vfs.h>
18163 #ifdef HAVE_SYS_STATFS_H
18164 # include <sys/statfs.h>
18170 static struct statfs ac_aggr;
18171 if (ac_aggr.f_namelen)
18177 rm -f conftest.$ac_objext
18178 if { (ac_try="$ac_compile"
18179 case "(($ac_try" in
18180 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18181 *) ac_try_echo
=$ac_try;;
18183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18184 (eval "$ac_compile") 2>conftest.er1
18186 grep -v '^ *+' conftest.er1
>conftest.err
18188 cat conftest.err
>&5
18189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18190 (exit $ac_status); } && {
18191 test -z "$ac_c_werror_flag" ||
18192 test ! -s conftest.err
18193 } && test -s conftest.
$ac_objext; then
18194 ac_cv_member_struct_statfs_f_namelen
=yes
18196 echo "$as_me: failed program was:" >&5
18197 sed 's/^/| /' conftest.
$ac_ext >&5
18199 cat >conftest.
$ac_ext <<_ACEOF
18202 cat confdefs.h
>>conftest.
$ac_ext
18203 cat >>conftest.
$ac_ext <<_ACEOF
18204 /* end confdefs.h. */
18205 #include <sys/types.h>
18206 #ifdef HAVE_SYS_PARAM_H
18207 # include <sys/param.h>
18209 #ifdef HAVE_SYS_MOUNT_H
18210 # include <sys/mount.h>
18212 #ifdef HAVE_SYS_VFS_H
18213 # include <sys/vfs.h>
18215 #ifdef HAVE_SYS_STATFS_H
18216 # include <sys/statfs.h>
18222 static struct statfs ac_aggr;
18223 if (sizeof ac_aggr.f_namelen)
18229 rm -f conftest.
$ac_objext
18230 if { (ac_try
="$ac_compile"
18231 case "(($ac_try" in
18232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18233 *) ac_try_echo=$ac_try;;
18235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18236 (eval "$ac_compile") 2>conftest.er1
18238 grep -v '^ *+' conftest.er1 >conftest.err
18240 cat conftest.err >&5
18241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); } && {
18243 test -z "$ac_c_werror_flag" ||
18244 test ! -s conftest.err
18245 } && test -s conftest.$ac_objext; then
18246 ac_cv_member_struct_statfs_f_namelen=yes
18248 echo "$as_me: failed program was:" >&5
18249 sed 's/^/| /' conftest.$ac_ext >&5
18251 ac_cv_member_struct_statfs_f_namelen=no
18254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18259 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18260 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18261 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18263 cat >>confdefs.h <<_ACEOF
18264 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18271 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18272 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18273 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18274 echo $ECHO_N "(cached) $ECHO_C" >&6
18276 cat >conftest.$ac_ext <<_ACEOF
18279 cat confdefs.h >>conftest.$ac_ext
18280 cat >>conftest.$ac_ext <<_ACEOF
18281 /* end confdefs.h. */
18282 #ifdef HAVE_SYS_STATVFS_H
18283 #include <sys/statvfs.h>
18289 static struct statvfs ac_aggr;
18290 if (ac_aggr.f_blocks)
18296 rm -f conftest.$ac_objext
18297 if { (ac_try="$ac_compile"
18298 case "(($ac_try" in
18299 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18300 *) ac_try_echo
=$ac_try;;
18302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18303 (eval "$ac_compile") 2>conftest.er1
18305 grep -v '^ *+' conftest.er1
>conftest.err
18307 cat conftest.err
>&5
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); } && {
18310 test -z "$ac_c_werror_flag" ||
18311 test ! -s conftest.err
18312 } && test -s conftest.
$ac_objext; then
18313 ac_cv_member_struct_statvfs_f_blocks
=yes
18315 echo "$as_me: failed program was:" >&5
18316 sed 's/^/| /' conftest.
$ac_ext >&5
18318 cat >conftest.
$ac_ext <<_ACEOF
18321 cat confdefs.h
>>conftest.
$ac_ext
18322 cat >>conftest.
$ac_ext <<_ACEOF
18323 /* end confdefs.h. */
18324 #ifdef HAVE_SYS_STATVFS_H
18325 #include <sys/statvfs.h>
18331 static struct statvfs ac_aggr;
18332 if (sizeof ac_aggr.f_blocks)
18338 rm -f conftest.
$ac_objext
18339 if { (ac_try
="$ac_compile"
18340 case "(($ac_try" in
18341 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18342 *) ac_try_echo=$ac_try;;
18344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18345 (eval "$ac_compile") 2>conftest.er1
18347 grep -v '^ *+' conftest.er1 >conftest.err
18349 cat conftest.err >&5
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); } && {
18352 test -z "$ac_c_werror_flag" ||
18353 test ! -s conftest.err
18354 } && test -s conftest.$ac_objext; then
18355 ac_cv_member_struct_statvfs_f_blocks=yes
18357 echo "$as_me: failed program was:" >&5
18358 sed 's/^/| /' conftest.$ac_ext >&5
18360 ac_cv_member_struct_statvfs_f_blocks=no
18363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18368 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18369 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18370 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18372 cat >>confdefs.h <<_ACEOF
18373 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18380 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18381 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18382 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18383 echo $ECHO_N "(cached) $ECHO_C" >&6
18385 cat >conftest.$ac_ext <<_ACEOF
18388 cat confdefs.h >>conftest.$ac_ext
18389 cat >>conftest.$ac_ext <<_ACEOF
18390 /* end confdefs.h. */
18391 #include <sys/types.h>
18392 #ifdef HAVE_SYS_SOCKET_H
18393 # include <sys/socket.h>
18395 #ifdef HAVE_SYS_UN_H
18396 # include <sys/un.h>
18402 static struct msghdr ac_aggr;
18403 if (ac_aggr.msg_accrights)
18409 rm -f conftest.$ac_objext
18410 if { (ac_try="$ac_compile"
18411 case "(($ac_try" in
18412 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18413 *) ac_try_echo
=$ac_try;;
18415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18416 (eval "$ac_compile") 2>conftest.er1
18418 grep -v '^ *+' conftest.er1
>conftest.err
18420 cat conftest.err
>&5
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); } && {
18423 test -z "$ac_c_werror_flag" ||
18424 test ! -s conftest.err
18425 } && test -s conftest.
$ac_objext; then
18426 ac_cv_member_struct_msghdr_msg_accrights
=yes
18428 echo "$as_me: failed program was:" >&5
18429 sed 's/^/| /' conftest.
$ac_ext >&5
18431 cat >conftest.
$ac_ext <<_ACEOF
18434 cat confdefs.h
>>conftest.
$ac_ext
18435 cat >>conftest.
$ac_ext <<_ACEOF
18436 /* end confdefs.h. */
18437 #include <sys/types.h>
18438 #ifdef HAVE_SYS_SOCKET_H
18439 # include <sys/socket.h>
18441 #ifdef HAVE_SYS_UN_H
18442 # include <sys/un.h>
18448 static struct msghdr ac_aggr;
18449 if (sizeof ac_aggr.msg_accrights)
18455 rm -f conftest.
$ac_objext
18456 if { (ac_try
="$ac_compile"
18457 case "(($ac_try" in
18458 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18459 *) ac_try_echo=$ac_try;;
18461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18462 (eval "$ac_compile") 2>conftest.er1
18464 grep -v '^ *+' conftest.er1 >conftest.err
18466 cat conftest.err >&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); } && {
18469 test -z "$ac_c_werror_flag" ||
18470 test ! -s conftest.err
18471 } && test -s conftest.$ac_objext; then
18472 ac_cv_member_struct_msghdr_msg_accrights=yes
18474 echo "$as_me: failed program was:" >&5
18475 sed 's/^/| /' conftest.$ac_ext >&5
18477 ac_cv_member_struct_msghdr_msg_accrights=no
18480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18485 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18486 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18487 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18489 cat >>confdefs.h <<_ACEOF
18490 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18495 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18496 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18497 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18498 echo $ECHO_N "(cached) $ECHO_C" >&6
18500 cat >conftest.$ac_ext <<_ACEOF
18503 cat confdefs.h >>conftest.$ac_ext
18504 cat >>conftest.$ac_ext <<_ACEOF
18505 /* end confdefs.h. */
18506 #include <sys/types.h>
18507 #ifdef HAVE_SYS_SOCKET_H
18508 # include <sys/socket.h>
18510 #ifdef HAVE_SYS_UN_H
18511 # include <sys/un.h>
18517 static struct sockaddr ac_aggr;
18518 if (ac_aggr.sa_len)
18524 rm -f conftest.$ac_objext
18525 if { (ac_try="$ac_compile"
18526 case "(($ac_try" in
18527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18528 *) ac_try_echo
=$ac_try;;
18530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18531 (eval "$ac_compile") 2>conftest.er1
18533 grep -v '^ *+' conftest.er1
>conftest.err
18535 cat conftest.err
>&5
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); } && {
18538 test -z "$ac_c_werror_flag" ||
18539 test ! -s conftest.err
18540 } && test -s conftest.
$ac_objext; then
18541 ac_cv_member_struct_sockaddr_sa_len
=yes
18543 echo "$as_me: failed program was:" >&5
18544 sed 's/^/| /' conftest.
$ac_ext >&5
18546 cat >conftest.
$ac_ext <<_ACEOF
18549 cat confdefs.h
>>conftest.
$ac_ext
18550 cat >>conftest.
$ac_ext <<_ACEOF
18551 /* end confdefs.h. */
18552 #include <sys/types.h>
18553 #ifdef HAVE_SYS_SOCKET_H
18554 # include <sys/socket.h>
18556 #ifdef HAVE_SYS_UN_H
18557 # include <sys/un.h>
18563 static struct sockaddr ac_aggr;
18564 if (sizeof ac_aggr.sa_len)
18570 rm -f conftest.
$ac_objext
18571 if { (ac_try
="$ac_compile"
18572 case "(($ac_try" in
18573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18574 *) ac_try_echo=$ac_try;;
18576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18577 (eval "$ac_compile") 2>conftest.er1
18579 grep -v '^ *+' conftest.er1 >conftest.err
18581 cat conftest.err >&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } && {
18584 test -z "$ac_c_werror_flag" ||
18585 test ! -s conftest.err
18586 } && test -s conftest.$ac_objext; then
18587 ac_cv_member_struct_sockaddr_sa_len=yes
18589 echo "$as_me: failed program was:" >&5
18590 sed 's/^/| /' conftest.$ac_ext >&5
18592 ac_cv_member_struct_sockaddr_sa_len=no
18595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18600 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18601 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18602 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18604 cat >>confdefs.h <<_ACEOF
18605 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18610 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18611 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18612 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18613 echo $ECHO_N "(cached) $ECHO_C" >&6
18615 cat >conftest.$ac_ext <<_ACEOF
18618 cat confdefs.h >>conftest.$ac_ext
18619 cat >>conftest.$ac_ext <<_ACEOF
18620 /* end confdefs.h. */
18621 #include <sys/types.h>
18622 #ifdef HAVE_SYS_SOCKET_H
18623 # include <sys/socket.h>
18625 #ifdef HAVE_SYS_UN_H
18626 # include <sys/un.h>
18632 static struct sockaddr_un ac_aggr;
18633 if (ac_aggr.sun_len)
18639 rm -f conftest.$ac_objext
18640 if { (ac_try="$ac_compile"
18641 case "(($ac_try" in
18642 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18643 *) ac_try_echo
=$ac_try;;
18645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18646 (eval "$ac_compile") 2>conftest.er1
18648 grep -v '^ *+' conftest.er1
>conftest.err
18650 cat conftest.err
>&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } && {
18653 test -z "$ac_c_werror_flag" ||
18654 test ! -s conftest.err
18655 } && test -s conftest.
$ac_objext; then
18656 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18658 echo "$as_me: failed program was:" >&5
18659 sed 's/^/| /' conftest.
$ac_ext >&5
18661 cat >conftest.
$ac_ext <<_ACEOF
18664 cat confdefs.h
>>conftest.
$ac_ext
18665 cat >>conftest.
$ac_ext <<_ACEOF
18666 /* end confdefs.h. */
18667 #include <sys/types.h>
18668 #ifdef HAVE_SYS_SOCKET_H
18669 # include <sys/socket.h>
18671 #ifdef HAVE_SYS_UN_H
18672 # include <sys/un.h>
18678 static struct sockaddr_un ac_aggr;
18679 if (sizeof ac_aggr.sun_len)
18685 rm -f conftest.
$ac_objext
18686 if { (ac_try
="$ac_compile"
18687 case "(($ac_try" in
18688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18689 *) ac_try_echo=$ac_try;;
18691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18692 (eval "$ac_compile") 2>conftest.er1
18694 grep -v '^ *+' conftest.er1 >conftest.err
18696 cat conftest.err >&5
18697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18698 (exit $ac_status); } && {
18699 test -z "$ac_c_werror_flag" ||
18700 test ! -s conftest.err
18701 } && test -s conftest.$ac_objext; then
18702 ac_cv_member_struct_sockaddr_un_sun_len=yes
18704 echo "$as_me: failed program was:" >&5
18705 sed 's/^/| /' conftest.$ac_ext >&5
18707 ac_cv_member_struct_sockaddr_un_sun_len=no
18710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18715 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18716 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18717 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18719 cat >>confdefs.h <<_ACEOF
18720 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18727 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18728 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18729 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18730 echo $ECHO_N "(cached) $ECHO_C" >&6
18732 cat >conftest.$ac_ext <<_ACEOF
18735 cat confdefs.h >>conftest.$ac_ext
18736 cat >>conftest.$ac_ext <<_ACEOF
18737 /* end confdefs.h. */
18738 #include <sys/types.h>
18739 #ifdef HAVE_SCSI_SG_H
18740 #include <scsi/sg.h>
18746 static scsireq_t ac_aggr;
18753 rm -f conftest.$ac_objext
18754 if { (ac_try="$ac_compile"
18755 case "(($ac_try" in
18756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18757 *) ac_try_echo
=$ac_try;;
18759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18760 (eval "$ac_compile") 2>conftest.er1
18762 grep -v '^ *+' conftest.er1
>conftest.err
18764 cat conftest.err
>&5
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); } && {
18767 test -z "$ac_c_werror_flag" ||
18768 test ! -s conftest.err
18769 } && test -s conftest.
$ac_objext; then
18770 ac_cv_member_scsireq_t_cmd
=yes
18772 echo "$as_me: failed program was:" >&5
18773 sed 's/^/| /' conftest.
$ac_ext >&5
18775 cat >conftest.
$ac_ext <<_ACEOF
18778 cat confdefs.h
>>conftest.
$ac_ext
18779 cat >>conftest.
$ac_ext <<_ACEOF
18780 /* end confdefs.h. */
18781 #include <sys/types.h>
18782 #ifdef HAVE_SCSI_SG_H
18783 #include <scsi/sg.h>
18789 static scsireq_t ac_aggr;
18790 if (sizeof ac_aggr.cmd)
18796 rm -f conftest.
$ac_objext
18797 if { (ac_try
="$ac_compile"
18798 case "(($ac_try" in
18799 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18800 *) ac_try_echo=$ac_try;;
18802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18803 (eval "$ac_compile") 2>conftest.er1
18805 grep -v '^ *+' conftest.er1 >conftest.err
18807 cat conftest.err >&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); } && {
18810 test -z "$ac_c_werror_flag" ||
18811 test ! -s conftest.err
18812 } && test -s conftest.$ac_objext; then
18813 ac_cv_member_scsireq_t_cmd=yes
18815 echo "$as_me: failed program was:" >&5
18816 sed 's/^/| /' conftest.$ac_ext >&5
18818 ac_cv_member_scsireq_t_cmd=no
18821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18826 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18827 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18828 if test $ac_cv_member_scsireq_t_cmd = yes; then
18830 cat >>confdefs.h <<_ACEOF
18831 #define HAVE_SCSIREQ_T_CMD 1
18836 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18837 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18838 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18839 echo $ECHO_N "(cached) $ECHO_C" >&6
18841 cat >conftest.$ac_ext <<_ACEOF
18844 cat confdefs.h >>conftest.$ac_ext
18845 cat >>conftest.$ac_ext <<_ACEOF
18846 /* end confdefs.h. */
18847 #include <sys/types.h>
18848 #ifdef HAVE_SCSI_SG_H
18849 #include <scsi/sg.h>
18855 static sg_io_hdr_t ac_aggr;
18856 if (ac_aggr.interface_id)
18862 rm -f conftest.$ac_objext
18863 if { (ac_try="$ac_compile"
18864 case "(($ac_try" in
18865 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18866 *) ac_try_echo
=$ac_try;;
18868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18869 (eval "$ac_compile") 2>conftest.er1
18871 grep -v '^ *+' conftest.er1
>conftest.err
18873 cat conftest.err
>&5
18874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875 (exit $ac_status); } && {
18876 test -z "$ac_c_werror_flag" ||
18877 test ! -s conftest.err
18878 } && test -s conftest.
$ac_objext; then
18879 ac_cv_member_sg_io_hdr_t_interface_id
=yes
18881 echo "$as_me: failed program was:" >&5
18882 sed 's/^/| /' conftest.
$ac_ext >&5
18884 cat >conftest.
$ac_ext <<_ACEOF
18887 cat confdefs.h
>>conftest.
$ac_ext
18888 cat >>conftest.
$ac_ext <<_ACEOF
18889 /* end confdefs.h. */
18890 #include <sys/types.h>
18891 #ifdef HAVE_SCSI_SG_H
18892 #include <scsi/sg.h>
18898 static sg_io_hdr_t ac_aggr;
18899 if (sizeof ac_aggr.interface_id)
18905 rm -f conftest.
$ac_objext
18906 if { (ac_try
="$ac_compile"
18907 case "(($ac_try" in
18908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18909 *) ac_try_echo=$ac_try;;
18911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18912 (eval "$ac_compile") 2>conftest.er1
18914 grep -v '^ *+' conftest.er1 >conftest.err
18916 cat conftest.err >&5
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); } && {
18919 test -z "$ac_c_werror_flag" ||
18920 test ! -s conftest.err
18921 } && test -s conftest.$ac_objext; then
18922 ac_cv_member_sg_io_hdr_t_interface_id=yes
18924 echo "$as_me: failed program was:" >&5
18925 sed 's/^/| /' conftest.$ac_ext >&5
18927 ac_cv_member_sg_io_hdr_t_interface_id=no
18930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18935 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18936 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
18937 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18939 cat >>confdefs.h <<_ACEOF
18940 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18947 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18948 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
18949 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18950 echo $ECHO_N "(cached) $ECHO_C" >&6
18952 cat >conftest.$ac_ext <<_ACEOF
18955 cat confdefs.h >>conftest.$ac_ext
18956 cat >>conftest.$ac_ext <<_ACEOF
18957 /* end confdefs.h. */
18958 #include <signal.h>
18963 static siginfo_t ac_aggr;
18970 rm -f conftest.$ac_objext
18971 if { (ac_try="$ac_compile"
18972 case "(($ac_try" in
18973 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18974 *) ac_try_echo
=$ac_try;;
18976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18977 (eval "$ac_compile") 2>conftest.er1
18979 grep -v '^ *+' conftest.er1
>conftest.err
18981 cat conftest.err
>&5
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); } && {
18984 test -z "$ac_c_werror_flag" ||
18985 test ! -s conftest.err
18986 } && test -s conftest.
$ac_objext; then
18987 ac_cv_member_siginfo_t_si_fd
=yes
18989 echo "$as_me: failed program was:" >&5
18990 sed 's/^/| /' conftest.
$ac_ext >&5
18992 cat >conftest.
$ac_ext <<_ACEOF
18995 cat confdefs.h
>>conftest.
$ac_ext
18996 cat >>conftest.
$ac_ext <<_ACEOF
18997 /* end confdefs.h. */
18998 #include <signal.h>
19003 static siginfo_t ac_aggr;
19004 if (sizeof ac_aggr.si_fd)
19010 rm -f conftest.
$ac_objext
19011 if { (ac_try
="$ac_compile"
19012 case "(($ac_try" in
19013 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19014 *) ac_try_echo=$ac_try;;
19016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19017 (eval "$ac_compile") 2>conftest.er1
19019 grep -v '^ *+' conftest.er1 >conftest.err
19021 cat conftest.err >&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); } && {
19024 test -z "$ac_c_werror_flag" ||
19025 test ! -s conftest.err
19026 } && test -s conftest.$ac_objext; then
19027 ac_cv_member_siginfo_t_si_fd=yes
19029 echo "$as_me: failed program was:" >&5
19030 sed 's/^/| /' conftest.$ac_ext >&5
19032 ac_cv_member_siginfo_t_si_fd=no
19035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19040 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19041 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19042 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19044 cat >>confdefs.h <<_ACEOF
19045 #define HAVE_SIGINFO_T_SI_FD 1
19052 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19053 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19054 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19055 echo $ECHO_N "(cached) $ECHO_C" >&6
19057 cat >conftest.$ac_ext <<_ACEOF
19060 cat confdefs.h >>conftest.$ac_ext
19061 cat >>conftest.$ac_ext <<_ACEOF
19062 /* end confdefs.h. */
19063 #include <sys/types.h>
19064 #ifdef HAVE_SYS_MTIO_H
19065 #include <sys/mtio.h>
19071 static struct mtget ac_aggr;
19072 if (ac_aggr.mt_blksiz)
19078 rm -f conftest.$ac_objext
19079 if { (ac_try="$ac_compile"
19080 case "(($ac_try" in
19081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19082 *) ac_try_echo
=$ac_try;;
19084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19085 (eval "$ac_compile") 2>conftest.er1
19087 grep -v '^ *+' conftest.er1
>conftest.err
19089 cat conftest.err
>&5
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); } && {
19092 test -z "$ac_c_werror_flag" ||
19093 test ! -s conftest.err
19094 } && test -s conftest.
$ac_objext; then
19095 ac_cv_member_struct_mtget_mt_blksiz
=yes
19097 echo "$as_me: failed program was:" >&5
19098 sed 's/^/| /' conftest.
$ac_ext >&5
19100 cat >conftest.
$ac_ext <<_ACEOF
19103 cat confdefs.h
>>conftest.
$ac_ext
19104 cat >>conftest.
$ac_ext <<_ACEOF
19105 /* end confdefs.h. */
19106 #include <sys/types.h>
19107 #ifdef HAVE_SYS_MTIO_H
19108 #include <sys/mtio.h>
19114 static struct mtget ac_aggr;
19115 if (sizeof ac_aggr.mt_blksiz)
19121 rm -f conftest.
$ac_objext
19122 if { (ac_try
="$ac_compile"
19123 case "(($ac_try" in
19124 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19125 *) ac_try_echo=$ac_try;;
19127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19128 (eval "$ac_compile") 2>conftest.er1
19130 grep -v '^ *+' conftest.er1 >conftest.err
19132 cat conftest.err >&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); } && {
19135 test -z "$ac_c_werror_flag" ||
19136 test ! -s conftest.err
19137 } && test -s conftest.$ac_objext; then
19138 ac_cv_member_struct_mtget_mt_blksiz=yes
19140 echo "$as_me: failed program was:" >&5
19141 sed 's/^/| /' conftest.$ac_ext >&5
19143 ac_cv_member_struct_mtget_mt_blksiz=no
19146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19151 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19152 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19153 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19155 cat >>confdefs.h <<_ACEOF
19156 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19161 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19162 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19163 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19164 echo $ECHO_N "(cached) $ECHO_C" >&6
19166 cat >conftest.$ac_ext <<_ACEOF
19169 cat confdefs.h >>conftest.$ac_ext
19170 cat >>conftest.$ac_ext <<_ACEOF
19171 /* end confdefs.h. */
19172 #include <sys/types.h>
19173 #ifdef HAVE_SYS_MTIO_H
19174 #include <sys/mtio.h>
19180 static struct mtget ac_aggr;
19181 if (ac_aggr.mt_gstat)
19187 rm -f conftest.$ac_objext
19188 if { (ac_try="$ac_compile"
19189 case "(($ac_try" in
19190 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19191 *) ac_try_echo
=$ac_try;;
19193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19194 (eval "$ac_compile") 2>conftest.er1
19196 grep -v '^ *+' conftest.er1
>conftest.err
19198 cat conftest.err
>&5
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); } && {
19201 test -z "$ac_c_werror_flag" ||
19202 test ! -s conftest.err
19203 } && test -s conftest.
$ac_objext; then
19204 ac_cv_member_struct_mtget_mt_gstat
=yes
19206 echo "$as_me: failed program was:" >&5
19207 sed 's/^/| /' conftest.
$ac_ext >&5
19209 cat >conftest.
$ac_ext <<_ACEOF
19212 cat confdefs.h
>>conftest.
$ac_ext
19213 cat >>conftest.
$ac_ext <<_ACEOF
19214 /* end confdefs.h. */
19215 #include <sys/types.h>
19216 #ifdef HAVE_SYS_MTIO_H
19217 #include <sys/mtio.h>
19223 static struct mtget ac_aggr;
19224 if (sizeof ac_aggr.mt_gstat)
19230 rm -f conftest.
$ac_objext
19231 if { (ac_try
="$ac_compile"
19232 case "(($ac_try" in
19233 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19234 *) ac_try_echo=$ac_try;;
19236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19237 (eval "$ac_compile") 2>conftest.er1
19239 grep -v '^ *+' conftest.er1 >conftest.err
19241 cat conftest.err >&5
19242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19243 (exit $ac_status); } && {
19244 test -z "$ac_c_werror_flag" ||
19245 test ! -s conftest.err
19246 } && test -s conftest.$ac_objext; then
19247 ac_cv_member_struct_mtget_mt_gstat=yes
19249 echo "$as_me: failed program was:" >&5
19250 sed 's/^/| /' conftest.$ac_ext >&5
19252 ac_cv_member_struct_mtget_mt_gstat=no
19255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19260 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19261 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19262 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19264 cat >>confdefs.h <<_ACEOF
19265 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19270 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19271 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19272 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19273 echo $ECHO_N "(cached) $ECHO_C" >&6
19275 cat >conftest.$ac_ext <<_ACEOF
19278 cat confdefs.h >>conftest.$ac_ext
19279 cat >>conftest.$ac_ext <<_ACEOF
19280 /* end confdefs.h. */
19281 #include <sys/types.h>
19282 #ifdef HAVE_SYS_MTIO_H
19283 #include <sys/mtio.h>
19289 static struct mtget ac_aggr;
19290 if (ac_aggr.mt_blkno)
19296 rm -f conftest.$ac_objext
19297 if { (ac_try="$ac_compile"
19298 case "(($ac_try" in
19299 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19300 *) ac_try_echo
=$ac_try;;
19302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19303 (eval "$ac_compile") 2>conftest.er1
19305 grep -v '^ *+' conftest.er1
>conftest.err
19307 cat conftest.err
>&5
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); } && {
19310 test -z "$ac_c_werror_flag" ||
19311 test ! -s conftest.err
19312 } && test -s conftest.
$ac_objext; then
19313 ac_cv_member_struct_mtget_mt_blkno
=yes
19315 echo "$as_me: failed program was:" >&5
19316 sed 's/^/| /' conftest.
$ac_ext >&5
19318 cat >conftest.
$ac_ext <<_ACEOF
19321 cat confdefs.h
>>conftest.
$ac_ext
19322 cat >>conftest.
$ac_ext <<_ACEOF
19323 /* end confdefs.h. */
19324 #include <sys/types.h>
19325 #ifdef HAVE_SYS_MTIO_H
19326 #include <sys/mtio.h>
19332 static struct mtget ac_aggr;
19333 if (sizeof ac_aggr.mt_blkno)
19339 rm -f conftest.
$ac_objext
19340 if { (ac_try
="$ac_compile"
19341 case "(($ac_try" in
19342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19343 *) ac_try_echo=$ac_try;;
19345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19346 (eval "$ac_compile") 2>conftest.er1
19348 grep -v '^ *+' conftest.er1 >conftest.err
19350 cat conftest.err >&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); } && {
19353 test -z "$ac_c_werror_flag" ||
19354 test ! -s conftest.err
19355 } && test -s conftest.$ac_objext; then
19356 ac_cv_member_struct_mtget_mt_blkno=yes
19358 echo "$as_me: failed program was:" >&5
19359 sed 's/^/| /' conftest.$ac_ext >&5
19361 ac_cv_member_struct_mtget_mt_blkno=no
19364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19369 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19370 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19371 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19373 cat >>confdefs.h <<_ACEOF
19374 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19381 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19382 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19383 if test "${ac_cv_member_struct_option_name+set}" = set; then
19384 echo $ECHO_N "(cached) $ECHO_C" >&6
19386 cat >conftest.$ac_ext <<_ACEOF
19389 cat confdefs.h >>conftest.$ac_ext
19390 cat >>conftest.$ac_ext <<_ACEOF
19391 /* end confdefs.h. */
19392 #ifdef HAVE_GETOPT_H
19393 #include <getopt.h>
19399 static struct option ac_aggr;
19406 rm -f conftest.$ac_objext
19407 if { (ac_try="$ac_compile"
19408 case "(($ac_try" in
19409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19410 *) ac_try_echo
=$ac_try;;
19412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19413 (eval "$ac_compile") 2>conftest.er1
19415 grep -v '^ *+' conftest.er1
>conftest.err
19417 cat conftest.err
>&5
19418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19419 (exit $ac_status); } && {
19420 test -z "$ac_c_werror_flag" ||
19421 test ! -s conftest.err
19422 } && test -s conftest.
$ac_objext; then
19423 ac_cv_member_struct_option_name
=yes
19425 echo "$as_me: failed program was:" >&5
19426 sed 's/^/| /' conftest.
$ac_ext >&5
19428 cat >conftest.
$ac_ext <<_ACEOF
19431 cat confdefs.h
>>conftest.
$ac_ext
19432 cat >>conftest.
$ac_ext <<_ACEOF
19433 /* end confdefs.h. */
19434 #ifdef HAVE_GETOPT_H
19435 #include <getopt.h>
19441 static struct option ac_aggr;
19442 if (sizeof ac_aggr.name)
19448 rm -f conftest.
$ac_objext
19449 if { (ac_try
="$ac_compile"
19450 case "(($ac_try" in
19451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19452 *) ac_try_echo=$ac_try;;
19454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19455 (eval "$ac_compile") 2>conftest.er1
19457 grep -v '^ *+' conftest.er1 >conftest.err
19459 cat conftest.err >&5
19460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461 (exit $ac_status); } && {
19462 test -z "$ac_c_werror_flag" ||
19463 test ! -s conftest.err
19464 } && test -s conftest.$ac_objext; then
19465 ac_cv_member_struct_option_name=yes
19467 echo "$as_me: failed program was:" >&5
19468 sed 's/^/| /' conftest.$ac_ext >&5
19470 ac_cv_member_struct_option_name=no
19473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19478 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19479 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19480 if test $ac_cv_member_struct_option_name = yes; then
19482 cat >>confdefs.h <<_ACEOF
19483 #define HAVE_STRUCT_OPTION_NAME 1
19490 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19491 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19492 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19493 echo $ECHO_N "(cached) $ECHO_C" >&6
19495 cat >conftest.$ac_ext <<_ACEOF
19498 cat confdefs.h >>conftest.$ac_ext
19499 cat >>conftest.$ac_ext <<_ACEOF
19500 /* end confdefs.h. */
19501 $ac_includes_default
19505 static struct stat ac_aggr;
19506 if (ac_aggr.st_blocks)
19512 rm -f conftest.$ac_objext
19513 if { (ac_try="$ac_compile"
19514 case "(($ac_try" in
19515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19516 *) ac_try_echo
=$ac_try;;
19518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19519 (eval "$ac_compile") 2>conftest.er1
19521 grep -v '^ *+' conftest.er1
>conftest.err
19523 cat conftest.err
>&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } && {
19526 test -z "$ac_c_werror_flag" ||
19527 test ! -s conftest.err
19528 } && test -s conftest.
$ac_objext; then
19529 ac_cv_member_struct_stat_st_blocks
=yes
19531 echo "$as_me: failed program was:" >&5
19532 sed 's/^/| /' conftest.
$ac_ext >&5
19534 cat >conftest.
$ac_ext <<_ACEOF
19537 cat confdefs.h
>>conftest.
$ac_ext
19538 cat >>conftest.
$ac_ext <<_ACEOF
19539 /* end confdefs.h. */
19540 $ac_includes_default
19544 static struct stat ac_aggr;
19545 if (sizeof ac_aggr.st_blocks)
19551 rm -f conftest.
$ac_objext
19552 if { (ac_try
="$ac_compile"
19553 case "(($ac_try" in
19554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19555 *) ac_try_echo=$ac_try;;
19557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19558 (eval "$ac_compile") 2>conftest.er1
19560 grep -v '^ *+' conftest.er1 >conftest.err
19562 cat conftest.err >&5
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); } && {
19565 test -z "$ac_c_werror_flag" ||
19566 test ! -s conftest.err
19567 } && test -s conftest.$ac_objext; then
19568 ac_cv_member_struct_stat_st_blocks=yes
19570 echo "$as_me: failed program was:" >&5
19571 sed 's/^/| /' conftest.$ac_ext >&5
19573 ac_cv_member_struct_stat_st_blocks=no
19576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19581 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19582 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19583 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19585 cat >>confdefs.h <<_ACEOF
19586 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19593 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19594 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19595 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19596 echo $ECHO_N "(cached) $ECHO_C" >&6
19598 cat >conftest.$ac_ext <<_ACEOF
19601 cat confdefs.h >>conftest.$ac_ext
19602 cat >>conftest.$ac_ext <<_ACEOF
19603 /* end confdefs.h. */
19604 #ifdef HAVE_SYS_TYPES_H
19605 #include <sys/types.h>
19607 #ifdef HAVE_NETINET_IN_H
19608 #include <netinet/in.h>
19614 static struct sockaddr_in6 ac_aggr;
19615 if (ac_aggr.sin6_scope_id)
19621 rm -f conftest.$ac_objext
19622 if { (ac_try="$ac_compile"
19623 case "(($ac_try" in
19624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19625 *) ac_try_echo
=$ac_try;;
19627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19628 (eval "$ac_compile") 2>conftest.er1
19630 grep -v '^ *+' conftest.er1
>conftest.err
19632 cat conftest.err
>&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); } && {
19635 test -z "$ac_c_werror_flag" ||
19636 test ! -s conftest.err
19637 } && test -s conftest.
$ac_objext; then
19638 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19640 echo "$as_me: failed program was:" >&5
19641 sed 's/^/| /' conftest.
$ac_ext >&5
19643 cat >conftest.
$ac_ext <<_ACEOF
19646 cat confdefs.h
>>conftest.
$ac_ext
19647 cat >>conftest.
$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 #ifdef HAVE_SYS_TYPES_H
19650 #include <sys/types.h>
19652 #ifdef HAVE_NETINET_IN_H
19653 #include <netinet/in.h>
19659 static struct sockaddr_in6 ac_aggr;
19660 if (sizeof ac_aggr.sin6_scope_id)
19666 rm -f conftest.
$ac_objext
19667 if { (ac_try
="$ac_compile"
19668 case "(($ac_try" in
19669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19670 *) ac_try_echo=$ac_try;;
19672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19673 (eval "$ac_compile") 2>conftest.er1
19675 grep -v '^ *+' conftest.er1 >conftest.err
19677 cat conftest.err >&5
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); } && {
19680 test -z "$ac_c_werror_flag" ||
19681 test ! -s conftest.err
19682 } && test -s conftest.$ac_objext; then
19683 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19685 echo "$as_me: failed program was:" >&5
19686 sed 's/^/| /' conftest.$ac_ext >&5
19688 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19696 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19697 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19698 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19700 cat >>confdefs.h <<_ACEOF
19701 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19708 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19709 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19710 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19711 echo $ECHO_N "(cached) $ECHO_C" >&6
19713 cat >conftest.$ac_ext <<_ACEOF
19716 cat confdefs.h >>conftest.$ac_ext
19717 cat >>conftest.$ac_ext <<_ACEOF
19718 /* end confdefs.h. */
19719 #ifdef HAVE_SYS_TYPES_H
19720 #include <sys/types.h>
19722 #ifdef HAVE_NETINET_IN_H
19723 # include <netinet/in.h>
19725 #ifdef HAVE_ARPA_NAMESER_H
19726 # include <arpa/nameser.h>
19732 static ns_msg ac_aggr;
19733 if (ac_aggr._msg_ptr)
19739 rm -f conftest.$ac_objext
19740 if { (ac_try="$ac_compile"
19741 case "(($ac_try" in
19742 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19743 *) ac_try_echo
=$ac_try;;
19745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19746 (eval "$ac_compile") 2>conftest.er1
19748 grep -v '^ *+' conftest.er1
>conftest.err
19750 cat conftest.err
>&5
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); } && {
19753 test -z "$ac_c_werror_flag" ||
19754 test ! -s conftest.err
19755 } && test -s conftest.
$ac_objext; then
19756 ac_cv_member_ns_msg__msg_ptr
=yes
19758 echo "$as_me: failed program was:" >&5
19759 sed 's/^/| /' conftest.
$ac_ext >&5
19761 cat >conftest.
$ac_ext <<_ACEOF
19764 cat confdefs.h
>>conftest.
$ac_ext
19765 cat >>conftest.
$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19767 #ifdef HAVE_SYS_TYPES_H
19768 #include <sys/types.h>
19770 #ifdef HAVE_NETINET_IN_H
19771 # include <netinet/in.h>
19773 #ifdef HAVE_ARPA_NAMESER_H
19774 # include <arpa/nameser.h>
19780 static ns_msg ac_aggr;
19781 if (sizeof ac_aggr._msg_ptr)
19787 rm -f conftest.
$ac_objext
19788 if { (ac_try
="$ac_compile"
19789 case "(($ac_try" in
19790 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19791 *) ac_try_echo=$ac_try;;
19793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19794 (eval "$ac_compile") 2>conftest.er1
19796 grep -v '^ *+' conftest.er1 >conftest.err
19798 cat conftest.err >&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); } && {
19801 test -z "$ac_c_werror_flag" ||
19802 test ! -s conftest.err
19803 } && test -s conftest.$ac_objext; then
19804 ac_cv_member_ns_msg__msg_ptr=yes
19806 echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.$ac_ext >&5
19809 ac_cv_member_ns_msg__msg_ptr=no
19812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19817 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19818 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19819 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19821 cat >>confdefs.h <<_ACEOF
19822 #define HAVE_NS_MSG__MSG_PTR 1
19829 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19830 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19831 if test "${ac_cv_have_timezone+set}" = set; then
19832 echo $ECHO_N "(cached) $ECHO_C" >&6
19834 cat >conftest.$ac_ext <<_ACEOF
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19849 rm -f conftest.$ac_objext conftest$ac_exeext
19850 if { (ac_try="$ac_link"
19851 case "(($ac_try" in
19852 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19853 *) ac_try_echo
=$ac_try;;
19855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19856 (eval "$ac_link") 2>conftest.er1
19858 grep -v '^ *+' conftest.er1
>conftest.err
19860 cat conftest.err
>&5
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); } && {
19863 test -z "$ac_c_werror_flag" ||
19864 test ! -s conftest.err
19865 } && test -s conftest
$ac_exeext &&
19866 $as_test_x conftest
$ac_exeext; then
19867 ac_cv_have_timezone
="yes"
19869 echo "$as_me: failed program was:" >&5
19870 sed 's/^/| /' conftest.
$ac_ext >&5
19872 ac_cv_have_timezone
="no"
19875 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19876 conftest
$ac_exeext conftest.
$ac_ext
19878 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19879 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19880 if test "$ac_cv_have_timezone" = "yes"
19883 cat >>confdefs.h
<<\_ACEOF
19884 #define HAVE_TIMEZONE 1
19888 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19889 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19890 if test "${ac_cv_have_daylight+set}" = set; then
19891 echo $ECHO_N "(cached) $ECHO_C" >&6
19893 cat >conftest.
$ac_ext <<_ACEOF
19896 cat confdefs.h
>>conftest.
$ac_ext
19897 cat >>conftest.
$ac_ext <<_ACEOF
19898 /* end confdefs.h. */
19908 rm -f conftest.
$ac_objext conftest
$ac_exeext
19909 if { (ac_try
="$ac_link"
19910 case "(($ac_try" in
19911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19912 *) ac_try_echo=$ac_try;;
19914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19915 (eval "$ac_link") 2>conftest.er1
19917 grep -v '^ *+' conftest.er1 >conftest.err
19919 cat conftest.err >&5
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); } && {
19922 test -z "$ac_c_werror_flag" ||
19923 test ! -s conftest.err
19924 } && test -s conftest$ac_exeext &&
19925 $as_test_x conftest$ac_exeext; then
19926 ac_cv_have_daylight="yes"
19928 echo "$as_me: failed program was:" >&5
19929 sed 's/^/| /' conftest.$ac_ext >&5
19931 ac_cv_have_daylight="no"
19934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19935 conftest$ac_exeext conftest.$ac_ext
19937 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
19938 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
19939 if test "$ac_cv_have_daylight" = "yes"
19942 cat >>confdefs.h <<\_ACEOF
19943 #define HAVE_DAYLIGHT 1
19950 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19951 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
19952 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19953 echo $ECHO_N "(cached) $ECHO_C" >&6
19955 cat >conftest.$ac_ext <<_ACEOF
19958 cat confdefs.h >>conftest.$ac_ext
19959 cat >>conftest.$ac_ext <<_ACEOF
19960 /* end confdefs.h. */
19965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19966 $EGREP "yes" >/dev/null 2>&1; then
19967 ac_cv_cpp_def___i386__=yes
19969 ac_cv_cpp_def___i386__=no
19974 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19975 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
19976 if test $ac_cv_cpp_def___i386__ = yes; then
19977 CFLAGS="$CFLAGS -D__i386__"
19978 LINTFLAGS="$LINTFLAGS -D__i386__"
19981 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
19982 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
19983 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
19984 echo $ECHO_N "(cached) $ECHO_C" >&6
19986 cat >conftest.$ac_ext <<_ACEOF
19989 cat confdefs.h >>conftest.$ac_ext
19990 cat >>conftest.$ac_ext <<_ACEOF
19991 /* end confdefs.h. */
19996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19997 $EGREP "yes" >/dev/null 2>&1; then
19998 ac_cv_cpp_def___x86_64__=yes
20000 ac_cv_cpp_def___x86_64__=no
20005 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20006 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20007 if test $ac_cv_cpp_def___x86_64__ = yes; then
20008 CFLAGS="$CFLAGS -D__x86_64__"
20009 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20012 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20013 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20014 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20015 echo $ECHO_N "(cached) $ECHO_C" >&6
20017 cat >conftest.$ac_ext <<_ACEOF
20020 cat confdefs.h >>conftest.$ac_ext
20021 cat >>conftest.$ac_ext <<_ACEOF
20022 /* end confdefs.h. */
20027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20028 $EGREP "yes" >/dev/null 2>&1; then
20029 ac_cv_cpp_def___ALPHA__=yes
20031 ac_cv_cpp_def___ALPHA__=no
20036 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20037 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20038 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20039 CFLAGS="$CFLAGS -D__ALPHA__"
20040 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20043 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20044 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20045 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20046 echo $ECHO_N "(cached) $ECHO_C" >&6
20048 cat >conftest.$ac_ext <<_ACEOF
20051 cat confdefs.h >>conftest.$ac_ext
20052 cat >>conftest.$ac_ext <<_ACEOF
20053 /* end confdefs.h. */
20058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20059 $EGREP "yes" >/dev/null 2>&1; then
20060 ac_cv_cpp_def___sparc__=yes
20062 ac_cv_cpp_def___sparc__=no
20067 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20068 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20069 if test $ac_cv_cpp_def___sparc__ = yes; then
20070 CFLAGS="$CFLAGS -D__sparc__"
20071 LINTFLAGS="$LINTFLAGS -D__sparc__"
20074 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20075 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20076 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20077 echo $ECHO_N "(cached) $ECHO_C" >&6
20079 cat >conftest.$ac_ext <<_ACEOF
20082 cat confdefs.h >>conftest.$ac_ext
20083 cat >>conftest.$ac_ext <<_ACEOF
20084 /* end confdefs.h. */
20085 #ifndef __powerpc__
20089 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20090 $EGREP "yes" >/dev/null 2>&1; then
20091 ac_cv_cpp_def___powerpc__=yes
20093 ac_cv_cpp_def___powerpc__=no
20098 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20099 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20100 if test $ac_cv_cpp_def___powerpc__ = yes; then
20101 CFLAGS="$CFLAGS -D__powerpc__"
20102 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20107 case $host_vendor in
20108 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20109 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20110 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20111 echo $ECHO_N "(cached) $ECHO_C" >&6
20113 cat >conftest.$ac_ext <<_ACEOF
20116 cat confdefs.h >>conftest.$ac_ext
20117 cat >>conftest.$ac_ext <<_ACEOF
20118 /* end confdefs.h. */
20123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20124 $EGREP "yes" >/dev/null 2>&1; then
20125 ac_cv_cpp_def___sun__=yes
20127 ac_cv_cpp_def___sun__=no
20132 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20133 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20134 if test $ac_cv_cpp_def___sun__ = yes; then
20135 CFLAGS="$CFLAGS -D__sun__"
20136 LINTFLAGS="$LINTFLAGS -D__sun__"
20142 DEPENDENCIES="### Dependencies:
20147 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20149 \$(OBJS): \$(IDL_GEN_HEADERS)
20150 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20151 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20152 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20158 ac_config_commands="$ac_config_commands include/stamp-h"
20161 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20163 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20165 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20167 ac_config_commands="$ac_config_commands dlls/user32/resources"
20169 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20171 ac_config_commands="$ac_config_commands include/wine"
20174 MAKE_RULES=Make.rules
20177 MAKE_DLL_RULES=dlls/Makedll.rules
20180 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20183 MAKE_TEST_RULES=dlls/Maketest.rules
20186 MAKE_PROG_RULES=programs/Makeprog.rules
20189 ac_config_files="$ac_config_files Make.rules"
20191 ac_config_files="$ac_config_files dlls/Makedll.rules"
20193 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20195 ac_config_files="$ac_config_files dlls/Maketest.rules"
20197 ac_config_files="$ac_config_files programs/Makeprog.rules"
20199 ac_config_files="$ac_config_files Makefile"
20201 ac_config_files="$ac_config_files dlls/Makefile"
20203 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20205 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20207 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20209 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20211 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20213 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20215 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20217 ac_config_files="$ac_config_files dlls/atl/Makefile"
20219 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20221 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20223 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20225 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20227 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20229 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20231 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20233 ac_config_files="$ac_config_files dlls/cards/Makefile"
20235 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20237 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20239 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20241 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20243 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20245 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20247 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20249 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20251 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20253 ac_config_files="$ac_config_files dlls/credui/Makefile"
20255 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20257 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20259 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20261 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20263 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20265 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20267 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20269 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20271 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20273 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20275 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20277 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20279 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20281 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20283 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20285 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20287 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20289 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20291 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20293 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20295 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20297 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20299 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20301 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20303 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20305 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20307 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20309 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20311 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20313 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20315 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20317 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20319 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20321 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20323 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20325 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20327 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20329 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20331 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20333 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20335 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20337 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20339 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
20341 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20343 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20345 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20347 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20349 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20351 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20353 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20355 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20357 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
20359 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20361 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20363 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20365 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20367 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20369 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20371 ac_config_files="$ac_config_files dlls/hal/Makefile"
20373 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20375 ac_config_files="$ac_config_files dlls/hid/Makefile"
20377 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20379 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20381 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20383 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20385 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20387 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20389 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20391 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20393 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20395 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20397 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20399 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20401 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20403 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20405 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20407 ac_config_files="$ac_config_files dlls/itss/Makefile"
20409 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20411 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20413 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20415 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20417 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20419 ac_config_files="$ac_config_files dlls/localui/Makefile"
20421 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20423 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20425 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20427 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20429 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20431 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20433 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20435 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20437 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20439 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20441 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20443 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20445 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20447 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20449 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20451 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20453 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20455 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20457 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20459 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20461 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20463 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20465 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20467 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20469 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20471 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20473 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20475 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20477 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20479 ac_config_files="$ac_config_files dlls/msi/Makefile"
20481 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20483 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20485 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20487 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20489 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20491 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20493 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20495 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20497 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20499 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20501 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20503 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20505 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20507 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20509 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20511 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20513 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20515 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20517 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20519 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20521 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20523 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20525 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20527 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20529 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20531 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20533 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20535 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20537 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20539 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20541 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20543 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20545 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20547 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20549 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20551 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20553 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20555 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20557 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20559 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
20561 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20563 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
20565 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20567 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20569 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20571 ac_config_files="$ac_config_files dlls/printui/Makefile"
20573 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20575 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20577 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20579 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20581 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20583 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20585 ac_config_files="$ac_config_files dlls/query/Makefile"
20587 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20589 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20591 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20593 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20595 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20597 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20599 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20601 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20603 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20605 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20607 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20609 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20611 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20613 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20615 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20617 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20619 ac_config_files="$ac_config_files dlls/security/Makefile"
20621 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20623 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20625 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20627 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20629 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20631 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20633 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20635 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20637 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20639 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20641 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20643 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20645 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20647 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20649 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20651 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20653 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20655 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20657 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20659 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20661 ac_config_files="$ac_config_files dlls/sti/Makefile"
20663 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20665 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20667 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20669 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20671 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20673 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20675 ac_config_files="$ac_config_files dlls/url/Makefile"
20677 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20679 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20681 ac_config_files="$ac_config_files dlls/user32/Makefile"
20683 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20685 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20687 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20689 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20691 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20693 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20695 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20697 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20699 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20701 ac_config_files="$ac_config_files dlls/version/Makefile"
20703 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20705 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20707 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20709 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20711 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20713 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20715 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20717 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20719 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20721 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20723 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20725 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20727 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20729 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20731 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20733 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20735 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20737 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20739 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20741 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20743 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20745 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20747 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20749 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
20751 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20753 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20755 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20757 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20759 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20761 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20763 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20765 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20767 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20769 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20771 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20773 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20775 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20777 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20779 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20781 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20783 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20785 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20787 ac_config_files="$ac_config_files documentation/Makefile"
20789 ac_config_files="$ac_config_files fonts/Makefile"
20791 ac_config_files="$ac_config_files include/Makefile"
20793 ac_config_files="$ac_config_files libs/Makefile"
20795 ac_config_files="$ac_config_files libs/port/Makefile"
20797 ac_config_files="$ac_config_files libs/wine/Makefile"
20799 ac_config_files="$ac_config_files libs/wpp/Makefile"
20801 ac_config_files="$ac_config_files loader/Makefile"
20803 ac_config_files="$ac_config_files programs/Makefile"
20805 ac_config_files="$ac_config_files programs/clock/Makefile"
20807 ac_config_files="$ac_config_files programs/cmd/Makefile"
20809 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20811 ac_config_files="$ac_config_files programs/control/Makefile"
20813 ac_config_files="$ac_config_files programs/eject/Makefile"
20815 ac_config_files="$ac_config_files programs/expand/Makefile"
20817 ac_config_files="$ac_config_files programs/explorer/Makefile"
20819 ac_config_files="$ac_config_files programs/hh/Makefile"
20821 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20823 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20825 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20827 ac_config_files="$ac_config_files programs/net/Makefile"
20829 ac_config_files="$ac_config_files programs/notepad/Makefile"
20831 ac_config_files="$ac_config_files programs/oleview/Makefile"
20833 ac_config_files="$ac_config_files programs/progman/Makefile"
20835 ac_config_files="$ac_config_files programs/regedit/Makefile"
20837 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20839 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20841 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20843 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20845 ac_config_files="$ac_config_files programs/start/Makefile"
20847 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20849 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20851 ac_config_files="$ac_config_files programs/view/Makefile"
20853 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20855 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20857 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20859 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20861 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20863 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20865 ac_config_files="$ac_config_files programs/winefile/Makefile"
20867 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20869 ac_config_files="$ac_config_files programs/winemine/Makefile"
20871 ac_config_files="$ac_config_files programs/winepath/Makefile"
20873 ac_config_files="$ac_config_files programs/winetest/Makefile"
20875 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20877 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20879 ac_config_files="$ac_config_files programs/winver/Makefile"
20881 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20883 ac_config_files="$ac_config_files programs/write/Makefile"
20885 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20887 ac_config_files="$ac_config_files server/Makefile"
20889 ac_config_files="$ac_config_files tools/Makefile"
20891 ac_config_files="$ac_config_files tools/widl/Makefile"
20893 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20895 ac_config_files="$ac_config_files tools/winedump/Makefile"
20897 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20899 ac_config_files="$ac_config_files tools/wmc/Makefile"
20901 ac_config_files="$ac_config_files tools/wrc/Makefile"
20904 cat >confcache <<\_ACEOF
20905 # This file is a shell script that caches the results of configure
20906 # tests run on this system so they can be shared between configure
20907 # scripts and configure runs, see configure's option --config-cache.
20908 # It is not useful on other systems. If it contains results you don't
20909 # want to keep, you may remove or edit it.
20911 # config.status only pays attention to the cache file if you give it
20912 # the --recheck option to rerun configure.
20914 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20915 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20916 # following values.
20920 # The following way of writing the cache mishandles newlines in values,
20921 # but we know of no workaround that is simple, portable, and efficient.
20922 # So, we kill variables containing newlines.
20923 # Ultrix sh set writes to stderr and can't be redirected directly,
20924 # and sets the high bit in the cache file unless we assign to the vars.
20926 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20927 eval ac_val
=\$
$ac_var
20931 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20932 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20935 _ | IFS | as_nl
) ;; #(
20936 *) $as_unset $ac_var ;;
20942 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20943 *${as_nl}ac_space
=\
*)
20944 # `set' does not quote correctly, so add quotes (double-quote
20945 # substitution turns \\\\ into \\, and sed turns \\ into \).
20948 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20951 # `set' quotes correctly as required by POSIX, so do not add quotes.
20952 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20961 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20963 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20965 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20966 if test -w "$cache_file"; then
20967 test "x$cache_file" != "x/dev/null" &&
20968 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20969 echo "$as_me: updating cache $cache_file" >&6;}
20970 cat confcache
>$cache_file
20972 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20973 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20978 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20979 # Let make expand exec_prefix.
20980 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20982 DEFS
=-DHAVE_CONFIG_H
20986 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20987 # 1. Remove the extension, and $U if already installed.
20988 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20989 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20990 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20991 # will be set to the directory where LIBOBJS objects are built.
20992 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20993 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20995 LIBOBJS
=$ac_libobjs
20997 LTLIBOBJS
=$ac_ltlibobjs
21001 : ${CONFIG_STATUS=./config.status}
21002 ac_clean_files_save
=$ac_clean_files
21003 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21004 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21005 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21006 cat >$CONFIG_STATUS <<_ACEOF
21008 # Generated by $as_me.
21009 # Run this file to recreate the current configuration.
21010 # Compiler output produced by configure, useful for debugging
21011 # configure, is in config.log if it exists.
21014 ac_cs_recheck=false
21016 SHELL=\${CONFIG_SHELL-$SHELL}
21019 cat >>$CONFIG_STATUS <<\_ACEOF
21020 ## --------------------- ##
21021 ## M4sh Initialization. ##
21022 ## --------------------- ##
21024 # Be more Bourne compatible
21025 DUALCASE
=1; export DUALCASE
# for MKS sh
21026 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21029 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21030 # is contrary to our usage. Disable this feature.
21031 alias -g '${1+"$@"}'='"$@"'
21032 setopt NO_GLOB_SUBST
21034 case `(set -o) 2>/dev/null` in
21035 *posix
*) set -o posix
;;
21044 # Avoid depending upon Character Ranges.
21045 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21046 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21047 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21048 as_cr_digits
='0123456789'
21049 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21051 # The user is always right.
21052 if test "${PATH_SEPARATOR+set}" != set; then
21053 echo "#! /bin/sh" >conf$$.sh
21054 echo "exit 0" >>conf$$.sh
21056 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21064 # Support unset when possible.
21065 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21073 # We need space, tab and new line, in precisely that order. Quoting is
21074 # there to prevent editors from complaining about space-tab.
21075 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21076 # splitting by setting IFS to empty value.)
21081 # Find who we are. Look in the path if we contain no directory separator.
21083 *[\\/]* ) as_myself
=$0 ;;
21084 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21085 for as_dir
in $PATH
21088 test -z "$as_dir" && as_dir
=.
21089 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21095 # We did not find ourselves, most probably we were run as `sh COMMAND'
21096 # in which case we are not to be found in the path.
21097 if test "x$as_myself" = x
; then
21100 if test ! -f "$as_myself"; then
21101 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21102 { (exit 1); exit 1; }
21105 # Work around bugs in pre-3.0 UWIN ksh.
21106 for as_var
in ENV MAIL MAILPATH
21107 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21115 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21116 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21117 LC_TELEPHONE LC_TIME
21119 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21120 eval $as_var=C
; export $as_var
21122 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21126 # Required to use basename.
21127 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21128 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21134 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21135 as_basename
=basename
21141 # Name of the executable.
21142 as_me
=`$as_basename -- "$0" ||
21143 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21144 X"$0" : 'X\(//\)$' \| \
21145 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21147 sed '/^.*\/\([^/][^/]*\)\/*$/{
21166 as_lineno_1
=$LINENO
21167 as_lineno_2
=$LINENO
21168 test "x$as_lineno_1" != "x$as_lineno_2" &&
21169 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21171 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21172 # uniformly replaced by the line number. The first 'sed' inserts a
21173 # line-number line after each line using $LINENO; the second 'sed'
21174 # does the real work. The second script uses 'N' to pair each
21175 # line-number line with the line containing $LINENO, and appends
21176 # trailing '-' during substitution so that $LINENO is not a special
21177 # case at line end.
21178 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21179 # scripts with optimization help from Paolo Bonzini. Blame Lee
21180 # E. McMahon (1931-1989) for sed's syntax. :-)
21192 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21195 ' >$as_me.lineno
&&
21196 chmod +x
"$as_me.lineno" ||
21197 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21198 { (exit 1); exit 1; }; }
21200 # Don't try to exec as it changes $[0], causing all sort of problems
21201 # (the dirname of $[0] is not the place where we might find the
21202 # original and so on. Autoconf is especially sensitive to this).
21203 .
"./$as_me.lineno"
21204 # Exit status is that of the last command.
21209 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21215 ECHO_C
= ECHO_N
= ECHO_T
=
21216 case `echo -n x` in
21218 case `echo 'x\c'` in
21219 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21226 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21227 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21233 rm -f conf$$ conf$$.exe conf$$.
file
21234 if test -d conf$$.dir
; then
21235 rm -f conf$$.dir
/conf$$.
file
21241 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21243 # ... but there are two gotchas:
21244 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21245 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21246 # In both cases, we have to default to `cp -p'.
21247 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21249 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21254 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21255 rmdir conf$$.dir
2>/dev
/null
21257 if mkdir
-p .
2>/dev
/null
; then
21260 test -d .
/-p && rmdir .
/-p
21264 if test -x / >/dev
/null
2>&1; then
21265 as_test_x
='test -x'
21267 if ls -dL / >/dev
/null
2>&1; then
21274 if test -d "$1"; then
21280 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21281 ???[sx]*):;;*)false;;esac;fi
21285 as_executable_p
=$as_test_x
21287 # Sed expression to map a string onto a valid CPP name.
21288 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21290 # Sed expression to map a string onto a valid variable name.
21291 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21296 # Save the log message, to keep $[0] and so on meaningful, and to
21297 # report actual input values of CONFIG_FILES etc. instead of their
21298 # values after options handling.
21300 This file was extended by Wine $as_me 0.9.45, which was
21301 generated by GNU Autoconf 2.61. Invocation command line was
21303 CONFIG_FILES = $CONFIG_FILES
21304 CONFIG_HEADERS = $CONFIG_HEADERS
21305 CONFIG_LINKS = $CONFIG_LINKS
21306 CONFIG_COMMANDS = $CONFIG_COMMANDS
21309 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21314 cat >>$CONFIG_STATUS <<_ACEOF
21315 # Files that config.status was made for.
21316 config_files="$ac_config_files"
21317 config_headers="$ac_config_headers"
21318 config_commands="$ac_config_commands"
21322 cat >>$CONFIG_STATUS <<\_ACEOF
21324 \`$as_me' instantiates files from templates according to the
21325 current configuration.
21327 Usage: $0 [OPTIONS] [FILE]...
21329 -h, --help print this help, then exit
21330 -V, --version print version number and configuration settings, then exit
21331 -q, --quiet do not print progress messages
21332 -d, --debug don't remove temporary files
21333 --recheck update $as_me by reconfiguring in the same conditions
21334 --file=FILE[:TEMPLATE]
21335 instantiate the configuration file FILE
21336 --header=FILE[:TEMPLATE]
21337 instantiate the configuration header FILE
21339 Configuration files:
21342 Configuration headers:
21345 Configuration commands:
21348 Report bugs to <bug-autoconf@gnu.org>."
21351 cat >>$CONFIG_STATUS <<_ACEOF
21353 Wine config.status 0.9.45
21354 configured by $0, generated by GNU Autoconf 2.61,
21355 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21357 Copyright (C) 2006 Free Software Foundation, Inc.
21358 This config.status script is free software; the Free Software Foundation
21359 gives unlimited permission to copy, distribute and modify it."
21366 cat >>$CONFIG_STATUS <<\_ACEOF
21367 # If no file are specified by the user, then we need to provide default
21368 # value. By we need to know if files were specified by the user.
21374 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21375 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21386 # Handling of the options.
21387 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21389 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21390 echo "$ac_cs_version"; exit ;;
21391 --debug |
--debu |
--deb |
--de |
--d |
-d )
21393 --file |
--fil |
--fi |
--f )
21395 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21396 ac_need_defaults
=false
;;
21397 --header |
--heade |
--head |
--hea )
21399 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21400 ac_need_defaults
=false
;;
21402 # Conflict between --help and --header
21403 { echo "$as_me: error: ambiguous option: $1
21404 Try \`$0 --help' for more information." >&2
21405 { (exit 1); exit 1; }; };;
21406 --help |
--hel |
-h )
21407 echo "$ac_cs_usage"; exit ;;
21408 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21409 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21412 # This is an error.
21413 -*) { echo "$as_me: error: unrecognized option: $1
21414 Try \`$0 --help' for more information." >&2
21415 { (exit 1); exit 1; }; } ;;
21417 *) ac_config_targets
="$ac_config_targets $1"
21418 ac_need_defaults
=false
;;
21424 ac_configure_extra_args
=
21426 if $ac_cs_silent; then
21428 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21432 cat >>$CONFIG_STATUS <<_ACEOF
21433 if \$ac_cs_recheck; then
21434 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21435 CONFIG_SHELL=$SHELL
21436 export CONFIG_SHELL
21437 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21441 cat >>$CONFIG_STATUS <<\_ACEOF
21445 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21446 ## Running $as_me. ##
21452 cat >>$CONFIG_STATUS <<_ACEOF
21455 cat >>$CONFIG_STATUS <<\_ACEOF
21457 # Handling of arguments.
21458 for ac_config_target
in $ac_config_targets
21460 case $ac_config_target in
21461 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21462 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
21463 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21464 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21465 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21466 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
21467 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21468 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21469 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
21470 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
21471 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21472 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
21473 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
21474 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21475 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
21476 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
21477 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
21478 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21479 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21480 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
21481 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21482 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
21483 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
21484 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21485 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21486 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
21487 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21488 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21489 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21490 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21491 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
21492 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21493 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21494 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
21495 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21496 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21497 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21498 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21499 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21500 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
21501 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
21502 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21503 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21504 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21505 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21506 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21507 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21508 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21509 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21510 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21511 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21512 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21513 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21514 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21515 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21516 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21517 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21518 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21519 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21520 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21521 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21522 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21523 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
21524 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
21525 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21526 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21527 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
21528 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21529 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
21530 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21531 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21532 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21533 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21534 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21535 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21536 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21537 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21538 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
21539 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21540 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21541 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21542 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21543 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21544 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
21545 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
21546 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21547 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
21548 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21549 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21550 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21551 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21552 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21553 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21554 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21555 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21556 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21557 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21558 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
21559 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21560 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
21561 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21562 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
21563 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
21564 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21565 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21566 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21567 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
21568 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21569 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21570 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21571 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
21572 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21573 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21574 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21575 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
21576 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21577 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21578 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
21579 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21580 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21581 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21582 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
21583 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21584 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
21585 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21586 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
21587 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21588 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21589 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21590 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21591 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21592 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21593 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21594 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
21595 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
21596 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21597 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21598 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21599 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
21600 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21601 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21602 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21603 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21604 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21605 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
21606 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21607 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21608 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21609 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21610 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21611 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21612 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21613 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21614 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
21615 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21616 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21617 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21618 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21619 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21620 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21621 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21622 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21623 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21624 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21625 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21626 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21627 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21628 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21629 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21630 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21631 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21632 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21633 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21634 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
21635 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21636 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21637 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21638 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21639 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21640 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21641 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
21642 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21643 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21644 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21645 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
21646 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21647 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21648 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21649 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21650 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21651 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21652 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21653 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21654 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
21655 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21656 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
21657 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
21658 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
21659 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21660 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
21661 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
21662 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21663 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21664 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
21665 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
21666 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21667 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
21668 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21669 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
21670 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
21671 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21672 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
21673 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21674 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21675 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21676 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21677 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21678 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21679 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21680 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
21681 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21682 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
21683 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21684 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
21685 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21686 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
21687 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21688 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21689 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21690 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
21691 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21692 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21693 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21694 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21695 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
21696 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21697 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21698 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21699 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21700 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21701 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21702 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21703 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21704 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21705 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
21706 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21707 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21708 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
21709 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21710 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21711 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
21712 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
21713 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21714 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21715 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
21716 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21717 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
21718 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
21719 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21720 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
21721 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21722 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21723 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21724 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21725 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
21726 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21727 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21728 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21729 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21730 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21731 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21732 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21733 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21734 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21735 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21736 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21737 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21738 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
21739 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21740 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21741 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21742 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21743 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21744 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21745 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21746 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21747 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21748 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
21749 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
21750 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
21751 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21752 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
21753 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21754 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21755 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
21756 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21757 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21758 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21759 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21760 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21761 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21762 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21763 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
21764 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21765 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21766 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21767 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21768 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
21769 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
21770 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
21771 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
21772 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
21773 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
21774 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
21775 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
21776 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
21777 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
21778 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
21779 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21780 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
21781 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
21782 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
21783 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
21784 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
21785 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
21786 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
21787 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
21788 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
21789 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
21790 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
21791 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
21792 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
21793 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21794 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
21795 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
21796 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21797 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
21798 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21799 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21800 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
21801 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
21802 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21803 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
21804 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21805 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
21806 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
21807 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
21808 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21809 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
21810 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
21811 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
21812 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
21813 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
21814 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
21815 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
21816 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
21817 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
21818 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
21819 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
21820 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
21821 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
21822 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
21823 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
21824 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
21825 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
21827 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21828 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21829 { (exit 1); exit 1; }; };;
21834 # If the user did not use the arguments to specify the items to instantiate,
21835 # then the envvar interface is used. Set only those that are not.
21836 # We use the long form for the default assignment because of an extremely
21837 # bizarre bug on SunOS 4.1.3.
21838 if $ac_need_defaults; then
21839 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21840 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21841 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21844 # Have a temporary directory for convenience. Make it in the build tree
21845 # simply because there is no reason against having it here, and in addition,
21846 # creating and moving files from /tmp can sometimes cause problems.
21847 # Hook for its removal unless debugging.
21848 # Note that there is a small window in which the directory will not be cleaned:
21849 # after its creation but before its name has been assigned to `$tmp'.
21853 trap 'exit_status=$?
21854 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21856 trap '{ (exit 1); exit 1; }' 1 2 13 15
21858 # Create a (secure) tmp directory for tmp files.
21861 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21862 test -n "$tmp" && test -d "$tmp"
21865 tmp
=.
/conf$$
-$RANDOM
21866 (umask 077 && mkdir
"$tmp")
21869 echo "$me: cannot create a temporary directory in ." >&2
21870 { (exit 1); exit 1; }
21874 # Set up the sed scripts for CONFIG_FILES section.
21877 # No need to generate the scripts if there are no CONFIG_FILES.
21878 # This happens for instance when ./config.status config.h
21879 if test -n "$CONFIG_FILES"; then
21883 # Create sed commands to just substitute file output variables.
21885 # Remaining file output variables are in a fragment that also has non-file
21891 for ac_last_try
in false false false false false
:; do
21892 cat >conf$
$subs.
sed <<_ACEOF
21893 SHELL!$SHELL$ac_delim
21894 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21895 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21896 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21897 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21898 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21899 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21900 exec_prefix!$exec_prefix$ac_delim
21901 prefix!$prefix$ac_delim
21902 program_transform_name!$program_transform_name$ac_delim
21903 bindir!$bindir$ac_delim
21904 sbindir!$sbindir$ac_delim
21905 libexecdir!$libexecdir$ac_delim
21906 datarootdir!$datarootdir$ac_delim
21907 datadir!$datadir$ac_delim
21908 sysconfdir!$sysconfdir$ac_delim
21909 sharedstatedir!$sharedstatedir$ac_delim
21910 localstatedir!$localstatedir$ac_delim
21911 includedir!$includedir$ac_delim
21912 oldincludedir!$oldincludedir$ac_delim
21913 docdir!$docdir$ac_delim
21914 infodir!$infodir$ac_delim
21915 htmldir!$htmldir$ac_delim
21916 dvidir!$dvidir$ac_delim
21917 pdfdir!$pdfdir$ac_delim
21918 psdir!$psdir$ac_delim
21919 libdir!$libdir$ac_delim
21920 localedir!$localedir$ac_delim
21921 mandir!$mandir$ac_delim
21922 DEFS!$DEFS$ac_delim
21923 ECHO_C!$ECHO_C$ac_delim
21924 ECHO_N!$ECHO_N$ac_delim
21925 ECHO_T!$ECHO_T$ac_delim
21926 LIBS!$LIBS$ac_delim
21927 build_alias!$build_alias$ac_delim
21928 host_alias!$host_alias$ac_delim
21929 target_alias!$target_alias$ac_delim
21930 build!$build$ac_delim
21931 build_cpu!$build_cpu$ac_delim
21932 build_vendor!$build_vendor$ac_delim
21933 build_os!$build_os$ac_delim
21934 host!$host$ac_delim
21935 host_cpu!$host_cpu$ac_delim
21936 host_vendor!$host_vendor$ac_delim
21937 host_os!$host_os$ac_delim
21938 WIN16_FILES!$WIN16_FILES$ac_delim
21939 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21940 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
21941 WINETEST!$WINETEST$ac_delim
21942 SET_MAKE!$SET_MAKE$ac_delim
21944 CFLAGS!$CFLAGS$ac_delim
21945 LDFLAGS!$LDFLAGS$ac_delim
21946 CPPFLAGS!$CPPFLAGS$ac_delim
21947 ac_ct_CC!$ac_ct_CC$ac_delim
21948 EXEEXT!$EXEEXT$ac_delim
21949 OBJEXT!$OBJEXT$ac_delim
21951 CXXFLAGS!$CXXFLAGS$ac_delim
21952 ac_ct_CXX!$ac_ct_CXX$ac_delim
21953 CPPBIN!$CPPBIN$ac_delim
21954 TOOLSDIR!$TOOLSDIR$ac_delim
21955 XMKMF!$XMKMF$ac_delim
21957 X_CFLAGS!$X_CFLAGS$ac_delim
21958 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21959 X_LIBS!$X_LIBS$ac_delim
21960 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21961 FLEX!$FLEX$ac_delim
21962 BISON!$BISON$ac_delim
21964 ac_ct_AS!$ac_ct_AS$ac_delim
21967 RANLIB!$RANLIB$ac_delim
21968 STRIP!$STRIP$ac_delim
21969 WINDRES!$WINDRES$ac_delim
21970 LN_S!$LN_S$ac_delim
21972 GREP!$GREP$ac_delim
21973 EGREP!$EGREP$ac_delim
21974 LDCONFIG!$LDCONFIG$ac_delim
21977 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21979 elif $ac_last_try; then
21980 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21981 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21982 { (exit 1); exit 1; }; }
21984 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21988 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21989 if test -n "$ac_eof"; then
21990 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21991 ac_eof
=`expr $ac_eof + 1`
21994 cat >>$CONFIG_STATUS <<_ACEOF
21995 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21996 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21997 /^[ ]*@MAKE_RULES@[ ]*$/{
22001 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22005 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22006 r $MAKE_IMPLIB_RULES
22009 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22013 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22019 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22020 s/^/s,@/; s/!/@,|#_!!_#|/
22023 s/'"$ac_delim"'$/,g/; t
22025 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22026 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22027 rm -f conf$
$subs.
sed
22028 cat >>$CONFIG_STATUS <<_ACEOF
22034 for ac_last_try
in false false false false false
:; do
22035 cat >conf$
$subs.
sed <<_ACEOF
22036 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22037 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22038 INSTALL_DATA!$INSTALL_DATA$ac_delim
22039 LINT!$LINT$ac_delim
22040 LINTFLAGS!$LINTFLAGS$ac_delim
22041 FONTFORGE!$FONTFORGE$ac_delim
22042 PKG_CONFIG!$PKG_CONFIG$ac_delim
22043 PRELINK!$PRELINK$ac_delim
22044 LIBPTHREAD!$LIBPTHREAD$ac_delim
22045 XLIB!$XLIB$ac_delim
22046 XFILES!$XFILES$ac_delim
22047 OPENGLFILES!$OPENGLFILES$ac_delim
22048 GLU32FILES!$GLU32FILES$ac_delim
22049 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22050 QUARTZFILES!$QUARTZFILES$ac_delim
22051 DLLEXT!$DLLEXT$ac_delim
22052 DLLFLAGS!$DLLFLAGS$ac_delim
22053 LDSHARED!$LDSHARED$ac_delim
22054 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22055 LIBEXT!$LIBEXT$ac_delim
22056 IMPLIBEXT!$IMPLIBEXT$ac_delim
22057 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22058 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22060 DLLTOOL!$DLLTOOL$ac_delim
22061 DLLWRAP!$DLLWRAP$ac_delim
22062 MINGWAR!$MINGWAR$ac_delim
22063 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22064 IOKITLIB!$IOKITLIB$ac_delim
22065 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22066 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22067 COREAUDIO!$COREAUDIO$ac_delim
22068 CARBONLIB!$CARBONLIB$ac_delim
22069 CROSSTEST!$CROSSTEST$ac_delim
22070 CROSSCC!$CROSSCC$ac_delim
22071 CROSSWINDRES!$CROSSWINDRES$ac_delim
22072 NASLIBS!$NASLIBS$ac_delim
22073 XML2LIBS!$XML2LIBS$ac_delim
22074 XML2INCL!$XML2INCL$ac_delim
22075 XSLTLIBS!$XSLTLIBS$ac_delim
22076 XSLTINCL!$XSLTINCL$ac_delim
22077 HALINCL!$HALINCL$ac_delim
22078 sane_devel!$sane_devel$ac_delim
22079 SANEINCL!$SANEINCL$ac_delim
22080 gphoto2_devel!$gphoto2_devel$ac_delim
22081 gphoto2port_devel!$gphoto2port_devel$ac_delim
22082 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22083 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22084 RESOLVLIBS!$RESOLVLIBS$ac_delim
22085 LCMSLIBS!$LCMSLIBS$ac_delim
22086 LDAPLIBS!$LDAPLIBS$ac_delim
22087 ft_devel!$ft_devel$ac_delim
22088 FREETYPELIBS!$FREETYPELIBS$ac_delim
22089 FREETYPEINCL!$FREETYPEINCL$ac_delim
22090 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22091 ESDCONFIG!$ESDCONFIG$ac_delim
22092 ESDLIBS!$ESDLIBS$ac_delim
22093 ESDINCL!$ESDINCL$ac_delim
22094 ALSALIBS!$ALSALIBS$ac_delim
22095 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22096 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22097 BUILTINFLAG!$BUILTINFLAG$ac_delim
22098 LDPATH!$LDPATH$ac_delim
22099 CRTLIBS!$CRTLIBS$ac_delim
22100 SOCKETLIBS!$SOCKETLIBS$ac_delim
22101 MAIN_BINARY!$MAIN_BINARY$ac_delim
22102 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22103 LIBDL!$LIBDL$ac_delim
22104 LIBPOLL!$LIBPOLL$ac_delim
22105 DEPENDENCIES!$DEPENDENCIES$ac_delim
22106 LIBOBJS!$LIBOBJS$ac_delim
22107 LTLIBOBJS!$LTLIBOBJS$ac_delim
22110 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
22112 elif $ac_last_try; then
22113 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22114 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22115 { (exit 1); exit 1; }; }
22117 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22121 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22122 if test -n "$ac_eof"; then
22123 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22124 ac_eof
=`expr $ac_eof + 1`
22127 cat >>$CONFIG_STATUS <<_ACEOF
22128 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22129 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22132 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22133 s/^/s,@/; s/!/@,|#_!!_#|/
22136 s/'"$ac_delim"'$/,g/; t
22138 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22139 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22140 rm -f conf$
$subs.
sed
22141 cat >>$CONFIG_STATUS <<_ACEOF
22148 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22149 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22150 # trailing colons and then remove the whole line if VPATH becomes empty
22151 # (actually we leave an empty line to preserve line numbers).
22152 if test "x$srcdir" = x.
; then
22153 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22154 s/:*\$(srcdir):*/:/
22155 s/:*\${srcdir}:*/:/
22157 s/^\([^=]*=[ ]*\):*/\1/
22163 cat >>$CONFIG_STATUS <<\_ACEOF
22164 fi # test -n "$CONFIG_FILES"
22167 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22170 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22172 case $ac_mode$ac_tag in
22174 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22175 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22176 { (exit 1); exit 1; }; };;
22177 :[FH
]-) ac_tag
=-:-;;
22178 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22195 -) ac_f
="$tmp/stdin";;
22196 *) # Look for the file first in the build tree, then in the source tree
22197 # (if the path is not absolute). The absolute path cannot be DOS-style,
22198 # because $ac_f cannot contain `:'.
22202 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22204 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22205 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22206 { (exit 1); exit 1; }; };;
22208 ac_file_inputs
="$ac_file_inputs $ac_f"
22211 # Let's still pretend it is `configure' which instantiates (i.e., don't
22212 # use $as_me), people would be surprised to read:
22213 # /* config.h. Generated by config.status. */
22214 configure_input
="Generated from "`IFS=:
22215 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22216 if test x
"$ac_file" != x-
; then
22217 configure_input
="$ac_file. $configure_input"
22218 { echo "$as_me:$LINENO: creating $ac_file" >&5
22219 echo "$as_me: creating $ac_file" >&6;}
22223 *:-:* |
*:-) cat >"$tmp/stdin";;
22228 ac_dir
=`$as_dirname -- "$ac_file" ||
22229 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22230 X"$ac_file" : 'X\(//\)[^/]' \| \
22231 X"$ac_file" : 'X\(//\)$' \| \
22232 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22238 /^X\(\/\/\)[^/].*/{
22253 -*) as_dir
=.
/$as_dir;;
22255 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22259 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22260 *) as_qdir
=$as_dir;;
22262 as_dirs
="'$as_qdir' $as_dirs"
22263 as_dir
=`$as_dirname -- "$as_dir" ||
22264 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22265 X"$as_dir" : 'X\(//\)[^/]' \| \
22266 X"$as_dir" : 'X\(//\)$' \| \
22267 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22273 /^X\(\/\/\)[^/].*/{
22286 test -d "$as_dir" && break
22288 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22289 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22290 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22291 { (exit 1); exit 1; }; }; }
22295 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22297 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22298 # A ".." for each directory in $ac_dir_suffix.
22299 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22300 case $ac_top_builddir_sub in
22301 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22302 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22305 ac_abs_top_builddir
=$ac_pwd
22306 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22307 # for backward compatibility:
22308 ac_top_builddir
=$ac_top_build_prefix
22311 .
) # We are building in place.
22313 ac_top_srcdir
=$ac_top_builddir_sub
22314 ac_abs_top_srcdir
=$ac_pwd ;;
22315 [\\/]* | ?
:[\\/]* ) # Absolute name.
22316 ac_srcdir
=$srcdir$ac_dir_suffix;
22317 ac_top_srcdir
=$srcdir
22318 ac_abs_top_srcdir
=$srcdir ;;
22319 *) # Relative name.
22320 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22321 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22322 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22324 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22334 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22335 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22339 cat >>$CONFIG_STATUS <<\_ACEOF
22340 # If the template does not know about datarootdir, expand it.
22341 # FIXME: This hack should be removed a few years after 2.60.
22342 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22344 case `sed -n '/datarootdir/ {
22353 ' $ac_file_inputs` in
22354 *datarootdir
*) ac_datarootdir_seen
=yes;;
22355 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22356 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22357 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22359 cat >>$CONFIG_STATUS <<_ACEOF
22360 ac_datarootdir_hack='
22361 s&@datadir@&$datadir&g
22362 s&@docdir@&$docdir&g
22363 s&@infodir@&$infodir&g
22364 s&@localedir@&$localedir&g
22365 s&@mandir@&$mandir&g
22366 s&\\\${datarootdir}&$datarootdir&g' ;;
22370 # Neutralize VPATH when `$srcdir' = `.'.
22371 # Shell code in configure.ac might set extrasub.
22372 # FIXME: do we really want to maintain this feature?
22373 cat >>$CONFIG_STATUS <<_ACEOF
22377 cat >>$CONFIG_STATUS <<\_ACEOF
22379 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22380 s
&@configure_input@
&$configure_input&;t t
22381 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22382 s
&@srcdir@
&$ac_srcdir&;t t
22383 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22384 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22385 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22386 s
&@builddir@
&$ac_builddir&;t t
22387 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22388 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22389 s
&@INSTALL@
&$ac_INSTALL&;t t
22390 $ac_datarootdir_hack
22391 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22393 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22394 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22395 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22396 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22397 which seems to be undefined. Please make sure it is defined." >&5
22398 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22399 which seems to be undefined. Please make sure it is defined." >&2;}
22403 -) cat "$tmp/out"; rm -f "$tmp/out";;
22404 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22413 # Transform confdefs.h into a sed script `conftest.defines', that
22414 # substitutes the proper values into config.h.in to produce config.h.
22415 rm -f conftest.defines conftest.
tail
22416 # First, append a space to every undef/define line, to ease matching.
22417 echo 's/$/ /' >conftest.defines
22418 # Then, protect against being on the right side of a sed subst, or in
22419 # an unquoted here document, in config.status. If some macros were
22420 # called several times there might be several #defines for the same
22421 # symbol, which is useless. But do not sort them, since the last
22422 # AC_DEFINE must be honored.
22423 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22424 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22425 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22426 # PARAMS is the parameter list in the macro definition--in most cases, it's
22427 # just an empty string.
22428 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22429 ac_dB
='\\)[ (].*,\\1define\\2'
22437 s/^[ ]*#[ ]*define[ ][ ]*//
22442 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22443 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22444 ' >>conftest.defines
22446 # Remove the space that was appended to ease matching.
22447 # Then replace #undef with comments. This is necessary, for
22448 # example, in the case of _POSIX_SOURCE, which is predefined and required
22449 # on some systems where configure will not decide to define it.
22450 # (The regexp can be short, since the line contains either #define or #undef.)
22452 s,^[ #]*u.*,/* & */,' >>conftest.defines
22454 # Break up conftest.defines:
22455 ac_max_sed_lines
=50
22457 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22458 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22459 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22461 ac_in
='$ac_file_inputs'
22462 ac_out
='"$tmp/out1"'
22463 ac_nxt
='"$tmp/out2"'
22467 # Write a here document:
22468 cat >>$CONFIG_STATUS <<_ACEOF
22469 # First, check the format of the line:
22470 cat >"\$tmp/defines.sed" <<\\CEOF
22471 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22472 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22476 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22478 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22479 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22480 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22481 grep . conftest.
tail >/dev
/null ||
break
22482 rm -f conftest.defines
22483 mv conftest.
tail conftest.defines
22485 rm -f conftest.defines conftest.
tail
22487 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22488 cat >>$CONFIG_STATUS <<\_ACEOF
22489 if test x
"$ac_file" != x-
; then
22490 echo "/* $configure_input */" >"$tmp/config.h"
22491 cat "$ac_result" >>"$tmp/config.h"
22492 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22493 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22494 echo "$as_me: $ac_file is unchanged" >&6;}
22497 mv "$tmp/config.h" $ac_file
22500 echo "/* $configure_input */"
22506 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22507 echo "$as_me: executing $ac_file commands" >&6;}
22512 case $ac_file$ac_mode in
22513 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
22514 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22515 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
22516 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22517 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
22518 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22519 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
22520 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22521 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
22522 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22523 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
22524 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
22525 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
22531 { (exit 0); exit 0; }
22533 chmod +x
$CONFIG_STATUS
22534 ac_clean_files
=$ac_clean_files_save
22537 # configure is writing to config.log, and then calls config.status.
22538 # config.status does its own redirection, appending to config.log.
22539 # Unfortunately, on DOS this fails, as config.log is still kept open
22540 # by configure, so config.status won't be able to write to it; its
22541 # output is simply discarded. So we exec the FD to /dev/null,
22542 # effectively closing config.log, so it can be properly (re)opened and
22543 # appended to by config.status. When coming back to configure, we
22544 # need to make the FD available again.
22545 if test "$no_create" != yes; then
22547 ac_config_status_args
=
22548 test "$silent" = yes &&
22549 ac_config_status_args
="$ac_config_status_args --quiet"
22551 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22553 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22554 # would make configure fail if this is the last instruction.
22555 $ac_cs_success ||
{ (exit 1); exit 1; }
22559 if test "$no_create" = "yes"
22566 if test "$verbose" = "yes"; then
22567 for msg
in $wine_notices; do
22568 if test -n "$msg"; then
22570 { echo "$as_me:$LINENO: $msg" >&5
22571 echo "$as_me: $msg" >&6;}
22575 for msg
in $wine_warnings; do
22576 if test -n "$msg"; then
22578 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22579 echo "$as_me: WARNING: $msg" >&2;}
22585 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."