2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.50.
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.50'
578 PACKAGE_STRING
='Wine 0.9.50'
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.50 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.50:";;
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
1373 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1374 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1375 --without-opengl do not use OpenGL
1376 --with-wine-tools=<dir> use Wine tools from directory <dir>
1377 --with-x use the X Window System
1379 Some influential environment variables:
1380 CC C compiler command
1381 CFLAGS C compiler flags
1382 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1383 nonstandard directory <lib dir>
1384 LIBS libraries to pass to the linker, e.g. -l<library>
1385 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1386 you have headers in a nonstandard directory <include dir>
1387 CXX C++ compiler command
1388 CXXFLAGS C++ compiler flags
1389 XMKMF Path to xmkmf, Makefile generator for X Window System
1392 Use these variables to override the choices made by `configure' or to
help
1393 it to
find libraries and programs with nonstandard names
/locations.
1395 Report bugs to
<wine-devel@winehq.org
>.
1400 if test "$ac_init_help" = "recursive"; then
1401 # If there are subdirs, report their specific --help.
1402 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1403 test -d "$ac_dir" ||
continue
1407 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1409 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1410 # A ".." for each directory in $ac_dir_suffix.
1411 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1412 case $ac_top_builddir_sub in
1413 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1414 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1417 ac_abs_top_builddir
=$ac_pwd
1418 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1419 # for backward compatibility:
1420 ac_top_builddir
=$ac_top_build_prefix
1423 .
) # We are building in place.
1425 ac_top_srcdir
=$ac_top_builddir_sub
1426 ac_abs_top_srcdir
=$ac_pwd ;;
1427 [\\/]* | ?
:[\\/]* ) # Absolute name.
1428 ac_srcdir
=$srcdir$ac_dir_suffix;
1429 ac_top_srcdir
=$srcdir
1430 ac_abs_top_srcdir
=$srcdir ;;
1432 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1433 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1434 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1436 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1438 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1439 # Check for guested configure.
1440 if test -f "$ac_srcdir/configure.gnu"; then
1442 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1443 elif test -f "$ac_srcdir/configure"; then
1445 $SHELL "$ac_srcdir/configure" --help=recursive
1447 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1449 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1453 test -n "$ac_init_help" && exit $ac_status
1454 if $ac_init_version; then
1456 Wine configure
0.9.50
1457 generated by GNU Autoconf
2.61
1459 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1460 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1461 This configure
script is free software
; the Free Software Foundation
1462 gives unlimited permission to copy
, distribute and modify it.
1466 cat >config.log
<<_ACEOF
1467 This file contains any messages produced by compilers while
1468 running configure, to aid debugging if configure makes a mistake.
1470 It was created by Wine $as_me 0.9.50, which was
1471 generated by GNU Autoconf 2.61. Invocation command line was
1483 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1484 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1485 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1486 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1487 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1489 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1490 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1492 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1493 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1494 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1495 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1496 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1497 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1498 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1506 test -z "$as_dir" && as_dir
=.
1507 echo "PATH: $as_dir"
1523 # Keep a trace of the command line.
1524 # Strip out --no-create and --no-recursion so they do not pile up.
1525 # Strip out --silent because we don't want to record it for future runs.
1526 # Also quote any args containing shell meta-characters.
1527 # Make two passes to allow for proper duplicate-argument suppression.
1531 ac_must_keep_next
=false
1537 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1539 |
-silent |
--silent |
--silen |
--sile |
--sil)
1542 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1545 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1547 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1548 if test $ac_must_keep_next = true
; then
1549 ac_must_keep_next
=false
# Got value, back to normal.
1552 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1553 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1554 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1555 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1556 case "$ac_configure_args0 " in
1557 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1560 -* ) ac_must_keep_next
=true
;;
1563 ac_configure_args
="$ac_configure_args '$ac_arg'"
1568 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1569 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1571 # When interrupted or exit'd, cleanup temporary files, and complete
1572 # config.log. We remove comments because anyway the quotes in there
1573 # would cause problems or look ugly.
1574 # WARNING: Use '\'' to represent an apostrophe within the trap.
1575 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1576 trap 'exit_status=$?
1577 # Save into config.log some information that might help in debugging.
1582 ## ---------------- ##
1583 ## Cache variables. ##
1584 ## ---------------- ##
1587 # The following way of writing the cache mishandles newlines in values,
1589 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1590 eval ac_val=\$$ac_var
1594 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1595 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1598 _ | IFS | as_nl) ;; #(
1599 *) $as_unset $ac_var ;;
1604 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1605 *${as_nl}ac_space=\ *)
1607 "s/'\''/'\''\\\\'\'''\''/g;
1608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1611 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1619 ## ----------------- ##
1620 ## Output variables. ##
1621 ## ----------------- ##
1624 for ac_var in $ac_subst_vars
1626 eval ac_val=\$$ac_var
1628 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1630 echo "$ac_var='\''$ac_val'\''"
1634 if test -n "$ac_subst_files"; then
1636 ## ------------------- ##
1637 ## File substitutions. ##
1638 ## ------------------- ##
1641 for ac_var
in $ac_subst_files
1643 eval ac_val
=\$
$ac_var
1645 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1647 echo "$ac_var='\''$ac_val'\''"
1652 if test -s confdefs.h; then
1662 test "$ac_signal" != 0 &&
1663 echo "$as_me: caught signal $ac_signal"
1664 echo "$as_me: exit $exit_status"
1666 rm -f core *.core core.conftest.* &&
1667 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1670 for ac_signal
in 1 2 13 15; do
1671 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1675 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1676 rm -f -r conftest
* confdefs.h
1678 # Predefined preprocessor variables.
1680 cat >>confdefs.h
<<_ACEOF
1681 #define PACKAGE_NAME "$PACKAGE_NAME"
1685 cat >>confdefs.h
<<_ACEOF
1686 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1690 cat >>confdefs.h
<<_ACEOF
1691 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1695 cat >>confdefs.h
<<_ACEOF
1696 #define PACKAGE_STRING "$PACKAGE_STRING"
1700 cat >>confdefs.h
<<_ACEOF
1701 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1705 # Let the site file select an alternate cache file if it wants to.
1706 # Prefer explicitly selected file to automatically selected ones.
1707 if test -n "$CONFIG_SITE"; then
1708 set x
"$CONFIG_SITE"
1709 elif test "x$prefix" != xNONE
; then
1710 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1712 set x
"$ac_default_prefix/share/config.site" \
1713 "$ac_default_prefix/etc/config.site"
1718 if test -r "$ac_site_file"; then
1719 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1720 echo "$as_me: loading site script $ac_site_file" >&6;}
1721 sed 's/^/| /' "$ac_site_file" >&5
1726 if test -r "$cache_file"; then
1727 # Some versions of bash will fail to source /dev/null (special
1728 # files actually), so we avoid doing that.
1729 if test -f "$cache_file"; then
1730 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1731 echo "$as_me: loading cache $cache_file" >&6;}
1733 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1734 *) .
"./$cache_file";;
1738 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1739 echo "$as_me: creating cache $cache_file" >&6;}
1743 # Check that the precious variables saved in the cache have kept the same
1745 ac_cache_corrupted
=false
1746 for ac_var
in $ac_precious_vars; do
1747 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1748 eval ac_new_set
=\
$ac_env_${ac_var}_set
1749 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1750 eval ac_new_val
=\
$ac_env_${ac_var}_value
1751 case $ac_old_set,$ac_new_set in
1753 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1754 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1755 ac_cache_corrupted
=: ;;
1757 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1758 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1759 ac_cache_corrupted
=: ;;
1762 if test "x$ac_old_val" != "x$ac_new_val"; then
1763 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1764 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1765 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1766 echo "$as_me: former value: $ac_old_val" >&2;}
1767 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1768 echo "$as_me: current value: $ac_new_val" >&2;}
1769 ac_cache_corrupted
=:
1772 # Pass precious variables to config.status.
1773 if test "$ac_new_set" = set; then
1775 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1776 *) ac_arg
=$ac_var=$ac_new_val ;;
1778 case " $ac_configure_args " in
1779 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1780 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1784 if $ac_cache_corrupted; then
1785 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1786 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1787 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1788 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1789 { (exit 1); exit 1; }; }
1817 ac_cpp
='$CPP $CPPFLAGS'
1818 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1819 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1820 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1824 ac_config_headers
="$ac_config_headers include/config.h"
1827 for ac_dir
in tools
"$srcdir"/tools
; do
1828 if test -f "$ac_dir/install-sh"; then
1830 ac_install_sh
="$ac_aux_dir/install-sh -c"
1832 elif test -f "$ac_dir/install.sh"; then
1834 ac_install_sh
="$ac_aux_dir/install.sh -c"
1836 elif test -f "$ac_dir/shtool"; then
1838 ac_install_sh
="$ac_aux_dir/shtool install -c"
1842 if test -z "$ac_aux_dir"; then
1843 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1844 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1845 { (exit 1); exit 1; }; }
1848 # These three variables are undocumented and unsupported,
1849 # and are intended to be withdrawn in a future Autoconf release.
1850 # They can cause serious problems if a builder's source tree is in a directory
1851 # whose full name contains unusual characters.
1852 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1853 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1854 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1859 # Check whether --enable-win16 was given.
1860 if test "${enable_win16+set}" = set; then
1861 enableval
=$enable_win16;
1864 # Check whether --enable-win64 was given.
1865 if test "${enable_win64+set}" = set; then
1866 enableval
=$enable_win64;
1871 # Check whether --with-opengl was given.
1872 if test "${with_opengl+set}" = set; then
1873 withval
=$with_opengl;
1877 # Check whether --with-wine-tools was given.
1878 if test "${with_wine_tools+set}" = set; then
1879 withval
=$with_wine_tools;
1883 # Make sure we can run config.sub.
1884 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1885 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1886 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1887 { (exit 1); exit 1; }; }
1889 { echo "$as_me:$LINENO: checking build system type" >&5
1890 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1891 if test "${ac_cv_build+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1894 ac_build_alias
=$build_alias
1895 test "x$ac_build_alias" = x
&&
1896 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1897 test "x$ac_build_alias" = x
&&
1898 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1899 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1900 { (exit 1); exit 1; }; }
1901 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1902 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1903 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1904 { (exit 1); exit 1; }; }
1907 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1908 echo "${ECHO_T}$ac_cv_build" >&6; }
1909 case $ac_cv_build in
1911 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1912 echo "$as_me: error: invalid value of canonical build" >&2;}
1913 { (exit 1); exit 1; }; };;
1916 ac_save_IFS
=$IFS; IFS
='-'
1922 # Remember, the first character of IFS is used to create $*,
1923 # except with old shells:
1926 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1929 { echo "$as_me:$LINENO: checking host system type" >&5
1930 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1931 if test "${ac_cv_host+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 if test "x$host_alias" = x
; then
1935 ac_cv_host
=$ac_cv_build
1937 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1938 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1939 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1940 { (exit 1); exit 1; }; }
1944 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1945 echo "${ECHO_T}$ac_cv_host" >&6; }
1948 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1949 echo "$as_me: error: invalid value of canonical host" >&2;}
1950 { (exit 1); exit 1; }; };;
1953 ac_save_IFS
=$IFS; IFS
='-'
1959 # Remember, the first character of IFS is used to create $*,
1960 # except with old shells:
1963 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1968 if test "x$enable_win64" != "xyes"
1970 test -n "$CC" || CC
="gcc -m32"
1971 test -n "$CXX"|| CXX
="g++ -m32"
1972 test -n "$LD" || LD
="ld -m elf_i386"
1973 test -n "$AS" || AS
="as --32"
1981 if test "x$enable_win16" != "xno"
1988 WIN16_FILES
="\$(WIN16_FILES)"
1990 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1992 if test "x$enable_win16" != "xyes"
2000 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2001 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2002 You need to run 'make distclean' in the source tree first." >&5
2003 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2004 You need to run 'make distclean' in the source tree first." >&2;}
2005 { (exit 1); exit 1; }; }
2010 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2011 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2012 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2013 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2016 cat >conftest.
make <<\_ACEOF
2019 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2021 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2022 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2024 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2026 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2030 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2031 { echo "$as_me:$LINENO: result: yes" >&5
2032 echo "${ECHO_T}yes" >&6; }
2035 { echo "$as_me:$LINENO: result: no" >&5
2036 echo "${ECHO_T}no" >&6; }
2037 SET_MAKE
="MAKE=${MAKE-make}"
2041 ac_cpp
='$CPP $CPPFLAGS'
2042 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2043 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2044 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2045 if test -n "$ac_tool_prefix"; then
2046 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2047 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2050 if test "${ac_cv_prog_CC+set}" = set; then
2051 echo $ECHO_N "(cached) $ECHO_C" >&6
2053 if test -n "$CC"; then
2054 ac_cv_prog_CC
="$CC" # Let the user override the test.
2056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2060 test -z "$as_dir" && as_dir
=.
2061 for ac_exec_ext
in '' $ac_executable_extensions; do
2062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2063 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2074 if test -n "$CC"; then
2075 { echo "$as_me:$LINENO: result: $CC" >&5
2076 echo "${ECHO_T}$CC" >&6; }
2078 { echo "$as_me:$LINENO: result: no" >&5
2079 echo "${ECHO_T}no" >&6; }
2084 if test -z "$ac_cv_prog_CC"; then
2086 # Extract the first word of "gcc", so it can be a program name with args.
2087 set dummy gcc
; ac_word
=$2
2088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2090 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2091 echo $ECHO_N "(cached) $ECHO_C" >&6
2093 if test -n "$ac_ct_CC"; then
2094 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2100 test -z "$as_dir" && as_dir
=.
2101 for ac_exec_ext
in '' $ac_executable_extensions; do
2102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2103 ac_cv_prog_ac_ct_CC
="gcc"
2104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2113 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2114 if test -n "$ac_ct_CC"; then
2115 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2116 echo "${ECHO_T}$ac_ct_CC" >&6; }
2118 { echo "$as_me:$LINENO: result: no" >&5
2119 echo "${ECHO_T}no" >&6; }
2122 if test "x$ac_ct_CC" = x
; then
2125 case $cross_compiling:$ac_tool_warned in
2127 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2128 whose name does not start with the host triplet. If you think this
2129 configuration is useful to you, please write to autoconf@gnu.org." >&5
2130 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2131 whose name does not start with the host triplet. If you think this
2132 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2133 ac_tool_warned
=yes ;;
2141 if test -z "$CC"; then
2142 if test -n "$ac_tool_prefix"; then
2143 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2144 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2147 if test "${ac_cv_prog_CC+set}" = set; then
2148 echo $ECHO_N "(cached) $ECHO_C" >&6
2150 if test -n "$CC"; then
2151 ac_cv_prog_CC
="$CC" # Let the user override the test.
2153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2157 test -z "$as_dir" && as_dir
=.
2158 for ac_exec_ext
in '' $ac_executable_extensions; do
2159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2160 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2171 if test -n "$CC"; then
2172 { echo "$as_me:$LINENO: result: $CC" >&5
2173 echo "${ECHO_T}$CC" >&6; }
2175 { echo "$as_me:$LINENO: result: no" >&5
2176 echo "${ECHO_T}no" >&6; }
2182 if test -z "$CC"; then
2183 # Extract the first word of "cc", so it can be a program name with args.
2184 set dummy cc
; ac_word
=$2
2185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2187 if test "${ac_cv_prog_CC+set}" = set; then
2188 echo $ECHO_N "(cached) $ECHO_C" >&6
2190 if test -n "$CC"; then
2191 ac_cv_prog_CC
="$CC" # Let the user override the test.
2194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2198 test -z "$as_dir" && as_dir
=.
2199 for ac_exec_ext
in '' $ac_executable_extensions; do
2200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2201 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2202 ac_prog_rejected
=yes
2206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2213 if test $ac_prog_rejected = yes; then
2214 # We found a bogon in the path, so make sure we never use it.
2215 set dummy
$ac_cv_prog_CC
2217 if test $# != 0; then
2218 # We chose a different compiler from the bogus one.
2219 # However, it has the same basename, so the bogon will be chosen
2220 # first if we set CC to just the basename; use the full file name.
2222 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2228 if test -n "$CC"; then
2229 { echo "$as_me:$LINENO: result: $CC" >&5
2230 echo "${ECHO_T}$CC" >&6; }
2232 { echo "$as_me:$LINENO: result: no" >&5
2233 echo "${ECHO_T}no" >&6; }
2238 if test -z "$CC"; then
2239 if test -n "$ac_tool_prefix"; then
2240 for ac_prog
in cl.exe
2242 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2243 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2246 if test "${ac_cv_prog_CC+set}" = set; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2249 if test -n "$CC"; then
2250 ac_cv_prog_CC
="$CC" # Let the user override the test.
2252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2256 test -z "$as_dir" && as_dir
=.
2257 for ac_exec_ext
in '' $ac_executable_extensions; do
2258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2259 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2270 if test -n "$CC"; then
2271 { echo "$as_me:$LINENO: result: $CC" >&5
2272 echo "${ECHO_T}$CC" >&6; }
2274 { echo "$as_me:$LINENO: result: no" >&5
2275 echo "${ECHO_T}no" >&6; }
2279 test -n "$CC" && break
2282 if test -z "$CC"; then
2284 for ac_prog
in cl.exe
2286 # Extract the first word of "$ac_prog", so it can be a program name with args.
2287 set dummy
$ac_prog; ac_word
=$2
2288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2290 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2291 echo $ECHO_N "(cached) $ECHO_C" >&6
2293 if test -n "$ac_ct_CC"; then
2294 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2300 test -z "$as_dir" && as_dir
=.
2301 for ac_exec_ext
in '' $ac_executable_extensions; do
2302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2303 ac_cv_prog_ac_ct_CC
="$ac_prog"
2304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2313 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2314 if test -n "$ac_ct_CC"; then
2315 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2316 echo "${ECHO_T}$ac_ct_CC" >&6; }
2318 { echo "$as_me:$LINENO: result: no" >&5
2319 echo "${ECHO_T}no" >&6; }
2323 test -n "$ac_ct_CC" && break
2326 if test "x$ac_ct_CC" = x
; then
2329 case $cross_compiling:$ac_tool_warned in
2331 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2332 whose name does not start with the host triplet. If you think this
2333 configuration is useful to you, please write to autoconf@gnu.org." >&5
2334 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2335 whose name does not start with the host triplet. If you think this
2336 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2337 ac_tool_warned
=yes ;;
2346 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2347 See \`config.log' for more details." >&5
2348 echo "$as_me: error: no acceptable C compiler found in \$PATH
2349 See \`config.log' for more details." >&2;}
2350 { (exit 1); exit 1; }; }
2352 # Provide some information about the compiler.
2353 echo "$as_me:$LINENO: checking for C compiler version" >&5
2354 ac_compiler
=`set X $ac_compile; echo $2`
2355 { (ac_try
="$ac_compiler --version >&5"
2357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2358 *) ac_try_echo=$ac_try;;
2360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2361 (eval "$ac_compiler --version >&5") 2>&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); }
2365 { (ac_try="$ac_compiler -v >&5"
2367 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2368 *) ac_try_echo
=$ac_try;;
2370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2371 (eval "$ac_compiler -v >&5") 2>&5
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); }
2375 { (ac_try
="$ac_compiler -V >&5"
2377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2381 (eval "$ac_compiler -V >&5") 2>&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }
2386 cat >conftest.$ac_ext <<_ACEOF
2389 cat confdefs.h >>conftest.$ac_ext
2390 cat >>conftest.$ac_ext <<_ACEOF
2391 /* end confdefs.h. */
2401 ac_clean_files_save=$ac_clean_files
2402 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2403 # Try to create an executable without -o first, disregard a.out.
2404 # It will help us diagnose broken compilers, and finding out an intuition
2406 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2407 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2408 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2410 # List of possible output files, starting from the most likely.
2411 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2412 # only as a last resort. b.out is created by i960 compilers.
2413 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2415 # The IRIX 6 linker writes into existing files which may not be
2416 # executable, retaining their permissions. Remove them first so a
2417 # subsequent execution test works.
2419 for ac_file in $ac_files
2422 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2423 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2428 if { (ac_try="$ac_link_default"
2430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2431 *) ac_try_echo=$ac_try;;
2433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2434 (eval "$ac_link_default") 2>&5
2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); }; then
2438 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2439 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2440 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2441 # so that the user can short-circuit this test for compilers unknown to
2443 for ac_file
in $ac_files ''
2445 test -f "$ac_file" ||
continue
2447 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2450 # We found the default executable, but exeext='' is most
2454 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2456 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2458 # We set ac_cv_exeext here because the later test for it is not
2459 # safe: cross compilers may not add the suffix if given an `-o'
2460 # argument, so we may need to know it at that point already.
2461 # Even if this section looks crufty: it has the advantage of
2468 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2474 { echo "$as_me:$LINENO: result: $ac_file" >&5
2475 echo "${ECHO_T}$ac_file" >&6; }
2476 if test -z "$ac_file"; then
2477 echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.
$ac_ext >&5
2480 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2481 See \`config.log' for more details." >&5
2482 echo "$as_me: error: C compiler cannot create executables
2483 See \`config.log' for more details." >&2;}
2484 { (exit 77); exit 77; }; }
2487 ac_exeext
=$ac_cv_exeext
2489 # Check that the compiler produces executables we can run. If not, either
2490 # the compiler is broken, or we cross compile.
2491 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2492 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2493 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2494 # If not cross compiling, check that we can run a simple program.
2495 if test "$cross_compiling" != yes; then
2496 if { ac_try
='./$ac_file'
2497 { (case "(($ac_try" in
2498 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2499 *) ac_try_echo=$ac_try;;
2501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2502 (eval "$ac_try") 2>&5
2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505 (exit $ac_status); }; }; then
2508 if test "$cross_compiling" = maybe; then
2511 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2512 If you meant to cross compile, use \`--host'.
2513 See \`config.log' for more details.
" >&5
2514 echo "$as_me: error
: cannot run C compiled programs.
2515 If you meant to cross compile
, use \
`--host'.
2516 See \`config.log
' for more details." >&2;}
2517 { (exit 1); exit 1; }; }
2521 { echo "$as_me:$LINENO: result: yes" >&5
2522 echo "${ECHO_T}yes" >&6; }
2524 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2525 ac_clean_files=$ac_clean_files_save
2526 # Check that the compiler produces executables we can run. If not, either
2527 # the compiler is broken, or we cross compile.
2528 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2529 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2530 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2531 echo "${ECHO_T}$cross_compiling" >&6; }
2533 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2534 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2535 if { (ac_try="$ac_link"
2537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2538 *) ac_try_echo=$ac_try;;
2540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2541 (eval "$ac_link") 2>&5
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); }; then
2545 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2546 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2547 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2549 for ac_file
in conftest.exe conftest conftest.
*; do
2550 test -f "$ac_file" ||
continue
2552 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2553 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2559 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2560 See \`config.log' for more details." >&5
2561 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2562 See \`config.log' for more details." >&2;}
2563 { (exit 1); exit 1; }; }
2566 rm -f conftest
$ac_cv_exeext
2567 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2568 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2570 rm -f conftest.
$ac_ext
2571 EXEEXT
=$ac_cv_exeext
2573 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2574 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2575 if test "${ac_cv_objext+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2578 cat >conftest.
$ac_ext <<_ACEOF
2581 cat confdefs.h
>>conftest.
$ac_ext
2582 cat >>conftest.
$ac_ext <<_ACEOF
2583 /* end confdefs.h. */
2593 rm -f conftest.o conftest.obj
2594 if { (ac_try
="$ac_compile"
2596 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2597 *) ac_try_echo=$ac_try;;
2599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2600 (eval "$ac_compile") 2>&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }; then
2604 for ac_file in conftest.o conftest.obj conftest.*; do
2605 test -f "$ac_file" || continue;
2607 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2608 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2613 echo "$as_me: failed program was:" >&5
2614 sed 's/^/| /' conftest.$ac_ext >&5
2616 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2617 See \`config.log
' for more details." >&5
2618 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2619 See \`config.log' for more details.
" >&2;}
2620 { (exit 1); exit 1; }; }
2623 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2625 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2626 echo "${ECHO_T}$ac_cv_objext" >&6; }
2627 OBJEXT=$ac_cv_objext
2629 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2630 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2631 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2632 echo $ECHO_N "(cached
) $ECHO_C" >&6
2634 cat >conftest.$ac_ext <<_ACEOF
2637 cat confdefs.h >>conftest.$ac_ext
2638 cat >>conftest.$ac_ext <<_ACEOF
2639 /* end confdefs.h. */
2652 rm -f conftest.$ac_objext
2653 if { (ac_try="$ac_compile"
2655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2656 *) ac_try_echo=$ac_try;;
2658 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2659 (eval "$ac_compile") 2>conftest.er1
2661 grep -v '^ *+' conftest.er1 >conftest.err
2663 cat conftest.err >&5
2664 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2665 (exit $ac_status); } && {
2666 test -z "$ac_c_werror_flag" ||
2667 test ! -s conftest.err
2668 } && test -s conftest.$ac_objext; then
2671 echo "$as_me: failed program was
:" >&5
2672 sed 's/^/| /' conftest.$ac_ext >&5
2677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2678 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2681 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2682 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2683 GCC=`test $ac_compiler_gnu = yes && echo yes`
2684 ac_test_CFLAGS=${CFLAGS+set}
2685 ac_save_CFLAGS=$CFLAGS
2686 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2687 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2688 if test "${ac_cv_prog_cc_g+set}" = set; then
2689 echo $ECHO_N "(cached
) $ECHO_C" >&6
2691 ac_save_c_werror_flag=$ac_c_werror_flag
2692 ac_c_werror_flag=yes
2695 cat >conftest.$ac_ext <<_ACEOF
2698 cat confdefs.h >>conftest.$ac_ext
2699 cat >>conftest.$ac_ext <<_ACEOF
2700 /* end confdefs.h. */
2710 rm -f conftest.$ac_objext
2711 if { (ac_try="$ac_compile"
2713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2714 *) ac_try_echo=$ac_try;;
2716 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2717 (eval "$ac_compile") 2>conftest.er1
2719 grep -v '^ *+' conftest.er1 >conftest.err
2721 cat conftest.err >&5
2722 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2723 (exit $ac_status); } && {
2724 test -z "$ac_c_werror_flag" ||
2725 test ! -s conftest.err
2726 } && test -s conftest.$ac_objext; then
2729 echo "$as_me: failed program was
:" >&5
2730 sed 's/^/| /' conftest.$ac_ext >&5
2733 cat >conftest.$ac_ext <<_ACEOF
2736 cat confdefs.h >>conftest.$ac_ext
2737 cat >>conftest.$ac_ext <<_ACEOF
2738 /* end confdefs.h. */
2748 rm -f conftest.$ac_objext
2749 if { (ac_try="$ac_compile"
2751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2752 *) ac_try_echo=$ac_try;;
2754 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2755 (eval "$ac_compile") 2>conftest.er1
2757 grep -v '^ *+' conftest.er1 >conftest.err
2759 cat conftest.err >&5
2760 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2761 (exit $ac_status); } && {
2762 test -z "$ac_c_werror_flag" ||
2763 test ! -s conftest.err
2764 } && test -s conftest.$ac_objext; then
2767 echo "$as_me: failed program was
:" >&5
2768 sed 's/^/| /' conftest.$ac_ext >&5
2770 ac_c_werror_flag=$ac_save_c_werror_flag
2772 cat >conftest.$ac_ext <<_ACEOF
2775 cat confdefs.h >>conftest.$ac_ext
2776 cat >>conftest.$ac_ext <<_ACEOF
2777 /* end confdefs.h. */
2787 rm -f conftest.$ac_objext
2788 if { (ac_try="$ac_compile"
2790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791 *) ac_try_echo=$ac_try;;
2793 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2794 (eval "$ac_compile") 2>conftest.er1
2796 grep -v '^ *+' conftest.er1 >conftest.err
2798 cat conftest.err >&5
2799 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2800 (exit $ac_status); } && {
2801 test -z "$ac_c_werror_flag" ||
2802 test ! -s conftest.err
2803 } && test -s conftest.$ac_objext; then
2806 echo "$as_me: failed program was
:" >&5
2807 sed 's/^/| /' conftest.$ac_ext >&5
2812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2819 ac_c_werror_flag=$ac_save_c_werror_flag
2821 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2822 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2823 if test "$ac_test_CFLAGS" = set; then
2824 CFLAGS=$ac_save_CFLAGS
2825 elif test $ac_cv_prog_cc_g = yes; then
2826 if test "$GCC" = yes; then
2832 if test "$GCC" = yes; then
2838 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2839 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2840 if test "${ac_cv_prog_cc_c89+set}" = set; then
2841 echo $ECHO_N "(cached
) $ECHO_C" >&6
2843 ac_cv_prog_cc_c89=no
2845 cat >conftest.$ac_ext <<_ACEOF
2848 cat confdefs.h >>conftest.$ac_ext
2849 cat >>conftest.$ac_ext <<_ACEOF
2850 /* end confdefs.h. */
2853 #include <sys/types.h>
2854 #include <sys/stat.h>
2855 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2856 struct buf { int x; };
2857 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2858 static char *e (p, i)
2864 static char *f (char * (*g) (char **, int), char **p, ...)
2869 s = g (p, va_arg (v,int));
2874 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2875 function prototypes and stuff, but not '\xHH' hex character constants.
2876 These don't provoke an error unfortunately, instead are silently treated
2877 as 'x'. The following induces an error, until -std is added to get
2878 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2879 array size at least. It's necessary to write '\x00'==0 to get something
2880 that's true only with -std. */
2881 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2883 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2884 inside strings and character constants. */
2886 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2888 int test (int i, double x);
2889 struct s1 {int (*f) (int a);};
2890 struct s2 {int (*f) (double a);};
2891 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2897 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2902 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2903 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2905 CC="$ac_save_CC $ac_arg"
2906 rm -f conftest.$ac_objext
2907 if { (ac_try="$ac_compile"
2909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2910 *) ac_try_echo=$ac_try;;
2912 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2913 (eval "$ac_compile") 2>conftest.er1
2915 grep -v '^ *+' conftest.er1 >conftest.err
2917 cat conftest.err >&5
2918 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2919 (exit $ac_status); } && {
2920 test -z "$ac_c_werror_flag" ||
2921 test ! -s conftest.err
2922 } && test -s conftest.$ac_objext; then
2923 ac_cv_prog_cc_c89=$ac_arg
2925 echo "$as_me: failed program was
:" >&5
2926 sed 's/^/| /' conftest.$ac_ext >&5
2931 rm -f core conftest.err conftest.$ac_objext
2932 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2934 rm -f conftest.$ac_ext
2939 case "x
$ac_cv_prog_cc_c89" in
2941 { echo "$as_me:$LINENO: result
: none needed
" >&5
2942 echo "${ECHO_T}none needed
" >&6; } ;;
2944 { echo "$as_me:$LINENO: result
: unsupported
" >&5
2945 echo "${ECHO_T}unsupported
" >&6; } ;;
2947 CC="$CC $ac_cv_prog_cc_c89"
2948 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
2949 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2954 ac_cpp='$CPP $CPPFLAGS'
2955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2960 ac_cpp='$CXXCPP $CPPFLAGS'
2961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2964 if test -z "$CXX"; then
2965 if test -n "$CCC"; then
2968 if test -n "$ac_tool_prefix"; then
2969 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2971 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2972 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2973 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
2974 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
2975 if test "${ac_cv_prog_CXX+set}" = set; then
2976 echo $ECHO_N "(cached
) $ECHO_C" >&6
2978 if test -n "$CXX"; then
2979 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2985 test -z "$as_dir" && as_dir=.
2986 for ac_exec_ext in '' $ac_executable_extensions; do
2987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2988 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2989 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2999 if test -n "$CXX"; then
3000 { echo "$as_me:$LINENO: result
: $CXX" >&5
3001 echo "${ECHO_T}$CXX" >&6; }
3003 { echo "$as_me:$LINENO: result
: no
" >&5
3004 echo "${ECHO_T}no
" >&6; }
3008 test -n "$CXX" && break
3011 if test -z "$CXX"; then
3013 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3015 # Extract the first word of "$ac_prog", so it can be a program name with args.
3016 set dummy $ac_prog; ac_word=$2
3017 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3018 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3019 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3020 echo $ECHO_N "(cached
) $ECHO_C" >&6
3022 if test -n "$ac_ct_CXX"; then
3023 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3029 test -z "$as_dir" && as_dir=.
3030 for ac_exec_ext in '' $ac_executable_extensions; do
3031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3032 ac_cv_prog_ac_ct_CXX="$ac_prog"
3033 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3042 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3043 if test -n "$ac_ct_CXX"; then
3044 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3045 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3047 { echo "$as_me:$LINENO: result
: no
" >&5
3048 echo "${ECHO_T}no
" >&6; }
3052 test -n "$ac_ct_CXX" && break
3055 if test "x
$ac_ct_CXX" = x; then
3058 case $cross_compiling:$ac_tool_warned in
3060 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3061 whose name does not start with the
host triplet. If you think this
3062 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3063 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3064 whose name does not start with the
host triplet. If you think this
3065 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3066 ac_tool_warned=yes ;;
3074 # Provide some information about the compiler.
3075 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3076 ac_compiler=`set X $ac_compile; echo $2`
3077 { (ac_try="$ac_compiler --version >&5"
3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3082 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3083 (eval "$ac_compiler --version >&5") 2>&5
3085 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3086 (exit $ac_status); }
3087 { (ac_try="$ac_compiler -v >&5"
3089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3092 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3093 (eval "$ac_compiler -v >&5") 2>&5
3095 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3096 (exit $ac_status); }
3097 { (ac_try="$ac_compiler -V >&5"
3099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100 *) ac_try_echo=$ac_try;;
3102 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3103 (eval "$ac_compiler -V >&5") 2>&5
3105 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3106 (exit $ac_status); }
3108 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3109 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3110 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3111 echo $ECHO_N "(cached
) $ECHO_C" >&6
3113 cat >conftest.$ac_ext <<_ACEOF
3116 cat confdefs.h >>conftest.$ac_ext
3117 cat >>conftest.$ac_ext <<_ACEOF
3118 /* end confdefs.h. */
3131 rm -f conftest.$ac_objext
3132 if { (ac_try="$ac_compile"
3134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135 *) ac_try_echo=$ac_try;;
3137 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3138 (eval "$ac_compile") 2>conftest.er1
3140 grep -v '^ *+' conftest.er1 >conftest.err
3142 cat conftest.err >&5
3143 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3144 (exit $ac_status); } && {
3145 test -z "$ac_cxx_werror_flag" ||
3146 test ! -s conftest.err
3147 } && test -s conftest.$ac_objext; then
3150 echo "$as_me: failed program was
:" >&5
3151 sed 's/^/| /' conftest.$ac_ext >&5
3156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3157 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3160 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3161 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3162 GXX=`test $ac_compiler_gnu = yes && echo yes`
3163 ac_test_CXXFLAGS=${CXXFLAGS+set}
3164 ac_save_CXXFLAGS=$CXXFLAGS
3165 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3166 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3167 if test "${ac_cv_prog_cxx_g+set}" = set; then
3168 echo $ECHO_N "(cached
) $ECHO_C" >&6
3170 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3171 ac_cxx_werror_flag=yes
3174 cat >conftest.$ac_ext <<_ACEOF
3177 cat confdefs.h >>conftest.$ac_ext
3178 cat >>conftest.$ac_ext <<_ACEOF
3179 /* end confdefs.h. */
3189 rm -f conftest.$ac_objext
3190 if { (ac_try="$ac_compile"
3192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193 *) ac_try_echo=$ac_try;;
3195 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3196 (eval "$ac_compile") 2>conftest.er1
3198 grep -v '^ *+' conftest.er1 >conftest.err
3200 cat conftest.err >&5
3201 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3202 (exit $ac_status); } && {
3203 test -z "$ac_cxx_werror_flag" ||
3204 test ! -s conftest.err
3205 } && test -s conftest.$ac_objext; then
3206 ac_cv_prog_cxx_g=yes
3208 echo "$as_me: failed program was
:" >&5
3209 sed 's/^/| /' conftest.$ac_ext >&5
3212 cat >conftest.$ac_ext <<_ACEOF
3215 cat confdefs.h >>conftest.$ac_ext
3216 cat >>conftest.$ac_ext <<_ACEOF
3217 /* end confdefs.h. */
3227 rm -f conftest.$ac_objext
3228 if { (ac_try="$ac_compile"
3230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3231 *) ac_try_echo=$ac_try;;
3233 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3234 (eval "$ac_compile") 2>conftest.er1
3236 grep -v '^ *+' conftest.er1 >conftest.err
3238 cat conftest.err >&5
3239 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3240 (exit $ac_status); } && {
3241 test -z "$ac_cxx_werror_flag" ||
3242 test ! -s conftest.err
3243 } && test -s conftest.$ac_objext; then
3246 echo "$as_me: failed program was
:" >&5
3247 sed 's/^/| /' conftest.$ac_ext >&5
3249 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3251 cat >conftest.$ac_ext <<_ACEOF
3254 cat confdefs.h >>conftest.$ac_ext
3255 cat >>conftest.$ac_ext <<_ACEOF
3256 /* end confdefs.h. */
3266 rm -f conftest.$ac_objext
3267 if { (ac_try="$ac_compile"
3269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3270 *) ac_try_echo=$ac_try;;
3272 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3273 (eval "$ac_compile") 2>conftest.er1
3275 grep -v '^ *+' conftest.er1 >conftest.err
3277 cat conftest.err >&5
3278 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3279 (exit $ac_status); } && {
3280 test -z "$ac_cxx_werror_flag" ||
3281 test ! -s conftest.err
3282 } && test -s conftest.$ac_objext; then
3283 ac_cv_prog_cxx_g=yes
3285 echo "$as_me: failed program was
:" >&5
3286 sed 's/^/| /' conftest.$ac_ext >&5
3291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3300 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3301 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3302 if test "$ac_test_CXXFLAGS" = set; then
3303 CXXFLAGS=$ac_save_CXXFLAGS
3304 elif test $ac_cv_prog_cxx_g = yes; then
3305 if test "$GXX" = yes; then
3311 if test "$GXX" = yes; then
3318 ac_cpp='$CPP $CPPFLAGS'
3319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3323 if test -n "$ac_tool_prefix"; then
3324 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3325 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3326 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3327 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3328 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3329 echo $ECHO_N "(cached
) $ECHO_C" >&6
3331 if test -n "$CPPBIN"; then
3332 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3338 test -z "$as_dir" && as_dir=.
3339 for ac_exec_ext in '' $ac_executable_extensions; do
3340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3341 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3342 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3351 CPPBIN=$ac_cv_prog_CPPBIN
3352 if test -n "$CPPBIN"; then
3353 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3354 echo "${ECHO_T}$CPPBIN" >&6; }
3356 { echo "$as_me:$LINENO: result
: no
" >&5
3357 echo "${ECHO_T}no
" >&6; }
3362 if test -z "$ac_cv_prog_CPPBIN"; then
3363 ac_ct_CPPBIN=$CPPBIN
3364 # Extract the first word of "cpp
", so it can be a program name with args.
3365 set dummy cpp; ac_word=$2
3366 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3367 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3368 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3369 echo $ECHO_N "(cached
) $ECHO_C" >&6
3371 if test -n "$ac_ct_CPPBIN"; then
3372 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3378 test -z "$as_dir" && as_dir=.
3379 for ac_exec_ext in '' $ac_executable_extensions; do
3380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3381 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3382 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3391 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3392 if test -n "$ac_ct_CPPBIN"; then
3393 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3394 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3396 { echo "$as_me:$LINENO: result
: no
" >&5
3397 echo "${ECHO_T}no
" >&6; }
3400 if test "x
$ac_ct_CPPBIN" = x; then
3403 case $cross_compiling:$ac_tool_warned in
3405 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3406 whose name does not start with the
host triplet. If you think this
3407 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3408 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3409 whose name does not start with the
host triplet. If you think this
3410 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3411 ac_tool_warned=yes ;;
3413 CPPBIN=$ac_ct_CPPBIN
3416 CPPBIN="$ac_cv_prog_CPPBIN"
3420 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3421 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3422 if test "${wine_cv_toolsdir+set}" = set; then
3423 echo $ECHO_N "(cached
) $ECHO_C" >&6
3425 if test -z "$with_wine_tools"; then
3426 if test "$cross_compiling" = "yes"; then
3427 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3428 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3429 { (exit 1); exit 1; }; }
3431 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3433 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3434 case $with_wine_tools in
3435 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3436 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3439 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3440 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3441 { (exit 1); exit 1; }; }
3444 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3445 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3446 TOOLSDIR=$wine_cv_toolsdir
3451 ac_cpp='$CPP $CPPFLAGS'
3452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3455 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3456 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3457 # On Suns, sometimes $CPP names a directory.
3458 if test -n "$CPP" && test -d "$CPP"; then
3461 if test -z "$CPP"; then
3462 if test "${ac_cv_prog_CPP+set}" = set; then
3463 echo $ECHO_N "(cached
) $ECHO_C" >&6
3465 # Double quotes because CPP needs to be expanded
3466 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3469 for ac_c_preproc_warn_flag in '' yes
3471 # Use a header file that comes with gcc, so configuring glibc
3472 # with a fresh cross-compiler works.
3473 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3474 # <limits.h> exists even on freestanding compilers.
3475 # On the NeXT, cc -E runs the code through the compiler's parser,
3476 # not just through cpp. "Syntax error
" is here to catch this case.
3477 cat >conftest.$ac_ext <<_ACEOF
3480 cat confdefs.h >>conftest.$ac_ext
3481 cat >>conftest.$ac_ext <<_ACEOF
3482 /* end confdefs.h. */
3484 # include <limits.h>
3486 # include <assert.h>
3490 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3493 *) ac_try_echo=$ac_try;;
3495 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3496 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3498 grep -v '^ *+' conftest.er1 >conftest.err
3500 cat conftest.err >&5
3501 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3502 (exit $ac_status); } >/dev/null && {
3503 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3504 test ! -s conftest.err
3508 echo "$as_me: failed program was
:" >&5
3509 sed 's/^/| /' conftest.$ac_ext >&5
3511 # Broken: fails on valid input.
3515 rm -f conftest.err conftest.$ac_ext
3517 # OK, works on sane cases. Now check whether nonexistent headers
3518 # can be detected and how.
3519 cat >conftest.$ac_ext <<_ACEOF
3522 cat confdefs.h >>conftest.$ac_ext
3523 cat >>conftest.$ac_ext <<_ACEOF
3524 /* end confdefs.h. */
3525 #include <ac_nonexistent.h>
3527 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3530 *) ac_try_echo=$ac_try;;
3532 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3533 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3535 grep -v '^ *+' conftest.er1 >conftest.err
3537 cat conftest.err >&5
3538 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3539 (exit $ac_status); } >/dev/null && {
3540 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3541 test ! -s conftest.err
3543 # Broken: success on invalid input.
3546 echo "$as_me: failed program was
:" >&5
3547 sed 's/^/| /' conftest.$ac_ext >&5
3549 # Passes both tests.
3554 rm -f conftest.err conftest.$ac_ext
3557 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3558 rm -f conftest.err conftest.$ac_ext
3559 if $ac_preproc_ok; then
3571 { echo "$as_me:$LINENO: result
: $CPP" >&5
3572 echo "${ECHO_T}$CPP" >&6; }
3574 for ac_c_preproc_warn_flag in '' yes
3576 # Use a header file that comes with gcc, so configuring glibc
3577 # with a fresh cross-compiler works.
3578 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3579 # <limits.h> exists even on freestanding compilers.
3580 # On the NeXT, cc -E runs the code through the compiler's parser,
3581 # not just through cpp. "Syntax error
" is here to catch this case.
3582 cat >conftest.$ac_ext <<_ACEOF
3585 cat confdefs.h >>conftest.$ac_ext
3586 cat >>conftest.$ac_ext <<_ACEOF
3587 /* end confdefs.h. */
3589 # include <limits.h>
3591 # include <assert.h>
3595 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3598 *) ac_try_echo=$ac_try;;
3600 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3601 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3603 grep -v '^ *+' conftest.er1 >conftest.err
3605 cat conftest.err >&5
3606 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3607 (exit $ac_status); } >/dev/null && {
3608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3609 test ! -s conftest.err
3613 echo "$as_me: failed program was
:" >&5
3614 sed 's/^/| /' conftest.$ac_ext >&5
3616 # Broken: fails on valid input.
3620 rm -f conftest.err conftest.$ac_ext
3622 # OK, works on sane cases. Now check whether nonexistent headers
3623 # can be detected and how.
3624 cat >conftest.$ac_ext <<_ACEOF
3627 cat confdefs.h >>conftest.$ac_ext
3628 cat >>conftest.$ac_ext <<_ACEOF
3629 /* end confdefs.h. */
3630 #include <ac_nonexistent.h>
3632 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3635 *) ac_try_echo=$ac_try;;
3637 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3638 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3640 grep -v '^ *+' conftest.er1 >conftest.err
3642 cat conftest.err >&5
3643 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3644 (exit $ac_status); } >/dev/null && {
3645 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3646 test ! -s conftest.err
3648 # Broken: success on invalid input.
3651 echo "$as_me: failed program was
:" >&5
3652 sed 's/^/| /' conftest.$ac_ext >&5
3654 # Passes both tests.
3659 rm -f conftest.err conftest.$ac_ext
3662 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3663 rm -f conftest.err conftest.$ac_ext
3664 if $ac_preproc_ok; then
3667 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3668 See \
`config.log' for more details." >&5
3669 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3670 See \`config.log
' for more details." >&2;}
3671 { (exit 1); exit 1; }; }
3675 ac_cpp='$CPP $CPPFLAGS'
3676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3677 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3681 { echo "$as_me:$LINENO: checking for X" >&5
3682 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3685 # Check whether --with-x was given.
3686 if test "${with_x+set}" = set; then
3690 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3691 if test "x$with_x" = xno; then
3692 # The user explicitly disabled X.
3695 case $x_includes,$x_libraries in #(
3696 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3697 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3698 { (exit 1); exit 1; }; };; #(
3699 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3700 echo $ECHO_N "(cached) $ECHO_C" >&6
3702 # One or both of the vars are not set, and there is no cached value.
3703 ac_x_includes=no ac_x_libraries=no
3704 rm -f -r conftest.dir
3705 if mkdir conftest.dir; then
3707 cat >Imakefile <<'_ACEOF'
3709 @echo incroot='${INCROOT}'
3711 @echo usrlibdir='${USRLIBDIR}'
3713 @echo libdir='${LIBDIR}'
3715 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3716 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3717 for ac_var in incroot usrlibdir libdir; do
3718 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3720 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3721 for ac_extension in a so sl; do
3722 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3723 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3724 ac_im_usrlibdir=$ac_im_libdir; break
3727 # Screen out bogus values from the imake configuration. They are
3728 # bogus both because they are the default anyway, and because
3729 # using them would break gcc on systems where it needs fixed includes.
3730 case $ac_im_incroot in
3731 /usr/include) ac_x_includes= ;;
3732 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3734 case $ac_im_usrlibdir in
3736 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3740 rm -f -r conftest.dir
3743 # Standard set of common directories for X headers.
3744 # Check X11 before X11Rn because it is often a symlink to the current release.
3756 /usr
/local
/X11
/include
3757 /usr
/local
/X11R
6/include
3758 /usr
/local
/X11R
5/include
3759 /usr
/local
/X11R
4/include
3761 /usr
/local
/include
/X11
3762 /usr
/local
/include
/X11R6
3763 /usr
/local
/include
/X11R5
3764 /usr
/local
/include
/X11R4
3768 /usr
/XFree86
/include
/X11
3772 /usr
/unsupported
/include
3774 /usr
/local
/x11r
5/include
3775 /usr
/lpp
/Xamples
/include
3777 /usr
/openwin
/include
3778 /usr
/openwin
/share
/include
'
3780 if test "$ac_x_includes" = no; then
3781 # Guess where to find include files, by looking for Xlib.h.
3782 # First, try using that file with no special directory specified.
3783 cat >conftest.$ac_ext <<_ACEOF
3786 cat confdefs.h >>conftest.$ac_ext
3787 cat >>conftest.$ac_ext <<_ACEOF
3788 /* end confdefs.h. */
3789 #include <X11/Xlib.h>
3791 if { (ac_try="$ac_cpp conftest.$ac_ext"
3793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3794 *) ac_try_echo=$ac_try;;
3796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3799 grep -v '^
*+' conftest.er1 >conftest.err
3801 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } >/dev/null && {
3804 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3805 test ! -s conftest.err
3807 # We can compile using X headers with no special include directory.
3810 echo "$as_me: failed program was:" >&5
3811 sed 's
/^
/|
/' conftest.$ac_ext >&5
3813 for ac_dir in $ac_x_header_dirs; do
3814 if test -r "$ac_dir/X11/Xlib.h"; then
3815 ac_x_includes=$ac_dir
3821 rm -f conftest.err conftest.$ac_ext
3822 fi # $ac_x_includes = no
3824 if test "$ac_x_libraries" = no; then
3825 # Check for the libraries.
3826 # See if we find them without any special options.
3827 # Don't add to
$LIBS permanently.
3830 cat >conftest.
$ac_ext <<_ACEOF
3833 cat confdefs.h
>>conftest.
$ac_ext
3834 cat >>conftest.
$ac_ext <<_ACEOF
3835 /* end confdefs.h. */
3836 #include <X11/Xlib.h>
3845 rm -f conftest.
$ac_objext conftest
$ac_exeext
3846 if { (ac_try
="$ac_link"
3848 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3849 *) ac_try_echo=$ac_try;;
3851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3852 (eval "$ac_link") 2>conftest.er1
3854 grep -v '^ *+' conftest.er1 >conftest.err
3856 cat conftest.err >&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); } && {
3859 test -z "$ac_c_werror_flag" ||
3860 test ! -s conftest.err
3861 } && test -s conftest$ac_exeext &&
3862 $as_test_x conftest$ac_exeext; then
3864 # We can link X programs with no special library path.
3867 echo "$as_me: failed program was:" >&5
3868 sed 's/^/| /' conftest.$ac_ext >&5
3871 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
3873 # Don't even attempt the hair of trying to link an X program!
3874 for ac_extension in a so sl; do
3875 if test -r "$ac_dir/libX11.$ac_extension"; then
3876 ac_x_libraries=$ac_dir
3883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3884 conftest$ac_exeext conftest.$ac_ext
3885 fi # $ac_x_libraries = no
3887 case $ac_x_includes,$ac_x_libraries in #(
3889 # Didn't find X, or a directory has "'" in its name.
3890 ac_cv_have_x="have_x=no";; #(
3892 # Record where we found X for the cache.
3893 ac_cv_have_x="have_x=yes\
3894 ac_x_includes='$ac_x_includes'\
3895 ac_x_libraries='$ac_x_libraries'"
3901 eval "$ac_cv_have_x"
3904 if test "$have_x" != yes; then
3905 { echo "$as_me:$LINENO: result: $have_x" >&5
3906 echo "${ECHO_T}$have_x" >&6; }
3909 # If each of the values was on the command line, it overrides each guess.
3910 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3911 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3912 # Update the cache value to reflect the command line values.
3913 ac_cv_have_x="have_x=yes\
3914 ac_x_includes='$x_includes'\
3915 ac_x_libraries='$x_libraries'"
3916 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3917 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3920 if test "$no_x" = yes; then
3921 # Not all programs may use this symbol, but it does not hurt to define it.
3923 cat >>confdefs.h <<\_ACEOF
3924 #define X_DISPLAY_MISSING 1
3927 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3929 if test -n "$x_includes"; then
3930 X_CFLAGS="$X_CFLAGS -I$x_includes"
3933 # It would also be nice to do this for all -L options, not just this one.
3934 if test -n "$x_libraries"; then
3935 X_LIBS="$X_LIBS -L$x_libraries"
3936 # For Solaris; some versions of Sun CC require a space after -R and
3937 # others require no space. Words are not sufficient . . . .
3938 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3939 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3940 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3941 ac_xsave_c_werror_flag=$ac_c_werror_flag
3942 ac_c_werror_flag=yes
3943 cat >conftest.$ac_ext <<_ACEOF
3946 cat confdefs.h >>conftest.$ac_ext
3947 cat >>conftest.$ac_ext <<_ACEOF
3948 /* end confdefs.h. */
3958 rm -f conftest.$ac_objext conftest$ac_exeext
3959 if { (ac_try="$ac_link"
3961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3962 *) ac_try_echo
=$ac_try;;
3964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3965 (eval "$ac_link") 2>conftest.er1
3967 grep -v '^ *+' conftest.er1
>conftest.err
3969 cat conftest.err
>&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); } && {
3972 test -z "$ac_c_werror_flag" ||
3973 test ! -s conftest.err
3974 } && test -s conftest
$ac_exeext &&
3975 $as_test_x conftest
$ac_exeext; then
3976 { echo "$as_me:$LINENO: result: no" >&5
3977 echo "${ECHO_T}no" >&6; }
3978 X_LIBS
="$X_LIBS -R$x_libraries"
3980 echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.
$ac_ext >&5
3983 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3984 cat >conftest.
$ac_ext <<_ACEOF
3987 cat confdefs.h
>>conftest.
$ac_ext
3988 cat >>conftest.
$ac_ext <<_ACEOF
3989 /* end confdefs.h. */
3999 rm -f conftest.
$ac_objext conftest
$ac_exeext
4000 if { (ac_try
="$ac_link"
4002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4003 *) ac_try_echo=$ac_try;;
4005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4006 (eval "$ac_link") 2>conftest.er1
4008 grep -v '^ *+' conftest.er1 >conftest.err
4010 cat conftest.err >&5
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); } && {
4013 test -z "$ac_c_werror_flag" ||
4014 test ! -s conftest.err
4015 } && test -s conftest$ac_exeext &&
4016 $as_test_x conftest$ac_exeext; then
4017 { echo "$as_me:$LINENO: result: yes" >&5
4018 echo "${ECHO_T}yes" >&6; }
4019 X_LIBS="$X_LIBS -R $x_libraries"
4021 echo "$as_me: failed program was:" >&5
4022 sed 's/^/| /' conftest.$ac_ext >&5
4024 { echo "$as_me:$LINENO: result: neither works" >&5
4025 echo "${ECHO_T}neither works" >&6; }
4028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4029 conftest$ac_exeext conftest.$ac_ext
4032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4033 conftest$ac_exeext conftest.$ac_ext
4034 ac_c_werror_flag=$ac_xsave_c_werror_flag
4038 # Check for system-dependent libraries X programs must link with.
4039 # Do this before checking for the system-independent R6 libraries
4040 # (-lICE), since we may need -lsocket or whatever for X linking.
4042 if test "$ISC" = yes; then
4043 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4045 # Martyn Johnson says this is needed for Ultrix, if the X
4046 # libraries were built with DECnet support. And Karl Berry says
4047 # the Alpha needs dnet_stub (dnet does not exist).
4048 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4049 cat >conftest.$ac_ext <<_ACEOF
4052 cat confdefs.h >>conftest.$ac_ext
4053 cat >>conftest.$ac_ext <<_ACEOF
4054 /* end confdefs.h. */
4056 /* Override any GCC internal prototype to avoid an error.
4057 Use char because int might match the return type of a GCC
4058 builtin and then its argument prototype would still apply. */
4062 char XOpenDisplay ();
4066 return XOpenDisplay ();
4071 rm -f conftest.$ac_objext conftest$ac_exeext
4072 if { (ac_try="$ac_link"
4074 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4075 *) ac_try_echo
=$ac_try;;
4077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4078 (eval "$ac_link") 2>conftest.er1
4080 grep -v '^ *+' conftest.er1
>conftest.err
4082 cat conftest.err
>&5
4083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084 (exit $ac_status); } && {
4085 test -z "$ac_c_werror_flag" ||
4086 test ! -s conftest.err
4087 } && test -s conftest
$ac_exeext &&
4088 $as_test_x conftest
$ac_exeext; then
4091 echo "$as_me: failed program was:" >&5
4092 sed 's/^/| /' conftest.
$ac_ext >&5
4094 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4095 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4096 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4097 echo $ECHO_N "(cached) $ECHO_C" >&6
4099 ac_check_lib_save_LIBS
=$LIBS
4101 cat >conftest.
$ac_ext <<_ACEOF
4104 cat confdefs.h
>>conftest.
$ac_ext
4105 cat >>conftest.
$ac_ext <<_ACEOF
4106 /* end confdefs.h. */
4108 /* Override any GCC internal prototype to avoid an error.
4109 Use char because int might match the return type of a GCC
4110 builtin and then its argument prototype would still apply. */
4118 return dnet_ntoa ();
4123 rm -f conftest.
$ac_objext conftest
$ac_exeext
4124 if { (ac_try
="$ac_link"
4126 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4127 *) ac_try_echo=$ac_try;;
4129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4130 (eval "$ac_link") 2>conftest.er1
4132 grep -v '^ *+' conftest.er1 >conftest.err
4134 cat conftest.err >&5
4135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136 (exit $ac_status); } && {
4137 test -z "$ac_c_werror_flag" ||
4138 test ! -s conftest.err
4139 } && test -s conftest$ac_exeext &&
4140 $as_test_x conftest$ac_exeext; then
4141 ac_cv_lib_dnet_dnet_ntoa=yes
4143 echo "$as_me: failed program was:" >&5
4144 sed 's/^/| /' conftest.$ac_ext >&5
4146 ac_cv_lib_dnet_dnet_ntoa=no
4149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4150 conftest$ac_exeext conftest.$ac_ext
4151 LIBS=$ac_check_lib_save_LIBS
4153 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4154 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4155 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4156 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4159 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4160 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4161 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4162 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4163 echo $ECHO_N "(cached) $ECHO_C" >&6
4165 ac_check_lib_save_LIBS=$LIBS
4166 LIBS="-ldnet_stub $LIBS"
4167 cat >conftest.$ac_ext <<_ACEOF
4170 cat confdefs.h >>conftest.$ac_ext
4171 cat >>conftest.$ac_ext <<_ACEOF
4172 /* end confdefs.h. */
4174 /* Override any GCC internal prototype to avoid an error.
4175 Use char because int might match the return type of a GCC
4176 builtin and then its argument prototype would still apply. */
4184 return dnet_ntoa ();
4189 rm -f conftest.$ac_objext conftest$ac_exeext
4190 if { (ac_try="$ac_link"
4192 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4193 *) ac_try_echo
=$ac_try;;
4195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4196 (eval "$ac_link") 2>conftest.er1
4198 grep -v '^ *+' conftest.er1
>conftest.err
4200 cat conftest.err
>&5
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); } && {
4203 test -z "$ac_c_werror_flag" ||
4204 test ! -s conftest.err
4205 } && test -s conftest
$ac_exeext &&
4206 $as_test_x conftest
$ac_exeext; then
4207 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4209 echo "$as_me: failed program was:" >&5
4210 sed 's/^/| /' conftest.
$ac_ext >&5
4212 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4215 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4216 conftest
$ac_exeext conftest.
$ac_ext
4217 LIBS
=$ac_check_lib_save_LIBS
4219 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4220 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4221 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4222 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4228 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4229 conftest
$ac_exeext conftest.
$ac_ext
4230 LIBS
="$ac_xsave_LIBS"
4232 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4233 # to get the SysV transport functions.
4234 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4236 # The nsl library prevents programs from opening the X display
4237 # on Irix 5.2, according to T.E. Dickey.
4238 # The functions gethostbyname, getservbyname, and inet_addr are
4239 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4240 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4241 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4242 if test "${ac_cv_func_gethostbyname+set}" = set; then
4243 echo $ECHO_N "(cached) $ECHO_C" >&6
4245 cat >conftest.
$ac_ext <<_ACEOF
4248 cat confdefs.h
>>conftest.
$ac_ext
4249 cat >>conftest.
$ac_ext <<_ACEOF
4250 /* end confdefs.h. */
4251 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4253 #define gethostbyname innocuous_gethostbyname
4255 /* System header to define __stub macros and hopefully few prototypes,
4256 which can conflict with char gethostbyname (); below.
4257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4258 <limits.h> exists even on freestanding compilers. */
4261 # include <limits.h>
4263 # include <assert.h>
4266 #undef gethostbyname
4268 /* Override any GCC internal prototype to avoid an error.
4269 Use char because int might match the return type of a GCC
4270 builtin and then its argument prototype would still apply. */
4274 char gethostbyname ();
4275 /* The GNU C library defines this for functions which it implements
4276 to always fail with ENOSYS. Some functions are actually named
4277 something starting with __ and the normal name is an alias. */
4278 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4285 return gethostbyname ();
4290 rm -f conftest.
$ac_objext conftest
$ac_exeext
4291 if { (ac_try
="$ac_link"
4293 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4294 *) ac_try_echo=$ac_try;;
4296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4297 (eval "$ac_link") 2>conftest.er1
4299 grep -v '^ *+' conftest.er1 >conftest.err
4301 cat conftest.err >&5
4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303 (exit $ac_status); } && {
4304 test -z "$ac_c_werror_flag" ||
4305 test ! -s conftest.err
4306 } && test -s conftest$ac_exeext &&
4307 $as_test_x conftest$ac_exeext; then
4308 ac_cv_func_gethostbyname=yes
4310 echo "$as_me: failed program was:" >&5
4311 sed 's/^/| /' conftest.$ac_ext >&5
4313 ac_cv_func_gethostbyname=no
4316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4317 conftest$ac_exeext conftest.$ac_ext
4319 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4320 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4322 if test $ac_cv_func_gethostbyname = no; then
4323 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4324 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4325 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4326 echo $ECHO_N "(cached) $ECHO_C" >&6
4328 ac_check_lib_save_LIBS=$LIBS
4330 cat >conftest.$ac_ext <<_ACEOF
4333 cat confdefs.h >>conftest.$ac_ext
4334 cat >>conftest.$ac_ext <<_ACEOF
4335 /* end confdefs.h. */
4337 /* Override any GCC internal prototype to avoid an error.
4338 Use char because int might match the return type of a GCC
4339 builtin and then its argument prototype would still apply. */
4343 char gethostbyname ();
4347 return gethostbyname ();
4352 rm -f conftest.$ac_objext conftest$ac_exeext
4353 if { (ac_try="$ac_link"
4355 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4356 *) ac_try_echo
=$ac_try;;
4358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4359 (eval "$ac_link") 2>conftest.er1
4361 grep -v '^ *+' conftest.er1
>conftest.err
4363 cat conftest.err
>&5
4364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365 (exit $ac_status); } && {
4366 test -z "$ac_c_werror_flag" ||
4367 test ! -s conftest.err
4368 } && test -s conftest
$ac_exeext &&
4369 $as_test_x conftest
$ac_exeext; then
4370 ac_cv_lib_nsl_gethostbyname
=yes
4372 echo "$as_me: failed program was:" >&5
4373 sed 's/^/| /' conftest.
$ac_ext >&5
4375 ac_cv_lib_nsl_gethostbyname
=no
4378 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4379 conftest
$ac_exeext conftest.
$ac_ext
4380 LIBS
=$ac_check_lib_save_LIBS
4382 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4383 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4384 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4385 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4388 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4389 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4390 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4391 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4394 ac_check_lib_save_LIBS
=$LIBS
4396 cat >conftest.
$ac_ext <<_ACEOF
4399 cat confdefs.h
>>conftest.
$ac_ext
4400 cat >>conftest.
$ac_ext <<_ACEOF
4401 /* end confdefs.h. */
4403 /* Override any GCC internal prototype to avoid an error.
4404 Use char because int might match the return type of a GCC
4405 builtin and then its argument prototype would still apply. */
4409 char gethostbyname ();
4413 return gethostbyname ();
4418 rm -f conftest.
$ac_objext conftest
$ac_exeext
4419 if { (ac_try
="$ac_link"
4421 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4422 *) ac_try_echo=$ac_try;;
4424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4425 (eval "$ac_link") 2>conftest.er1
4427 grep -v '^ *+' conftest.er1 >conftest.err
4429 cat conftest.err >&5
4430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431 (exit $ac_status); } && {
4432 test -z "$ac_c_werror_flag" ||
4433 test ! -s conftest.err
4434 } && test -s conftest$ac_exeext &&
4435 $as_test_x conftest$ac_exeext; then
4436 ac_cv_lib_bsd_gethostbyname=yes
4438 echo "$as_me: failed program was:" >&5
4439 sed 's/^/| /' conftest.$ac_ext >&5
4441 ac_cv_lib_bsd_gethostbyname=no
4444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4445 conftest$ac_exeext conftest.$ac_ext
4446 LIBS=$ac_check_lib_save_LIBS
4448 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4449 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4450 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4451 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4457 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4458 # socket/setsockopt and other routines are undefined under SCO ODT
4459 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4460 # on later versions), says Simon Leinen: it contains gethostby*
4461 # variants that don't use the name server (or something). -lsocket
4462 # must be given before -lnsl if both are needed. We assume that
4463 # if connect needs -lnsl, so does gethostbyname.
4464 { echo "$as_me:$LINENO: checking for connect" >&5
4465 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4466 if test "${ac_cv_func_connect+set}" = set; then
4467 echo $ECHO_N "(cached) $ECHO_C" >&6
4469 cat >conftest.$ac_ext <<_ACEOF
4472 cat confdefs.h >>conftest.$ac_ext
4473 cat >>conftest.$ac_ext <<_ACEOF
4474 /* end confdefs.h. */
4475 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4477 #define connect innocuous_connect
4479 /* System header to define __stub macros and hopefully few prototypes,
4480 which can conflict with char connect (); below.
4481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4482 <limits.h> exists even on freestanding compilers. */
4485 # include <limits.h>
4487 # include <assert.h>
4492 /* Override any GCC internal prototype to avoid an error.
4493 Use char because int might match the return type of a GCC
4494 builtin and then its argument prototype would still apply. */
4499 /* The GNU C library defines this for functions which it implements
4500 to always fail with ENOSYS. Some functions are actually named
4501 something starting with __ and the normal name is an alias. */
4502 #if defined __stub_connect || defined __stub___connect
4514 rm -f conftest.$ac_objext conftest$ac_exeext
4515 if { (ac_try="$ac_link"
4517 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4518 *) ac_try_echo
=$ac_try;;
4520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4521 (eval "$ac_link") 2>conftest.er1
4523 grep -v '^ *+' conftest.er1
>conftest.err
4525 cat conftest.err
>&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); } && {
4528 test -z "$ac_c_werror_flag" ||
4529 test ! -s conftest.err
4530 } && test -s conftest
$ac_exeext &&
4531 $as_test_x conftest
$ac_exeext; then
4532 ac_cv_func_connect
=yes
4534 echo "$as_me: failed program was:" >&5
4535 sed 's/^/| /' conftest.
$ac_ext >&5
4537 ac_cv_func_connect
=no
4540 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4541 conftest
$ac_exeext conftest.
$ac_ext
4543 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4544 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4546 if test $ac_cv_func_connect = no
; then
4547 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4548 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4549 if test "${ac_cv_lib_socket_connect+set}" = set; then
4550 echo $ECHO_N "(cached) $ECHO_C" >&6
4552 ac_check_lib_save_LIBS
=$LIBS
4553 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4554 cat >conftest.
$ac_ext <<_ACEOF
4557 cat confdefs.h
>>conftest.
$ac_ext
4558 cat >>conftest.
$ac_ext <<_ACEOF
4559 /* end confdefs.h. */
4561 /* Override any GCC internal prototype to avoid an error.
4562 Use char because int might match the return type of a GCC
4563 builtin and then its argument prototype would still apply. */
4576 rm -f conftest.
$ac_objext conftest
$ac_exeext
4577 if { (ac_try
="$ac_link"
4579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4580 *) ac_try_echo=$ac_try;;
4582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4583 (eval "$ac_link") 2>conftest.er1
4585 grep -v '^ *+' conftest.er1 >conftest.err
4587 cat conftest.err >&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); } && {
4590 test -z "$ac_c_werror_flag" ||
4591 test ! -s conftest.err
4592 } && test -s conftest$ac_exeext &&
4593 $as_test_x conftest$ac_exeext; then
4594 ac_cv_lib_socket_connect=yes
4596 echo "$as_me: failed program was:" >&5
4597 sed 's/^/| /' conftest.$ac_ext >&5
4599 ac_cv_lib_socket_connect=no
4602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4603 conftest$ac_exeext conftest.$ac_ext
4604 LIBS=$ac_check_lib_save_LIBS
4606 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4607 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4608 if test $ac_cv_lib_socket_connect = yes; then
4609 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4614 # Guillermo Gomez says -lposix is necessary on A/UX.
4615 { echo "$as_me:$LINENO: checking for remove" >&5
4616 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4617 if test "${ac_cv_func_remove+set}" = set; then
4618 echo $ECHO_N "(cached) $ECHO_C" >&6
4620 cat >conftest.$ac_ext <<_ACEOF
4623 cat confdefs.h >>conftest.$ac_ext
4624 cat >>conftest.$ac_ext <<_ACEOF
4625 /* end confdefs.h. */
4626 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4628 #define remove innocuous_remove
4630 /* System header to define __stub macros and hopefully few prototypes,
4631 which can conflict with char remove (); below.
4632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4633 <limits.h> exists even on freestanding compilers. */
4636 # include <limits.h>
4638 # include <assert.h>
4643 /* Override any GCC internal prototype to avoid an error.
4644 Use char because int might match the return type of a GCC
4645 builtin and then its argument prototype would still apply. */
4650 /* The GNU C library defines this for functions which it implements
4651 to always fail with ENOSYS. Some functions are actually named
4652 something starting with __ and the normal name is an alias. */
4653 #if defined __stub_remove || defined __stub___remove
4665 rm -f conftest.$ac_objext conftest$ac_exeext
4666 if { (ac_try="$ac_link"
4668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4669 *) ac_try_echo
=$ac_try;;
4671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4672 (eval "$ac_link") 2>conftest.er1
4674 grep -v '^ *+' conftest.er1
>conftest.err
4676 cat conftest.err
>&5
4677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678 (exit $ac_status); } && {
4679 test -z "$ac_c_werror_flag" ||
4680 test ! -s conftest.err
4681 } && test -s conftest
$ac_exeext &&
4682 $as_test_x conftest
$ac_exeext; then
4683 ac_cv_func_remove
=yes
4685 echo "$as_me: failed program was:" >&5
4686 sed 's/^/| /' conftest.
$ac_ext >&5
4688 ac_cv_func_remove
=no
4691 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4692 conftest
$ac_exeext conftest.
$ac_ext
4694 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4695 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4697 if test $ac_cv_func_remove = no
; then
4698 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4699 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4700 if test "${ac_cv_lib_posix_remove+set}" = set; then
4701 echo $ECHO_N "(cached) $ECHO_C" >&6
4703 ac_check_lib_save_LIBS
=$LIBS
4704 LIBS
="-lposix $LIBS"
4705 cat >conftest.
$ac_ext <<_ACEOF
4708 cat confdefs.h
>>conftest.
$ac_ext
4709 cat >>conftest.
$ac_ext <<_ACEOF
4710 /* end confdefs.h. */
4712 /* Override any GCC internal prototype to avoid an error.
4713 Use char because int might match the return type of a GCC
4714 builtin and then its argument prototype would still apply. */
4727 rm -f conftest.
$ac_objext conftest
$ac_exeext
4728 if { (ac_try
="$ac_link"
4730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4731 *) ac_try_echo=$ac_try;;
4733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4734 (eval "$ac_link") 2>conftest.er1
4736 grep -v '^ *+' conftest.er1 >conftest.err
4738 cat conftest.err >&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); } && {
4741 test -z "$ac_c_werror_flag" ||
4742 test ! -s conftest.err
4743 } && test -s conftest$ac_exeext &&
4744 $as_test_x conftest$ac_exeext; then
4745 ac_cv_lib_posix_remove=yes
4747 echo "$as_me: failed program was:" >&5
4748 sed 's/^/| /' conftest.$ac_ext >&5
4750 ac_cv_lib_posix_remove=no
4753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4754 conftest$ac_exeext conftest.$ac_ext
4755 LIBS=$ac_check_lib_save_LIBS
4757 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4758 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4759 if test $ac_cv_lib_posix_remove = yes; then
4760 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4765 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4766 { echo "$as_me:$LINENO: checking for shmat" >&5
4767 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4768 if test "${ac_cv_func_shmat+set}" = set; then
4769 echo $ECHO_N "(cached) $ECHO_C" >&6
4771 cat >conftest.$ac_ext <<_ACEOF
4774 cat confdefs.h >>conftest.$ac_ext
4775 cat >>conftest.$ac_ext <<_ACEOF
4776 /* end confdefs.h. */
4777 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4779 #define shmat innocuous_shmat
4781 /* System header to define __stub macros and hopefully few prototypes,
4782 which can conflict with char shmat (); below.
4783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4784 <limits.h> exists even on freestanding compilers. */
4787 # include <limits.h>
4789 # include <assert.h>
4794 /* Override any GCC internal prototype to avoid an error.
4795 Use char because int might match the return type of a GCC
4796 builtin and then its argument prototype would still apply. */
4801 /* The GNU C library defines this for functions which it implements
4802 to always fail with ENOSYS. Some functions are actually named
4803 something starting with __ and the normal name is an alias. */
4804 #if defined __stub_shmat || defined __stub___shmat
4816 rm -f conftest.$ac_objext conftest$ac_exeext
4817 if { (ac_try="$ac_link"
4819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4820 *) ac_try_echo
=$ac_try;;
4822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4823 (eval "$ac_link") 2>conftest.er1
4825 grep -v '^ *+' conftest.er1
>conftest.err
4827 cat conftest.err
>&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); } && {
4830 test -z "$ac_c_werror_flag" ||
4831 test ! -s conftest.err
4832 } && test -s conftest
$ac_exeext &&
4833 $as_test_x conftest
$ac_exeext; then
4834 ac_cv_func_shmat
=yes
4836 echo "$as_me: failed program was:" >&5
4837 sed 's/^/| /' conftest.
$ac_ext >&5
4842 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4843 conftest
$ac_exeext conftest.
$ac_ext
4845 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4846 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4848 if test $ac_cv_func_shmat = no
; then
4849 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4850 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4851 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4852 echo $ECHO_N "(cached) $ECHO_C" >&6
4854 ac_check_lib_save_LIBS
=$LIBS
4856 cat >conftest.
$ac_ext <<_ACEOF
4859 cat confdefs.h
>>conftest.
$ac_ext
4860 cat >>conftest.
$ac_ext <<_ACEOF
4861 /* end confdefs.h. */
4863 /* Override any GCC internal prototype to avoid an error.
4864 Use char because int might match the return type of a GCC
4865 builtin and then its argument prototype would still apply. */
4878 rm -f conftest.
$ac_objext conftest
$ac_exeext
4879 if { (ac_try
="$ac_link"
4881 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4882 *) ac_try_echo=$ac_try;;
4884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4885 (eval "$ac_link") 2>conftest.er1
4887 grep -v '^ *+' conftest.er1 >conftest.err
4889 cat conftest.err >&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); } && {
4892 test -z "$ac_c_werror_flag" ||
4893 test ! -s conftest.err
4894 } && test -s conftest$ac_exeext &&
4895 $as_test_x conftest$ac_exeext; then
4896 ac_cv_lib_ipc_shmat=yes
4898 echo "$as_me: failed program was:" >&5
4899 sed 's/^/| /' conftest.$ac_ext >&5
4901 ac_cv_lib_ipc_shmat=no
4904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4905 conftest$ac_exeext conftest.$ac_ext
4906 LIBS=$ac_check_lib_save_LIBS
4908 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4909 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4910 if test $ac_cv_lib_ipc_shmat = yes; then
4911 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4917 # Check for libraries that X11R6 Xt/Xaw programs need.
4918 ac_save_LDFLAGS=$LDFLAGS
4919 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4920 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4921 # check for ICE first), but we must link in the order -lSM -lICE or
4922 # we get undefined symbols. So assume we have SM if we have ICE.
4923 # These have to be linked with before -lX11, unlike the other
4924 # libraries we check for below, so use a different variable.
4925 # John Interrante, Karl Berry
4926 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4927 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4928 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4931 ac_check_lib_save_LIBS=$LIBS
4932 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4933 cat >conftest.$ac_ext <<_ACEOF
4936 cat confdefs.h >>conftest.$ac_ext
4937 cat >>conftest.$ac_ext <<_ACEOF
4938 /* end confdefs.h. */
4940 /* Override any GCC internal prototype to avoid an error.
4941 Use char because int might match the return type of a GCC
4942 builtin and then its argument prototype would still apply. */
4946 char IceConnectionNumber ();
4950 return IceConnectionNumber ();
4955 rm -f conftest.$ac_objext conftest$ac_exeext
4956 if { (ac_try="$ac_link"
4958 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4959 *) ac_try_echo
=$ac_try;;
4961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4962 (eval "$ac_link") 2>conftest.er1
4964 grep -v '^ *+' conftest.er1
>conftest.err
4966 cat conftest.err
>&5
4967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4968 (exit $ac_status); } && {
4969 test -z "$ac_c_werror_flag" ||
4970 test ! -s conftest.err
4971 } && test -s conftest
$ac_exeext &&
4972 $as_test_x conftest
$ac_exeext; then
4973 ac_cv_lib_ICE_IceConnectionNumber
=yes
4975 echo "$as_me: failed program was:" >&5
4976 sed 's/^/| /' conftest.
$ac_ext >&5
4978 ac_cv_lib_ICE_IceConnectionNumber
=no
4981 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4982 conftest
$ac_exeext conftest.
$ac_ext
4983 LIBS
=$ac_check_lib_save_LIBS
4985 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4986 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4987 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4988 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4991 LDFLAGS
=$ac_save_LDFLAGS
4998 # Extract the first word of "$ac_prog", so it can be a program name with args.
4999 set dummy
$ac_prog; ac_word
=$2
5000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5002 if test "${ac_cv_prog_FLEX+set}" = set; then
5003 echo $ECHO_N "(cached) $ECHO_C" >&6
5005 if test -n "$FLEX"; then
5006 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5012 test -z "$as_dir" && as_dir
=.
5013 for ac_exec_ext
in '' $ac_executable_extensions; do
5014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5015 ac_cv_prog_FLEX
="$ac_prog"
5016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5025 FLEX
=$ac_cv_prog_FLEX
5026 if test -n "$FLEX"; then
5027 { echo "$as_me:$LINENO: result: $FLEX" >&5
5028 echo "${ECHO_T}$FLEX" >&6; }
5030 { echo "$as_me:$LINENO: result: no" >&5
5031 echo "${ECHO_T}no" >&6; }
5035 test -n "$FLEX" && break
5037 test -n "$FLEX" || FLEX
="none"
5039 if test "$FLEX" = "none"
5041 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5042 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5043 { (exit 1); exit 1; }; }
5046 for ac_prog
in bison
5048 # Extract the first word of "$ac_prog", so it can be a program name with args.
5049 set dummy
$ac_prog; ac_word
=$2
5050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5052 if test "${ac_cv_prog_BISON+set}" = set; then
5053 echo $ECHO_N "(cached) $ECHO_C" >&6
5055 if test -n "$BISON"; then
5056 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5062 test -z "$as_dir" && as_dir
=.
5063 for ac_exec_ext
in '' $ac_executable_extensions; do
5064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5065 ac_cv_prog_BISON
="$ac_prog"
5066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5075 BISON
=$ac_cv_prog_BISON
5076 if test -n "$BISON"; then
5077 { echo "$as_me:$LINENO: result: $BISON" >&5
5078 echo "${ECHO_T}$BISON" >&6; }
5080 { echo "$as_me:$LINENO: result: no" >&5
5081 echo "${ECHO_T}no" >&6; }
5085 test -n "$BISON" && break
5087 test -n "$BISON" || BISON
="none"
5089 if test "$BISON" = "none"
5091 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5092 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5093 { (exit 1); exit 1; }; }
5096 if test -n "$ac_tool_prefix"; then
5097 for ac_prog
in gas as
5099 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5100 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5103 if test "${ac_cv_prog_AS+set}" = set; then
5104 echo $ECHO_N "(cached) $ECHO_C" >&6
5106 if test -n "$AS"; then
5107 ac_cv_prog_AS
="$AS" # Let the user override the test.
5109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5113 test -z "$as_dir" && as_dir
=.
5114 for ac_exec_ext
in '' $ac_executable_extensions; do
5115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5116 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5127 if test -n "$AS"; then
5128 { echo "$as_me:$LINENO: result: $AS" >&5
5129 echo "${ECHO_T}$AS" >&6; }
5131 { echo "$as_me:$LINENO: result: no" >&5
5132 echo "${ECHO_T}no" >&6; }
5136 test -n "$AS" && break
5139 if test -z "$AS"; then
5141 for ac_prog
in gas as
5143 # Extract the first word of "$ac_prog", so it can be a program name with args.
5144 set dummy
$ac_prog; ac_word
=$2
5145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5147 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5148 echo $ECHO_N "(cached) $ECHO_C" >&6
5150 if test -n "$ac_ct_AS"; then
5151 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5157 test -z "$as_dir" && as_dir
=.
5158 for ac_exec_ext
in '' $ac_executable_extensions; do
5159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5160 ac_cv_prog_ac_ct_AS
="$ac_prog"
5161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5170 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5171 if test -n "$ac_ct_AS"; then
5172 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5173 echo "${ECHO_T}$ac_ct_AS" >&6; }
5175 { echo "$as_me:$LINENO: result: no" >&5
5176 echo "${ECHO_T}no" >&6; }
5180 test -n "$ac_ct_AS" && break
5183 if test "x$ac_ct_AS" = x
; then
5186 case $cross_compiling:$ac_tool_warned in
5188 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5189 whose name does not start with the host triplet. If you think this
5190 configuration is useful to you, please write to autoconf@gnu.org." >&5
5191 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5192 whose name does not start with the host triplet. If you think this
5193 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5194 ac_tool_warned
=yes ;;
5200 if test -n "$ac_tool_prefix"; then
5201 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5202 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5205 if test "${ac_cv_prog_LD+set}" = set; then
5206 echo $ECHO_N "(cached) $ECHO_C" >&6
5208 if test -n "$LD"; then
5209 ac_cv_prog_LD
="$LD" # Let the user override the test.
5211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5215 test -z "$as_dir" && as_dir
=.
5216 for ac_exec_ext
in '' $ac_executable_extensions; do
5217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5218 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5229 if test -n "$LD"; then
5230 { echo "$as_me:$LINENO: result: $LD" >&5
5231 echo "${ECHO_T}$LD" >&6; }
5233 { echo "$as_me:$LINENO: result: no" >&5
5234 echo "${ECHO_T}no" >&6; }
5239 if test -z "$ac_cv_prog_LD"; then
5241 # Extract the first word of "ld", so it can be a program name with args.
5242 set dummy ld
; ac_word
=$2
5243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5245 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 if test -n "$ac_ct_LD"; then
5249 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5255 test -z "$as_dir" && as_dir
=.
5256 for ac_exec_ext
in '' $ac_executable_extensions; do
5257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5258 ac_cv_prog_ac_ct_LD
="ld"
5259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5269 if test -n "$ac_ct_LD"; then
5270 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5271 echo "${ECHO_T}$ac_ct_LD" >&6; }
5273 { echo "$as_me:$LINENO: result: no" >&5
5274 echo "${ECHO_T}no" >&6; }
5277 if test "x$ac_ct_LD" = x
; then
5280 case $cross_compiling:$ac_tool_warned in
5282 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5283 whose name does not start with the host triplet. If you think this
5284 configuration is useful to you, please write to autoconf@gnu.org." >&5
5285 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5286 whose name does not start with the host triplet. If you think this
5287 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5288 ac_tool_warned
=yes ;;
5296 if test -n "$ac_tool_prefix"; then
5297 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5298 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5299 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5301 if test "${ac_cv_prog_AR+set}" = set; then
5302 echo $ECHO_N "(cached) $ECHO_C" >&6
5304 if test -n "$AR"; then
5305 ac_cv_prog_AR
="$AR" # Let the user override the test.
5307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5311 test -z "$as_dir" && as_dir
=.
5312 for ac_exec_ext
in '' $ac_executable_extensions; do
5313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5314 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5325 if test -n "$AR"; then
5326 { echo "$as_me:$LINENO: result: $AR" >&5
5327 echo "${ECHO_T}$AR" >&6; }
5329 { echo "$as_me:$LINENO: result: no" >&5
5330 echo "${ECHO_T}no" >&6; }
5335 if test -z "$ac_cv_prog_AR"; then
5337 # Extract the first word of "ar", so it can be a program name with args.
5338 set dummy
ar; ac_word
=$2
5339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5341 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5342 echo $ECHO_N "(cached) $ECHO_C" >&6
5344 if test -n "$ac_ct_AR"; then
5345 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5351 test -z "$as_dir" && as_dir
=.
5352 for ac_exec_ext
in '' $ac_executable_extensions; do
5353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5354 ac_cv_prog_ac_ct_AR
="ar"
5355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5364 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5365 if test -n "$ac_ct_AR"; then
5366 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5367 echo "${ECHO_T}$ac_ct_AR" >&6; }
5369 { echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6; }
5373 if test "x$ac_ct_AR" = x
; then
5376 case $cross_compiling:$ac_tool_warned in
5378 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5379 whose name does not start with the host triplet. If you think this
5380 configuration is useful to you, please write to autoconf@gnu.org." >&5
5381 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5382 whose name does not start with the host triplet. If you think this
5383 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5384 ac_tool_warned
=yes ;;
5392 if test -n "$ac_tool_prefix"; then
5393 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5394 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5397 if test "${ac_cv_prog_RANLIB+set}" = set; then
5398 echo $ECHO_N "(cached) $ECHO_C" >&6
5400 if test -n "$RANLIB"; then
5401 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5407 test -z "$as_dir" && as_dir
=.
5408 for ac_exec_ext
in '' $ac_executable_extensions; do
5409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5410 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5420 RANLIB
=$ac_cv_prog_RANLIB
5421 if test -n "$RANLIB"; then
5422 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5423 echo "${ECHO_T}$RANLIB" >&6; }
5425 { echo "$as_me:$LINENO: result: no" >&5
5426 echo "${ECHO_T}no" >&6; }
5431 if test -z "$ac_cv_prog_RANLIB"; then
5432 ac_ct_RANLIB
=$RANLIB
5433 # Extract the first word of "ranlib", so it can be a program name with args.
5434 set dummy ranlib
; ac_word
=$2
5435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5437 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5438 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 if test -n "$ac_ct_RANLIB"; then
5441 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5447 test -z "$as_dir" && as_dir
=.
5448 for ac_exec_ext
in '' $ac_executable_extensions; do
5449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5450 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5460 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5461 if test -n "$ac_ct_RANLIB"; then
5462 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5463 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5465 { echo "$as_me:$LINENO: result: no" >&5
5466 echo "${ECHO_T}no" >&6; }
5469 if test "x$ac_ct_RANLIB" = x
; then
5472 case $cross_compiling:$ac_tool_warned in
5474 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5475 whose name does not start with the host triplet. If you think this
5476 configuration is useful to you, please write to autoconf@gnu.org." >&5
5477 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5478 whose name does not start with the host triplet. If you think this
5479 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5480 ac_tool_warned
=yes ;;
5482 RANLIB
=$ac_ct_RANLIB
5485 RANLIB
="$ac_cv_prog_RANLIB"
5488 if test -n "$ac_tool_prefix"; then
5489 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5490 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5491 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5493 if test "${ac_cv_prog_STRIP+set}" = set; then
5494 echo $ECHO_N "(cached) $ECHO_C" >&6
5496 if test -n "$STRIP"; then
5497 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5503 test -z "$as_dir" && as_dir
=.
5504 for ac_exec_ext
in '' $ac_executable_extensions; do
5505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5506 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5516 STRIP
=$ac_cv_prog_STRIP
5517 if test -n "$STRIP"; then
5518 { echo "$as_me:$LINENO: result: $STRIP" >&5
5519 echo "${ECHO_T}$STRIP" >&6; }
5521 { echo "$as_me:$LINENO: result: no" >&5
5522 echo "${ECHO_T}no" >&6; }
5527 if test -z "$ac_cv_prog_STRIP"; then
5529 # Extract the first word of "strip", so it can be a program name with args.
5530 set dummy strip
; ac_word
=$2
5531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5533 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5534 echo $ECHO_N "(cached) $ECHO_C" >&6
5536 if test -n "$ac_ct_STRIP"; then
5537 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5543 test -z "$as_dir" && as_dir
=.
5544 for ac_exec_ext
in '' $ac_executable_extensions; do
5545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5546 ac_cv_prog_ac_ct_STRIP
="strip"
5547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5556 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5557 if test -n "$ac_ct_STRIP"; then
5558 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5559 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5561 { echo "$as_me:$LINENO: result: no" >&5
5562 echo "${ECHO_T}no" >&6; }
5565 if test "x$ac_ct_STRIP" = x
; then
5568 case $cross_compiling:$ac_tool_warned in
5570 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5571 whose name does not start with the host triplet. If you think this
5572 configuration is useful to you, please write to autoconf@gnu.org." >&5
5573 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5574 whose name does not start with the host triplet. If you think this
5575 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5576 ac_tool_warned
=yes ;;
5581 STRIP
="$ac_cv_prog_STRIP"
5584 if test -n "$ac_tool_prefix"; then
5585 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5586 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5589 if test "${ac_cv_prog_WINDRES+set}" = set; then
5590 echo $ECHO_N "(cached) $ECHO_C" >&6
5592 if test -n "$WINDRES"; then
5593 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5599 test -z "$as_dir" && as_dir
=.
5600 for ac_exec_ext
in '' $ac_executable_extensions; do
5601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5602 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5612 WINDRES
=$ac_cv_prog_WINDRES
5613 if test -n "$WINDRES"; then
5614 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5615 echo "${ECHO_T}$WINDRES" >&6; }
5617 { echo "$as_me:$LINENO: result: no" >&5
5618 echo "${ECHO_T}no" >&6; }
5623 if test -z "$ac_cv_prog_WINDRES"; then
5624 ac_ct_WINDRES
=$WINDRES
5625 # Extract the first word of "windres", so it can be a program name with args.
5626 set dummy windres
; ac_word
=$2
5627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5629 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5630 echo $ECHO_N "(cached) $ECHO_C" >&6
5632 if test -n "$ac_ct_WINDRES"; then
5633 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5639 test -z "$as_dir" && as_dir
=.
5640 for ac_exec_ext
in '' $ac_executable_extensions; do
5641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5642 ac_cv_prog_ac_ct_WINDRES
="windres"
5643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5652 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5653 if test -n "$ac_ct_WINDRES"; then
5654 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5655 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5657 { echo "$as_me:$LINENO: result: no" >&5
5658 echo "${ECHO_T}no" >&6; }
5661 if test "x$ac_ct_WINDRES" = x
; then
5664 case $cross_compiling:$ac_tool_warned in
5666 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5667 whose name does not start with the host triplet. If you think this
5668 configuration is useful to you, please write to autoconf@gnu.org." >&5
5669 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5670 whose name does not start with the host triplet. If you think this
5671 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5672 ac_tool_warned
=yes ;;
5674 WINDRES
=$ac_ct_WINDRES
5677 WINDRES
="$ac_cv_prog_WINDRES"
5680 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5681 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5683 if test "$LN_S" = "ln -s"; then
5684 { echo "$as_me:$LINENO: result: yes" >&5
5685 echo "${ECHO_T}yes" >&6; }
5687 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5688 echo "${ECHO_T}no, using $LN_S" >&6; }
5691 { echo "$as_me:$LINENO: checking whether ln works" >&5
5692 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5693 rm -f conf$$ conf$$.
file
5695 if ln conf$$.
file conf$$
2>/dev
/null
; then
5698 { echo "$as_me:$LINENO: result: yes" >&5
5699 echo "${ECHO_T}yes" >&6; }
5703 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5704 echo "${ECHO_T}no, using $LN" >&6; }
5706 rm -f conf$$ conf$$.
file
5707 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5708 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5709 if test "${ac_cv_path_GREP+set}" = set; then
5710 echo $ECHO_N "(cached) $ECHO_C" >&6
5712 # Extract the first word of "grep ggrep" to use in msg output
5713 if test -z "$GREP"; then
5714 set dummy
grep ggrep
; ac_prog_name
=$2
5715 if test "${ac_cv_path_GREP+set}" = set; then
5716 echo $ECHO_N "(cached) $ECHO_C" >&6
5718 ac_path_GREP_found
=false
5719 # Loop through the user's path and test for each of PROGNAME-LIST
5720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5721 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5724 test -z "$as_dir" && as_dir
=.
5725 for ac_prog
in grep ggrep
; do
5726 for ac_exec_ext
in '' $ac_executable_extensions; do
5727 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5728 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5729 # Check for GNU ac_path_GREP and select it if it is found.
5730 # Check for GNU $ac_path_GREP
5731 case `"$ac_path_GREP" --version 2>&1` in
5733 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5736 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5739 cat "conftest.in" "conftest.in" >"conftest.tmp"
5740 mv "conftest.tmp" "conftest.in"
5741 cp "conftest.in" "conftest.nl"
5742 echo 'GREP' >> "conftest.nl"
5743 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5744 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5745 ac_count
=`expr $ac_count + 1`
5746 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5747 # Best one so far, save it but keep looking for a better one
5748 ac_cv_path_GREP
="$ac_path_GREP"
5749 ac_path_GREP_max
=$ac_count
5751 # 10*(2^10) chars as input seems more than enough
5752 test $ac_count -gt 10 && break
5754 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5758 $ac_path_GREP_found && break 3
5768 GREP
="$ac_cv_path_GREP"
5769 if test -z "$GREP"; then
5770 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5771 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5772 { (exit 1); exit 1; }; }
5776 ac_cv_path_GREP
=$GREP
5781 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5782 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5783 GREP
="$ac_cv_path_GREP"
5786 { echo "$as_me:$LINENO: checking for egrep" >&5
5787 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5788 if test "${ac_cv_path_EGREP+set}" = set; then
5789 echo $ECHO_N "(cached) $ECHO_C" >&6
5791 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5792 then ac_cv_path_EGREP
="$GREP -E"
5794 # Extract the first word of "egrep" to use in msg output
5795 if test -z "$EGREP"; then
5796 set dummy
egrep; ac_prog_name
=$2
5797 if test "${ac_cv_path_EGREP+set}" = set; then
5798 echo $ECHO_N "(cached) $ECHO_C" >&6
5800 ac_path_EGREP_found
=false
5801 # Loop through the user's path and test for each of PROGNAME-LIST
5802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5803 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5806 test -z "$as_dir" && as_dir
=.
5807 for ac_prog
in egrep; do
5808 for ac_exec_ext
in '' $ac_executable_extensions; do
5809 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5810 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5811 # Check for GNU ac_path_EGREP and select it if it is found.
5812 # Check for GNU $ac_path_EGREP
5813 case `"$ac_path_EGREP" --version 2>&1` in
5815 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5818 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5821 cat "conftest.in" "conftest.in" >"conftest.tmp"
5822 mv "conftest.tmp" "conftest.in"
5823 cp "conftest.in" "conftest.nl"
5824 echo 'EGREP' >> "conftest.nl"
5825 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5826 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5827 ac_count
=`expr $ac_count + 1`
5828 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5829 # Best one so far, save it but keep looking for a better one
5830 ac_cv_path_EGREP
="$ac_path_EGREP"
5831 ac_path_EGREP_max
=$ac_count
5833 # 10*(2^10) chars as input seems more than enough
5834 test $ac_count -gt 10 && break
5836 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5840 $ac_path_EGREP_found && break 3
5850 EGREP
="$ac_cv_path_EGREP"
5851 if test -z "$EGREP"; then
5852 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5853 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5854 { (exit 1); exit 1; }; }
5858 ac_cv_path_EGREP
=$EGREP
5864 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5865 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5866 EGREP
="$ac_cv_path_EGREP"
5869 # Extract the first word of "ldconfig", so it can be a program name with args.
5870 set dummy ldconfig
; ac_word
=$2
5871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5873 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5874 echo $ECHO_N "(cached) $ECHO_C" >&6
5878 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5882 for as_dir
in /sbin
/usr
/sbin
$PATH
5885 test -z "$as_dir" && as_dir
=.
5886 for ac_exec_ext
in '' $ac_executable_extensions; do
5887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5888 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5896 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5900 LDCONFIG
=$ac_cv_path_LDCONFIG
5901 if test -n "$LDCONFIG"; then
5902 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5903 echo "${ECHO_T}$LDCONFIG" >&6; }
5905 { echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6; }
5910 # Find a good install program. We prefer a C program (faster),
5911 # so one script is as good as another. But avoid the broken or
5912 # incompatible versions:
5913 # SysV /etc/install, /usr/sbin/install
5914 # SunOS /usr/etc/install
5915 # IRIX /sbin/install
5917 # AmigaOS /C/install, which installs bootblocks on floppy discs
5918 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5919 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5920 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5921 # OS/2's system install, which has a completely different semantic
5922 # ./install, which can be erroneously created by make from ./install.sh.
5923 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5924 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5925 if test -z "$INSTALL"; then
5926 if test "${ac_cv_path_install+set}" = set; then
5927 echo $ECHO_N "(cached) $ECHO_C" >&6
5929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5933 test -z "$as_dir" && as_dir
=.
5934 # Account for people who put trailing slashes in PATH elements.
5936 .
/ | .
// |
/cC
/* | \
5937 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5938 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5941 # OSF1 and SCO ODT 3.0 have their own names for install.
5942 # Don't use installbsd from OSF since it installs stuff as root
5944 for ac_prog
in ginstall scoinst
install; do
5945 for ac_exec_ext
in '' $ac_executable_extensions; do
5946 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5947 if test $ac_prog = install &&
5948 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5949 # AIX install. It has an incompatible calling convention.
5951 elif test $ac_prog = install &&
5952 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5953 # program-specific install script used by HP pwplus--don't use.
5956 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5969 if test "${ac_cv_path_install+set}" = set; then
5970 INSTALL
=$ac_cv_path_install
5972 # As a last resort, use the slow shell script. Don't cache a
5973 # value for INSTALL within a source directory, because that will
5974 # break other packages using the cache if that directory is
5975 # removed, or if the value is a relative name.
5976 INSTALL
=$ac_install_sh
5979 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5980 echo "${ECHO_T}$INSTALL" >&6; }
5982 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5983 # It thinks the first close brace ends the variable substitution.
5984 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5986 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5988 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5991 [\\/$
]* | ?
:[\\/]* ) ;;
5992 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5995 for ac_prog
in lclint lint
5997 # Extract the first word of "$ac_prog", so it can be a program name with args.
5998 set dummy
$ac_prog; ac_word
=$2
5999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6001 if test "${ac_cv_prog_LINT+set}" = set; then
6002 echo $ECHO_N "(cached) $ECHO_C" >&6
6004 if test -n "$LINT"; then
6005 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6011 test -z "$as_dir" && as_dir
=.
6012 for ac_exec_ext
in '' $ac_executable_extensions; do
6013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6014 ac_cv_prog_LINT
="$ac_prog"
6015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6024 LINT
=$ac_cv_prog_LINT
6025 if test -n "$LINT"; then
6026 { echo "$as_me:$LINENO: result: $LINT" >&5
6027 echo "${ECHO_T}$LINT" >&6; }
6029 { echo "$as_me:$LINENO: result: no" >&5
6030 echo "${ECHO_T}no" >&6; }
6034 test -n "$LINT" && break
6037 if test "$LINT" = "lint"
6039 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6044 for ac_prog
in fontforge
6046 # Extract the first word of "$ac_prog", so it can be a program name with args.
6047 set dummy
$ac_prog; ac_word
=$2
6048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6050 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6051 echo $ECHO_N "(cached) $ECHO_C" >&6
6053 if test -n "$FONTFORGE"; then
6054 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6060 test -z "$as_dir" && as_dir
=.
6061 for ac_exec_ext
in '' $ac_executable_extensions; do
6062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6063 ac_cv_prog_FONTFORGE
="$ac_prog"
6064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 FONTFORGE
=$ac_cv_prog_FONTFORGE
6074 if test -n "$FONTFORGE"; then
6075 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6076 echo "${ECHO_T}$FONTFORGE" >&6; }
6078 { echo "$as_me:$LINENO: result: no" >&5
6079 echo "${ECHO_T}no" >&6; }
6083 test -n "$FONTFORGE" && break
6085 test -n "$FONTFORGE" || FONTFORGE
="false"
6087 for ac_prog
in pkg-config
6089 # Extract the first word of "$ac_prog", so it can be a program name with args.
6090 set dummy
$ac_prog; ac_word
=$2
6091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6093 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6094 echo $ECHO_N "(cached) $ECHO_C" >&6
6096 if test -n "$PKG_CONFIG"; then
6097 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6103 test -z "$as_dir" && as_dir
=.
6104 for ac_exec_ext
in '' $ac_executable_extensions; do
6105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6106 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6116 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6117 if test -n "$PKG_CONFIG"; then
6118 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6119 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6121 { echo "$as_me:$LINENO: result: no" >&5
6122 echo "${ECHO_T}no" >&6; }
6126 test -n "$PKG_CONFIG" && break
6128 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6133 # Extract the first word of "prelink", so it can be a program name with args.
6134 set dummy prelink
; ac_word
=$2
6135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6137 if test "${ac_cv_path_PRELINK+set}" = set; then
6138 echo $ECHO_N "(cached) $ECHO_C" >&6
6142 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6146 for as_dir
in /sbin
/usr
/sbin
$PATH
6149 test -z "$as_dir" && as_dir
=.
6150 for ac_exec_ext
in '' $ac_executable_extensions; do
6151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6152 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6160 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6164 PRELINK
=$ac_cv_path_PRELINK
6165 if test -n "$PRELINK"; then
6166 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6167 echo "${ECHO_T}$PRELINK" >&6; }
6169 { echo "$as_me:$LINENO: result: no" >&5
6170 echo "${ECHO_T}no" >&6; }
6179 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6180 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6181 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6182 echo $ECHO_N "(cached) $ECHO_C" >&6
6184 ac_check_lib_save_LIBS
=$LIBS
6186 cat >conftest.
$ac_ext <<_ACEOF
6189 cat confdefs.h
>>conftest.
$ac_ext
6190 cat >>conftest.
$ac_ext <<_ACEOF
6191 /* end confdefs.h. */
6193 /* Override any GCC internal prototype to avoid an error.
6194 Use char because int might match the return type of a GCC
6195 builtin and then its argument prototype would still apply. */
6199 char i386_set_ldt ();
6203 return i386_set_ldt ();
6208 rm -f conftest.
$ac_objext conftest
$ac_exeext
6209 if { (ac_try
="$ac_link"
6211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6212 *) ac_try_echo=$ac_try;;
6214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6215 (eval "$ac_link") 2>conftest.er1
6217 grep -v '^ *+' conftest.er1 >conftest.err
6219 cat conftest.err >&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); } && {
6222 test -z "$ac_c_werror_flag" ||
6223 test ! -s conftest.err
6224 } && test -s conftest$ac_exeext &&
6225 $as_test_x conftest$ac_exeext; then
6226 ac_cv_lib_i386_i386_set_ldt=yes
6228 echo "$as_me: failed program was:" >&5
6229 sed 's/^/| /' conftest.$ac_ext >&5
6231 ac_cv_lib_i386_i386_set_ldt=no
6234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6235 conftest$ac_exeext conftest.$ac_ext
6236 LIBS=$ac_check_lib_save_LIBS
6238 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6239 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6240 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6241 cat >>confdefs.h <<_ACEOF
6242 #define HAVE_LIBI386 1
6250 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6251 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6252 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6253 echo $ECHO_N "(cached) $ECHO_C" >&6
6255 ac_check_lib_save_LIBS=$LIBS
6256 LIBS="-lossaudio $LIBS"
6257 cat >conftest.$ac_ext <<_ACEOF
6260 cat confdefs.h >>conftest.$ac_ext
6261 cat >>conftest.$ac_ext <<_ACEOF
6262 /* end confdefs.h. */
6264 /* Override any GCC internal prototype to avoid an error.
6265 Use char because int might match the return type of a GCC
6266 builtin and then its argument prototype would still apply. */
6274 return _oss_ioctl ();
6279 rm -f conftest.$ac_objext conftest$ac_exeext
6280 if { (ac_try="$ac_link"
6282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6283 *) ac_try_echo
=$ac_try;;
6285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6286 (eval "$ac_link") 2>conftest.er1
6288 grep -v '^ *+' conftest.er1
>conftest.err
6290 cat conftest.err
>&5
6291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6292 (exit $ac_status); } && {
6293 test -z "$ac_c_werror_flag" ||
6294 test ! -s conftest.err
6295 } && test -s conftest
$ac_exeext &&
6296 $as_test_x conftest
$ac_exeext; then
6297 ac_cv_lib_ossaudio__oss_ioctl
=yes
6299 echo "$as_me: failed program was:" >&5
6300 sed 's/^/| /' conftest.
$ac_ext >&5
6302 ac_cv_lib_ossaudio__oss_ioctl
=no
6305 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6306 conftest
$ac_exeext conftest.
$ac_ext
6307 LIBS
=$ac_check_lib_save_LIBS
6309 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6310 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6311 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6312 cat >>confdefs.h
<<_ACEOF
6313 #define HAVE_LIBOSSAUDIO 1
6316 LIBS
="-lossaudio $LIBS"
6320 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6321 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6322 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6323 echo $ECHO_N "(cached) $ECHO_C" >&6
6325 ac_check_lib_save_LIBS
=$LIBS
6326 LIBS
="-lpthread $LIBS"
6327 cat >conftest.
$ac_ext <<_ACEOF
6330 cat confdefs.h
>>conftest.
$ac_ext
6331 cat >>conftest.
$ac_ext <<_ACEOF
6332 /* end confdefs.h. */
6334 /* Override any GCC internal prototype to avoid an error.
6335 Use char because int might match the return type of a GCC
6336 builtin and then its argument prototype would still apply. */
6340 char pthread_create ();
6344 return pthread_create ();
6349 rm -f conftest.
$ac_objext conftest
$ac_exeext
6350 if { (ac_try
="$ac_link"
6352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6353 *) ac_try_echo=$ac_try;;
6355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6356 (eval "$ac_link") 2>conftest.er1
6358 grep -v '^ *+' conftest.er1 >conftest.err
6360 cat conftest.err >&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); } && {
6363 test -z "$ac_c_werror_flag" ||
6364 test ! -s conftest.err
6365 } && test -s conftest$ac_exeext &&
6366 $as_test_x conftest$ac_exeext; then
6367 ac_cv_lib_pthread_pthread_create=yes
6369 echo "$as_me: failed program was:" >&5
6370 sed 's/^/| /' conftest.$ac_ext >&5
6372 ac_cv_lib_pthread_pthread_create=no
6375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6376 conftest$ac_exeext conftest.$ac_ext
6377 LIBS=$ac_check_lib_save_LIBS
6379 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6380 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6381 if test $ac_cv_lib_pthread_pthread_create = yes; then
6382 LIBPTHREAD="-lpthread"
6401 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6402 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6403 if test "${ac_cv_header_stdc+set}" = set; then
6404 echo $ECHO_N "(cached) $ECHO_C" >&6
6406 cat >conftest.$ac_ext <<_ACEOF
6409 cat confdefs.h >>conftest.$ac_ext
6410 cat >>conftest.$ac_ext <<_ACEOF
6411 /* end confdefs.h. */
6425 rm -f conftest.$ac_objext
6426 if { (ac_try="$ac_compile"
6428 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6429 *) ac_try_echo
=$ac_try;;
6431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6432 (eval "$ac_compile") 2>conftest.er1
6434 grep -v '^ *+' conftest.er1
>conftest.err
6436 cat conftest.err
>&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); } && {
6439 test -z "$ac_c_werror_flag" ||
6440 test ! -s conftest.err
6441 } && test -s conftest.
$ac_objext; then
6442 ac_cv_header_stdc
=yes
6444 echo "$as_me: failed program was:" >&5
6445 sed 's/^/| /' conftest.
$ac_ext >&5
6447 ac_cv_header_stdc
=no
6450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6452 if test $ac_cv_header_stdc = yes; then
6453 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6454 cat >conftest.
$ac_ext <<_ACEOF
6457 cat confdefs.h
>>conftest.
$ac_ext
6458 cat >>conftest.
$ac_ext <<_ACEOF
6459 /* end confdefs.h. */
6463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6464 $EGREP "memchr" >/dev
/null
2>&1; then
6467 ac_cv_header_stdc
=no
6473 if test $ac_cv_header_stdc = yes; then
6474 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6475 cat >conftest.
$ac_ext <<_ACEOF
6478 cat confdefs.h
>>conftest.
$ac_ext
6479 cat >>conftest.
$ac_ext <<_ACEOF
6480 /* end confdefs.h. */
6484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6485 $EGREP "free" >/dev
/null
2>&1; then
6488 ac_cv_header_stdc
=no
6494 if test $ac_cv_header_stdc = yes; then
6495 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6496 if test "$cross_compiling" = yes; then
6499 cat >conftest.
$ac_ext <<_ACEOF
6502 cat confdefs.h
>>conftest.
$ac_ext
6503 cat >>conftest.
$ac_ext <<_ACEOF
6504 /* end confdefs.h. */
6507 #if ((' ' & 0x0FF) == 0x020)
6508 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6509 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6511 # define ISLOWER(c) \
6512 (('a' <= (c) && (c) <= 'i') \
6513 || ('j' <= (c) && (c) <= 'r') \
6514 || ('s' <= (c) && (c) <= 'z'))
6515 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6518 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6523 for (i = 0; i < 256; i++)
6524 if (XOR (islower (i), ISLOWER (i))
6525 || toupper (i) != TOUPPER (i))
6530 rm -f conftest
$ac_exeext
6531 if { (ac_try
="$ac_link"
6533 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6534 *) ac_try_echo=$ac_try;;
6536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6537 (eval "$ac_link") 2>&5
6539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6541 { (case "(($ac_try" in
6542 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6543 *) ac_try_echo
=$ac_try;;
6545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6546 (eval "$ac_try") 2>&5
6548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549 (exit $ac_status); }; }; then
6552 echo "$as_me: program exited with status $ac_status" >&5
6553 echo "$as_me: failed program was:" >&5
6554 sed 's/^/| /' conftest.
$ac_ext >&5
6557 ac_cv_header_stdc
=no
6559 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6565 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6566 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6567 if test $ac_cv_header_stdc = yes; then
6569 cat >>confdefs.h
<<\_ACEOF
6570 #define STDC_HEADERS 1
6575 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6585 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6586 inttypes.h stdint.h unistd.h
6588 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6589 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6591 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6592 echo $ECHO_N "(cached) $ECHO_C" >&6
6594 cat >conftest.
$ac_ext <<_ACEOF
6597 cat confdefs.h
>>conftest.
$ac_ext
6598 cat >>conftest.
$ac_ext <<_ACEOF
6599 /* end confdefs.h. */
6600 $ac_includes_default
6602 #include <$ac_header>
6604 rm -f conftest.
$ac_objext
6605 if { (ac_try
="$ac_compile"
6607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6608 *) ac_try_echo=$ac_try;;
6610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6611 (eval "$ac_compile") 2>conftest.er1
6613 grep -v '^ *+' conftest.er1 >conftest.err
6615 cat conftest.err >&5
6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617 (exit $ac_status); } && {
6618 test -z "$ac_c_werror_flag" ||
6619 test ! -s conftest.err
6620 } && test -s conftest.$ac_objext; then
6621 eval "$as_ac_Header=yes"
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.$ac_ext >&5
6626 eval "$as_ac_Header=no"
6629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6631 ac_res=`eval echo '${'$as_ac_Header'}'`
6632 { echo "$as_me:$LINENO: result: $ac_res" >&5
6633 echo "${ECHO_T}$ac_res" >&6; }
6634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6635 cat >>confdefs.h <<_ACEOF
6636 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6755 AudioUnit/AudioUnit.h \
6757 CoreAudio/CoreAudio.h \
6758 DiskArbitration/DiskArbitration.h \
6771 fontconfig/fontconfig.h \
6797 machine/soundcard.h \
6802 netinet/in_systm.h \
6867 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6868 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6869 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6871 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6872 echo $ECHO_N "(cached) $ECHO_C" >&6
6874 ac_res=`eval echo '${'$as_ac_Header'}'`
6875 { echo "$as_me:$LINENO: result: $ac_res" >&5
6876 echo "${ECHO_T}$ac_res" >&6; }
6878 # Is the header compilable?
6879 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6880 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6881 cat >conftest.$ac_ext <<_ACEOF
6884 cat confdefs.h >>conftest.$ac_ext
6885 cat >>conftest.$ac_ext <<_ACEOF
6886 /* end confdefs.h. */
6887 $ac_includes_default
6888 #include <$ac_header>
6890 rm -f conftest.$ac_objext
6891 if { (ac_try="$ac_compile"
6893 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6894 *) ac_try_echo
=$ac_try;;
6896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6897 (eval "$ac_compile") 2>conftest.er1
6899 grep -v '^ *+' conftest.er1
>conftest.err
6901 cat conftest.err
>&5
6902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903 (exit $ac_status); } && {
6904 test -z "$ac_c_werror_flag" ||
6905 test ! -s conftest.err
6906 } && test -s conftest.
$ac_objext; then
6907 ac_header_compiler
=yes
6909 echo "$as_me: failed program was:" >&5
6910 sed 's/^/| /' conftest.
$ac_ext >&5
6912 ac_header_compiler
=no
6915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6916 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6917 echo "${ECHO_T}$ac_header_compiler" >&6; }
6919 # Is the header present?
6920 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6921 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6922 cat >conftest.
$ac_ext <<_ACEOF
6925 cat confdefs.h
>>conftest.
$ac_ext
6926 cat >>conftest.
$ac_ext <<_ACEOF
6927 /* end confdefs.h. */
6928 #include <$ac_header>
6930 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6932 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6933 *) ac_try_echo=$ac_try;;
6935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6936 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6938 grep -v '^ *+' conftest.er1 >conftest.err
6940 cat conftest.err >&5
6941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6942 (exit $ac_status); } >/dev/null && {
6943 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6944 test ! -s conftest.err
6946 ac_header_preproc=yes
6948 echo "$as_me: failed program was:" >&5
6949 sed 's/^/| /' conftest.$ac_ext >&5
6951 ac_header_preproc=no
6954 rm -f conftest.err conftest.$ac_ext
6955 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6956 echo "${ECHO_T}$ac_header_preproc" >&6; }
6958 # So? What about this header?
6959 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6961 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6962 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6964 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6965 ac_header_preproc=yes
6968 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6969 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6970 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6971 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6972 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6973 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6974 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6975 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6977 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6978 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6979 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6981 ## ------------------------------------ ##
6982 ## Report this to wine-devel@winehq.org ##
6983 ## ------------------------------------ ##
6985 ) | sed "s/^/$as_me: WARNING: /" >&2
6988 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6991 echo $ECHO_N "(cached) $ECHO_C" >&6
6993 eval "$as_ac_Header=\$ac_header_preproc"
6995 ac_res=`eval echo '${'$as_ac_Header'}'`
6996 { echo "$as_me:$LINENO: result: $ac_res" >&5
6997 echo "${ECHO_T}$ac_res" >&6; }
7000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7001 cat >>confdefs.h <<_ACEOF
7002 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7009 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7010 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7011 if test "${ac_cv_header_stat_broken+set}" = set; then
7012 echo $ECHO_N "(cached) $ECHO_C" >&6
7014 cat >conftest.$ac_ext <<_ACEOF
7017 cat confdefs.h >>conftest.$ac_ext
7018 cat >>conftest.$ac_ext <<_ACEOF
7019 /* end confdefs.h. */
7020 #include <sys/types.h>
7021 #include <sys/stat.h>
7023 #if defined S_ISBLK && defined S_IFDIR
7024 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7027 #if defined S_ISBLK && defined S_IFCHR
7028 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7031 #if defined S_ISLNK && defined S_IFREG
7032 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7035 #if defined S_ISSOCK && defined S_IFREG
7036 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7040 rm -f conftest.$ac_objext
7041 if { (ac_try="$ac_compile"
7043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7044 *) ac_try_echo
=$ac_try;;
7046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7047 (eval "$ac_compile") 2>conftest.er1
7049 grep -v '^ *+' conftest.er1
>conftest.err
7051 cat conftest.err
>&5
7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053 (exit $ac_status); } && {
7054 test -z "$ac_c_werror_flag" ||
7055 test ! -s conftest.err
7056 } && test -s conftest.
$ac_objext; then
7057 ac_cv_header_stat_broken
=no
7059 echo "$as_me: failed program was:" >&5
7060 sed 's/^/| /' conftest.
$ac_ext >&5
7062 ac_cv_header_stat_broken
=yes
7065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7067 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7068 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7069 if test $ac_cv_header_stat_broken = yes; then
7071 cat >>confdefs.h
<<\_ACEOF
7072 #define STAT_MACROS_BROKEN 1
7083 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7085 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7086 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7088 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7089 echo $ECHO_N "(cached) $ECHO_C" >&6
7091 cat >conftest.
$ac_ext <<_ACEOF
7094 cat confdefs.h
>>conftest.
$ac_ext
7095 cat >>conftest.
$ac_ext <<_ACEOF
7096 /* end confdefs.h. */
7097 #include <sys/types.h>
7098 #if HAVE_SYS_PARAM_H
7099 # include <sys/param.h>
7102 #include <$ac_header>
7104 rm -f conftest.
$ac_objext
7105 if { (ac_try
="$ac_compile"
7107 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7108 *) ac_try_echo=$ac_try;;
7110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7111 (eval "$ac_compile") 2>conftest.er1
7113 grep -v '^ *+' conftest.er1 >conftest.err
7115 cat conftest.err >&5
7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 (exit $ac_status); } && {
7118 test -z "$ac_c_werror_flag" ||
7119 test ! -s conftest.err
7120 } && test -s conftest.$ac_objext; then
7121 eval "$as_ac_Header=yes"
7123 echo "$as_me: failed program was:" >&5
7124 sed 's/^/| /' conftest.$ac_ext >&5
7126 eval "$as_ac_Header=no"
7129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7131 ac_res=`eval echo '${'$as_ac_Header'}'`
7132 { echo "$as_me:$LINENO: result: $ac_res" >&5
7133 echo "${ECHO_T}$ac_res" >&6; }
7134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7135 cat >>confdefs.h <<_ACEOF
7136 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7152 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
7154 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7155 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7157 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7158 echo $ECHO_N "(cached) $ECHO_C" >&6
7160 cat >conftest.$ac_ext <<_ACEOF
7163 cat confdefs.h >>conftest.$ac_ext
7164 cat >>conftest.$ac_ext <<_ACEOF
7165 /* end confdefs.h. */
7166 #include <sys/types.h>
7167 #if HAVE_SYS_SOCKET_H
7168 # include <sys/socket.h>
7170 #if HAVE_SYS_SOCKETVAR_H
7171 # include <sys/socketvar.h>
7173 #if HAVE_NETINET_IN_H
7174 # include <netinet/in.h>
7177 #include <$ac_header>
7179 rm -f conftest.$ac_objext
7180 if { (ac_try="$ac_compile"
7182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7183 *) ac_try_echo
=$ac_try;;
7185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7186 (eval "$ac_compile") 2>conftest.er1
7188 grep -v '^ *+' conftest.er1
>conftest.err
7190 cat conftest.err
>&5
7191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192 (exit $ac_status); } && {
7193 test -z "$ac_c_werror_flag" ||
7194 test ! -s conftest.err
7195 } && test -s conftest.
$ac_objext; then
7196 eval "$as_ac_Header=yes"
7198 echo "$as_me: failed program was:" >&5
7199 sed 's/^/| /' conftest.
$ac_ext >&5
7201 eval "$as_ac_Header=no"
7204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7206 ac_res
=`eval echo '${'$as_ac_Header'}'`
7207 { echo "$as_me:$LINENO: result: $ac_res" >&5
7208 echo "${ECHO_T}$ac_res" >&6; }
7209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7210 cat >>confdefs.h
<<_ACEOF
7211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7220 for ac_header
in netinet
/tcp_var.h
7222 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7225 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7226 echo $ECHO_N "(cached) $ECHO_C" >&6
7228 cat >conftest.
$ac_ext <<_ACEOF
7231 cat confdefs.h
>>conftest.
$ac_ext
7232 cat >>conftest.
$ac_ext <<_ACEOF
7233 /* end confdefs.h. */
7234 #include <sys/types.h>
7235 #if HAVE_SYS_SOCKET_H
7236 # include <sys/socket.h>
7238 #if HAVE_SYS_SOCKETVAR_H
7239 # include <sys/socketvar.h>
7241 #if HAVE_NETINET_IN_H
7242 # include <netinet/in.h>
7244 #ifdef HAVE_NETINET_TCP_H
7245 # include <netinet/tcp.h>
7248 #include <$ac_header>
7250 rm -f conftest.
$ac_objext
7251 if { (ac_try
="$ac_compile"
7253 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7254 *) ac_try_echo=$ac_try;;
7256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7257 (eval "$ac_compile") 2>conftest.er1
7259 grep -v '^ *+' conftest.er1 >conftest.err
7261 cat conftest.err >&5
7262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7263 (exit $ac_status); } && {
7264 test -z "$ac_c_werror_flag" ||
7265 test ! -s conftest.err
7266 } && test -s conftest.$ac_objext; then
7267 eval "$as_ac_Header=yes"
7269 echo "$as_me: failed program was:" >&5
7270 sed 's/^/| /' conftest.$ac_ext >&5
7272 eval "$as_ac_Header=no"
7275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7277 ac_res=`eval echo '${'$as_ac_Header'}'`
7278 { echo "$as_me:$LINENO: result: $ac_res" >&5
7279 echo "${ECHO_T}$ac_res" >&6; }
7280 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7281 cat >>confdefs.h <<_ACEOF
7282 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7291 for ac_header in linux/ipx.h
7293 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7294 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7296 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7297 echo $ECHO_N "(cached) $ECHO_C" >&6
7299 cat >conftest.$ac_ext <<_ACEOF
7302 cat confdefs.h >>conftest.$ac_ext
7303 cat >>conftest.$ac_ext <<_ACEOF
7304 /* end confdefs.h. */
7305 #include <sys/types.h>
7306 #ifdef HAVE_ASM_TYPES_H
7307 # include <asm/types.h>
7309 #if HAVE_SYS_SOCKET_H
7310 # include <sys/socket.h>
7313 #include <$ac_header>
7315 rm -f conftest.$ac_objext
7316 if { (ac_try="$ac_compile"
7318 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7319 *) ac_try_echo
=$ac_try;;
7321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7322 (eval "$ac_compile") 2>conftest.er1
7324 grep -v '^ *+' conftest.er1
>conftest.err
7326 cat conftest.err
>&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); } && {
7329 test -z "$ac_c_werror_flag" ||
7330 test ! -s conftest.err
7331 } && test -s conftest.
$ac_objext; then
7332 eval "$as_ac_Header=yes"
7334 echo "$as_me: failed program was:" >&5
7335 sed 's/^/| /' conftest.
$ac_ext >&5
7337 eval "$as_ac_Header=no"
7340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7342 ac_res
=`eval echo '${'$as_ac_Header'}'`
7343 { echo "$as_me:$LINENO: result: $ac_res" >&5
7344 echo "${ECHO_T}$ac_res" >&6; }
7345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7346 cat >>confdefs.h
<<_ACEOF
7347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7356 for ac_header
in resolv.h
7358 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7359 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7361 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7362 echo $ECHO_N "(cached) $ECHO_C" >&6
7364 cat >conftest.
$ac_ext <<_ACEOF
7367 cat confdefs.h
>>conftest.
$ac_ext
7368 cat >>conftest.
$ac_ext <<_ACEOF
7369 /* end confdefs.h. */
7370 #include <sys/types.h>
7371 #if HAVE_SYS_SOCKET_H
7372 # include <sys/socket.h>
7374 #if HAVE_NETINET_IN_H
7375 # include <netinet/in.h>
7377 #if HAVE_ARPA_NAMESER_H
7378 # include <arpa/nameser.h>
7381 #include <$ac_header>
7383 rm -f conftest.
$ac_objext
7384 if { (ac_try
="$ac_compile"
7386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7387 *) ac_try_echo=$ac_try;;
7389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7390 (eval "$ac_compile") 2>conftest.er1
7392 grep -v '^ *+' conftest.er1 >conftest.err
7394 cat conftest.err >&5
7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); } && {
7397 test -z "$ac_c_werror_flag" ||
7398 test ! -s conftest.err
7399 } && test -s conftest.$ac_objext; then
7400 eval "$as_ac_Header=yes"
7402 echo "$as_me: failed program was:" >&5
7403 sed 's/^/| /' conftest.$ac_ext >&5
7405 eval "$as_ac_Header=no"
7408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7410 ac_res=`eval echo '${'$as_ac_Header'}'`
7411 { echo "$as_me:$LINENO: result: $ac_res" >&5
7412 echo "${ECHO_T}$ac_res" >&6; }
7413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7414 cat >>confdefs.h <<_ACEOF
7415 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7424 for ac_header in ucontext.h
7426 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7427 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7429 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7430 echo $ECHO_N "(cached) $ECHO_C" >&6
7432 cat >conftest.$ac_ext <<_ACEOF
7435 cat confdefs.h >>conftest.$ac_ext
7436 cat >>conftest.$ac_ext <<_ACEOF
7437 /* end confdefs.h. */
7440 #include <$ac_header>
7442 rm -f conftest.$ac_objext
7443 if { (ac_try="$ac_compile"
7445 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7446 *) ac_try_echo
=$ac_try;;
7448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7449 (eval "$ac_compile") 2>conftest.er1
7451 grep -v '^ *+' conftest.er1
>conftest.err
7453 cat conftest.err
>&5
7454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); } && {
7456 test -z "$ac_c_werror_flag" ||
7457 test ! -s conftest.err
7458 } && test -s conftest.
$ac_objext; then
7459 eval "$as_ac_Header=yes"
7461 echo "$as_me: failed program was:" >&5
7462 sed 's/^/| /' conftest.
$ac_ext >&5
7464 eval "$as_ac_Header=no"
7467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7469 ac_res
=`eval echo '${'$as_ac_Header'}'`
7470 { echo "$as_me:$LINENO: result: $ac_res" >&5
7471 echo "${ECHO_T}$ac_res" >&6; }
7472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7473 cat >>confdefs.h
<<_ACEOF
7474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7483 for ac_header
in sys
/thr.h
7485 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7486 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7488 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7489 echo $ECHO_N "(cached) $ECHO_C" >&6
7491 cat >conftest.
$ac_ext <<_ACEOF
7494 cat confdefs.h
>>conftest.
$ac_ext
7495 cat >>conftest.
$ac_ext <<_ACEOF
7496 /* end confdefs.h. */
7497 #include <sys/types.h>
7499 #include <ucontext.h>
7502 #include <$ac_header>
7504 rm -f conftest.
$ac_objext
7505 if { (ac_try
="$ac_compile"
7507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7508 *) ac_try_echo=$ac_try;;
7510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7511 (eval "$ac_compile") 2>conftest.er1
7513 grep -v '^ *+' conftest.er1 >conftest.err
7515 cat conftest.err >&5
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); } && {
7518 test -z "$ac_c_werror_flag" ||
7519 test ! -s conftest.err
7520 } && test -s conftest.$ac_objext; then
7521 eval "$as_ac_Header=yes"
7523 echo "$as_me: failed program was:" >&5
7524 sed 's/^/| /' conftest.$ac_ext >&5
7526 eval "$as_ac_Header=no"
7529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7531 ac_res=`eval echo '${'$as_ac_Header'}'`
7532 { echo "$as_me:$LINENO: result: $ac_res" >&5
7533 echo "${ECHO_T}$ac_res" >&6; }
7534 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7535 cat >>confdefs.h <<_ACEOF
7536 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7545 for ac_header in pthread_np.h
7547 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7548 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7551 echo $ECHO_N "(cached) $ECHO_C" >&6
7553 cat >conftest.$ac_ext <<_ACEOF
7556 cat confdefs.h >>conftest.$ac_ext
7557 cat >>conftest.$ac_ext <<_ACEOF
7558 /* end confdefs.h. */
7559 #ifdef HAVE_PTHREAD_H
7560 #include <pthread.h>
7563 #include <$ac_header>
7565 rm -f conftest.$ac_objext
7566 if { (ac_try="$ac_compile"
7568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7569 *) ac_try_echo
=$ac_try;;
7571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7572 (eval "$ac_compile") 2>conftest.er1
7574 grep -v '^ *+' conftest.er1
>conftest.err
7576 cat conftest.err
>&5
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); } && {
7579 test -z "$ac_c_werror_flag" ||
7580 test ! -s conftest.err
7581 } && test -s conftest.
$ac_objext; then
7582 eval "$as_ac_Header=yes"
7584 echo "$as_me: failed program was:" >&5
7585 sed 's/^/| /' conftest.
$ac_ext >&5
7587 eval "$as_ac_Header=no"
7590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7592 ac_res
=`eval echo '${'$as_ac_Header'}'`
7593 { echo "$as_me:$LINENO: result: $ac_res" >&5
7594 echo "${ECHO_T}$ac_res" >&6; }
7595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7596 cat >>confdefs.h
<<_ACEOF
7597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7606 for ac_header
in linux
/videodev.h
7608 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7611 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7612 echo $ECHO_N "(cached) $ECHO_C" >&6
7614 cat >conftest.
$ac_ext <<_ACEOF
7617 cat confdefs.h
>>conftest.
$ac_ext
7618 cat >>conftest.
$ac_ext <<_ACEOF
7619 /* end confdefs.h. */
7620 #ifdef HAVE_SYS_TIME_H
7621 #include <sys/time.h>
7623 #include <sys/types.h>
7624 #ifdef HAVE_ASM_TYPES_H
7625 #include <asm/types.h>
7628 #include <$ac_header>
7630 rm -f conftest.
$ac_objext
7631 if { (ac_try
="$ac_compile"
7633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7634 *) ac_try_echo=$ac_try;;
7636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7637 (eval "$ac_compile") 2>conftest.er1
7639 grep -v '^ *+' conftest.er1 >conftest.err
7641 cat conftest.err >&5
7642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7643 (exit $ac_status); } && {
7644 test -z "$ac_c_werror_flag" ||
7645 test ! -s conftest.err
7646 } && test -s conftest.$ac_objext; then
7647 eval "$as_ac_Header=yes"
7649 echo "$as_me: failed program was:" >&5
7650 sed 's/^/| /' conftest.$ac_ext >&5
7652 eval "$as_ac_Header=no"
7655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7657 ac_res=`eval echo '${'$as_ac_Header'}'`
7658 { echo "$as_me:$LINENO: result: $ac_res" >&5
7659 echo "${ECHO_T}$ac_res" >&6; }
7660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7661 cat >>confdefs.h <<_ACEOF
7662 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7671 for ac_header in linux/capi.h
7673 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7674 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7676 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7677 echo $ECHO_N "(cached) $ECHO_C" >&6
7679 cat >conftest.$ac_ext <<_ACEOF
7682 cat confdefs.h >>conftest.$ac_ext
7683 cat >>conftest.$ac_ext <<_ACEOF
7684 /* end confdefs.h. */
7687 #include <$ac_header>
7689 rm -f conftest.$ac_objext
7690 if { (ac_try="$ac_compile"
7692 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7693 *) ac_try_echo
=$ac_try;;
7695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7696 (eval "$ac_compile") 2>conftest.er1
7698 grep -v '^ *+' conftest.er1
>conftest.err
7700 cat conftest.err
>&5
7701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702 (exit $ac_status); } && {
7703 test -z "$ac_c_werror_flag" ||
7704 test ! -s conftest.err
7705 } && test -s conftest.
$ac_objext; then
7706 eval "$as_ac_Header=yes"
7708 echo "$as_me: failed program was:" >&5
7709 sed 's/^/| /' conftest.
$ac_ext >&5
7711 eval "$as_ac_Header=no"
7714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7716 ac_res
=`eval echo '${'$as_ac_Header'}'`
7717 { echo "$as_me:$LINENO: result: $ac_res" >&5
7718 echo "${ECHO_T}$ac_res" >&6; }
7719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7720 cat >>confdefs.h
<<_ACEOF
7721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7732 DLLFLAGS
="-D_REENTRANT"
7746 # Extract the first word of "ldd", so it can be a program name with args.
7747 set dummy ldd
; ac_word
=$2
7748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7750 if test "${ac_cv_path_LDD+set}" = set; then
7751 echo $ECHO_N "(cached) $ECHO_C" >&6
7755 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7759 as_dummy
="/sbin:/usr/sbin:$PATH"
7760 for as_dir
in $as_dummy
7763 test -z "$as_dir" && as_dir
=.
7764 for ac_exec_ext
in '' $ac_executable_extensions; do
7765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7766 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7774 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7779 if test -n "$LDD"; then
7780 { echo "$as_me:$LINENO: result: $LDD" >&5
7781 echo "${ECHO_T}$LDD" >&6; }
7783 { echo "$as_me:$LINENO: result: no" >&5
7784 echo "${ECHO_T}no" >&6; }
7791 if test -n "$ac_tool_prefix"; then
7792 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7793 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7796 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7797 echo $ECHO_N "(cached) $ECHO_C" >&6
7799 if test -n "$DLLTOOL"; then
7800 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7806 test -z "$as_dir" && as_dir
=.
7807 for ac_exec_ext
in '' $ac_executable_extensions; do
7808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7809 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7819 DLLTOOL
=$ac_cv_prog_DLLTOOL
7820 if test -n "$DLLTOOL"; then
7821 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7822 echo "${ECHO_T}$DLLTOOL" >&6; }
7824 { echo "$as_me:$LINENO: result: no" >&5
7825 echo "${ECHO_T}no" >&6; }
7830 if test -z "$ac_cv_prog_DLLTOOL"; then
7831 ac_ct_DLLTOOL
=$DLLTOOL
7832 # Extract the first word of "dlltool", so it can be a program name with args.
7833 set dummy dlltool
; ac_word
=$2
7834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7836 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7837 echo $ECHO_N "(cached) $ECHO_C" >&6
7839 if test -n "$ac_ct_DLLTOOL"; then
7840 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7846 test -z "$as_dir" && as_dir
=.
7847 for ac_exec_ext
in '' $ac_executable_extensions; do
7848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7849 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7859 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7860 if test -n "$ac_ct_DLLTOOL"; then
7861 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7862 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7864 { echo "$as_me:$LINENO: result: no" >&5
7865 echo "${ECHO_T}no" >&6; }
7868 if test "x$ac_ct_DLLTOOL" = x
; then
7871 case $cross_compiling:$ac_tool_warned in
7873 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7874 whose name does not start with the host triplet. If you think this
7875 configuration is useful to you, please write to autoconf@gnu.org." >&5
7876 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7877 whose name does not start with the host triplet. If you think this
7878 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7879 ac_tool_warned
=yes ;;
7881 DLLTOOL
=$ac_ct_DLLTOOL
7884 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7887 if test -n "$ac_tool_prefix"; then
7888 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7889 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
7890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7892 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7893 echo $ECHO_N "(cached) $ECHO_C" >&6
7895 if test -n "$DLLWRAP"; then
7896 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
7898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7902 test -z "$as_dir" && as_dir
=.
7903 for ac_exec_ext
in '' $ac_executable_extensions; do
7904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7905 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
7906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7915 DLLWRAP
=$ac_cv_prog_DLLWRAP
7916 if test -n "$DLLWRAP"; then
7917 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7918 echo "${ECHO_T}$DLLWRAP" >&6; }
7920 { echo "$as_me:$LINENO: result: no" >&5
7921 echo "${ECHO_T}no" >&6; }
7926 if test -z "$ac_cv_prog_DLLWRAP"; then
7927 ac_ct_DLLWRAP
=$DLLWRAP
7928 # Extract the first word of "dllwrap", so it can be a program name with args.
7929 set dummy dllwrap
; ac_word
=$2
7930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7932 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7933 echo $ECHO_N "(cached) $ECHO_C" >&6
7935 if test -n "$ac_ct_DLLWRAP"; then
7936 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
7938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7942 test -z "$as_dir" && as_dir
=.
7943 for ac_exec_ext
in '' $ac_executable_extensions; do
7944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7945 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
7946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7955 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
7956 if test -n "$ac_ct_DLLWRAP"; then
7957 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7958 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7960 { echo "$as_me:$LINENO: result: no" >&5
7961 echo "${ECHO_T}no" >&6; }
7964 if test "x$ac_ct_DLLWRAP" = x
; then
7967 case $cross_compiling:$ac_tool_warned in
7969 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7970 whose name does not start with the host triplet. If you think this
7971 configuration is useful to you, please write to autoconf@gnu.org." >&5
7972 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7973 whose name does not start with the host triplet. If you think this
7974 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7975 ac_tool_warned
=yes ;;
7977 DLLWRAP
=$ac_ct_DLLWRAP
7980 DLLWRAP
="$ac_cv_prog_DLLWRAP"
7983 if test -n "$ac_tool_prefix"; then
7984 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7985 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7988 if test "${ac_cv_prog_MINGWAR+set}" = set; then
7989 echo $ECHO_N "(cached) $ECHO_C" >&6
7991 if test -n "$MINGWAR"; then
7992 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
7994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7998 test -z "$as_dir" && as_dir
=.
7999 for ac_exec_ext
in '' $ac_executable_extensions; do
8000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8001 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8011 MINGWAR
=$ac_cv_prog_MINGWAR
8012 if test -n "$MINGWAR"; then
8013 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8014 echo "${ECHO_T}$MINGWAR" >&6; }
8016 { echo "$as_me:$LINENO: result: no" >&5
8017 echo "${ECHO_T}no" >&6; }
8022 if test -z "$ac_cv_prog_MINGWAR"; then
8023 ac_ct_MINGWAR
=$MINGWAR
8024 # Extract the first word of "ar", so it can be a program name with args.
8025 set dummy
ar; ac_word
=$2
8026 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8028 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8029 echo $ECHO_N "(cached) $ECHO_C" >&6
8031 if test -n "$ac_ct_MINGWAR"; then
8032 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8038 test -z "$as_dir" && as_dir
=.
8039 for ac_exec_ext
in '' $ac_executable_extensions; do
8040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8041 ac_cv_prog_ac_ct_MINGWAR
="ar"
8042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8051 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8052 if test -n "$ac_ct_MINGWAR"; then
8053 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8054 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8056 { echo "$as_me:$LINENO: result: no" >&5
8057 echo "${ECHO_T}no" >&6; }
8060 if test "x$ac_ct_MINGWAR" = x
; then
8063 case $cross_compiling:$ac_tool_warned in
8065 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8066 whose name does not start with the host triplet. If you think this
8067 configuration is useful to you, please write to autoconf@gnu.org." >&5
8068 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8069 whose name does not start with the host triplet. If you think this
8070 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8071 ac_tool_warned
=yes ;;
8073 MINGWAR
=$ac_ct_MINGWAR
8076 MINGWAR
="$ac_cv_prog_MINGWAR"
8079 if test "$DLLWRAP" = "false"; then
8091 DLLFLAGS
="$DLLFLAGS -fPIC"
8092 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8093 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8094 LDSHARED
="\$(CC) -dynamiclib"
8096 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8097 SECURITYLIB
="-framework Security -framework CoreFoundation"
8099 COREFOUNDATIONLIB
="-framework CoreFoundation"
8101 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8103 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8105 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8107 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8110 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8112 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8117 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8119 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8121 CARBONLIB
="-framework Carbon"
8123 QUARTZFILES
='$(QUARTZFILES)'
8127 DLLFLAGS
="$DLLFLAGS -fPIC"
8129 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8130 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8131 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8132 echo $ECHO_N "(cached) $ECHO_C" >&6
8134 ac_wine_try_cflags_saved
=$CFLAGS
8135 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8136 cat >conftest.
$ac_ext <<_ACEOF
8139 rm -f conftest.
$ac_objext conftest
$ac_exeext
8140 if { (ac_try
="$ac_link"
8142 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8143 *) ac_try_echo=$ac_try;;
8145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8146 (eval "$ac_link") 2>conftest.er1
8148 grep -v '^ *+' conftest.er1 >conftest.err
8150 cat conftest.err >&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); } && {
8153 test -z "$ac_c_werror_flag" ||
8154 test ! -s conftest.err
8155 } && test -s conftest$ac_exeext &&
8156 $as_test_x conftest$ac_exeext; then
8157 ac_cv_c_dll_gnuelf="yes"
8159 echo "$as_me: failed program was:" >&5
8160 sed 's/^/| /' conftest.$ac_ext >&5
8162 ac_cv_c_dll_gnuelf="no"
8165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8166 conftest$ac_exeext conftest.$ac_ext
8167 CFLAGS=$ac_wine_try_cflags_saved
8169 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8170 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8171 if test "$ac_cv_c_dll_gnuelf" = "yes"
8173 LDSHARED="\$(CC) -shared"
8174 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8175 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8176 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8177 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8178 echo $ECHO_N "(cached) $ECHO_C" >&6
8180 ac_wine_try_cflags_saved=$CFLAGS
8181 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8182 cat >conftest.$ac_ext <<_ACEOF
8185 cat confdefs.h >>conftest.$ac_ext
8186 cat >>conftest.$ac_ext <<_ACEOF
8187 /* end confdefs.h. */
8197 rm -f conftest.$ac_objext conftest$ac_exeext
8198 if { (ac_try="$ac_link"
8200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8201 *) ac_try_echo
=$ac_try;;
8203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8204 (eval "$ac_link") 2>conftest.er1
8206 grep -v '^ *+' conftest.er1
>conftest.err
8208 cat conftest.err
>&5
8209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8210 (exit $ac_status); } && {
8211 test -z "$ac_c_werror_flag" ||
8212 test ! -s conftest.err
8213 } && test -s conftest
$ac_exeext &&
8214 $as_test_x conftest
$ac_exeext; then
8215 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8217 echo "$as_me: failed program was:" >&5
8218 sed 's/^/| /' conftest.
$ac_ext >&5
8220 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8223 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8224 conftest
$ac_exeext conftest.
$ac_ext
8225 CFLAGS
=$ac_wine_try_cflags_saved
8227 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8228 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8229 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8230 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8232 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8233 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8234 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8235 echo $ECHO_N "(cached) $ECHO_C" >&6
8237 ac_wine_try_cflags_saved
=$CFLAGS
8238 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8239 cat >conftest.
$ac_ext <<_ACEOF
8242 cat confdefs.h
>>conftest.
$ac_ext
8243 cat >>conftest.
$ac_ext <<_ACEOF
8244 /* end confdefs.h. */
8254 rm -f conftest.
$ac_objext conftest
$ac_exeext
8255 if { (ac_try
="$ac_link"
8257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8258 *) ac_try_echo=$ac_try;;
8260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8261 (eval "$ac_link") 2>conftest.er1
8263 grep -v '^ *+' conftest.er1 >conftest.err
8265 cat conftest.err >&5
8266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8267 (exit $ac_status); } && {
8268 test -z "$ac_c_werror_flag" ||
8269 test ! -s conftest.err
8270 } && test -s conftest$ac_exeext &&
8271 $as_test_x conftest$ac_exeext; then
8272 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8274 echo "$as_me: failed program was:" >&5
8275 sed 's/^/| /' conftest.$ac_ext >&5
8277 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8281 conftest$ac_exeext conftest.$ac_ext
8282 CFLAGS=$ac_wine_try_cflags_saved
8284 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8285 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8286 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8287 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8293 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8294 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8295 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8296 echo $ECHO_N "(cached) $ECHO_C" >&6
8298 ac_wine_try_cflags_saved=$CFLAGS
8299 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8300 cat >conftest.$ac_ext <<_ACEOF
8303 cat confdefs.h >>conftest.$ac_ext
8304 cat >>conftest.$ac_ext <<_ACEOF
8305 /* end confdefs.h. */
8315 rm -f conftest.$ac_objext conftest$ac_exeext
8316 if { (ac_try="$ac_link"
8318 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8319 *) ac_try_echo
=$ac_try;;
8321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8322 (eval "$ac_link") 2>conftest.er1
8324 grep -v '^ *+' conftest.er1
>conftest.err
8326 cat conftest.err
>&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); } && {
8329 test -z "$ac_c_werror_flag" ||
8330 test ! -s conftest.err
8331 } && test -s conftest
$ac_exeext &&
8332 $as_test_x conftest
$ac_exeext; then
8333 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8335 echo "$as_me: failed program was:" >&5
8336 sed 's/^/| /' conftest.
$ac_ext >&5
8338 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8341 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8342 conftest
$ac_exeext conftest.
$ac_ext
8343 CFLAGS
=$ac_wine_try_cflags_saved
8345 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8346 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8347 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8348 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8352 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8353 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8354 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8355 echo $ECHO_N "(cached) $ECHO_C" >&6
8357 ac_wine_try_cflags_saved
=$CFLAGS
8358 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8359 cat >conftest.
$ac_ext <<_ACEOF
8362 cat confdefs.h
>>conftest.
$ac_ext
8363 cat >>conftest.
$ac_ext <<_ACEOF
8364 /* end confdefs.h. */
8374 rm -f conftest.
$ac_objext conftest
$ac_exeext
8375 if { (ac_try
="$ac_link"
8377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8378 *) ac_try_echo=$ac_try;;
8380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8381 (eval "$ac_link") 2>conftest.er1
8383 grep -v '^ *+' conftest.er1 >conftest.err
8385 cat conftest.err >&5
8386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387 (exit $ac_status); } && {
8388 test -z "$ac_c_werror_flag" ||
8389 test ! -s conftest.err
8390 } && test -s conftest$ac_exeext &&
8391 $as_test_x conftest$ac_exeext; then
8392 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8394 echo "$as_me: failed program was:" >&5
8395 sed 's/^/| /' conftest.$ac_ext >&5
8397 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8401 conftest$ac_exeext conftest.$ac_ext
8402 CFLAGS=$ac_wine_try_cflags_saved
8404 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8405 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8406 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8407 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8411 echo '{ global: *; };' >conftest.map
8412 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8413 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8414 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8415 echo $ECHO_N "(cached) $ECHO_C" >&6
8417 ac_wine_try_cflags_saved=$CFLAGS
8418 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8419 cat >conftest.$ac_ext <<_ACEOF
8422 cat confdefs.h >>conftest.$ac_ext
8423 cat >>conftest.$ac_ext <<_ACEOF
8424 /* end confdefs.h. */
8434 rm -f conftest.$ac_objext conftest$ac_exeext
8435 if { (ac_try="$ac_link"
8437 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8438 *) ac_try_echo
=$ac_try;;
8440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8441 (eval "$ac_link") 2>conftest.er1
8443 grep -v '^ *+' conftest.er1
>conftest.err
8445 cat conftest.err
>&5
8446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447 (exit $ac_status); } && {
8448 test -z "$ac_c_werror_flag" ||
8449 test ! -s conftest.err
8450 } && test -s conftest
$ac_exeext &&
8451 $as_test_x conftest
$ac_exeext; then
8452 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8454 echo "$as_me: failed program was:" >&5
8455 sed 's/^/| /' conftest.
$ac_ext >&5
8457 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8460 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8461 conftest
$ac_exeext conftest.
$ac_ext
8462 CFLAGS
=$ac_wine_try_cflags_saved
8464 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8465 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8466 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8467 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8472 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8473 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8474 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8475 echo $ECHO_N "(cached) $ECHO_C" >&6
8477 ac_wine_try_cflags_saved
=$CFLAGS
8478 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8479 cat >conftest.
$ac_ext <<_ACEOF
8482 cat confdefs.h
>>conftest.
$ac_ext
8483 cat >>conftest.
$ac_ext <<_ACEOF
8484 /* end confdefs.h. */
8494 rm -f conftest.
$ac_objext conftest
$ac_exeext
8495 if { (ac_try
="$ac_link"
8497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8498 *) ac_try_echo=$ac_try;;
8500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8501 (eval "$ac_link") 2>conftest.er1
8503 grep -v '^ *+' conftest.er1 >conftest.err
8505 cat conftest.err >&5
8506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507 (exit $ac_status); } && {
8508 test -z "$ac_c_werror_flag" ||
8509 test ! -s conftest.err
8510 } && test -s conftest$ac_exeext &&
8511 $as_test_x conftest$ac_exeext; then
8512 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8514 echo "$as_me: failed program was:" >&5
8515 sed 's/^/| /' conftest.$ac_ext >&5
8517 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8521 conftest$ac_exeext conftest.$ac_ext
8522 CFLAGS=$ac_wine_try_cflags_saved
8524 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8525 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8526 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8527 LDEXECFLAGS="-Wl,--export-dynamic"
8532 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
8533 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8534 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8535 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8536 echo $ECHO_N "(cached) $ECHO_C" >&6
8538 ac_wine_try_cflags_saved=$CFLAGS
8539 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8540 cat >conftest.$ac_ext <<_ACEOF
8543 cat confdefs.h >>conftest.$ac_ext
8544 cat >>conftest.$ac_ext <<_ACEOF
8545 /* end confdefs.h. */
8555 rm -f conftest.$ac_objext conftest$ac_exeext
8556 if { (ac_try="$ac_link"
8558 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8559 *) ac_try_echo
=$ac_try;;
8561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8562 (eval "$ac_link") 2>conftest.er1
8564 grep -v '^ *+' conftest.er1
>conftest.err
8566 cat conftest.err
>&5
8567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568 (exit $ac_status); } && {
8569 test -z "$ac_c_werror_flag" ||
8570 test ! -s conftest.err
8571 } && test -s conftest
$ac_exeext &&
8572 $as_test_x conftest
$ac_exeext; then
8573 eval "$as_ac_var=yes"
8575 echo "$as_me: failed program was:" >&5
8576 sed 's/^/| /' conftest.
$ac_ext >&5
8578 eval "$as_ac_var=no"
8581 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8582 conftest
$ac_exeext conftest.
$ac_ext
8583 CFLAGS
=$ac_wine_try_cflags_saved
8585 ac_res
=`eval echo '${'$as_ac_var'}'`
8586 { echo "$as_me:$LINENO: result: $ac_res" >&5
8587 echo "${ECHO_T}$ac_res" >&6; }
8588 if test `eval echo '${'$as_ac_var'}'` = yes; then
8589 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8590 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8592 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8593 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8594 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8595 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8596 echo $ECHO_N "(cached) $ECHO_C" >&6
8598 ac_wine_try_cflags_saved
=$CFLAGS
8599 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8600 cat >conftest.
$ac_ext <<_ACEOF
8603 cat confdefs.h
>>conftest.
$ac_ext
8604 cat >>conftest.
$ac_ext <<_ACEOF
8605 /* end confdefs.h. */
8615 rm -f conftest.
$ac_objext conftest
$ac_exeext
8616 if { (ac_try
="$ac_link"
8618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8619 *) ac_try_echo=$ac_try;;
8621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8622 (eval "$ac_link") 2>conftest.er1
8624 grep -v '^ *+' conftest.er1 >conftest.err
8626 cat conftest.err >&5
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); } && {
8629 test -z "$ac_c_werror_flag" ||
8630 test ! -s conftest.err
8631 } && test -s conftest$ac_exeext &&
8632 $as_test_x conftest$ac_exeext; then
8633 eval "$as_ac_var=yes"
8635 echo "$as_me: failed program was:" >&5
8636 sed 's/^/| /' conftest.$ac_ext >&5
8638 eval "$as_ac_var=no"
8641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8642 conftest$ac_exeext conftest.$ac_ext
8643 CFLAGS=$ac_wine_try_cflags_saved
8645 ac_res=`eval echo '${'$as_ac_var'}'`
8646 { echo "$as_me:$LINENO: result: $ac_res" >&5
8647 echo "${ECHO_T}$ac_res" >&6; }
8648 if test `eval echo '${'$as_ac_var'}'` = yes; then
8649 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
8650 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8656 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8657 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8658 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8659 echo $ECHO_N "(cached) $ECHO_C" >&6
8661 ac_wine_try_cflags_saved=$CFLAGS
8662 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8663 cat >conftest.$ac_ext <<_ACEOF
8666 cat confdefs.h >>conftest.$ac_ext
8667 cat >>conftest.$ac_ext <<_ACEOF
8668 /* end confdefs.h. */
8678 rm -f conftest.$ac_objext conftest$ac_exeext
8679 if { (ac_try="$ac_link"
8681 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8682 *) ac_try_echo
=$ac_try;;
8684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8685 (eval "$ac_link") 2>conftest.er1
8687 grep -v '^ *+' conftest.er1
>conftest.err
8689 cat conftest.err
>&5
8690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691 (exit $ac_status); } && {
8692 test -z "$ac_c_werror_flag" ||
8693 test ! -s conftest.err
8694 } && test -s conftest
$ac_exeext &&
8695 $as_test_x conftest
$ac_exeext; then
8696 ac_cv_cflags__Wl___enable_new_dtags
=yes
8698 echo "$as_me: failed program was:" >&5
8699 sed 's/^/| /' conftest.
$ac_ext >&5
8701 ac_cv_cflags__Wl___enable_new_dtags
=no
8704 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8705 conftest
$ac_exeext conftest.
$ac_ext
8706 CFLAGS
=$ac_wine_try_cflags_saved
8708 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8709 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8710 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8711 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8716 *i
[3456789]86* | x86_64
)
8717 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8718 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8719 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8720 echo $ECHO_N "(cached) $ECHO_C" >&6
8722 ac_wine_try_cflags_saved
=$CFLAGS
8723 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8724 cat >conftest.
$ac_ext <<_ACEOF
8727 cat confdefs.h
>>conftest.
$ac_ext
8728 cat >>conftest.
$ac_ext <<_ACEOF
8729 /* end confdefs.h. */
8739 rm -f conftest.
$ac_objext conftest
$ac_exeext
8740 if { (ac_try
="$ac_link"
8742 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8743 *) ac_try_echo=$ac_try;;
8745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8746 (eval "$ac_link") 2>conftest.er1
8748 grep -v '^ *+' conftest.er1 >conftest.err
8750 cat conftest.err >&5
8751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752 (exit $ac_status); } && {
8753 test -z "$ac_c_werror_flag" ||
8754 test ! -s conftest.err
8755 } && test -s conftest$ac_exeext &&
8756 $as_test_x conftest$ac_exeext; then
8757 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8759 echo "$as_me: failed program was:" >&5
8760 sed 's/^/| /' conftest.$ac_ext >&5
8762 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8766 conftest$ac_exeext conftest.$ac_ext
8767 CFLAGS=$ac_wine_try_cflags_saved
8769 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8770 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8771 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8772 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8779 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8780 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8781 if test "${ac_cv_c_dll_unixware+set}" = set; then
8782 echo $ECHO_N "(cached) $ECHO_C" >&6
8784 ac_wine_try_cflags_saved=$CFLAGS
8785 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8786 cat >conftest.$ac_ext <<_ACEOF
8789 rm -f conftest.$ac_objext conftest$ac_exeext
8790 if { (ac_try="$ac_link"
8792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8793 *) ac_try_echo
=$ac_try;;
8795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8796 (eval "$ac_link") 2>conftest.er1
8798 grep -v '^ *+' conftest.er1
>conftest.err
8800 cat conftest.err
>&5
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); } && {
8803 test -z "$ac_c_werror_flag" ||
8804 test ! -s conftest.err
8805 } && test -s conftest
$ac_exeext &&
8806 $as_test_x conftest
$ac_exeext; then
8807 ac_cv_c_dll_unixware
="yes"
8809 echo "$as_me: failed program was:" >&5
8810 sed 's/^/| /' conftest.
$ac_ext >&5
8812 ac_cv_c_dll_unixware
="no"
8815 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8816 conftest
$ac_exeext conftest.
$ac_ext
8817 CFLAGS
=$ac_wine_try_cflags_saved
8819 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8820 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8821 if test "$ac_cv_c_dll_unixware" = "yes"
8823 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8824 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
8827 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8828 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8829 if test "${ac_cv_c_dll_hpux+set}" = set; then
8830 echo $ECHO_N "(cached) $ECHO_C" >&6
8832 ac_wine_try_cflags_saved
=$CFLAGS
8833 CFLAGS
="$CFLAGS -shared"
8834 cat >conftest.
$ac_ext <<_ACEOF
8837 rm -f conftest.
$ac_objext conftest
$ac_exeext
8838 if { (ac_try
="$ac_link"
8840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8841 *) ac_try_echo=$ac_try;;
8843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8844 (eval "$ac_link") 2>conftest.er1
8846 grep -v '^ *+' conftest.er1 >conftest.err
8848 cat conftest.err >&5
8849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8850 (exit $ac_status); } && {
8851 test -z "$ac_c_werror_flag" ||
8852 test ! -s conftest.err
8853 } && test -s conftest$ac_exeext &&
8854 $as_test_x conftest$ac_exeext; then
8855 ac_cv_c_dll_hpux="yes"
8857 echo "$as_me: failed program was:" >&5
8858 sed 's/^/| /' conftest.$ac_ext >&5
8860 ac_cv_c_dll_hpux="no"
8863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8864 conftest$ac_exeext conftest.$ac_ext
8865 CFLAGS=$ac_wine_try_cflags_saved
8867 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8868 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8869 if test "$ac_cv_c_dll_hpux" = "yes"
8873 LDDLLFLAGS="-shared -fPIC"
8874 LDSHARED="\$(CC) -shared"
8881 if test "$cross_compiling" = "no"
8883 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8885 # Extract the first word of "$ac_prog", so it can be a program name with args.
8886 set dummy $ac_prog; ac_word=$2
8887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8889 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8890 echo $ECHO_N "(cached) $ECHO_C" >&6
8892 if test -n "$CROSSCC"; then
8893 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8899 test -z "$as_dir" && as_dir=.
8900 for ac_exec_ext in '' $ac_executable_extensions; do
8901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8902 ac_cv_prog_CROSSCC="$ac_prog"
8903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8912 CROSSCC=$ac_cv_prog_CROSSCC
8913 if test -n "$CROSSCC"; then
8914 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8915 echo "${ECHO_T}$CROSSCC" >&6; }
8917 { echo "$as_me:$LINENO: result: no" >&5
8918 echo "${ECHO_T}no" >&6; }
8922 test -n "$CROSSCC" && break
8924 test -n "$CROSSCC" || CROSSCC="false"
8926 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8928 # Extract the first word of "$ac_prog", so it can be a program name with args.
8929 set dummy $ac_prog; ac_word=$2
8930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8932 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8933 echo $ECHO_N "(cached) $ECHO_C" >&6
8935 if test -n "$DLLTOOL"; then
8936 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8942 test -z "$as_dir" && as_dir=.
8943 for ac_exec_ext in '' $ac_executable_extensions; do
8944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8945 ac_cv_prog_DLLTOOL="$ac_prog"
8946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8955 DLLTOOL=$ac_cv_prog_DLLTOOL
8956 if test -n "$DLLTOOL"; then
8957 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8958 echo "${ECHO_T}$DLLTOOL" >&6; }
8960 { echo "$as_me:$LINENO: result: no" >&5
8961 echo "${ECHO_T}no" >&6; }
8965 test -n "$DLLTOOL" && break
8967 test -n "$DLLTOOL" || DLLTOOL="false"
8969 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
8971 # Extract the first word of "$ac_prog", so it can be a program name with args.
8972 set dummy $ac_prog; ac_word=$2
8973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8975 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8976 echo $ECHO_N "(cached) $ECHO_C" >&6
8978 if test -n "$CROSSWINDRES"; then
8979 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8985 test -z "$as_dir" && as_dir=.
8986 for ac_exec_ext in '' $ac_executable_extensions; do
8987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8988 ac_cv_prog_CROSSWINDRES="$ac_prog"
8989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8998 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
8999 if test -n "$CROSSWINDRES"; then
9000 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9001 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9003 { echo "$as_me:$LINENO: result: no" >&5
9004 echo "${ECHO_T}no" >&6; }
9008 test -n "$CROSSWINDRES" && break
9010 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9012 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9014 # Extract the first word of "$ac_prog", so it can be a program name with args.
9015 set dummy $ac_prog; ac_word=$2
9016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9018 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9019 echo $ECHO_N "(cached) $ECHO_C" >&6
9021 if test -n "$MINGWAR"; then
9022 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9028 test -z "$as_dir" && as_dir=.
9029 for ac_exec_ext in '' $ac_executable_extensions; do
9030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9031 ac_cv_prog_MINGWAR="$ac_prog"
9032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9041 MINGWAR=$ac_cv_prog_MINGWAR
9042 if test -n "$MINGWAR"; then
9043 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9044 echo "${ECHO_T}$MINGWAR" >&6; }
9046 { echo "$as_me:$LINENO: result: no" >&5
9047 echo "${ECHO_T}no" >&6; }
9051 test -n "$MINGWAR" && break
9053 test -n "$MINGWAR" || MINGWAR="false"
9055 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9060 if test "$LIBEXT" = "a"; then
9061 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9062 It is currently not possible to build Wine without shared library
9063 (.so) support to allow transparent switch between .so and .dll files.
9064 If you are using Linux, you will need a newer binutils.
9066 echo "$as_me: error: could not find a way to build shared libraries.
9067 It is currently not possible to build Wine without shared library
9068 (.so) support to allow transparent switch between .so and .dll files.
9069 If you are using Linux, you will need a newer binutils.
9071 { (exit 1); exit 1; }; }
9075 if test "$have_x" = "yes"
9078 ac_save_CPPFLAGS="$CPPFLAGS"
9079 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9081 { echo "$as_me:$LINENO: checking for -lX11" >&5
9082 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9083 if test "${ac_cv_lib_soname_X11+set}" = set; then
9084 echo $ECHO_N "(cached) $ECHO_C" >&6
9086 ac_check_soname_save_LIBS=$LIBS
9087 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9088 cat >conftest.$ac_ext <<_ACEOF
9091 cat confdefs.h >>conftest.$ac_ext
9092 cat >>conftest.$ac_ext <<_ACEOF
9093 /* end confdefs.h. */
9095 /* Override any GCC internal prototype to avoid an error.
9096 Use char because int might match the return type of a GCC
9097 builtin and then its argument prototype would still apply. */
9101 char XCreateWindow ();
9105 return XCreateWindow ();
9110 rm -f conftest.$ac_objext conftest$ac_exeext
9111 if { (ac_try="$ac_link"
9113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9114 *) ac_try_echo
=$ac_try;;
9116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9117 (eval "$ac_link") 2>conftest.er1
9119 grep -v '^ *+' conftest.er1
>conftest.err
9121 cat conftest.err
>&5
9122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9123 (exit $ac_status); } && {
9124 test -z "$ac_c_werror_flag" ||
9125 test ! -s conftest.err
9126 } && test -s conftest
$ac_exeext &&
9127 $as_test_x conftest
$ac_exeext; then
9130 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'` ;;
9131 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9134 echo "$as_me: failed program was:" >&5
9135 sed 's/^/| /' conftest.
$ac_ext >&5
9140 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9141 conftest
$ac_exeext conftest.
$ac_ext
9142 LIBS
=$ac_check_soname_save_LIBS
9144 if test "x$ac_cv_lib_soname_X11" = "x"; then
9145 { echo "$as_me:$LINENO: result: not found" >&5
9146 echo "${ECHO_T}not found" >&6; }
9149 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9150 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9152 cat >>confdefs.h
<<_ACEOF
9153 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9159 { echo "$as_me:$LINENO: checking for -lXext" >&5
9160 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9161 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9162 echo $ECHO_N "(cached) $ECHO_C" >&6
9164 ac_check_soname_save_LIBS
=$LIBS
9165 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9166 cat >conftest.
$ac_ext <<_ACEOF
9169 cat confdefs.h
>>conftest.
$ac_ext
9170 cat >>conftest.
$ac_ext <<_ACEOF
9171 /* end confdefs.h. */
9173 /* Override any GCC internal prototype to avoid an error.
9174 Use char because int might match the return type of a GCC
9175 builtin and then its argument prototype would still apply. */
9179 char XextCreateExtension ();
9183 return XextCreateExtension ();
9188 rm -f conftest.
$ac_objext conftest
$ac_exeext
9189 if { (ac_try
="$ac_link"
9191 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9192 *) ac_try_echo=$ac_try;;
9194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9195 (eval "$ac_link") 2>conftest.er1
9197 grep -v '^ *+' conftest.er1 >conftest.err
9199 cat conftest.err >&5
9200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9201 (exit $ac_status); } && {
9202 test -z "$ac_c_werror_flag" ||
9203 test ! -s conftest.err
9204 } && test -s conftest$ac_exeext &&
9205 $as_test_x conftest$ac_exeext; then
9208 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'` ;;
9209 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9212 echo "$as_me: failed program was:" >&5
9213 sed 's/^/| /' conftest.$ac_ext >&5
9218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9219 conftest$ac_exeext conftest.$ac_ext
9220 LIBS=$ac_check_soname_save_LIBS
9222 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9223 { echo "$as_me:$LINENO: result: not found" >&5
9224 echo "${ECHO_T}not found" >&6; }
9227 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9228 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9230 cat >>confdefs.h <<_ACEOF
9231 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9250 for ac_header in X11/Xlib.h \
9253 X11/Xcursor/Xcursor.h \
9254 X11/extensions/shape.h \
9255 X11/extensions/XInput.h \
9256 X11/extensions/XShm.h \
9257 X11/extensions/Xcomposite.h \
9258 X11/extensions/Xinerama.h \
9259 X11/extensions/Xrandr.h \
9260 X11/extensions/Xrender.h \
9261 X11/extensions/xf86vmode.h
9263 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9264 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9266 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9267 echo $ECHO_N "(cached) $ECHO_C" >&6
9269 cat >conftest.$ac_ext <<_ACEOF
9272 cat confdefs.h >>conftest.$ac_ext
9273 cat >>conftest.$ac_ext <<_ACEOF
9274 /* end confdefs.h. */
9275 #ifdef HAVE_X11_XLIB_H
9276 # include <X11/Xlib.h>
9278 #ifdef HAVE_X11_XUTIL_H
9279 # include <X11/Xutil.h>
9282 #include <$ac_header>
9284 rm -f conftest.$ac_objext
9285 if { (ac_try="$ac_compile"
9287 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9288 *) ac_try_echo
=$ac_try;;
9290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9291 (eval "$ac_compile") 2>conftest.er1
9293 grep -v '^ *+' conftest.er1
>conftest.err
9295 cat conftest.err
>&5
9296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9297 (exit $ac_status); } && {
9298 test -z "$ac_c_werror_flag" ||
9299 test ! -s conftest.err
9300 } && test -s conftest.
$ac_objext; then
9301 eval "$as_ac_Header=yes"
9303 echo "$as_me: failed program was:" >&5
9304 sed 's/^/| /' conftest.
$ac_ext >&5
9306 eval "$as_ac_Header=no"
9309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9311 ac_res
=`eval echo '${'$as_ac_Header'}'`
9312 { echo "$as_me:$LINENO: result: $ac_res" >&5
9313 echo "${ECHO_T}$ac_res" >&6; }
9314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9315 cat >>confdefs.h
<<_ACEOF
9316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9324 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9326 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9327 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9328 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9329 echo $ECHO_N "(cached) $ECHO_C" >&6
9331 ac_check_lib_save_LIBS
=$LIBS
9332 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9333 cat >conftest.
$ac_ext <<_ACEOF
9336 cat confdefs.h
>>conftest.
$ac_ext
9337 cat >>conftest.
$ac_ext <<_ACEOF
9338 /* end confdefs.h. */
9340 /* Override any GCC internal prototype to avoid an error.
9341 Use char because int might match the return type of a GCC
9342 builtin and then its argument prototype would still apply. */
9346 char XkbQueryExtension ();
9350 return XkbQueryExtension ();
9355 rm -f conftest.
$ac_objext conftest
$ac_exeext
9356 if { (ac_try
="$ac_link"
9358 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9359 *) ac_try_echo=$ac_try;;
9361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9362 (eval "$ac_link") 2>conftest.er1
9364 grep -v '^ *+' conftest.er1 >conftest.err
9366 cat conftest.err >&5
9367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368 (exit $ac_status); } && {
9369 test -z "$ac_c_werror_flag" ||
9370 test ! -s conftest.err
9371 } && test -s conftest$ac_exeext &&
9372 $as_test_x conftest$ac_exeext; then
9373 ac_cv_lib_X11_XkbQueryExtension=yes
9375 echo "$as_me: failed program was:" >&5
9376 sed 's/^/| /' conftest.$ac_ext >&5
9378 ac_cv_lib_X11_XkbQueryExtension=no
9381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9382 conftest$ac_exeext conftest.$ac_ext
9383 LIBS=$ac_check_lib_save_LIBS
9385 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9386 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9387 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9389 cat >>confdefs.h <<\_ACEOF
9397 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9399 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9400 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9401 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9402 echo $ECHO_N "(cached) $ECHO_C" >&6
9404 ac_check_soname_save_LIBS=$LIBS
9405 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9406 cat >conftest.$ac_ext <<_ACEOF
9409 cat confdefs.h >>conftest.$ac_ext
9410 cat >>conftest.$ac_ext <<_ACEOF
9411 /* end confdefs.h. */
9413 /* Override any GCC internal prototype to avoid an error.
9414 Use char because int might match the return type of a GCC
9415 builtin and then its argument prototype would still apply. */
9419 char XcursorImageLoadCursor ();
9423 return XcursorImageLoadCursor ();
9428 rm -f conftest.$ac_objext conftest$ac_exeext
9429 if { (ac_try="$ac_link"
9431 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9432 *) ac_try_echo
=$ac_try;;
9434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9435 (eval "$ac_link") 2>conftest.er1
9437 grep -v '^ *+' conftest.er1
>conftest.err
9439 cat conftest.err
>&5
9440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9441 (exit $ac_status); } && {
9442 test -z "$ac_c_werror_flag" ||
9443 test ! -s conftest.err
9444 } && test -s conftest
$ac_exeext &&
9445 $as_test_x conftest
$ac_exeext; then
9448 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'` ;;
9449 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9452 echo "$as_me: failed program was:" >&5
9453 sed 's/^/| /' conftest.
$ac_ext >&5
9458 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9459 conftest
$ac_exeext conftest.
$ac_ext
9460 LIBS
=$ac_check_soname_save_LIBS
9462 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9463 { echo "$as_me:$LINENO: result: not found" >&5
9464 echo "${ECHO_T}not found" >&6; }
9467 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9468 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9470 cat >>confdefs.h
<<_ACEOF
9471 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9479 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9481 { echo "$as_me:$LINENO: checking for -lXi" >&5
9482 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9483 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9484 echo $ECHO_N "(cached) $ECHO_C" >&6
9486 ac_check_soname_save_LIBS
=$LIBS
9487 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9488 cat >conftest.
$ac_ext <<_ACEOF
9491 cat confdefs.h
>>conftest.
$ac_ext
9492 cat >>conftest.
$ac_ext <<_ACEOF
9493 /* end confdefs.h. */
9495 /* Override any GCC internal prototype to avoid an error.
9496 Use char because int might match the return type of a GCC
9497 builtin and then its argument prototype would still apply. */
9501 char XOpenDevice ();
9505 return XOpenDevice ();
9510 rm -f conftest.
$ac_objext conftest
$ac_exeext
9511 if { (ac_try
="$ac_link"
9513 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9514 *) ac_try_echo=$ac_try;;
9516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9517 (eval "$ac_link") 2>conftest.er1
9519 grep -v '^ *+' conftest.er1 >conftest.err
9521 cat conftest.err >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); } && {
9524 test -z "$ac_c_werror_flag" ||
9525 test ! -s conftest.err
9526 } && test -s conftest$ac_exeext &&
9527 $as_test_x conftest$ac_exeext; then
9530 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'` ;;
9531 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9534 echo "$as_me: failed program was:" >&5
9535 sed 's/^/| /' conftest.$ac_ext >&5
9540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9541 conftest$ac_exeext conftest.$ac_ext
9542 LIBS=$ac_check_soname_save_LIBS
9544 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9545 { echo "$as_me:$LINENO: result: not found" >&5
9546 echo "${ECHO_T}not found" >&6; }
9549 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9550 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9552 cat >>confdefs.h <<_ACEOF
9553 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9561 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9563 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9564 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9565 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9566 echo $ECHO_N "(cached) $ECHO_C" >&6
9568 ac_check_lib_save_LIBS=$LIBS
9569 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9570 cat >conftest.$ac_ext <<_ACEOF
9573 cat confdefs.h >>conftest.$ac_ext
9574 cat >>conftest.$ac_ext <<_ACEOF
9575 /* end confdefs.h. */
9577 /* Override any GCC internal prototype to avoid an error.
9578 Use char because int might match the return type of a GCC
9579 builtin and then its argument prototype would still apply. */
9583 char XShmQueryExtension ();
9587 return XShmQueryExtension ();
9592 rm -f conftest.$ac_objext conftest$ac_exeext
9593 if { (ac_try="$ac_link"
9595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9596 *) ac_try_echo
=$ac_try;;
9598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9599 (eval "$ac_link") 2>conftest.er1
9601 grep -v '^ *+' conftest.er1
>conftest.err
9603 cat conftest.err
>&5
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 (exit $ac_status); } && {
9606 test -z "$ac_c_werror_flag" ||
9607 test ! -s conftest.err
9608 } && test -s conftest
$ac_exeext &&
9609 $as_test_x conftest
$ac_exeext; then
9610 ac_cv_lib_Xext_XShmQueryExtension
=yes
9612 echo "$as_me: failed program was:" >&5
9613 sed 's/^/| /' conftest.
$ac_ext >&5
9615 ac_cv_lib_Xext_XShmQueryExtension
=no
9618 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9619 conftest
$ac_exeext conftest.
$ac_ext
9620 LIBS
=$ac_check_lib_save_LIBS
9622 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9623 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9624 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9626 cat >>confdefs.h
<<\_ACEOF
9627 #define HAVE_LIBXXSHM 1
9633 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9634 wine_notices
="$wine_notices|XShm development files not found.
9635 Wine will be built without XShm support. (winex11.drv)"
9639 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9641 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9642 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9643 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9644 echo $ECHO_N "(cached) $ECHO_C" >&6
9646 ac_check_lib_save_LIBS
=$LIBS
9647 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9648 cat >conftest.
$ac_ext <<_ACEOF
9651 cat confdefs.h
>>conftest.
$ac_ext
9652 cat >>conftest.
$ac_ext <<_ACEOF
9653 /* end confdefs.h. */
9655 /* Override any GCC internal prototype to avoid an error.
9656 Use char because int might match the return type of a GCC
9657 builtin and then its argument prototype would still apply. */
9661 char XShapeQueryExtension ();
9665 return XShapeQueryExtension ();
9670 rm -f conftest.
$ac_objext conftest
$ac_exeext
9671 if { (ac_try
="$ac_link"
9673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9674 *) ac_try_echo=$ac_try;;
9676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9677 (eval "$ac_link") 2>conftest.er1
9679 grep -v '^ *+' conftest.er1 >conftest.err
9681 cat conftest.err >&5
9682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9683 (exit $ac_status); } && {
9684 test -z "$ac_c_werror_flag" ||
9685 test ! -s conftest.err
9686 } && test -s conftest$ac_exeext &&
9687 $as_test_x conftest$ac_exeext; then
9688 ac_cv_lib_Xext_XShapeQueryExtension=yes
9690 echo "$as_me: failed program was:" >&5
9691 sed 's/^/| /' conftest.$ac_ext >&5
9693 ac_cv_lib_Xext_XShapeQueryExtension=no
9696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9697 conftest$ac_exeext conftest.$ac_ext
9698 LIBS=$ac_check_lib_save_LIBS
9700 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9701 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9702 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9704 cat >>confdefs.h <<\_ACEOF
9705 #define HAVE_LIBXSHAPE 1
9711 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9712 wine_notices="$wine_notices|XShape development files not found.
9713 Wine will be built without XShape support. (winex11.drv)"
9717 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9719 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9720 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9721 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9722 echo $ECHO_N "(cached) $ECHO_C" >&6
9724 ac_check_lib_save_LIBS=$LIBS
9725 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9726 cat >conftest.$ac_ext <<_ACEOF
9729 cat confdefs.h >>conftest.$ac_ext
9730 cat >>conftest.$ac_ext <<_ACEOF
9731 /* end confdefs.h. */
9733 /* Override any GCC internal prototype to avoid an error.
9734 Use char because int might match the return type of a GCC
9735 builtin and then its argument prototype would still apply. */
9739 char XF86VidModeQueryExtension ();
9743 return XF86VidModeQueryExtension ();
9748 rm -f conftest.$ac_objext conftest$ac_exeext
9749 if { (ac_try="$ac_link"
9751 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9752 *) ac_try_echo
=$ac_try;;
9754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9755 (eval "$ac_link") 2>conftest.er1
9757 grep -v '^ *+' conftest.er1
>conftest.err
9759 cat conftest.err
>&5
9760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9761 (exit $ac_status); } && {
9762 test -z "$ac_c_werror_flag" ||
9763 test ! -s conftest.err
9764 } && test -s conftest
$ac_exeext &&
9765 $as_test_x conftest
$ac_exeext; then
9766 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
9768 echo "$as_me: failed program was:" >&5
9769 sed 's/^/| /' conftest.
$ac_ext >&5
9771 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
9774 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9775 conftest
$ac_exeext conftest.
$ac_ext
9776 LIBS
=$ac_check_lib_save_LIBS
9778 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9779 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9780 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9782 cat >>confdefs.h
<<\_ACEOF
9783 #define HAVE_LIBXXF86VM 1
9786 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
9791 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9792 wine_notices
="$wine_notices|Xxf86vm development files not found.
9793 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9797 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"
9799 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9800 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9801 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9802 echo $ECHO_N "(cached) $ECHO_C" >&6
9804 ac_check_soname_save_LIBS
=$LIBS
9805 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9806 cat >conftest.
$ac_ext <<_ACEOF
9809 cat confdefs.h
>>conftest.
$ac_ext
9810 cat >>conftest.
$ac_ext <<_ACEOF
9811 /* end confdefs.h. */
9813 /* Override any GCC internal prototype to avoid an error.
9814 Use char because int might match the return type of a GCC
9815 builtin and then its argument prototype would still apply. */
9819 char XRenderQueryExtension ();
9823 return XRenderQueryExtension ();
9828 rm -f conftest.
$ac_objext conftest
$ac_exeext
9829 if { (ac_try
="$ac_link"
9831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9832 *) ac_try_echo=$ac_try;;
9834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9835 (eval "$ac_link") 2>conftest.er1
9837 grep -v '^ *+' conftest.er1 >conftest.err
9839 cat conftest.err >&5
9840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9841 (exit $ac_status); } && {
9842 test -z "$ac_c_werror_flag" ||
9843 test ! -s conftest.err
9844 } && test -s conftest$ac_exeext &&
9845 $as_test_x conftest$ac_exeext; then
9848 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'` ;;
9849 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9852 echo "$as_me: failed program was:" >&5
9853 sed 's/^/| /' conftest.$ac_ext >&5
9858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9859 conftest$ac_exeext conftest.$ac_ext
9860 LIBS=$ac_check_soname_save_LIBS
9862 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9863 { echo "$as_me:$LINENO: result: not found" >&5
9864 echo "${ECHO_T}not found" >&6; }
9867 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9868 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9870 cat >>confdefs.h <<_ACEOF
9871 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9874 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9875 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9876 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9877 echo $ECHO_N "(cached) $ECHO_C" >&6
9879 ac_check_lib_save_LIBS=$LIBS
9880 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9881 cat >conftest.$ac_ext <<_ACEOF
9884 cat confdefs.h >>conftest.$ac_ext
9885 cat >>conftest.$ac_ext <<_ACEOF
9886 /* end confdefs.h. */
9888 /* Override any GCC internal prototype to avoid an error.
9889 Use char because int might match the return type of a GCC
9890 builtin and then its argument prototype would still apply. */
9894 char XRenderSetPictureTransform ();
9898 return XRenderSetPictureTransform ();
9903 rm -f conftest.$ac_objext conftest$ac_exeext
9904 if { (ac_try="$ac_link"
9906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9907 *) ac_try_echo
=$ac_try;;
9909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9910 (eval "$ac_link") 2>conftest.er1
9912 grep -v '^ *+' conftest.er1
>conftest.err
9914 cat conftest.err
>&5
9915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9916 (exit $ac_status); } && {
9917 test -z "$ac_c_werror_flag" ||
9918 test ! -s conftest.err
9919 } && test -s conftest
$ac_exeext &&
9920 $as_test_x conftest
$ac_exeext; then
9921 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9923 echo "$as_me: failed program was:" >&5
9924 sed 's/^/| /' conftest.
$ac_ext >&5
9926 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9929 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9930 conftest
$ac_exeext conftest.
$ac_ext
9931 LIBS
=$ac_check_lib_save_LIBS
9933 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9934 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9935 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9937 cat >>confdefs.h
<<\_ACEOF
9938 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9947 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9948 wine_notices
="$wine_notices|XRender development files not found.
9949 Wine will be built without XRender support. (winex11.drv)"
9953 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9955 cat >conftest.
$ac_ext <<_ACEOF
9958 cat confdefs.h
>>conftest.
$ac_ext
9959 cat >>conftest.
$ac_ext <<_ACEOF
9960 /* end confdefs.h. */
9961 #include <X11/Xlib.h>
9962 #include <X11/extensions/Xrandr.h>
9966 static typeof(XRRSetScreenConfigAndRate) * func;
9971 rm -f conftest.
$ac_objext
9972 if { (ac_try
="$ac_compile"
9974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9975 *) ac_try_echo=$ac_try;;
9977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9978 (eval "$ac_compile") 2>conftest.er1
9980 grep -v '^ *+' conftest.er1 >conftest.err
9982 cat conftest.err >&5
9983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984 (exit $ac_status); } && {
9985 test -z "$ac_c_werror_flag" ||
9986 test ! -s conftest.err
9987 } && test -s conftest.$ac_objext; then
9988 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
9989 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
9990 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
9991 echo $ECHO_N "(cached) $ECHO_C" >&6
9993 ac_check_soname_save_LIBS=$LIBS
9994 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9995 cat >conftest.$ac_ext <<_ACEOF
9998 cat confdefs.h >>conftest.$ac_ext
9999 cat >>conftest.$ac_ext <<_ACEOF
10000 /* end confdefs.h. */
10002 /* Override any GCC internal prototype to avoid an error.
10003 Use char because int might match the return type of a GCC
10004 builtin and then its argument prototype would still apply. */
10008 char XRRQueryExtension ();
10012 return XRRQueryExtension ();
10017 rm -f conftest.$ac_objext conftest$ac_exeext
10018 if { (ac_try="$ac_link"
10019 case "(($ac_try" in
10020 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10021 *) ac_try_echo
=$ac_try;;
10023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10024 (eval "$ac_link") 2>conftest.er1
10026 grep -v '^ *+' conftest.er1
>conftest.err
10028 cat conftest.err
>&5
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); } && {
10031 test -z "$ac_c_werror_flag" ||
10032 test ! -s conftest.err
10033 } && test -s conftest
$ac_exeext &&
10034 $as_test_x conftest
$ac_exeext; then
10037 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'` ;;
10038 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10041 echo "$as_me: failed program was:" >&5
10042 sed 's/^/| /' conftest.
$ac_ext >&5
10047 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10048 conftest
$ac_exeext conftest.
$ac_ext
10049 LIBS
=$ac_check_soname_save_LIBS
10051 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10052 { echo "$as_me:$LINENO: result: not found" >&5
10053 echo "${ECHO_T}not found" >&6; }
10056 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10057 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10059 cat >>confdefs.h
<<_ACEOF
10060 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10067 echo "$as_me: failed program was:" >&5
10068 sed 's/^/| /' conftest.
$ac_ext >&5
10073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10075 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10076 wine_notices
="$wine_notices|XRandr development files not found.
10077 Wine will be built without XRandr support. (winex11.drv)"
10081 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10083 cat >conftest.
$ac_ext <<_ACEOF
10086 cat confdefs.h
>>conftest.
$ac_ext
10087 cat >>conftest.
$ac_ext <<_ACEOF
10088 /* end confdefs.h. */
10089 #include <X11/Xlib.h>
10090 #include <X11/extensions/Xinerama.h>
10094 static typeof(XineramaQueryScreens) * func;
10099 rm -f conftest.
$ac_objext
10100 if { (ac_try
="$ac_compile"
10101 case "(($ac_try" in
10102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10103 *) ac_try_echo=$ac_try;;
10105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10106 (eval "$ac_compile") 2>conftest.er1
10108 grep -v '^ *+' conftest.er1 >conftest.err
10110 cat conftest.err >&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); } && {
10113 test -z "$ac_c_werror_flag" ||
10114 test ! -s conftest.err
10115 } && test -s conftest.$ac_objext; then
10116 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10117 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10118 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10119 echo $ECHO_N "(cached) $ECHO_C" >&6
10121 ac_check_soname_save_LIBS=$LIBS
10122 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10123 cat >conftest.$ac_ext <<_ACEOF
10126 cat confdefs.h >>conftest.$ac_ext
10127 cat >>conftest.$ac_ext <<_ACEOF
10128 /* end confdefs.h. */
10130 /* Override any GCC internal prototype to avoid an error.
10131 Use char because int might match the return type of a GCC
10132 builtin and then its argument prototype would still apply. */
10136 char XineramaQueryScreens ();
10140 return XineramaQueryScreens ();
10145 rm -f conftest.$ac_objext conftest$ac_exeext
10146 if { (ac_try="$ac_link"
10147 case "(($ac_try" in
10148 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10149 *) ac_try_echo
=$ac_try;;
10151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10152 (eval "$ac_link") 2>conftest.er1
10154 grep -v '^ *+' conftest.er1
>conftest.err
10156 cat conftest.err
>&5
10157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158 (exit $ac_status); } && {
10159 test -z "$ac_c_werror_flag" ||
10160 test ! -s conftest.err
10161 } && test -s conftest
$ac_exeext &&
10162 $as_test_x conftest
$ac_exeext; then
10165 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'` ;;
10166 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10169 echo "$as_me: failed program was:" >&5
10170 sed 's/^/| /' conftest.
$ac_ext >&5
10175 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10176 conftest
$ac_exeext conftest.
$ac_ext
10177 LIBS
=$ac_check_soname_save_LIBS
10179 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10180 { echo "$as_me:$LINENO: result: not found" >&5
10181 echo "${ECHO_T}not found" >&6; }
10184 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10185 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10187 cat >>confdefs.h
<<_ACEOF
10188 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10195 echo "$as_me: failed program was:" >&5
10196 sed 's/^/| /' conftest.
$ac_ext >&5
10201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10203 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10204 wine_notices
="$wine_notices|Xinerama development files not found.
10205 Wine will be built without Xinerama support. (winex11.drv)"
10209 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10211 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10212 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10213 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10214 echo $ECHO_N "(cached) $ECHO_C" >&6
10216 ac_check_soname_save_LIBS
=$LIBS
10217 LIBS
="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10218 cat >conftest.
$ac_ext <<_ACEOF
10221 cat confdefs.h
>>conftest.
$ac_ext
10222 cat >>conftest.
$ac_ext <<_ACEOF
10223 /* end confdefs.h. */
10225 /* Override any GCC internal prototype to avoid an error.
10226 Use char because int might match the return type of a GCC
10227 builtin and then its argument prototype would still apply. */
10231 char XCompositeRedirectWindow ();
10235 return XCompositeRedirectWindow ();
10240 rm -f conftest.
$ac_objext conftest
$ac_exeext
10241 if { (ac_try
="$ac_link"
10242 case "(($ac_try" in
10243 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10244 *) ac_try_echo=$ac_try;;
10246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10247 (eval "$ac_link") 2>conftest.er1
10249 grep -v '^ *+' conftest.er1 >conftest.err
10251 cat conftest.err >&5
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); } && {
10254 test -z "$ac_c_werror_flag" ||
10255 test ! -s conftest.err
10256 } && test -s conftest$ac_exeext &&
10257 $as_test_x conftest$ac_exeext; then
10260 dylib) ac_cv_lib_soname_Xcomposite=`otool
-L conftest
$ac_exeext |
grep "libXcomposite\\.[0-9A-Za-z.]*dylib" |
sed -e "s/^.*\/\(libXcomposite\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10261 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXcomposite\\.$LIBEXT" |
sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10264 echo "$as_me: failed program was:" >&5
10265 sed 's/^/| /' conftest.$ac_ext >&5
10270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10271 conftest$ac_exeext conftest.$ac_ext
10272 LIBS=$ac_check_soname_save_LIBS
10274 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10275 { echo "$as_me:$LINENO: result: not found" >&5
10276 echo "${ECHO_T}not found" >&6; }
10279 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10280 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10282 cat >>confdefs.h <<_ACEOF
10283 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10290 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10291 wine_notices="$wine_notices|XComposite development files not found.
10292 Wine will be built without XComposite support. (winex11.drv)"
10297 if test "x$with_opengl" != "xno"
10303 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10305 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10306 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10308 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10309 echo $ECHO_N "(cached) $ECHO_C" >&6
10311 cat >conftest.$ac_ext <<_ACEOF
10314 cat confdefs.h >>conftest.$ac_ext
10315 cat >>conftest.$ac_ext <<_ACEOF
10316 /* end confdefs.h. */
10317 #ifdef HAVE_GL_GLX_H
10318 # include <GL/glx.h>
10321 #include <$ac_header>
10323 rm -f conftest.$ac_objext
10324 if { (ac_try="$ac_compile"
10325 case "(($ac_try" in
10326 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10327 *) ac_try_echo
=$ac_try;;
10329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10330 (eval "$ac_compile") 2>conftest.er1
10332 grep -v '^ *+' conftest.er1
>conftest.err
10334 cat conftest.err
>&5
10335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336 (exit $ac_status); } && {
10337 test -z "$ac_c_werror_flag" ||
10338 test ! -s conftest.err
10339 } && test -s conftest.
$ac_objext; then
10340 eval "$as_ac_Header=yes"
10342 echo "$as_me: failed program was:" >&5
10343 sed 's/^/| /' conftest.
$ac_ext >&5
10345 eval "$as_ac_Header=no"
10348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10350 ac_res
=`eval echo '${'$as_ac_Header'}'`
10351 { echo "$as_me:$LINENO: result: $ac_res" >&5
10352 echo "${ECHO_T}$ac_res" >&6; }
10353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10354 cat >>confdefs.h
<<_ACEOF
10355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10362 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10364 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10365 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10366 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10367 echo $ECHO_N "(cached) $ECHO_C" >&6
10369 cat >conftest.
$ac_ext <<_ACEOF
10372 cat confdefs.h
>>conftest.
$ac_ext
10373 cat >>conftest.
$ac_ext <<_ACEOF
10374 /* end confdefs.h. */
10379 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10384 rm -f conftest.
$ac_objext
10385 if { (ac_try
="$ac_compile"
10386 case "(($ac_try" in
10387 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10388 *) ac_try_echo=$ac_try;;
10390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10391 (eval "$ac_compile") 2>conftest.er1
10393 grep -v '^ *+' conftest.er1 >conftest.err
10395 cat conftest.err >&5
10396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397 (exit $ac_status); } && {
10398 test -z "$ac_c_werror_flag" ||
10399 test ! -s conftest.err
10400 } && test -s conftest.$ac_objext; then
10401 wine_cv_opengl_header_version_OK="yes"
10403 echo "$as_me: failed program was:" >&5
10404 sed 's/^/| /' conftest.$ac_ext >&5
10406 wine_cv_opengl_header_version_OK="no"
10409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10411 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10412 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10414 if test "$wine_cv_opengl_header_version_OK" = "yes"
10416 { echo "$as_me:$LINENO: checking for -lGL" >&5
10417 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10418 if test "${ac_cv_lib_soname_GL+set}" = set; then
10419 echo $ECHO_N "(cached) $ECHO_C" >&6
10421 ac_check_soname_save_LIBS=$LIBS
10422 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10423 cat >conftest.$ac_ext <<_ACEOF
10426 cat confdefs.h >>conftest.$ac_ext
10427 cat >>conftest.$ac_ext <<_ACEOF
10428 /* end confdefs.h. */
10430 /* Override any GCC internal prototype to avoid an error.
10431 Use char because int might match the return type of a GCC
10432 builtin and then its argument prototype would still apply. */
10436 char glXCreateContext ();
10440 return glXCreateContext ();
10445 rm -f conftest.$ac_objext conftest$ac_exeext
10446 if { (ac_try="$ac_link"
10447 case "(($ac_try" in
10448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10449 *) ac_try_echo
=$ac_try;;
10451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10452 (eval "$ac_link") 2>conftest.er1
10454 grep -v '^ *+' conftest.er1
>conftest.err
10456 cat conftest.err
>&5
10457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10458 (exit $ac_status); } && {
10459 test -z "$ac_c_werror_flag" ||
10460 test ! -s conftest.err
10461 } && test -s conftest
$ac_exeext &&
10462 $as_test_x conftest
$ac_exeext; then
10465 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'` ;;
10466 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10469 echo "$as_me: failed program was:" >&5
10470 sed 's/^/| /' conftest.
$ac_ext >&5
10475 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10476 conftest
$ac_exeext conftest.
$ac_ext
10477 LIBS
=$ac_check_soname_save_LIBS
10479 if test "x$ac_cv_lib_soname_GL" = "x"; then
10480 { echo "$as_me:$LINENO: result: not found" >&5
10481 echo "${ECHO_T}not found" >&6; }
10482 if test -f /usr
/X11R
6/lib
/libGL.a
10484 wine_warnings
="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10485 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10487 wine_warnings
="$wine_warnings|No OpenGL library found on this system.
10488 Wine will be built without OpenGL or Direct3D support."
10491 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10492 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10494 cat >>confdefs.h
<<_ACEOF
10495 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10499 OPENGLFILES
='$(OPENGLFILES)'
10501 cat >>confdefs.h
<<\_ACEOF
10502 #define HAVE_OPENGL 1
10508 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10509 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10510 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10511 echo $ECHO_N "(cached) $ECHO_C" >&6
10513 ac_check_lib_save_LIBS
=$LIBS
10514 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10515 cat >conftest.
$ac_ext <<_ACEOF
10518 cat confdefs.h
>>conftest.
$ac_ext
10519 cat >>conftest.
$ac_ext <<_ACEOF
10520 /* end confdefs.h. */
10522 /* Override any GCC internal prototype to avoid an error.
10523 Use char because int might match the return type of a GCC
10524 builtin and then its argument prototype would still apply. */
10532 return gluLookAt ();
10537 rm -f conftest.
$ac_objext conftest
$ac_exeext
10538 if { (ac_try
="$ac_link"
10539 case "(($ac_try" in
10540 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10541 *) ac_try_echo=$ac_try;;
10543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10544 (eval "$ac_link") 2>conftest.er1
10546 grep -v '^ *+' conftest.er1 >conftest.err
10548 cat conftest.err >&5
10549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10550 (exit $ac_status); } && {
10551 test -z "$ac_c_werror_flag" ||
10552 test ! -s conftest.err
10553 } && test -s conftest$ac_exeext &&
10554 $as_test_x conftest$ac_exeext; then
10555 ac_cv_lib_GLU_gluLookAt=yes
10557 echo "$as_me: failed program was:" >&5
10558 sed 's/^/| /' conftest.$ac_ext >&5
10560 ac_cv_lib_GLU_gluLookAt=no
10563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10564 conftest$ac_exeext conftest.$ac_ext
10565 LIBS=$ac_check_lib_save_LIBS
10567 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10568 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10569 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10570 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10571 GLU32FILES='$(GLU32FILES)'
10576 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10577 Wine will be built without OpenGL or Direct3D support."
10580 wine_warnings="$wine_warnings|OpenGL development headers not found.
10581 Wine will be built without OpenGL or Direct3D support."
10588 for ac_header in audio/audiolib.h
10590 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10591 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10592 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10594 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10595 echo $ECHO_N "(cached) $ECHO_C" >&6
10597 ac_res=`eval echo '${'$as_ac_Header'}'`
10598 { echo "$as_me:$LINENO: result: $ac_res" >&5
10599 echo "${ECHO_T}$ac_res" >&6; }
10601 # Is the header compilable?
10602 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10603 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10604 cat >conftest.$ac_ext <<_ACEOF
10607 cat confdefs.h >>conftest.$ac_ext
10608 cat >>conftest.$ac_ext <<_ACEOF
10609 /* end confdefs.h. */
10610 $ac_includes_default
10611 #include <$ac_header>
10613 rm -f conftest.$ac_objext
10614 if { (ac_try="$ac_compile"
10615 case "(($ac_try" in
10616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10617 *) ac_try_echo
=$ac_try;;
10619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10620 (eval "$ac_compile") 2>conftest.er1
10622 grep -v '^ *+' conftest.er1
>conftest.err
10624 cat conftest.err
>&5
10625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626 (exit $ac_status); } && {
10627 test -z "$ac_c_werror_flag" ||
10628 test ! -s conftest.err
10629 } && test -s conftest.
$ac_objext; then
10630 ac_header_compiler
=yes
10632 echo "$as_me: failed program was:" >&5
10633 sed 's/^/| /' conftest.
$ac_ext >&5
10635 ac_header_compiler
=no
10638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10639 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10640 echo "${ECHO_T}$ac_header_compiler" >&6; }
10642 # Is the header present?
10643 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10644 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10645 cat >conftest.
$ac_ext <<_ACEOF
10648 cat confdefs.h
>>conftest.
$ac_ext
10649 cat >>conftest.
$ac_ext <<_ACEOF
10650 /* end confdefs.h. */
10651 #include <$ac_header>
10653 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10654 case "(($ac_try" in
10655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10656 *) ac_try_echo=$ac_try;;
10658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10659 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10661 grep -v '^ *+' conftest.er1 >conftest.err
10663 cat conftest.err >&5
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 (exit $ac_status); } >/dev/null && {
10666 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10667 test ! -s conftest.err
10669 ac_header_preproc=yes
10671 echo "$as_me: failed program was:" >&5
10672 sed 's/^/| /' conftest.$ac_ext >&5
10674 ac_header_preproc=no
10677 rm -f conftest.err conftest.$ac_ext
10678 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10679 echo "${ECHO_T}$ac_header_preproc" >&6; }
10681 # So? What about this header?
10682 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10684 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10685 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10686 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10687 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10688 ac_header_preproc=yes
10691 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10692 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10693 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10694 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10695 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10696 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10697 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10698 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10700 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10701 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10702 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10704 ## ------------------------------------ ##
10705 ## Report this to wine-devel@winehq.org ##
10706 ## ------------------------------------ ##
10708 ) | sed "s/^/$as_me: WARNING: /" >&2
10711 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10713 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10714 echo $ECHO_N "(cached) $ECHO_C" >&6
10716 eval "$as_ac_Header=\$ac_header_preproc"
10718 ac_res=`eval echo '${'$as_ac_Header'}'`
10719 { echo "$as_me:$LINENO: result: $ac_res" >&5
10720 echo "${ECHO_T}$ac_res" >&6; }
10723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10724 cat >>confdefs.h <<_ACEOF
10725 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10728 for ac_header in audio/soundlib.h
10730 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10731 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10733 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10734 echo $ECHO_N "(cached) $ECHO_C" >&6
10736 cat >conftest.$ac_ext <<_ACEOF
10739 cat confdefs.h >>conftest.$ac_ext
10740 cat >>conftest.$ac_ext <<_ACEOF
10741 /* end confdefs.h. */
10742 #include <audio/audiolib.h>
10744 #include <$ac_header>
10746 rm -f conftest.$ac_objext
10747 if { (ac_try="$ac_compile"
10748 case "(($ac_try" in
10749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10750 *) ac_try_echo
=$ac_try;;
10752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10753 (eval "$ac_compile") 2>conftest.er1
10755 grep -v '^ *+' conftest.er1
>conftest.err
10757 cat conftest.err
>&5
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); } && {
10760 test -z "$ac_c_werror_flag" ||
10761 test ! -s conftest.err
10762 } && test -s conftest.
$ac_objext; then
10763 eval "$as_ac_Header=yes"
10765 echo "$as_me: failed program was:" >&5
10766 sed 's/^/| /' conftest.
$ac_ext >&5
10768 eval "$as_ac_Header=no"
10771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10773 ac_res
=`eval echo '${'$as_ac_Header'}'`
10774 { echo "$as_me:$LINENO: result: $ac_res" >&5
10775 echo "${ECHO_T}$ac_res" >&6; }
10776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10777 cat >>confdefs.h
<<_ACEOF
10778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10785 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10786 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10787 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10788 echo $ECHO_N "(cached) $ECHO_C" >&6
10790 ac_check_lib_save_LIBS
=$LIBS
10791 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10792 cat >conftest.
$ac_ext <<_ACEOF
10795 cat confdefs.h
>>conftest.
$ac_ext
10796 cat >>conftest.
$ac_ext <<_ACEOF
10797 /* end confdefs.h. */
10799 /* Override any GCC internal prototype to avoid an error.
10800 Use char because int might match the return type of a GCC
10801 builtin and then its argument prototype would still apply. */
10805 char AuCreateFlow ();
10809 return AuCreateFlow ();
10814 rm -f conftest.
$ac_objext conftest
$ac_exeext
10815 if { (ac_try
="$ac_link"
10816 case "(($ac_try" in
10817 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10818 *) ac_try_echo=$ac_try;;
10820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10821 (eval "$ac_link") 2>conftest.er1
10823 grep -v '^ *+' conftest.er1 >conftest.err
10825 cat conftest.err >&5
10826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10827 (exit $ac_status); } && {
10828 test -z "$ac_c_werror_flag" ||
10829 test ! -s conftest.err
10830 } && test -s conftest$ac_exeext &&
10831 $as_test_x conftest$ac_exeext; then
10832 ac_cv_lib_audio_AuCreateFlow=yes
10834 echo "$as_me: failed program was:" >&5
10835 sed 's/^/| /' conftest.$ac_ext >&5
10837 ac_cv_lib_audio_AuCreateFlow=no
10840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10841 conftest$ac_exeext conftest.$ac_ext
10842 LIBS=$ac_check_lib_save_LIBS
10844 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10845 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10846 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10848 cat >>confdefs.h <<\_ACEOF
10852 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10853 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10854 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10855 echo $ECHO_N "(cached) $ECHO_C" >&6
10857 ac_check_lib_save_LIBS=$LIBS
10858 LIBS="-lXau $X_LIBS $LIBS"
10859 cat >conftest.$ac_ext <<_ACEOF
10862 cat confdefs.h >>conftest.$ac_ext
10863 cat >>conftest.$ac_ext <<_ACEOF
10864 /* end confdefs.h. */
10866 /* Override any GCC internal prototype to avoid an error.
10867 Use char because int might match the return type of a GCC
10868 builtin and then its argument prototype would still apply. */
10872 char XauGetBestAuthByAddr ();
10876 return XauGetBestAuthByAddr ();
10881 rm -f conftest.$ac_objext conftest$ac_exeext
10882 if { (ac_try="$ac_link"
10883 case "(($ac_try" in
10884 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10885 *) ac_try_echo
=$ac_try;;
10887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10888 (eval "$ac_link") 2>conftest.er1
10890 grep -v '^ *+' conftest.er1
>conftest.err
10892 cat conftest.err
>&5
10893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894 (exit $ac_status); } && {
10895 test -z "$ac_c_werror_flag" ||
10896 test ! -s conftest.err
10897 } && test -s conftest
$ac_exeext &&
10898 $as_test_x conftest
$ac_exeext; then
10899 ac_cv_lib_Xau_XauGetBestAuthByAddr
=yes
10901 echo "$as_me: failed program was:" >&5
10902 sed 's/^/| /' conftest.
$ac_ext >&5
10904 ac_cv_lib_Xau_XauGetBestAuthByAddr
=no
10907 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10908 conftest
$ac_exeext conftest.
$ac_ext
10909 LIBS
=$ac_check_lib_save_LIBS
10911 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10912 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10913 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10914 NASLIBS
="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10916 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10927 CPPFLAGS
="$ac_save_CPPFLAGS"
10933 wine_warnings
="$wine_warnings|X development files not found. Wine will be built
10934 without X support, which probably isn't what you want. You will need to install
10935 development packages of Xlib/Xfree86 at the very least."
10947 ac_save_CPPFLAGS
="$CPPFLAGS"
10948 if test "$PKG_CONFIG" != "false"
10950 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10951 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10953 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
10954 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
10956 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
10958 for ac_header
in libxml
/parser.h
10960 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10961 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10962 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10964 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10965 echo $ECHO_N "(cached) $ECHO_C" >&6
10967 ac_res
=`eval echo '${'$as_ac_Header'}'`
10968 { echo "$as_me:$LINENO: result: $ac_res" >&5
10969 echo "${ECHO_T}$ac_res" >&6; }
10971 # Is the header compilable?
10972 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10973 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10974 cat >conftest.
$ac_ext <<_ACEOF
10977 cat confdefs.h
>>conftest.
$ac_ext
10978 cat >>conftest.
$ac_ext <<_ACEOF
10979 /* end confdefs.h. */
10980 $ac_includes_default
10981 #include <$ac_header>
10983 rm -f conftest.
$ac_objext
10984 if { (ac_try
="$ac_compile"
10985 case "(($ac_try" in
10986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10987 *) ac_try_echo=$ac_try;;
10989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10990 (eval "$ac_compile") 2>conftest.er1
10992 grep -v '^ *+' conftest.er1 >conftest.err
10994 cat conftest.err >&5
10995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10996 (exit $ac_status); } && {
10997 test -z "$ac_c_werror_flag" ||
10998 test ! -s conftest.err
10999 } && test -s conftest.$ac_objext; then
11000 ac_header_compiler=yes
11002 echo "$as_me: failed program was:" >&5
11003 sed 's/^/| /' conftest.$ac_ext >&5
11005 ac_header_compiler=no
11008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11009 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11010 echo "${ECHO_T}$ac_header_compiler" >&6; }
11012 # Is the header present?
11013 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11014 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11015 cat >conftest.$ac_ext <<_ACEOF
11018 cat confdefs.h >>conftest.$ac_ext
11019 cat >>conftest.$ac_ext <<_ACEOF
11020 /* end confdefs.h. */
11021 #include <$ac_header>
11023 if { (ac_try="$ac_cpp conftest.$ac_ext"
11024 case "(($ac_try" in
11025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11026 *) ac_try_echo
=$ac_try;;
11028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11031 grep -v '^ *+' conftest.er1
>conftest.err
11033 cat conftest.err
>&5
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); } >/dev
/null
&& {
11036 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11037 test ! -s conftest.err
11039 ac_header_preproc
=yes
11041 echo "$as_me: failed program was:" >&5
11042 sed 's/^/| /' conftest.
$ac_ext >&5
11044 ac_header_preproc
=no
11047 rm -f conftest.err conftest.
$ac_ext
11048 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11049 echo "${ECHO_T}$ac_header_preproc" >&6; }
11051 # So? What about this header?
11052 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11054 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11055 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11057 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11058 ac_header_preproc
=yes
11061 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11062 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11063 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11064 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11065 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11066 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11067 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11068 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11070 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11071 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11072 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11074 ## ------------------------------------ ##
11075 ## Report this to wine-devel@winehq.org ##
11076 ## ------------------------------------ ##
11078 ) |
sed "s/^/$as_me: WARNING: /" >&2
11081 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11083 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11084 echo $ECHO_N "(cached) $ECHO_C" >&6
11086 eval "$as_ac_Header=\$ac_header_preproc"
11088 ac_res
=`eval echo '${'$as_ac_Header'}'`
11089 { echo "$as_me:$LINENO: result: $ac_res" >&5
11090 echo "${ECHO_T}$ac_res" >&6; }
11093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11094 cat >>confdefs.h
<<_ACEOF
11095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11097 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11098 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11099 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11100 echo $ECHO_N "(cached) $ECHO_C" >&6
11102 ac_check_lib_save_LIBS
=$LIBS
11103 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11104 cat >conftest.
$ac_ext <<_ACEOF
11107 cat confdefs.h
>>conftest.
$ac_ext
11108 cat >>conftest.
$ac_ext <<_ACEOF
11109 /* end confdefs.h. */
11111 /* Override any GCC internal prototype to avoid an error.
11112 Use char because int might match the return type of a GCC
11113 builtin and then its argument prototype would still apply. */
11117 char xmlParseMemory ();
11121 return xmlParseMemory ();
11126 rm -f conftest.
$ac_objext conftest
$ac_exeext
11127 if { (ac_try
="$ac_link"
11128 case "(($ac_try" in
11129 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11130 *) ac_try_echo=$ac_try;;
11132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11133 (eval "$ac_link") 2>conftest.er1
11135 grep -v '^ *+' conftest.er1 >conftest.err
11137 cat conftest.err >&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); } && {
11140 test -z "$ac_c_werror_flag" ||
11141 test ! -s conftest.err
11142 } && test -s conftest$ac_exeext &&
11143 $as_test_x conftest$ac_exeext; then
11144 ac_cv_lib_xml2_xmlParseMemory=yes
11146 echo "$as_me: failed program was:" >&5
11147 sed 's/^/| /' conftest.$ac_ext >&5
11149 ac_cv_lib_xml2_xmlParseMemory=no
11152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11153 conftest$ac_exeext conftest.$ac_ext
11154 LIBS=$ac_check_lib_save_LIBS
11156 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11157 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11158 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11160 cat >>confdefs.h <<\_ACEOF
11161 #define HAVE_LIBXML2 1
11164 XML2LIBS="$ac_xml_libs"
11165 XML2INCL="$ac_xml_cflags"
11168 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11169 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11170 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11171 echo $ECHO_N "(cached) $ECHO_C" >&6
11173 ac_check_lib_save_LIBS=$LIBS
11174 LIBS="-lxml2 $ac_xml_libs $LIBS"
11175 cat >conftest.$ac_ext <<_ACEOF
11178 cat confdefs.h >>conftest.$ac_ext
11179 cat >>conftest.$ac_ext <<_ACEOF
11180 /* end confdefs.h. */
11182 /* Override any GCC internal prototype to avoid an error.
11183 Use char because int might match the return type of a GCC
11184 builtin and then its argument prototype would still apply. */
11188 char xmlReadMemory ();
11192 return xmlReadMemory ();
11197 rm -f conftest.$ac_objext conftest$ac_exeext
11198 if { (ac_try="$ac_link"
11199 case "(($ac_try" in
11200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11201 *) ac_try_echo
=$ac_try;;
11203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11204 (eval "$ac_link") 2>conftest.er1
11206 grep -v '^ *+' conftest.er1
>conftest.err
11208 cat conftest.err
>&5
11209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11210 (exit $ac_status); } && {
11211 test -z "$ac_c_werror_flag" ||
11212 test ! -s conftest.err
11213 } && test -s conftest
$ac_exeext &&
11214 $as_test_x conftest
$ac_exeext; then
11215 ac_cv_lib_xml2_xmlReadMemory
=yes
11217 echo "$as_me: failed program was:" >&5
11218 sed 's/^/| /' conftest.
$ac_ext >&5
11220 ac_cv_lib_xml2_xmlReadMemory
=no
11223 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11224 conftest
$ac_exeext conftest.
$ac_ext
11225 LIBS
=$ac_check_lib_save_LIBS
11227 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11228 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11229 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11231 cat >>confdefs.h
<<\_ACEOF
11232 #define HAVE_XMLREADMEMORY 1
11237 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11238 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11239 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11240 echo $ECHO_N "(cached) $ECHO_C" >&6
11242 ac_check_lib_save_LIBS
=$LIBS
11243 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11244 cat >conftest.
$ac_ext <<_ACEOF
11247 cat confdefs.h
>>conftest.
$ac_ext
11248 cat >>conftest.
$ac_ext <<_ACEOF
11249 /* end confdefs.h. */
11251 /* Override any GCC internal prototype to avoid an error.
11252 Use char because int might match the return type of a GCC
11253 builtin and then its argument prototype would still apply. */
11257 char xmlNewDocPI ();
11261 return xmlNewDocPI ();
11266 rm -f conftest.
$ac_objext conftest
$ac_exeext
11267 if { (ac_try
="$ac_link"
11268 case "(($ac_try" in
11269 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11270 *) ac_try_echo=$ac_try;;
11272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11273 (eval "$ac_link") 2>conftest.er1
11275 grep -v '^ *+' conftest.er1 >conftest.err
11277 cat conftest.err >&5
11278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11279 (exit $ac_status); } && {
11280 test -z "$ac_c_werror_flag" ||
11281 test ! -s conftest.err
11282 } && test -s conftest$ac_exeext &&
11283 $as_test_x conftest$ac_exeext; then
11284 ac_cv_lib_xml2_xmlNewDocPI=yes
11286 echo "$as_me: failed program was:" >&5
11287 sed 's/^/| /' conftest.$ac_ext >&5
11289 ac_cv_lib_xml2_xmlNewDocPI=no
11292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11293 conftest$ac_exeext conftest.$ac_ext
11294 LIBS=$ac_check_lib_save_LIBS
11296 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11297 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11298 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11300 cat >>confdefs.h <<\_ACEOF
11301 #define HAVE_XMLNEWDOCPI 1
11311 CPPFLAGS="$ac_save_CPPFLAGS"
11312 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11313 wine_notices="$wine_notices|libxml2 development files not found.
11314 Wine will be built without XML support. (msxml.dll)"
11318 if test "$PKG_CONFIG" != "false"
11320 ac_xslt_libs="`$PKG_CONFIG --libs libxslt
2>/dev
/null
`"
11321 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt
2>/dev
/null
`"
11323 ac_xslt_libs="`xslt-config
--libs 2>/dev
/null
`"
11324 ac_xslt_cflags="`xslt-config
--cflags 2>/dev
/null
`"
11326 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11329 for ac_header in libxslt/pattern.h libxslt/transform.h
11331 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11332 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11334 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11335 echo $ECHO_N "(cached) $ECHO_C" >&6
11337 cat >conftest.$ac_ext <<_ACEOF
11340 cat confdefs.h >>conftest.$ac_ext
11341 cat >>conftest.$ac_ext <<_ACEOF
11342 /* end confdefs.h. */
11343 #ifdef HAVE_LIBXSLT_PATTERN_H
11344 # include <libxslt/pattern.h>
11347 #include <$ac_header>
11349 rm -f conftest.$ac_objext
11350 if { (ac_try="$ac_compile"
11351 case "(($ac_try" in
11352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11353 *) ac_try_echo
=$ac_try;;
11355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11356 (eval "$ac_compile") 2>conftest.er1
11358 grep -v '^ *+' conftest.er1
>conftest.err
11360 cat conftest.err
>&5
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); } && {
11363 test -z "$ac_c_werror_flag" ||
11364 test ! -s conftest.err
11365 } && test -s conftest.
$ac_objext; then
11366 eval "$as_ac_Header=yes"
11368 echo "$as_me: failed program was:" >&5
11369 sed 's/^/| /' conftest.
$ac_ext >&5
11371 eval "$as_ac_Header=no"
11374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11376 ac_res
=`eval echo '${'$as_ac_Header'}'`
11377 { echo "$as_me:$LINENO: result: $ac_res" >&5
11378 echo "${ECHO_T}$ac_res" >&6; }
11379 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11380 cat >>confdefs.h
<<_ACEOF
11381 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11383 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11384 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11385 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11386 echo $ECHO_N "(cached) $ECHO_C" >&6
11388 ac_check_lib_save_LIBS
=$LIBS
11389 LIBS
="-lxslt $ac_xslt_libs $LIBS"
11390 cat >conftest.
$ac_ext <<_ACEOF
11393 cat confdefs.h
>>conftest.
$ac_ext
11394 cat >>conftest.
$ac_ext <<_ACEOF
11395 /* end confdefs.h. */
11397 /* Override any GCC internal prototype to avoid an error.
11398 Use char because int might match the return type of a GCC
11399 builtin and then its argument prototype would still apply. */
11403 char xsltCompilePattern ();
11407 return xsltCompilePattern ();
11412 rm -f conftest.
$ac_objext conftest
$ac_exeext
11413 if { (ac_try
="$ac_link"
11414 case "(($ac_try" in
11415 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11416 *) ac_try_echo=$ac_try;;
11418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11419 (eval "$ac_link") 2>conftest.er1
11421 grep -v '^ *+' conftest.er1 >conftest.err
11423 cat conftest.err >&5
11424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425 (exit $ac_status); } && {
11426 test -z "$ac_c_werror_flag" ||
11427 test ! -s conftest.err
11428 } && test -s conftest$ac_exeext &&
11429 $as_test_x conftest$ac_exeext; then
11430 ac_cv_lib_xslt_xsltCompilePattern=yes
11432 echo "$as_me: failed program was:" >&5
11433 sed 's/^/| /' conftest.$ac_ext >&5
11435 ac_cv_lib_xslt_xsltCompilePattern=no
11438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11439 conftest$ac_exeext conftest.$ac_ext
11440 LIBS=$ac_check_lib_save_LIBS
11442 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11443 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11444 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11446 cat >>confdefs.h <<\_ACEOF
11447 #define HAVE_LIBXSLT 1
11450 XSLTLIBS="$ac_xslt_libs"
11451 XSLTINCL="$ac_xslt_cflags"
11459 CPPFLAGS="$ac_save_CPPFLAGS"
11460 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11461 wine_notices="$wine_notices|libxslt development files not found.
11462 Wine will be built without xslt support. (msxml.dll)"
11468 if test "$PKG_CONFIG" != "false"
11470 ac_save_CPPFLAGS="$CPPFLAGS"
11471 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
11472 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
11473 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11476 for ac_header in dbus/dbus.h hal/libhal.h
11478 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11479 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11480 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11482 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11483 echo $ECHO_N "(cached) $ECHO_C" >&6
11485 ac_res=`eval echo '${'$as_ac_Header'}'`
11486 { echo "$as_me:$LINENO: result: $ac_res" >&5
11487 echo "${ECHO_T}$ac_res" >&6; }
11489 # Is the header compilable?
11490 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11491 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11492 cat >conftest.$ac_ext <<_ACEOF
11495 cat confdefs.h >>conftest.$ac_ext
11496 cat >>conftest.$ac_ext <<_ACEOF
11497 /* end confdefs.h. */
11498 $ac_includes_default
11499 #include <$ac_header>
11501 rm -f conftest.$ac_objext
11502 if { (ac_try="$ac_compile"
11503 case "(($ac_try" in
11504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11505 *) ac_try_echo
=$ac_try;;
11507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11508 (eval "$ac_compile") 2>conftest.er1
11510 grep -v '^ *+' conftest.er1
>conftest.err
11512 cat conftest.err
>&5
11513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11514 (exit $ac_status); } && {
11515 test -z "$ac_c_werror_flag" ||
11516 test ! -s conftest.err
11517 } && test -s conftest.
$ac_objext; then
11518 ac_header_compiler
=yes
11520 echo "$as_me: failed program was:" >&5
11521 sed 's/^/| /' conftest.
$ac_ext >&5
11523 ac_header_compiler
=no
11526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11527 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11528 echo "${ECHO_T}$ac_header_compiler" >&6; }
11530 # Is the header present?
11531 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11532 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11533 cat >conftest.
$ac_ext <<_ACEOF
11536 cat confdefs.h
>>conftest.
$ac_ext
11537 cat >>conftest.
$ac_ext <<_ACEOF
11538 /* end confdefs.h. */
11539 #include <$ac_header>
11541 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11542 case "(($ac_try" in
11543 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11544 *) ac_try_echo=$ac_try;;
11546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11547 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11549 grep -v '^ *+' conftest.er1 >conftest.err
11551 cat conftest.err >&5
11552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553 (exit $ac_status); } >/dev/null && {
11554 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11555 test ! -s conftest.err
11557 ac_header_preproc=yes
11559 echo "$as_me: failed program was:" >&5
11560 sed 's/^/| /' conftest.$ac_ext >&5
11562 ac_header_preproc=no
11565 rm -f conftest.err conftest.$ac_ext
11566 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11567 echo "${ECHO_T}$ac_header_preproc" >&6; }
11569 # So? What about this header?
11570 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11572 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11573 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11575 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11576 ac_header_preproc=yes
11579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11583 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11584 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11585 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11586 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11589 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11590 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11592 ## ------------------------------------ ##
11593 ## Report this to wine-devel@winehq.org ##
11594 ## ------------------------------------ ##
11596 ) | sed "s/^/$as_me: WARNING: /" >&2
11599 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11601 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11602 echo $ECHO_N "(cached) $ECHO_C" >&6
11604 eval "$as_ac_Header=\$ac_header_preproc"
11606 ac_res=`eval echo '${'$as_ac_Header'}'`
11607 { echo "$as_me:$LINENO: result: $ac_res" >&5
11608 echo "${ECHO_T}$ac_res" >&6; }
11611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11612 cat >>confdefs.h <<_ACEOF
11613 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11620 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11622 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11623 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11624 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11625 echo $ECHO_N "(cached) $ECHO_C" >&6
11627 ac_check_lib_save_LIBS=$LIBS
11628 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11629 cat >conftest.$ac_ext <<_ACEOF
11632 cat confdefs.h >>conftest.$ac_ext
11633 cat >>conftest.$ac_ext <<_ACEOF
11634 /* end confdefs.h. */
11636 /* Override any GCC internal prototype to avoid an error.
11637 Use char because int might match the return type of a GCC
11638 builtin and then its argument prototype would still apply. */
11642 char dbus_connection_close ();
11646 return dbus_connection_close ();
11651 rm -f conftest.$ac_objext conftest$ac_exeext
11652 if { (ac_try="$ac_link"
11653 case "(($ac_try" in
11654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11655 *) ac_try_echo
=$ac_try;;
11657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11658 (eval "$ac_link") 2>conftest.er1
11660 grep -v '^ *+' conftest.er1
>conftest.err
11662 cat conftest.err
>&5
11663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); } && {
11665 test -z "$ac_c_werror_flag" ||
11666 test ! -s conftest.err
11667 } && test -s conftest
$ac_exeext &&
11668 $as_test_x conftest
$ac_exeext; then
11669 ac_cv_lib_dbus_1_dbus_connection_close
=yes
11671 echo "$as_me: failed program was:" >&5
11672 sed 's/^/| /' conftest.
$ac_ext >&5
11674 ac_cv_lib_dbus_1_dbus_connection_close
=no
11677 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11678 conftest
$ac_exeext conftest.
$ac_ext
11679 LIBS
=$ac_check_lib_save_LIBS
11681 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11682 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11683 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11684 { echo "$as_me:$LINENO: checking for -lhal" >&5
11685 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11686 if test "${ac_cv_lib_soname_hal+set}" = set; then
11687 echo $ECHO_N "(cached) $ECHO_C" >&6
11689 ac_check_soname_save_LIBS
=$LIBS
11690 LIBS
="-lhal $ac_hal_libs $LIBS"
11691 cat >conftest.
$ac_ext <<_ACEOF
11694 cat confdefs.h
>>conftest.
$ac_ext
11695 cat >>conftest.
$ac_ext <<_ACEOF
11696 /* end confdefs.h. */
11698 /* Override any GCC internal prototype to avoid an error.
11699 Use char because int might match the return type of a GCC
11700 builtin and then its argument prototype would still apply. */
11704 char libhal_ctx_new ();
11708 return libhal_ctx_new ();
11713 rm -f conftest.
$ac_objext conftest
$ac_exeext
11714 if { (ac_try
="$ac_link"
11715 case "(($ac_try" in
11716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11717 *) ac_try_echo=$ac_try;;
11719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11720 (eval "$ac_link") 2>conftest.er1
11722 grep -v '^ *+' conftest.er1 >conftest.err
11724 cat conftest.err >&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } && {
11727 test -z "$ac_c_werror_flag" ||
11728 test ! -s conftest.err
11729 } && test -s conftest$ac_exeext &&
11730 $as_test_x conftest$ac_exeext; then
11733 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'` ;;
11734 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libhal\\.$LIBEXT" |
sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11737 echo "$as_me: failed program was:" >&5
11738 sed 's/^/| /' conftest.$ac_ext >&5
11743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11744 conftest$ac_exeext conftest.$ac_ext
11745 LIBS=$ac_check_soname_save_LIBS
11747 if test "x$ac_cv_lib_soname_hal" = "x"; then
11748 { echo "$as_me:$LINENO: result: not found" >&5
11749 echo "${ECHO_T}not found" >&6; }
11752 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11753 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11755 cat >>confdefs.h <<_ACEOF
11756 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11759 HALINCL="$ac_hal_cflags"
11765 CPPFLAGS="$ac_save_CPPFLAGS"
11767 if test "x$ac_cv_lib_soname_hal" = "x"; then
11768 wine_notices="$wine_notices|libhal development files not found.
11769 Wine will be built without dynamic device support. (explorer.exe)"
11774 if test "$ac_cv_header_ncurses_h" = "yes"
11776 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11777 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11778 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11779 echo $ECHO_N "(cached) $ECHO_C" >&6
11781 ac_check_soname_save_LIBS=$LIBS
11782 LIBS="-lncurses $LIBS"
11783 cat >conftest.$ac_ext <<_ACEOF
11786 cat confdefs.h >>conftest.$ac_ext
11787 cat >>conftest.$ac_ext <<_ACEOF
11788 /* end confdefs.h. */
11790 /* Override any GCC internal prototype to avoid an error.
11791 Use char because int might match the return type of a GCC
11792 builtin and then its argument prototype would still apply. */
11805 rm -f conftest.$ac_objext conftest$ac_exeext
11806 if { (ac_try="$ac_link"
11807 case "(($ac_try" in
11808 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11809 *) ac_try_echo
=$ac_try;;
11811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11812 (eval "$ac_link") 2>conftest.er1
11814 grep -v '^ *+' conftest.er1
>conftest.err
11816 cat conftest.err
>&5
11817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11818 (exit $ac_status); } && {
11819 test -z "$ac_c_werror_flag" ||
11820 test ! -s conftest.err
11821 } && test -s conftest
$ac_exeext &&
11822 $as_test_x conftest
$ac_exeext; then
11825 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'` ;;
11826 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11829 echo "$as_me: failed program was:" >&5
11830 sed 's/^/| /' conftest.
$ac_ext >&5
11835 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11836 conftest
$ac_exeext conftest.
$ac_ext
11837 LIBS
=$ac_check_soname_save_LIBS
11839 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11840 { echo "$as_me:$LINENO: result: not found" >&5
11841 echo "${ECHO_T}not found" >&6; }
11844 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11845 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11847 cat >>confdefs.h
<<_ACEOF
11848 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11851 CURSESLIBS
="-lncurses"
11854 elif test "$ac_cv_header_curses_h" = "yes"
11856 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11857 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11858 if test "${ac_cv_lib_soname_curses+set}" = set; then
11859 echo $ECHO_N "(cached) $ECHO_C" >&6
11861 ac_check_soname_save_LIBS
=$LIBS
11862 LIBS
="-lcurses $LIBS"
11863 cat >conftest.
$ac_ext <<_ACEOF
11866 cat confdefs.h
>>conftest.
$ac_ext
11867 cat >>conftest.
$ac_ext <<_ACEOF
11868 /* end confdefs.h. */
11870 /* Override any GCC internal prototype to avoid an error.
11871 Use char because int might match the return type of a GCC
11872 builtin and then its argument prototype would still apply. */
11885 rm -f conftest.
$ac_objext conftest
$ac_exeext
11886 if { (ac_try
="$ac_link"
11887 case "(($ac_try" in
11888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11889 *) ac_try_echo=$ac_try;;
11891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11892 (eval "$ac_link") 2>conftest.er1
11894 grep -v '^ *+' conftest.er1 >conftest.err
11896 cat conftest.err >&5
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); } && {
11899 test -z "$ac_c_werror_flag" ||
11900 test ! -s conftest.err
11901 } && test -s conftest$ac_exeext &&
11902 $as_test_x conftest$ac_exeext; then
11905 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'` ;;
11906 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcurses\\.$LIBEXT" |
sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11909 echo "$as_me: failed program was:" >&5
11910 sed 's/^/| /' conftest.$ac_ext >&5
11915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11916 conftest$ac_exeext conftest.$ac_ext
11917 LIBS=$ac_check_soname_save_LIBS
11919 if test "x$ac_cv_lib_soname_curses" = "x"; then
11920 { echo "$as_me:$LINENO: result: not found" >&5
11921 echo "${ECHO_T}not found" >&6; }
11924 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11925 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11927 cat >>confdefs.h <<_ACEOF
11928 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11931 CURSESLIBS="-lcurses"
11935 ac_save_LIBS="$LIBS"
11936 LIBS="$LIBS $CURSESLIBS"
11938 for ac_func in mousemask
11940 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11941 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11943 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11944 echo $ECHO_N "(cached) $ECHO_C" >&6
11946 cat >conftest.$ac_ext <<_ACEOF
11949 cat confdefs.h >>conftest.$ac_ext
11950 cat >>conftest.$ac_ext <<_ACEOF
11951 /* end confdefs.h. */
11952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11954 #define $ac_func innocuous_$ac_func
11956 /* System header to define __stub macros and hopefully few prototypes,
11957 which can conflict with char $ac_func (); below.
11958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11959 <limits.h> exists even on freestanding compilers. */
11962 # include <limits.h>
11964 # include <assert.h>
11969 /* Override any GCC internal prototype to avoid an error.
11970 Use char because int might match the return type of a GCC
11971 builtin and then its argument prototype would still apply. */
11976 /* The GNU C library defines this for functions which it implements
11977 to always fail with ENOSYS. Some functions are actually named
11978 something starting with __ and the normal name is an alias. */
11979 #if defined __stub_$ac_func || defined __stub___$ac_func
11986 return $ac_func ();
11991 rm -f conftest.$ac_objext conftest$ac_exeext
11992 if { (ac_try="$ac_link"
11993 case "(($ac_try" in
11994 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11995 *) ac_try_echo
=$ac_try;;
11997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11998 (eval "$ac_link") 2>conftest.er1
12000 grep -v '^ *+' conftest.er1
>conftest.err
12002 cat conftest.err
>&5
12003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004 (exit $ac_status); } && {
12005 test -z "$ac_c_werror_flag" ||
12006 test ! -s conftest.err
12007 } && test -s conftest
$ac_exeext &&
12008 $as_test_x conftest
$ac_exeext; then
12009 eval "$as_ac_var=yes"
12011 echo "$as_me: failed program was:" >&5
12012 sed 's/^/| /' conftest.
$ac_ext >&5
12014 eval "$as_ac_var=no"
12017 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12018 conftest
$ac_exeext conftest.
$ac_ext
12020 ac_res
=`eval echo '${'$as_ac_var'}'`
12021 { echo "$as_me:$LINENO: result: $ac_res" >&5
12022 echo "${ECHO_T}$ac_res" >&6; }
12023 if test `eval echo '${'$as_ac_var'}'` = yes; then
12024 cat >>confdefs.h
<<_ACEOF
12025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12031 LIBS
="$ac_save_LIBS"
12032 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12033 wine_notices
="$wine_notices|lib(n)curses development files not found.
12034 Wine will be built without (n)curses support. (wineconsole.exe)"
12038 # Extract the first word of "sane-config", so it can be a program name with args.
12039 set dummy sane-config
; ac_word
=$2
12040 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12042 if test "${ac_cv_prog_sane_devel+set}" = set; then
12043 echo $ECHO_N "(cached) $ECHO_C" >&6
12045 if test -n "$sane_devel"; then
12046 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
12048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12049 for as_dir
in $PATH
12052 test -z "$as_dir" && as_dir
=.
12053 for ac_exec_ext
in '' $ac_executable_extensions; do
12054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12055 ac_cv_prog_sane_devel
="sane-config"
12056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12063 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
12066 sane_devel
=$ac_cv_prog_sane_devel
12067 if test -n "$sane_devel"; then
12068 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12069 echo "${ECHO_T}$sane_devel" >&6; }
12071 { echo "$as_me:$LINENO: result: no" >&5
12072 echo "${ECHO_T}no" >&6; }
12076 if test "$sane_devel" != "no"
12078 ac_sane_incl
="`$sane_devel --cflags`"
12079 ac_save_CPPFLAGS
="$CPPFLAGS"
12080 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
12081 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12082 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12083 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12084 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12085 echo $ECHO_N "(cached) $ECHO_C" >&6
12087 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12088 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12090 # Is the header compilable?
12091 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12092 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12093 cat >conftest.
$ac_ext <<_ACEOF
12096 cat confdefs.h
>>conftest.
$ac_ext
12097 cat >>conftest.
$ac_ext <<_ACEOF
12098 /* end confdefs.h. */
12099 $ac_includes_default
12100 #include <sane/sane.h>
12102 rm -f conftest.
$ac_objext
12103 if { (ac_try
="$ac_compile"
12104 case "(($ac_try" in
12105 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12106 *) ac_try_echo=$ac_try;;
12108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12109 (eval "$ac_compile") 2>conftest.er1
12111 grep -v '^ *+' conftest.er1 >conftest.err
12113 cat conftest.err >&5
12114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115 (exit $ac_status); } && {
12116 test -z "$ac_c_werror_flag" ||
12117 test ! -s conftest.err
12118 } && test -s conftest.$ac_objext; then
12119 ac_header_compiler=yes
12121 echo "$as_me: failed program was:" >&5
12122 sed 's/^/| /' conftest.$ac_ext >&5
12124 ac_header_compiler=no
12127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12128 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12129 echo "${ECHO_T}$ac_header_compiler" >&6; }
12131 # Is the header present?
12132 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12133 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12134 cat >conftest.$ac_ext <<_ACEOF
12137 cat confdefs.h >>conftest.$ac_ext
12138 cat >>conftest.$ac_ext <<_ACEOF
12139 /* end confdefs.h. */
12140 #include <sane/sane.h>
12142 if { (ac_try="$ac_cpp conftest.$ac_ext"
12143 case "(($ac_try" in
12144 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12145 *) ac_try_echo
=$ac_try;;
12147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12148 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12150 grep -v '^ *+' conftest.er1
>conftest.err
12152 cat conftest.err
>&5
12153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12154 (exit $ac_status); } >/dev
/null
&& {
12155 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12156 test ! -s conftest.err
12158 ac_header_preproc
=yes
12160 echo "$as_me: failed program was:" >&5
12161 sed 's/^/| /' conftest.
$ac_ext >&5
12163 ac_header_preproc
=no
12166 rm -f conftest.err conftest.
$ac_ext
12167 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12168 echo "${ECHO_T}$ac_header_preproc" >&6; }
12170 # So? What about this header?
12171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12173 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12174 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12175 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12176 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12177 ac_header_preproc
=yes
12180 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12181 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12182 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12183 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12184 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12185 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12186 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12187 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12188 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12189 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12190 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12191 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12193 ## ------------------------------------ ##
12194 ## Report this to wine-devel@winehq.org ##
12195 ## ------------------------------------ ##
12197 ) |
sed "s/^/$as_me: WARNING: /" >&2
12200 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12201 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12202 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12203 echo $ECHO_N "(cached) $ECHO_C" >&6
12205 ac_cv_header_sane_sane_h
=$ac_header_preproc
12207 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12208 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12211 if test $ac_cv_header_sane_sane_h = yes; then
12212 { echo "$as_me:$LINENO: checking for -lsane" >&5
12213 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12214 if test "${ac_cv_lib_soname_sane+set}" = set; then
12215 echo $ECHO_N "(cached) $ECHO_C" >&6
12217 ac_check_soname_save_LIBS
=$LIBS
12218 LIBS
="-lsane $LIBS"
12219 cat >conftest.
$ac_ext <<_ACEOF
12222 cat confdefs.h
>>conftest.
$ac_ext
12223 cat >>conftest.
$ac_ext <<_ACEOF
12224 /* end confdefs.h. */
12226 /* Override any GCC internal prototype to avoid an error.
12227 Use char because int might match the return type of a GCC
12228 builtin and then its argument prototype would still apply. */
12236 return sane_init ();
12241 rm -f conftest.
$ac_objext conftest
$ac_exeext
12242 if { (ac_try
="$ac_link"
12243 case "(($ac_try" in
12244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12245 *) ac_try_echo=$ac_try;;
12247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12248 (eval "$ac_link") 2>conftest.er1
12250 grep -v '^ *+' conftest.er1 >conftest.err
12252 cat conftest.err >&5
12253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254 (exit $ac_status); } && {
12255 test -z "$ac_c_werror_flag" ||
12256 test ! -s conftest.err
12257 } && test -s conftest$ac_exeext &&
12258 $as_test_x conftest$ac_exeext; then
12261 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'` ;;
12262 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libsane\\.$LIBEXT" |
sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12265 echo "$as_me: failed program was:" >&5
12266 sed 's/^/| /' conftest.$ac_ext >&5
12271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12272 conftest$ac_exeext conftest.$ac_ext
12273 LIBS=$ac_check_soname_save_LIBS
12275 if test "x$ac_cv_lib_soname_sane" = "x"; then
12276 { echo "$as_me:$LINENO: result: not found" >&5
12277 echo "${ECHO_T}not found" >&6; }
12280 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12281 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12283 cat >>confdefs.h <<_ACEOF
12284 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12287 SANEINCL="$ac_sane_incl"
12294 CPPFLAGS="$ac_save_CPPFLAGS"
12296 if test "x$ac_cv_lib_soname_sane" = "x"; then
12297 wine_notices="$wine_notices|libsane development files not found.
12298 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12302 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12303 set dummy gphoto2-config; ac_word=$2
12304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12306 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12307 echo $ECHO_N "(cached) $ECHO_C" >&6
12309 if test -n "$gphoto2_devel"; then
12310 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12313 for as_dir in $PATH
12316 test -z "$as_dir" && as_dir=.
12317 for ac_exec_ext in '' $ac_executable_extensions; do
12318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12319 ac_cv_prog_gphoto2_devel="gphoto2-config"
12320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12327 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12330 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12331 if test -n "$gphoto2_devel"; then
12332 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12333 echo "${ECHO_T}$gphoto2_devel" >&6; }
12335 { echo "$as_me:$LINENO: result: no" >&5
12336 echo "${ECHO_T}no" >&6; }
12340 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12341 set dummy gphoto2-port-config; ac_word=$2
12342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12344 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12345 echo $ECHO_N "(cached) $ECHO_C" >&6
12347 if test -n "$gphoto2port_devel"; then
12348 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12351 for as_dir in $PATH
12354 test -z "$as_dir" && as_dir=.
12355 for ac_exec_ext in '' $ac_executable_extensions; do
12356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12357 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12365 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12368 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12369 if test -n "$gphoto2port_devel"; then
12370 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12371 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12373 { echo "$as_me:$LINENO: result: no" >&5
12374 echo "${ECHO_T}no" >&6; }
12378 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12380 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12382 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12385 -L/usr/lib|-L/usr/lib64) ;;
12386 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12389 ac_save_CPPFLAGS="$CPPFLAGS"
12390 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12391 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12392 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12393 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12394 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12395 echo $ECHO_N "(cached) $ECHO_C" >&6
12397 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12398 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12400 # Is the header compilable?
12401 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12402 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12403 cat >conftest.$ac_ext <<_ACEOF
12406 cat confdefs.h >>conftest.$ac_ext
12407 cat >>conftest.$ac_ext <<_ACEOF
12408 /* end confdefs.h. */
12409 $ac_includes_default
12410 #include <gphoto2-camera.h>
12412 rm -f conftest.$ac_objext
12413 if { (ac_try="$ac_compile"
12414 case "(($ac_try" in
12415 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12416 *) ac_try_echo
=$ac_try;;
12418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12419 (eval "$ac_compile") 2>conftest.er1
12421 grep -v '^ *+' conftest.er1
>conftest.err
12423 cat conftest.err
>&5
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); } && {
12426 test -z "$ac_c_werror_flag" ||
12427 test ! -s conftest.err
12428 } && test -s conftest.
$ac_objext; then
12429 ac_header_compiler
=yes
12431 echo "$as_me: failed program was:" >&5
12432 sed 's/^/| /' conftest.
$ac_ext >&5
12434 ac_header_compiler
=no
12437 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12438 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12439 echo "${ECHO_T}$ac_header_compiler" >&6; }
12441 # Is the header present?
12442 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12443 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12444 cat >conftest.
$ac_ext <<_ACEOF
12447 cat confdefs.h
>>conftest.
$ac_ext
12448 cat >>conftest.
$ac_ext <<_ACEOF
12449 /* end confdefs.h. */
12450 #include <gphoto2-camera.h>
12452 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12453 case "(($ac_try" in
12454 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12455 *) ac_try_echo=$ac_try;;
12457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12458 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12460 grep -v '^ *+' conftest.er1 >conftest.err
12462 cat conftest.err >&5
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); } >/dev/null && {
12465 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12466 test ! -s conftest.err
12468 ac_header_preproc=yes
12470 echo "$as_me: failed program was:" >&5
12471 sed 's/^/| /' conftest.$ac_ext >&5
12473 ac_header_preproc=no
12476 rm -f conftest.err conftest.$ac_ext
12477 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12478 echo "${ECHO_T}$ac_header_preproc" >&6; }
12480 # So? What about this header?
12481 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12483 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12484 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12485 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12486 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12487 ac_header_preproc=yes
12490 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12491 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12492 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12493 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12494 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12495 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12496 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12497 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12498 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12499 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12500 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12501 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12503 ## ------------------------------------ ##
12504 ## Report this to wine-devel@winehq.org ##
12505 ## ------------------------------------ ##
12507 ) | sed "s/^/$as_me: WARNING: /" >&2
12510 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12511 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12512 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12513 echo $ECHO_N "(cached) $ECHO_C" >&6
12515 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12517 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12518 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12521 if test $ac_cv_header_gphoto2_camera_h = yes; then
12522 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12523 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12524 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12525 echo $ECHO_N "(cached) $ECHO_C" >&6
12527 ac_check_lib_save_LIBS=$LIBS
12528 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12529 cat >conftest.$ac_ext <<_ACEOF
12532 cat confdefs.h >>conftest.$ac_ext
12533 cat >>conftest.$ac_ext <<_ACEOF
12534 /* end confdefs.h. */
12536 /* Override any GCC internal prototype to avoid an error.
12537 Use char because int might match the return type of a GCC
12538 builtin and then its argument prototype would still apply. */
12542 char gp_camera_new ();
12546 return gp_camera_new ();
12551 rm -f conftest.$ac_objext conftest$ac_exeext
12552 if { (ac_try="$ac_link"
12553 case "(($ac_try" in
12554 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12555 *) ac_try_echo
=$ac_try;;
12557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12558 (eval "$ac_link") 2>conftest.er1
12560 grep -v '^ *+' conftest.er1
>conftest.err
12562 cat conftest.err
>&5
12563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 (exit $ac_status); } && {
12565 test -z "$ac_c_werror_flag" ||
12566 test ! -s conftest.err
12567 } && test -s conftest
$ac_exeext &&
12568 $as_test_x conftest
$ac_exeext; then
12569 ac_cv_lib_gphoto2_gp_camera_new
=yes
12571 echo "$as_me: failed program was:" >&5
12572 sed 's/^/| /' conftest.
$ac_ext >&5
12574 ac_cv_lib_gphoto2_gp_camera_new
=no
12577 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12578 conftest
$ac_exeext conftest.
$ac_ext
12579 LIBS
=$ac_check_lib_save_LIBS
12581 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12582 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12583 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12585 cat >>confdefs.h
<<\_ACEOF
12586 #define HAVE_GPHOTO2 1
12589 GPHOTO2LIBS
="$ac_gphoto2_libs"
12591 GPHOTO2INCL
="$ac_gphoto2_incl"
12598 CPPFLAGS
="$ac_save_CPPFLAGS"
12600 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12601 wine_notices
="$wine_notices|libgphoto2 development files not found.
12602 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12609 if test "$ac_cv_header_resolv_h" = "yes"
12611 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12612 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12613 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12614 echo $ECHO_N "(cached) $ECHO_C" >&6
12616 ac_check_lib_save_LIBS
=$LIBS
12617 LIBS
="-lresolv $LIBS"
12618 cat >conftest.
$ac_ext <<_ACEOF
12621 cat confdefs.h
>>conftest.
$ac_ext
12622 cat >>conftest.
$ac_ext <<_ACEOF
12623 /* end confdefs.h. */
12625 /* Override any GCC internal prototype to avoid an error.
12626 Use char because int might match the return type of a GCC
12627 builtin and then its argument prototype would still apply. */
12635 return res_query ();
12640 rm -f conftest.
$ac_objext conftest
$ac_exeext
12641 if { (ac_try
="$ac_link"
12642 case "(($ac_try" in
12643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12644 *) ac_try_echo=$ac_try;;
12646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12647 (eval "$ac_link") 2>conftest.er1
12649 grep -v '^ *+' conftest.er1 >conftest.err
12651 cat conftest.err >&5
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); } && {
12654 test -z "$ac_c_werror_flag" ||
12655 test ! -s conftest.err
12656 } && test -s conftest$ac_exeext &&
12657 $as_test_x conftest$ac_exeext; then
12658 ac_cv_lib_resolv_res_query=yes
12660 echo "$as_me: failed program was:" >&5
12661 sed 's/^/| /' conftest.$ac_ext >&5
12663 ac_cv_lib_resolv_res_query=no
12666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12667 conftest$ac_exeext conftest.$ac_ext
12668 LIBS=$ac_check_lib_save_LIBS
12670 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12671 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12672 if test $ac_cv_lib_resolv_res_query = yes; then
12674 cat >>confdefs.h <<\_ACEOF
12675 #define HAVE_RESOLV 1
12678 RESOLVLIBS="-lresolv"
12685 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12687 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12688 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12689 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12690 echo $ECHO_N "(cached) $ECHO_C" >&6
12692 ac_check_lib_save_LIBS=$LIBS
12693 LIBS="-llcms $LIBS"
12694 cat >conftest.$ac_ext <<_ACEOF
12697 cat confdefs.h >>conftest.$ac_ext
12698 cat >>conftest.$ac_ext <<_ACEOF
12699 /* end confdefs.h. */
12701 /* Override any GCC internal prototype to avoid an error.
12702 Use char because int might match the return type of a GCC
12703 builtin and then its argument prototype would still apply. */
12707 char cmsOpenProfileFromFile ();
12711 return cmsOpenProfileFromFile ();
12716 rm -f conftest.$ac_objext conftest$ac_exeext
12717 if { (ac_try="$ac_link"
12718 case "(($ac_try" in
12719 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12720 *) ac_try_echo
=$ac_try;;
12722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12723 (eval "$ac_link") 2>conftest.er1
12725 grep -v '^ *+' conftest.er1
>conftest.err
12727 cat conftest.err
>&5
12728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12729 (exit $ac_status); } && {
12730 test -z "$ac_c_werror_flag" ||
12731 test ! -s conftest.err
12732 } && test -s conftest
$ac_exeext &&
12733 $as_test_x conftest
$ac_exeext; then
12734 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
12736 echo "$as_me: failed program was:" >&5
12737 sed 's/^/| /' conftest.
$ac_ext >&5
12739 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
12742 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12743 conftest
$ac_exeext conftest.
$ac_ext
12744 LIBS
=$ac_check_lib_save_LIBS
12746 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12747 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12748 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12750 cat >>confdefs.h
<<\_ACEOF
12751 #define HAVE_LCMS 1
12758 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12759 wine_notices
="$wine_notices|liblcms development files not found.
12760 Wine will be built without Color Management support. (mscms.dll)"
12766 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12768 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12769 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12770 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12771 echo $ECHO_N "(cached) $ECHO_C" >&6
12773 ac_check_lib_save_LIBS
=$LIBS
12774 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
12775 cat >conftest.
$ac_ext <<_ACEOF
12778 cat confdefs.h
>>conftest.
$ac_ext
12779 cat >>conftest.
$ac_ext <<_ACEOF
12780 /* end confdefs.h. */
12782 /* Override any GCC internal prototype to avoid an error.
12783 Use char because int might match the return type of a GCC
12784 builtin and then its argument prototype would still apply. */
12788 char ldap_initialize ();
12792 return ldap_initialize ();
12797 rm -f conftest.
$ac_objext conftest
$ac_exeext
12798 if { (ac_try
="$ac_link"
12799 case "(($ac_try" in
12800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12801 *) ac_try_echo=$ac_try;;
12803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12804 (eval "$ac_link") 2>conftest.er1
12806 grep -v '^ *+' conftest.er1 >conftest.err
12808 cat conftest.err >&5
12809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12810 (exit $ac_status); } && {
12811 test -z "$ac_c_werror_flag" ||
12812 test ! -s conftest.err
12813 } && test -s conftest$ac_exeext &&
12814 $as_test_x conftest$ac_exeext; then
12815 ac_cv_lib_ldap_r_ldap_initialize=yes
12817 echo "$as_me: failed program was:" >&5
12818 sed 's/^/| /' conftest.$ac_ext >&5
12820 ac_cv_lib_ldap_r_ldap_initialize=no
12823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12824 conftest$ac_exeext conftest.$ac_ext
12825 LIBS=$ac_check_lib_save_LIBS
12827 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12828 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12829 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12830 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12831 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12832 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12833 echo $ECHO_N "(cached) $ECHO_C" >&6
12835 ac_check_lib_save_LIBS=$LIBS
12836 LIBS="-llber $LIBPTHREAD $LIBS"
12837 cat >conftest.$ac_ext <<_ACEOF
12840 cat confdefs.h >>conftest.$ac_ext
12841 cat >>conftest.$ac_ext <<_ACEOF
12842 /* end confdefs.h. */
12844 /* Override any GCC internal prototype to avoid an error.
12845 Use char because int might match the return type of a GCC
12846 builtin and then its argument prototype would still apply. */
12854 return ber_init ();
12859 rm -f conftest.$ac_objext conftest$ac_exeext
12860 if { (ac_try="$ac_link"
12861 case "(($ac_try" in
12862 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12863 *) ac_try_echo
=$ac_try;;
12865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12866 (eval "$ac_link") 2>conftest.er1
12868 grep -v '^ *+' conftest.er1
>conftest.err
12870 cat conftest.err
>&5
12871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872 (exit $ac_status); } && {
12873 test -z "$ac_c_werror_flag" ||
12874 test ! -s conftest.err
12875 } && test -s conftest
$ac_exeext &&
12876 $as_test_x conftest
$ac_exeext; then
12877 ac_cv_lib_lber_ber_init
=yes
12879 echo "$as_me: failed program was:" >&5
12880 sed 's/^/| /' conftest.
$ac_ext >&5
12882 ac_cv_lib_lber_ber_init
=no
12885 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12886 conftest
$ac_exeext conftest.
$ac_ext
12887 LIBS
=$ac_check_lib_save_LIBS
12889 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12890 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12891 if test $ac_cv_lib_lber_ber_init = yes; then
12893 cat >>confdefs.h
<<\_ACEOF
12894 #define HAVE_LDAP 1
12897 LDAPLIBS
="-lldap_r -llber"
12902 ac_wine_check_funcs_save_LIBS
="$LIBS"
12903 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
12913 ldap_count_references \
12914 ldap_first_reference \
12915 ldap_next_reference \
12916 ldap_parse_reference \
12917 ldap_parse_sort_control \
12918 ldap_parse_sortresponse_control \
12919 ldap_parse_vlv_control \
12920 ldap_parse_vlvresponse_control
12922 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12923 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12925 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12926 echo $ECHO_N "(cached) $ECHO_C" >&6
12928 cat >conftest.
$ac_ext <<_ACEOF
12931 cat confdefs.h
>>conftest.
$ac_ext
12932 cat >>conftest.
$ac_ext <<_ACEOF
12933 /* end confdefs.h. */
12934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12936 #define $ac_func innocuous_$ac_func
12938 /* System header to define __stub macros and hopefully few prototypes,
12939 which can conflict with char $ac_func (); below.
12940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12941 <limits.h> exists even on freestanding compilers. */
12944 # include <limits.h>
12946 # include <assert.h>
12951 /* Override any GCC internal prototype to avoid an error.
12952 Use char because int might match the return type of a GCC
12953 builtin and then its argument prototype would still apply. */
12958 /* The GNU C library defines this for functions which it implements
12959 to always fail with ENOSYS. Some functions are actually named
12960 something starting with __ and the normal name is an alias. */
12961 #if defined __stub_$ac_func || defined __stub___$ac_func
12968 return $ac_func ();
12973 rm -f conftest.
$ac_objext conftest
$ac_exeext
12974 if { (ac_try
="$ac_link"
12975 case "(($ac_try" in
12976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12977 *) ac_try_echo=$ac_try;;
12979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12980 (eval "$ac_link") 2>conftest.er1
12982 grep -v '^ *+' conftest.er1 >conftest.err
12984 cat conftest.err >&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); } && {
12987 test -z "$ac_c_werror_flag" ||
12988 test ! -s conftest.err
12989 } && test -s conftest$ac_exeext &&
12990 $as_test_x conftest$ac_exeext; then
12991 eval "$as_ac_var=yes"
12993 echo "$as_me: failed program was:" >&5
12994 sed 's/^/| /' conftest.$ac_ext >&5
12996 eval "$as_ac_var=no"
12999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13000 conftest$ac_exeext conftest.$ac_ext
13002 ac_res=`eval echo '${'$as_ac_var'}'`
13003 { echo "$as_me:$LINENO: result: $ac_res" >&5
13004 echo "${ECHO_T}$ac_res" >&6; }
13005 if test `eval echo '${'$as_ac_var'}'` = yes; then
13006 cat >>confdefs.h <<_ACEOF
13007 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13013 LIBS="$ac_wine_check_funcs_save_LIBS"
13015 if test "x$LDAPLIBS" = "x"; then
13016 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
13017 Wine will be built without LDAP support. (wldap32.dll)"
13021 for ac_prog in freetype-config freetype2-config
13023 # Extract the first word of "$ac_prog", so it can be a program name with args.
13024 set dummy $ac_prog; ac_word=$2
13025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13027 if test "${ac_cv_prog_ft_devel+set}" = set; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13030 if test -n "$ft_devel"; then
13031 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13034 for as_dir in $PATH
13037 test -z "$as_dir" && as_dir=.
13038 for ac_exec_ext in '' $ac_executable_extensions; do
13039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13040 ac_cv_prog_ft_devel="$ac_prog"
13041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13050 ft_devel=$ac_cv_prog_ft_devel
13051 if test -n "$ft_devel"; then
13052 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13053 echo "${ECHO_T}$ft_devel" >&6; }
13055 { echo "$as_me:$LINENO: result: no" >&5
13056 echo "${ECHO_T}no" >&6; }
13060 test -n "$ft_devel" && break
13062 test -n "$ft_devel" || ft_devel="false"
13064 if test "$ft_devel" != "false"
13066 ac_freetype_libs=`$ft_devel --libs`
13067 ac_freetype_incl=`$ft_devel --cflags`
13068 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13069 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13070 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13071 echo $ECHO_N "(cached) $ECHO_C" >&6
13073 ac_check_soname_save_LIBS=$LIBS
13074 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13075 cat >conftest.$ac_ext <<_ACEOF
13078 cat confdefs.h >>conftest.$ac_ext
13079 cat >>conftest.$ac_ext <<_ACEOF
13080 /* end confdefs.h. */
13082 /* Override any GCC internal prototype to avoid an error.
13083 Use char because int might match the return type of a GCC
13084 builtin and then its argument prototype would still apply. */
13088 char FT_Init_FreeType ();
13092 return FT_Init_FreeType ();
13097 rm -f conftest.$ac_objext conftest$ac_exeext
13098 if { (ac_try="$ac_link"
13099 case "(($ac_try" in
13100 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13101 *) ac_try_echo
=$ac_try;;
13103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13104 (eval "$ac_link") 2>conftest.er1
13106 grep -v '^ *+' conftest.er1
>conftest.err
13108 cat conftest.err
>&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); } && {
13111 test -z "$ac_c_werror_flag" ||
13112 test ! -s conftest.err
13113 } && test -s conftest
$ac_exeext &&
13114 $as_test_x conftest
$ac_exeext; then
13117 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'` ;;
13118 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13121 echo "$as_me: failed program was:" >&5
13122 sed 's/^/| /' conftest.
$ac_ext >&5
13127 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13128 conftest
$ac_exeext conftest.
$ac_ext
13129 LIBS
=$ac_check_soname_save_LIBS
13131 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13132 { echo "$as_me:$LINENO: result: not found" >&5
13133 echo "${ECHO_T}not found" >&6; }
13136 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13137 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13139 cat >>confdefs.h
<<_ACEOF
13140 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13146 if test "$ft_lib" = "yes"
13148 ac_save_CPPFLAGS
="$CPPFLAGS"
13149 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
13162 for ac_header
in ft2build.h \
13163 freetype
/freetype.h \
13164 freetype
/ftglyph.h \
13165 freetype
/fttypes.h \
13166 freetype
/tttables.h \
13167 freetype
/ftnames.h \
13168 freetype
/ftsnames.h \
13169 freetype
/ttnameid.h \
13170 freetype
/ftoutln.h \
13171 freetype
/ftwinfnt.h \
13172 freetype
/ftmodapi.h \
13173 freetype
/internal
/sfnt.h
13175 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13176 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13178 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13179 echo $ECHO_N "(cached) $ECHO_C" >&6
13181 cat >conftest.
$ac_ext <<_ACEOF
13184 cat confdefs.h
>>conftest.
$ac_ext
13185 cat >>conftest.
$ac_ext <<_ACEOF
13186 /* end confdefs.h. */
13187 #if HAVE_FT2BUILD_H
13188 #include <ft2build.h>
13191 #include <$ac_header>
13193 rm -f conftest.
$ac_objext
13194 if { (ac_try
="$ac_compile"
13195 case "(($ac_try" in
13196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13197 *) ac_try_echo=$ac_try;;
13199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13200 (eval "$ac_compile") 2>conftest.er1
13202 grep -v '^ *+' conftest.er1 >conftest.err
13204 cat conftest.err >&5
13205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206 (exit $ac_status); } && {
13207 test -z "$ac_c_werror_flag" ||
13208 test ! -s conftest.err
13209 } && test -s conftest.$ac_objext; then
13210 eval "$as_ac_Header=yes"
13212 echo "$as_me: failed program was:" >&5
13213 sed 's/^/| /' conftest.$ac_ext >&5
13215 eval "$as_ac_Header=no"
13218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13220 ac_res=`eval echo '${'$as_ac_Header'}'`
13221 { echo "$as_me:$LINENO: result: $ac_res" >&5
13222 echo "${ECHO_T}$ac_res" >&6; }
13223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13224 cat >>confdefs.h <<_ACEOF
13225 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
13232 cat >conftest.$ac_ext <<_ACEOF
13235 cat confdefs.h >>conftest.$ac_ext
13236 cat >>conftest.$ac_ext <<_ACEOF
13237 /* end confdefs.h. */
13238 #include <ft2build.h>
13239 #include <freetype/fttrigon.h>
13241 if { (ac_try="$ac_cpp conftest.$ac_ext"
13242 case "(($ac_try" in
13243 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13244 *) ac_try_echo
=$ac_try;;
13246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13247 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13249 grep -v '^ *+' conftest.er1
>conftest.err
13251 cat conftest.err
>&5
13252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13253 (exit $ac_status); } >/dev
/null
&& {
13254 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13255 test ! -s conftest.err
13258 cat >>confdefs.h
<<\_ACEOF
13259 #define HAVE_FREETYPE_FTTRIGON_H 1
13262 wine_cv_fttrigon
=yes
13264 echo "$as_me: failed program was:" >&5
13265 sed 's/^/| /' conftest.
$ac_ext >&5
13267 wine_cv_fttrigon
=no
13270 rm -f conftest.err conftest.
$ac_ext
13271 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13272 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13273 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13274 echo $ECHO_N "(cached) $ECHO_C" >&6
13276 cat >conftest.
$ac_ext <<_ACEOF
13279 cat confdefs.h
>>conftest.
$ac_ext
13280 cat >>conftest.
$ac_ext <<_ACEOF
13281 /* end confdefs.h. */
13282 #include <freetype/ftmodapi.h>
13284 typedef FT_TrueTypeEngineType ac__type_new_;
13288 if ((ac__type_new_ *) 0)
13290 if (sizeof (ac__type_new_))
13296 rm -f conftest.
$ac_objext
13297 if { (ac_try
="$ac_compile"
13298 case "(($ac_try" in
13299 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13300 *) ac_try_echo=$ac_try;;
13302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13303 (eval "$ac_compile") 2>conftest.er1
13305 grep -v '^ *+' conftest.er1 >conftest.err
13307 cat conftest.err >&5
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); } && {
13310 test -z "$ac_c_werror_flag" ||
13311 test ! -s conftest.err
13312 } && test -s conftest.$ac_objext; then
13313 ac_cv_type_FT_TrueTypeEngineType=yes
13315 echo "$as_me: failed program was:" >&5
13316 sed 's/^/| /' conftest.$ac_ext >&5
13318 ac_cv_type_FT_TrueTypeEngineType=no
13321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13323 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13324 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13325 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13327 cat >>confdefs.h <<_ACEOF
13328 #define HAVE_FT_TRUETYPEENGINETYPE 1
13334 ac_save_CFLAGS="$CFLAGS"
13335 CFLAGS="$CFLAGS $ac_freetype_libs"
13337 for ac_func in FT_Load_Sfnt_Table
13339 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13340 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13342 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13343 echo $ECHO_N "(cached) $ECHO_C" >&6
13345 cat >conftest.$ac_ext <<_ACEOF
13348 cat confdefs.h >>conftest.$ac_ext
13349 cat >>conftest.$ac_ext <<_ACEOF
13350 /* end confdefs.h. */
13351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13353 #define $ac_func innocuous_$ac_func
13355 /* System header to define __stub macros and hopefully few prototypes,
13356 which can conflict with char $ac_func (); below.
13357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13358 <limits.h> exists even on freestanding compilers. */
13361 # include <limits.h>
13363 # include <assert.h>
13368 /* Override any GCC internal prototype to avoid an error.
13369 Use char because int might match the return type of a GCC
13370 builtin and then its argument prototype would still apply. */
13375 /* The GNU C library defines this for functions which it implements
13376 to always fail with ENOSYS. Some functions are actually named
13377 something starting with __ and the normal name is an alias. */
13378 #if defined __stub_$ac_func || defined __stub___$ac_func
13385 return $ac_func ();
13390 rm -f conftest.$ac_objext conftest$ac_exeext
13391 if { (ac_try="$ac_link"
13392 case "(($ac_try" in
13393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13394 *) ac_try_echo
=$ac_try;;
13396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13397 (eval "$ac_link") 2>conftest.er1
13399 grep -v '^ *+' conftest.er1
>conftest.err
13401 cat conftest.err
>&5
13402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13403 (exit $ac_status); } && {
13404 test -z "$ac_c_werror_flag" ||
13405 test ! -s conftest.err
13406 } && test -s conftest
$ac_exeext &&
13407 $as_test_x conftest
$ac_exeext; then
13408 eval "$as_ac_var=yes"
13410 echo "$as_me: failed program was:" >&5
13411 sed 's/^/| /' conftest.
$ac_ext >&5
13413 eval "$as_ac_var=no"
13416 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13417 conftest
$ac_exeext conftest.
$ac_ext
13419 ac_res
=`eval echo '${'$as_ac_var'}'`
13420 { echo "$as_me:$LINENO: result: $ac_res" >&5
13421 echo "${ECHO_T}$ac_res" >&6; }
13422 if test `eval echo '${'$as_ac_var'}'` = yes; then
13423 cat >>confdefs.h
<<_ACEOF
13424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13430 CFLAGS
="$ac_save_CFLAGS"
13431 CPPFLAGS
="$ac_save_CPPFLAGS"
13432 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13435 cat >>confdefs.h
<<\_ACEOF
13436 #define HAVE_FREETYPE 1
13439 FREETYPELIBS
="$ac_freetype_libs"
13441 FREETYPEINCL
="$ac_freetype_incl"
13447 if test "$FONTFORGE" = "false"
13449 wine_warnings
="$wine_warnings|FontForge is missing.
13450 Fonts will not be built. Dialog text may be invisible or unaligned."
13451 elif test "x$FREETYPELIBS" = "x"
13453 wine_warnings
="$wine_warnings|FreeType development files not found.
13454 Fonts will not be built. Dialog text may be invisible or unaligned."
13456 FONTSSUBDIRS
="fonts"
13460 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13461 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13462 if test "${ac_cv_c_ppdev+set}" = set; then
13463 echo $ECHO_N "(cached) $ECHO_C" >&6
13465 cat >conftest.
$ac_ext <<_ACEOF
13468 cat confdefs.h
>>conftest.
$ac_ext
13469 cat >>conftest.
$ac_ext <<_ACEOF
13470 /* end confdefs.h. */
13471 #include <linux/ppdev.h>
13475 ioctl (1,PPCLAIM,0)
13480 rm -f conftest.
$ac_objext
13481 if { (ac_try
="$ac_compile"
13482 case "(($ac_try" in
13483 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13484 *) ac_try_echo=$ac_try;;
13486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13487 (eval "$ac_compile") 2>conftest.er1
13489 grep -v '^ *+' conftest.er1 >conftest.err
13491 cat conftest.err >&5
13492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13493 (exit $ac_status); } && {
13494 test -z "$ac_c_werror_flag" ||
13495 test ! -s conftest.err
13496 } && test -s conftest.$ac_objext; then
13497 ac_cv_c_ppdev="yes"
13499 echo "$as_me: failed program was:" >&5
13500 sed 's/^/| /' conftest.$ac_ext >&5
13505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13507 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13508 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13509 if test "$ac_cv_c_ppdev" = "yes"
13512 cat >>confdefs.h <<\_ACEOF
13513 #define HAVE_PPDEV 1
13518 { echo "$as_me:$LINENO: checking for va_copy" >&5
13519 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13520 if test "${ac_cv_c_va_copy+set}" = set; then
13521 echo $ECHO_N "(cached) $ECHO_C" >&6
13523 cat >conftest.$ac_ext <<_ACEOF
13526 cat confdefs.h >>conftest.$ac_ext
13527 cat >>conftest.$ac_ext <<_ACEOF
13528 /* end confdefs.h. */
13529 #include <stdarg.h>
13533 va_list ap1, ap2; va_copy(ap1,ap2);
13538 rm -f conftest.$ac_objext conftest$ac_exeext
13539 if { (ac_try="$ac_link"
13540 case "(($ac_try" in
13541 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13542 *) ac_try_echo
=$ac_try;;
13544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13545 (eval "$ac_link") 2>conftest.er1
13547 grep -v '^ *+' conftest.er1
>conftest.err
13549 cat conftest.err
>&5
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); } && {
13552 test -z "$ac_c_werror_flag" ||
13553 test ! -s conftest.err
13554 } && test -s conftest
$ac_exeext &&
13555 $as_test_x conftest
$ac_exeext; then
13556 ac_cv_c_va_copy
="yes"
13558 echo "$as_me: failed program was:" >&5
13559 sed 's/^/| /' conftest.
$ac_ext >&5
13561 ac_cv_c_va_copy
="no"
13564 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13565 conftest
$ac_exeext conftest.
$ac_ext
13568 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13569 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13570 if test "$ac_cv_c_va_copy" = "yes"
13573 cat >>confdefs.h
<<\_ACEOF
13574 #define HAVE_VA_COPY 1
13578 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13579 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13580 if test "${ac_cv_c___va_copy+set}" = set; then
13581 echo $ECHO_N "(cached) $ECHO_C" >&6
13583 cat >conftest.
$ac_ext <<_ACEOF
13586 cat confdefs.h
>>conftest.
$ac_ext
13587 cat >>conftest.
$ac_ext <<_ACEOF
13588 /* end confdefs.h. */
13589 #include <stdarg.h>
13593 va_list ap1, ap2; __va_copy(ap1,ap2);
13598 rm -f conftest.
$ac_objext conftest
$ac_exeext
13599 if { (ac_try
="$ac_link"
13600 case "(($ac_try" in
13601 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13602 *) ac_try_echo=$ac_try;;
13604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13605 (eval "$ac_link") 2>conftest.er1
13607 grep -v '^ *+' conftest.er1 >conftest.err
13609 cat conftest.err >&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); } && {
13612 test -z "$ac_c_werror_flag" ||
13613 test ! -s conftest.err
13614 } && test -s conftest$ac_exeext &&
13615 $as_test_x conftest$ac_exeext; then
13616 ac_cv_c___va_copy="yes"
13618 echo "$as_me: failed program was:" >&5
13619 sed 's/^/| /' conftest.$ac_ext >&5
13621 ac_cv_c___va_copy="no"
13624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13625 conftest$ac_exeext conftest.$ac_ext
13628 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13629 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13630 if test "$ac_cv_c___va_copy" = "yes"
13633 cat >>confdefs.h <<\_ACEOF
13634 #define HAVE___VA_COPY 1
13639 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13640 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13641 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13642 echo $ECHO_N "(cached) $ECHO_C" >&6
13644 cat >conftest.$ac_ext <<_ACEOF
13647 cat confdefs.h >>conftest.$ac_ext
13648 cat >>conftest.$ac_ext <<_ACEOF
13649 /* end confdefs.h. */
13650 #include <setjmp.h>
13655 sigsetjmp( buf, 1 );
13656 siglongjmp( buf, 1 );
13661 rm -f conftest.$ac_objext conftest$ac_exeext
13662 if { (ac_try="$ac_link"
13663 case "(($ac_try" in
13664 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13665 *) ac_try_echo
=$ac_try;;
13667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13668 (eval "$ac_link") 2>conftest.er1
13670 grep -v '^ *+' conftest.er1
>conftest.err
13672 cat conftest.err
>&5
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); } && {
13675 test -z "$ac_c_werror_flag" ||
13676 test ! -s conftest.err
13677 } && test -s conftest
$ac_exeext &&
13678 $as_test_x conftest
$ac_exeext; then
13679 ac_cv_c_sigsetjmp
="yes"
13681 echo "$as_me: failed program was:" >&5
13682 sed 's/^/| /' conftest.
$ac_ext >&5
13684 ac_cv_c_sigsetjmp
="no"
13687 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13688 conftest
$ac_exeext conftest.
$ac_ext
13691 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13692 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13693 if test "$ac_cv_c_sigsetjmp" = "yes"
13696 cat >>confdefs.h
<<\_ACEOF
13697 #define HAVE_SIGSETJMP 1
13702 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13703 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13704 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13705 echo $ECHO_N "(cached) $ECHO_C" >&6
13707 cat >conftest.
$ac_ext <<_ACEOF
13710 cat confdefs.h
>>conftest.
$ac_ext
13711 cat >>conftest.
$ac_ext <<_ACEOF
13712 /* end confdefs.h. */
13713 #define _GNU_SOURCE
13714 #include <pthread.h>
13716 typedef pthread_rwlock_t ac__type_new_;
13720 if ((ac__type_new_ *) 0)
13722 if (sizeof (ac__type_new_))
13728 rm -f conftest.
$ac_objext
13729 if { (ac_try
="$ac_compile"
13730 case "(($ac_try" in
13731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13732 *) ac_try_echo=$ac_try;;
13734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13735 (eval "$ac_compile") 2>conftest.er1
13737 grep -v '^ *+' conftest.er1 >conftest.err
13739 cat conftest.err >&5
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); } && {
13742 test -z "$ac_c_werror_flag" ||
13743 test ! -s conftest.err
13744 } && test -s conftest.$ac_objext; then
13745 ac_cv_type_pthread_rwlock_t=yes
13747 echo "$as_me: failed program was:" >&5
13748 sed 's/^/| /' conftest.$ac_ext >&5
13750 ac_cv_type_pthread_rwlock_t=no
13753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13755 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13756 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13757 if test $ac_cv_type_pthread_rwlock_t = yes; then
13759 cat >>confdefs.h <<_ACEOF
13760 #define HAVE_PTHREAD_RWLOCK_T 1
13765 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13766 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13767 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13768 echo $ECHO_N "(cached) $ECHO_C" >&6
13770 cat >conftest.$ac_ext <<_ACEOF
13773 cat confdefs.h >>conftest.$ac_ext
13774 cat >>conftest.$ac_ext <<_ACEOF
13775 /* end confdefs.h. */
13776 #define _GNU_SOURCE
13777 #include <pthread.h>
13779 typedef pthread_rwlockattr_t ac__type_new_;
13783 if ((ac__type_new_ *) 0)
13785 if (sizeof (ac__type_new_))
13791 rm -f conftest.$ac_objext
13792 if { (ac_try="$ac_compile"
13793 case "(($ac_try" in
13794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13795 *) ac_try_echo
=$ac_try;;
13797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13798 (eval "$ac_compile") 2>conftest.er1
13800 grep -v '^ *+' conftest.er1
>conftest.err
13802 cat conftest.err
>&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); } && {
13805 test -z "$ac_c_werror_flag" ||
13806 test ! -s conftest.err
13807 } && test -s conftest.
$ac_objext; then
13808 ac_cv_type_pthread_rwlockattr_t
=yes
13810 echo "$as_me: failed program was:" >&5
13811 sed 's/^/| /' conftest.
$ac_ext >&5
13813 ac_cv_type_pthread_rwlockattr_t
=no
13816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13818 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13819 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13820 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13822 cat >>confdefs.h
<<_ACEOF
13823 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13830 ac_wine_check_funcs_save_LIBS
="$LIBS"
13831 LIBS
="$LIBS $LIBPTHREAD"
13837 pthread_attr_get_np \
13838 pthread_getattr_np \
13839 pthread_get_stackaddr_np \
13840 pthread_get_stacksize_np
13842 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13843 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13845 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13846 echo $ECHO_N "(cached) $ECHO_C" >&6
13848 cat >conftest.
$ac_ext <<_ACEOF
13851 cat confdefs.h
>>conftest.
$ac_ext
13852 cat >>conftest.
$ac_ext <<_ACEOF
13853 /* end confdefs.h. */
13854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13856 #define $ac_func innocuous_$ac_func
13858 /* System header to define __stub macros and hopefully few prototypes,
13859 which can conflict with char $ac_func (); below.
13860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13861 <limits.h> exists even on freestanding compilers. */
13864 # include <limits.h>
13866 # include <assert.h>
13871 /* Override any GCC internal prototype to avoid an error.
13872 Use char because int might match the return type of a GCC
13873 builtin and then its argument prototype would still apply. */
13878 /* The GNU C library defines this for functions which it implements
13879 to always fail with ENOSYS. Some functions are actually named
13880 something starting with __ and the normal name is an alias. */
13881 #if defined __stub_$ac_func || defined __stub___$ac_func
13888 return $ac_func ();
13893 rm -f conftest.
$ac_objext conftest
$ac_exeext
13894 if { (ac_try
="$ac_link"
13895 case "(($ac_try" in
13896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13897 *) ac_try_echo=$ac_try;;
13899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13900 (eval "$ac_link") 2>conftest.er1
13902 grep -v '^ *+' conftest.er1 >conftest.err
13904 cat conftest.err >&5
13905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 (exit $ac_status); } && {
13907 test -z "$ac_c_werror_flag" ||
13908 test ! -s conftest.err
13909 } && test -s conftest$ac_exeext &&
13910 $as_test_x conftest$ac_exeext; then
13911 eval "$as_ac_var=yes"
13913 echo "$as_me: failed program was:" >&5
13914 sed 's/^/| /' conftest.$ac_ext >&5
13916 eval "$as_ac_var=no"
13919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13920 conftest$ac_exeext conftest.$ac_ext
13922 ac_res=`eval echo '${'$as_ac_var'}'`
13923 { echo "$as_me:$LINENO: result: $ac_res" >&5
13924 echo "${ECHO_T}$ac_res" >&6; }
13925 if test `eval echo '${'$as_ac_var'}'` = yes; then
13926 cat >>confdefs.h <<_ACEOF
13927 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13933 LIBS="$ac_wine_check_funcs_save_LIBS"
13935 # Extract the first word of "esd-config", so it can be a program name with args.
13936 set dummy esd-config; ac_word=$2
13937 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13939 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13940 echo $ECHO_N "(cached) $ECHO_C" >&6
13944 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13948 for as_dir in $PATH
13951 test -z "$as_dir" && as_dir=.
13952 for ac_exec_ext in '' $ac_executable_extensions; do
13953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13954 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13965 ESDCONFIG=$ac_cv_path_ESDCONFIG
13966 if test -n "$ESDCONFIG"; then
13967 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13968 echo "${ECHO_T}$ESDCONFIG" >&6; }
13970 { echo "$as_me:$LINENO: result: no" >&5
13971 echo "${ECHO_T}no" >&6; }
13975 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13978 for i in `$ESDCONFIG --cflags`
13981 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13984 ESD_LIBS=`$ESDCONFIG --libs`
13985 save_CFLAGS="$CFLAGS"
13986 CFLAGS="$CFLAGS $ESD_CFLAGS"
13987 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13988 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13989 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13990 echo $ECHO_N "(cached) $ECHO_C" >&6
13992 ac_check_lib_save_LIBS=$LIBS
13994 cat >conftest.$ac_ext <<_ACEOF
13997 cat confdefs.h >>conftest.$ac_ext
13998 cat >>conftest.$ac_ext <<_ACEOF
13999 /* end confdefs.h. */
14001 /* Override any GCC internal prototype to avoid an error.
14002 Use char because int might match the return type of a GCC
14003 builtin and then its argument prototype would still apply. */
14007 char esd_open_sound ();
14011 return esd_open_sound ();
14016 rm -f conftest.$ac_objext conftest$ac_exeext
14017 if { (ac_try="$ac_link"
14018 case "(($ac_try" in
14019 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14020 *) ac_try_echo
=$ac_try;;
14022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14023 (eval "$ac_link") 2>conftest.er1
14025 grep -v '^ *+' conftest.er1
>conftest.err
14027 cat conftest.err
>&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); } && {
14030 test -z "$ac_c_werror_flag" ||
14031 test ! -s conftest.err
14032 } && test -s conftest
$ac_exeext &&
14033 $as_test_x conftest
$ac_exeext; then
14034 ac_cv_lib_esd_esd_open_sound
=yes
14036 echo "$as_me: failed program was:" >&5
14037 sed 's/^/| /' conftest.
$ac_ext >&5
14039 ac_cv_lib_esd_esd_open_sound
=no
14042 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14043 conftest
$ac_exeext conftest.
$ac_ext
14044 LIBS
=$ac_check_lib_save_LIBS
14046 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14047 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14048 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14051 ESDINCL
=$ESD_CFLAGS
14054 cat >>confdefs.h
<<\_ACEOF
14060 CFLAGS
="$save_CFLAGS"
14065 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14067 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14068 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14069 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14070 echo $ECHO_N "(cached) $ECHO_C" >&6
14072 ac_check_lib_save_LIBS
=$LIBS
14073 LIBS
="-lasound $LIBS"
14074 cat >conftest.
$ac_ext <<_ACEOF
14077 cat confdefs.h
>>conftest.
$ac_ext
14078 cat >>conftest.
$ac_ext <<_ACEOF
14079 /* end confdefs.h. */
14081 /* Override any GCC internal prototype to avoid an error.
14082 Use char because int might match the return type of a GCC
14083 builtin and then its argument prototype would still apply. */
14087 char snd_pcm_hw_params_get_access ();
14091 return snd_pcm_hw_params_get_access ();
14096 rm -f conftest.
$ac_objext conftest
$ac_exeext
14097 if { (ac_try
="$ac_link"
14098 case "(($ac_try" in
14099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14100 *) ac_try_echo=$ac_try;;
14102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14103 (eval "$ac_link") 2>conftest.er1
14105 grep -v '^ *+' conftest.er1 >conftest.err
14107 cat conftest.err >&5
14108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109 (exit $ac_status); } && {
14110 test -z "$ac_c_werror_flag" ||
14111 test ! -s conftest.err
14112 } && test -s conftest$ac_exeext &&
14113 $as_test_x conftest$ac_exeext; then
14114 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14116 echo "$as_me: failed program was:" >&5
14117 sed 's/^/| /' conftest.$ac_ext >&5
14119 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14123 conftest$ac_exeext conftest.$ac_ext
14124 LIBS=$ac_check_lib_save_LIBS
14126 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14127 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14128 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14129 cat >conftest.$ac_ext <<_ACEOF
14132 cat confdefs.h >>conftest.$ac_ext
14133 cat >>conftest.$ac_ext <<_ACEOF
14134 /* end confdefs.h. */
14135 #ifdef HAVE_ALSA_ASOUNDLIB_H
14136 #include <alsa/asoundlib.h>
14137 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14138 #include <sys/asoundlib.h>
14143 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14148 rm -f conftest.$ac_objext
14149 if { (ac_try="$ac_compile"
14150 case "(($ac_try" in
14151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14152 *) ac_try_echo
=$ac_try;;
14154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14155 (eval "$ac_compile") 2>conftest.er1
14157 grep -v '^ *+' conftest.er1
>conftest.err
14159 cat conftest.err
>&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } && {
14162 test -z "$ac_c_werror_flag" ||
14163 test ! -s conftest.err
14164 } && test -s conftest.
$ac_objext; then
14166 cat >>confdefs.h
<<\_ACEOF
14167 #define HAVE_ALSA 1
14170 ALSALIBS
="-lasound"
14172 echo "$as_me: failed program was:" >&5
14173 sed 's/^/| /' conftest.
$ac_ext >&5
14178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14185 if test "$ac_cv_header_libaudioio_h" = "yes"
14187 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14188 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14189 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14190 echo $ECHO_N "(cached) $ECHO_C" >&6
14192 ac_check_lib_save_LIBS
=$LIBS
14193 LIBS
="-laudioio $LIBS"
14194 cat >conftest.
$ac_ext <<_ACEOF
14197 cat confdefs.h
>>conftest.
$ac_ext
14198 cat >>conftest.
$ac_ext <<_ACEOF
14199 /* end confdefs.h. */
14201 /* Override any GCC internal prototype to avoid an error.
14202 Use char because int might match the return type of a GCC
14203 builtin and then its argument prototype would still apply. */
14207 char AudioIOGetVersion ();
14211 return AudioIOGetVersion ();
14216 rm -f conftest.
$ac_objext conftest
$ac_exeext
14217 if { (ac_try
="$ac_link"
14218 case "(($ac_try" in
14219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14220 *) ac_try_echo=$ac_try;;
14222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14223 (eval "$ac_link") 2>conftest.er1
14225 grep -v '^ *+' conftest.er1 >conftest.err
14227 cat conftest.err >&5
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); } && {
14230 test -z "$ac_c_werror_flag" ||
14231 test ! -s conftest.err
14232 } && test -s conftest$ac_exeext &&
14233 $as_test_x conftest$ac_exeext; then
14234 ac_cv_lib_audioio_AudioIOGetVersion=yes
14236 echo "$as_me: failed program was:" >&5
14237 sed 's/^/| /' conftest.$ac_ext >&5
14239 ac_cv_lib_audioio_AudioIOGetVersion=no
14242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14243 conftest$ac_exeext conftest.$ac_ext
14244 LIBS=$ac_check_lib_save_LIBS
14246 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14247 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14248 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14249 AUDIOIOLIBS="-laudioio"
14251 cat >>confdefs.h <<\_ACEOF
14252 #define HAVE_LIBAUDIOIO 1
14260 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14262 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14263 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14264 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14265 echo $ECHO_N "(cached) $ECHO_C" >&6
14267 ac_check_soname_save_LIBS=$LIBS
14268 LIBS="-lcapi20 $LIBS"
14269 cat >conftest.$ac_ext <<_ACEOF
14272 cat confdefs.h >>conftest.$ac_ext
14273 cat >>conftest.$ac_ext <<_ACEOF
14274 /* end confdefs.h. */
14276 /* Override any GCC internal prototype to avoid an error.
14277 Use char because int might match the return type of a GCC
14278 builtin and then its argument prototype would still apply. */
14282 char capi20_register ();
14286 return capi20_register ();
14291 rm -f conftest.$ac_objext conftest$ac_exeext
14292 if { (ac_try="$ac_link"
14293 case "(($ac_try" in
14294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14295 *) ac_try_echo
=$ac_try;;
14297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14298 (eval "$ac_link") 2>conftest.er1
14300 grep -v '^ *+' conftest.er1
>conftest.err
14302 cat conftest.err
>&5
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); } && {
14305 test -z "$ac_c_werror_flag" ||
14306 test ! -s conftest.err
14307 } && test -s conftest
$ac_exeext &&
14308 $as_test_x conftest
$ac_exeext; then
14311 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'` ;;
14312 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14315 echo "$as_me: failed program was:" >&5
14316 sed 's/^/| /' conftest.
$ac_ext >&5
14321 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14322 conftest
$ac_exeext conftest.
$ac_ext
14323 LIBS
=$ac_check_soname_save_LIBS
14325 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14326 { echo "$as_me:$LINENO: result: not found" >&5
14327 echo "${ECHO_T}not found" >&6; }
14330 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14331 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14333 cat >>confdefs.h
<<_ACEOF
14334 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14341 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14342 wine_notices
="$wine_notices|libcapi20 development files not found.
14343 Wine will be built without ISDN support. (capi2032.dll)"
14347 if test "$ac_cv_header_cups_cups_h" = "yes"
14349 { echo "$as_me:$LINENO: checking for -lcups" >&5
14350 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14351 if test "${ac_cv_lib_soname_cups+set}" = set; then
14352 echo $ECHO_N "(cached) $ECHO_C" >&6
14354 ac_check_soname_save_LIBS
=$LIBS
14355 LIBS
="-lcups $LIBS"
14356 cat >conftest.
$ac_ext <<_ACEOF
14359 cat confdefs.h
>>conftest.
$ac_ext
14360 cat >>conftest.
$ac_ext <<_ACEOF
14361 /* end confdefs.h. */
14363 /* Override any GCC internal prototype to avoid an error.
14364 Use char because int might match the return type of a GCC
14365 builtin and then its argument prototype would still apply. */
14369 char cupsGetDefault ();
14373 return cupsGetDefault ();
14378 rm -f conftest.
$ac_objext conftest
$ac_exeext
14379 if { (ac_try
="$ac_link"
14380 case "(($ac_try" in
14381 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14382 *) ac_try_echo=$ac_try;;
14384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14385 (eval "$ac_link") 2>conftest.er1
14387 grep -v '^ *+' conftest.er1 >conftest.err
14389 cat conftest.err >&5
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); } && {
14392 test -z "$ac_c_werror_flag" ||
14393 test ! -s conftest.err
14394 } && test -s conftest$ac_exeext &&
14395 $as_test_x conftest$ac_exeext; then
14398 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'` ;;
14399 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcups\\.$LIBEXT" |
sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14402 echo "$as_me: failed program was:" >&5
14403 sed 's/^/| /' conftest.$ac_ext >&5
14408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14409 conftest$ac_exeext conftest.$ac_ext
14410 LIBS=$ac_check_soname_save_LIBS
14412 if test "x$ac_cv_lib_soname_cups" = "x"; then
14413 { echo "$as_me:$LINENO: result: not found" >&5
14414 echo "${ECHO_T}not found" >&6; }
14417 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14418 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14420 cat >>confdefs.h <<_ACEOF
14421 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14428 if test "x$ac_cv_lib_soname_cups" = "x"; then
14429 wine_notices="$wine_notices|libcups development files not found.
14430 Wine will be built without CUPS support."
14434 if test "$ac_cv_header_jack_jack_h" = "yes"
14436 { echo "$as_me:$LINENO: checking for -ljack" >&5
14437 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14438 if test "${ac_cv_lib_soname_jack+set}" = set; then
14439 echo $ECHO_N "(cached) $ECHO_C" >&6
14441 ac_check_soname_save_LIBS=$LIBS
14442 LIBS="-ljack $LIBS"
14443 cat >conftest.$ac_ext <<_ACEOF
14446 cat confdefs.h >>conftest.$ac_ext
14447 cat >>conftest.$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14450 /* Override any GCC internal prototype to avoid an error.
14451 Use char because int might match the return type of a GCC
14452 builtin and then its argument prototype would still apply. */
14456 char jack_client_new ();
14460 return jack_client_new ();
14465 rm -f conftest.$ac_objext conftest$ac_exeext
14466 if { (ac_try="$ac_link"
14467 case "(($ac_try" in
14468 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14469 *) ac_try_echo
=$ac_try;;
14471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14472 (eval "$ac_link") 2>conftest.er1
14474 grep -v '^ *+' conftest.er1
>conftest.err
14476 cat conftest.err
>&5
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); } && {
14479 test -z "$ac_c_werror_flag" ||
14480 test ! -s conftest.err
14481 } && test -s conftest
$ac_exeext &&
14482 $as_test_x conftest
$ac_exeext; then
14485 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'` ;;
14486 *) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14489 echo "$as_me: failed program was:" >&5
14490 sed 's/^/| /' conftest.
$ac_ext >&5
14495 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14496 conftest
$ac_exeext conftest.
$ac_ext
14497 LIBS
=$ac_check_soname_save_LIBS
14499 if test "x$ac_cv_lib_soname_jack" = "x"; then
14500 { echo "$as_me:$LINENO: result: not found" >&5
14501 echo "${ECHO_T}not found" >&6; }
14504 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14505 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14507 cat >>confdefs.h
<<_ACEOF
14508 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14516 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14518 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14519 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14520 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14521 echo $ECHO_N "(cached) $ECHO_C" >&6
14523 ac_check_soname_save_LIBS
=$LIBS
14524 LIBS
="-lfontconfig $LIBS"
14525 cat >conftest.
$ac_ext <<_ACEOF
14528 cat confdefs.h
>>conftest.
$ac_ext
14529 cat >>conftest.
$ac_ext <<_ACEOF
14530 /* end confdefs.h. */
14532 /* Override any GCC internal prototype to avoid an error.
14533 Use char because int might match the return type of a GCC
14534 builtin and then its argument prototype would still apply. */
14547 rm -f conftest.
$ac_objext conftest
$ac_exeext
14548 if { (ac_try
="$ac_link"
14549 case "(($ac_try" in
14550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14551 *) ac_try_echo=$ac_try;;
14553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14554 (eval "$ac_link") 2>conftest.er1
14556 grep -v '^ *+' conftest.er1 >conftest.err
14558 cat conftest.err >&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); } && {
14561 test -z "$ac_c_werror_flag" ||
14562 test ! -s conftest.err
14563 } && test -s conftest$ac_exeext &&
14564 $as_test_x conftest$ac_exeext; then
14567 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'` ;;
14568 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfontconfig\\.$LIBEXT" |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14571 echo "$as_me: failed program was:" >&5
14572 sed 's/^/| /' conftest.$ac_ext >&5
14577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14578 conftest$ac_exeext conftest.$ac_ext
14579 LIBS=$ac_check_soname_save_LIBS
14581 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14582 { echo "$as_me:$LINENO: result: not found" >&5
14583 echo "${ECHO_T}not found" >&6; }
14586 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14587 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14589 cat >>confdefs.h <<_ACEOF
14590 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14596 elif test -n "$X_CFLAGS"
14598 ac_save_CPPFLAGS="$CPPFLAGS"
14599 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14600 $as_unset ac_cv_header_fontconfig_fontconfig_h
14602 for ac_header in fontconfig/fontconfig.h
14604 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
14605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14606 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14608 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14609 echo $ECHO_N "(cached) $ECHO_C" >&6
14611 ac_res=`eval echo '${'$as_ac_Header'}'`
14612 { echo "$as_me:$LINENO: result: $ac_res" >&5
14613 echo "${ECHO_T}$ac_res" >&6; }
14615 # Is the header compilable?
14616 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14617 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14618 cat >conftest.$ac_ext <<_ACEOF
14621 cat confdefs.h >>conftest.$ac_ext
14622 cat >>conftest.$ac_ext <<_ACEOF
14623 /* end confdefs.h. */
14624 $ac_includes_default
14625 #include <$ac_header>
14627 rm -f conftest.$ac_objext
14628 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
14644 ac_header_compiler
=yes
14646 echo "$as_me: failed program was:" >&5
14647 sed 's/^/| /' conftest.
$ac_ext >&5
14649 ac_header_compiler
=no
14652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14653 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14654 echo "${ECHO_T}$ac_header_compiler" >&6; }
14656 # Is the header present?
14657 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14658 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14659 cat >conftest.
$ac_ext <<_ACEOF
14662 cat confdefs.h
>>conftest.
$ac_ext
14663 cat >>conftest.
$ac_ext <<_ACEOF
14664 /* end confdefs.h. */
14665 #include <$ac_header>
14667 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14668 case "(($ac_try" in
14669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14670 *) ac_try_echo=$ac_try;;
14672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14673 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14675 grep -v '^ *+' conftest.er1 >conftest.err
14677 cat conftest.err >&5
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); } >/dev/null && {
14680 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14681 test ! -s conftest.err
14683 ac_header_preproc=yes
14685 echo "$as_me: failed program was:" >&5
14686 sed 's/^/| /' conftest.$ac_ext >&5
14688 ac_header_preproc=no
14691 rm -f conftest.err conftest.$ac_ext
14692 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14693 echo "${ECHO_T}$ac_header_preproc" >&6; }
14695 # So? What about this header?
14696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14698 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14699 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14701 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14702 ac_header_preproc=yes
14705 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14706 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14707 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14708 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14709 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14710 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14711 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14712 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14714 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14715 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14716 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14718 ## ------------------------------------ ##
14719 ## Report this to wine-devel@winehq.org ##
14720 ## ------------------------------------ ##
14722 ) | sed "s/^/$as_me: WARNING: /" >&2
14725 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14727 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14728 echo $ECHO_N "(cached) $ECHO_C" >&6
14730 eval "$as_ac_Header=\$ac_header_preproc"
14732 ac_res=`eval echo '${'$as_ac_Header'}'`
14733 { echo "$as_me:$LINENO: result: $ac_res" >&5
14734 echo "${ECHO_T}$ac_res" >&6; }
14737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14738 cat >>confdefs.h <<_ACEOF
14739 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
14746 CPPFLAGS="$ac_save_CPPFLAGS"
14747 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14749 FONTCONFIGINCL="$X_CFLAGS"
14751 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14752 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14753 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14754 echo $ECHO_N "(cached) $ECHO_C" >&6
14756 ac_check_soname_save_LIBS=$LIBS
14757 LIBS="-lfontconfig $X_LIBS $LIBS"
14758 cat >conftest.$ac_ext <<_ACEOF
14761 cat confdefs.h >>conftest.$ac_ext
14762 cat >>conftest.$ac_ext <<_ACEOF
14763 /* end confdefs.h. */
14765 /* Override any GCC internal prototype to avoid an error.
14766 Use char because int might match the return type of a GCC
14767 builtin and then its argument prototype would still apply. */
14780 rm -f conftest.$ac_objext conftest$ac_exeext
14781 if { (ac_try="$ac_link"
14782 case "(($ac_try" in
14783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14784 *) ac_try_echo
=$ac_try;;
14786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14787 (eval "$ac_link") 2>conftest.er1
14789 grep -v '^ *+' conftest.er1
>conftest.err
14791 cat conftest.err
>&5
14792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 (exit $ac_status); } && {
14794 test -z "$ac_c_werror_flag" ||
14795 test ! -s conftest.err
14796 } && test -s conftest
$ac_exeext &&
14797 $as_test_x conftest
$ac_exeext; then
14800 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'` ;;
14801 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14804 echo "$as_me: failed program was:" >&5
14805 sed 's/^/| /' conftest.
$ac_ext >&5
14810 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14811 conftest
$ac_exeext conftest.
$ac_ext
14812 LIBS
=$ac_check_soname_save_LIBS
14814 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14815 { echo "$as_me:$LINENO: result: not found" >&5
14816 echo "${ECHO_T}not found" >&6; }
14819 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14820 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14822 cat >>confdefs.h
<<_ACEOF
14823 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14831 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14832 wine_notices
="$wine_notices|fontconfig development files not found.
14833 Wine will be built without fontconfig support."
14837 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14839 { echo "$as_me:$LINENO: checking for -lssl" >&5
14840 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14841 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14842 echo $ECHO_N "(cached) $ECHO_C" >&6
14844 ac_check_soname_save_LIBS
=$LIBS
14846 cat >conftest.
$ac_ext <<_ACEOF
14849 cat confdefs.h
>>conftest.
$ac_ext
14850 cat >>conftest.
$ac_ext <<_ACEOF
14851 /* end confdefs.h. */
14853 /* Override any GCC internal prototype to avoid an error.
14854 Use char because int might match the return type of a GCC
14855 builtin and then its argument prototype would still apply. */
14859 char SSL_library_init ();
14863 return SSL_library_init ();
14868 rm -f conftest.
$ac_objext conftest
$ac_exeext
14869 if { (ac_try
="$ac_link"
14870 case "(($ac_try" in
14871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14872 *) ac_try_echo=$ac_try;;
14874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14875 (eval "$ac_link") 2>conftest.er1
14877 grep -v '^ *+' conftest.er1 >conftest.err
14879 cat conftest.err >&5
14880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); } && {
14882 test -z "$ac_c_werror_flag" ||
14883 test ! -s conftest.err
14884 } && test -s conftest$ac_exeext &&
14885 $as_test_x conftest$ac_exeext; then
14888 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'` ;;
14889 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libssl\\.$LIBEXT" |
sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14892 echo "$as_me: failed program was:" >&5
14893 sed 's/^/| /' conftest.$ac_ext >&5
14898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14899 conftest$ac_exeext conftest.$ac_ext
14900 LIBS=$ac_check_soname_save_LIBS
14902 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14903 { echo "$as_me:$LINENO: result: not found" >&5
14904 echo "${ECHO_T}not found" >&6; }
14907 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14908 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14910 cat >>confdefs.h <<_ACEOF
14911 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14917 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14918 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14919 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14920 echo $ECHO_N "(cached) $ECHO_C" >&6
14922 ac_check_soname_save_LIBS=$LIBS
14923 LIBS="-lcrypto $LIBS"
14924 cat >conftest.$ac_ext <<_ACEOF
14927 cat confdefs.h >>conftest.$ac_ext
14928 cat >>conftest.$ac_ext <<_ACEOF
14929 /* end confdefs.h. */
14931 /* Override any GCC internal prototype to avoid an error.
14932 Use char because int might match the return type of a GCC
14933 builtin and then its argument prototype would still apply. */
14937 char BIO_new_socket ();
14941 return BIO_new_socket ();
14946 rm -f conftest.$ac_objext conftest$ac_exeext
14947 if { (ac_try="$ac_link"
14948 case "(($ac_try" in
14949 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14950 *) ac_try_echo
=$ac_try;;
14952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14953 (eval "$ac_link") 2>conftest.er1
14955 grep -v '^ *+' conftest.er1
>conftest.err
14957 cat conftest.err
>&5
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); } && {
14960 test -z "$ac_c_werror_flag" ||
14961 test ! -s conftest.err
14962 } && test -s conftest
$ac_exeext &&
14963 $as_test_x conftest
$ac_exeext; then
14966 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'` ;;
14967 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14970 echo "$as_me: failed program was:" >&5
14971 sed 's/^/| /' conftest.
$ac_ext >&5
14976 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14977 conftest
$ac_exeext conftest.
$ac_ext
14978 LIBS
=$ac_check_soname_save_LIBS
14980 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14981 { echo "$as_me:$LINENO: result: not found" >&5
14982 echo "${ECHO_T}not found" >&6; }
14985 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14986 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14988 cat >>confdefs.h
<<_ACEOF
14989 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14996 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14997 wine_notices
="$wine_notices|OpenSSL development files not found.
14998 Wine will be built without SSL support. (wininet.dll)"
15002 if test "$ac_cv_header_jpeglib_h" = "yes"
15004 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15005 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15006 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15007 echo $ECHO_N "(cached) $ECHO_C" >&6
15009 ac_check_soname_save_LIBS
=$LIBS
15010 LIBS
="-ljpeg $LIBS"
15011 cat >conftest.
$ac_ext <<_ACEOF
15014 cat confdefs.h
>>conftest.
$ac_ext
15015 cat >>conftest.
$ac_ext <<_ACEOF
15016 /* end confdefs.h. */
15018 /* Override any GCC internal prototype to avoid an error.
15019 Use char because int might match the return type of a GCC
15020 builtin and then its argument prototype would still apply. */
15024 char jpeg_start_decompress ();
15028 return jpeg_start_decompress ();
15033 rm -f conftest.
$ac_objext conftest
$ac_exeext
15034 if { (ac_try
="$ac_link"
15035 case "(($ac_try" in
15036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15037 *) ac_try_echo=$ac_try;;
15039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15040 (eval "$ac_link") 2>conftest.er1
15042 grep -v '^ *+' conftest.er1 >conftest.err
15044 cat conftest.err >&5
15045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046 (exit $ac_status); } && {
15047 test -z "$ac_c_werror_flag" ||
15048 test ! -s conftest.err
15049 } && test -s conftest$ac_exeext &&
15050 $as_test_x conftest$ac_exeext; then
15053 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'` ;;
15054 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjpeg\\.$LIBEXT" |
sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15057 echo "$as_me: failed program was:" >&5
15058 sed 's/^/| /' conftest.$ac_ext >&5
15063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15064 conftest$ac_exeext conftest.$ac_ext
15065 LIBS=$ac_check_soname_save_LIBS
15067 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15068 { echo "$as_me:$LINENO: result: not found" >&5
15069 echo "${ECHO_T}not found" >&6; }
15072 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15073 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15075 cat >>confdefs.h <<_ACEOF
15076 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15083 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15084 wine_notices="$wine_notices|libjpeg development files not found.
15085 Wine will be built without JPEG support. (oleaut32.dll)"
15089 if test "$ac_cv_header_png_h" = "yes"
15091 { echo "$as_me:$LINENO: checking for -lpng" >&5
15092 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15093 if test "${ac_cv_lib_soname_png+set}" = set; then
15094 echo $ECHO_N "(cached) $ECHO_C" >&6
15096 ac_check_soname_save_LIBS=$LIBS
15098 cat >conftest.$ac_ext <<_ACEOF
15101 cat confdefs.h >>conftest.$ac_ext
15102 cat >>conftest.$ac_ext <<_ACEOF
15103 /* end confdefs.h. */
15105 /* Override any GCC internal prototype to avoid an error.
15106 Use char because int might match the return type of a GCC
15107 builtin and then its argument prototype would still apply. */
15111 char png_create_read_struct ();
15115 return png_create_read_struct ();
15120 rm -f conftest.$ac_objext conftest$ac_exeext
15121 if { (ac_try="$ac_link"
15122 case "(($ac_try" in
15123 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15124 *) ac_try_echo
=$ac_try;;
15126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15127 (eval "$ac_link") 2>conftest.er1
15129 grep -v '^ *+' conftest.er1
>conftest.err
15131 cat conftest.err
>&5
15132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133 (exit $ac_status); } && {
15134 test -z "$ac_c_werror_flag" ||
15135 test ! -s conftest.err
15136 } && test -s conftest
$ac_exeext &&
15137 $as_test_x conftest
$ac_exeext; then
15140 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'` ;;
15141 *) 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'` ;;
15144 echo "$as_me: failed program was:" >&5
15145 sed 's/^/| /' conftest.
$ac_ext >&5
15150 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15151 conftest
$ac_exeext conftest.
$ac_ext
15152 LIBS
=$ac_check_soname_save_LIBS
15154 if test "x$ac_cv_lib_soname_png" = "x"; then
15155 { echo "$as_me:$LINENO: result: not found" >&5
15156 echo "${ECHO_T}not found" >&6; }
15159 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15160 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15162 cat >>confdefs.h
<<_ACEOF
15163 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15170 if test "x$ac_cv_lib_soname_png" = "x"; then
15171 wine_notices
="$wine_notices|libpng development files not found.
15172 Wine will be built without PNG support. (oleaut32.dll)"
15176 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15177 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15178 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15179 "$ac_cv_header_soundcard_h" != "yes"; then
15180 wine_warnings
="$wine_warnings|No sound system was found. Windows applications will be silent."
15187 if test "x${GCC}" = "xyes"
15189 EXTRACFLAGS
="-Wall -pipe"
15191 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15192 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15193 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15194 echo $ECHO_N "(cached) $ECHO_C" >&6
15196 if test "$cross_compiling" = yes; then
15197 ac_cv_c_gcc_strength_bug
="yes"
15199 cat >conftest.
$ac_ext <<_ACEOF
15202 cat confdefs.h
>>conftest.
$ac_ext
15203 cat >>conftest.
$ac_ext <<_ACEOF
15204 /* end confdefs.h. */
15205 int L[4] = {0,1,2,3};
15209 static int Array[3];
15210 unsigned int B = 3;
15212 for(i=0; i<B; i++) Array[i] = i - 3;
15213 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15215 exit( Array[1] != -2 || L[2] != 3)
15220 rm -f conftest
$ac_exeext
15221 if { (ac_try
="$ac_link"
15222 case "(($ac_try" in
15223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15224 *) ac_try_echo=$ac_try;;
15226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15227 (eval "$ac_link") 2>&5
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15231 { (case "(($ac_try" in
15232 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15233 *) ac_try_echo
=$ac_try;;
15235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15236 (eval "$ac_try") 2>&5
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); }; }; then
15240 ac_cv_c_gcc_strength_bug
="no"
15242 echo "$as_me: program exited with status $ac_status" >&5
15243 echo "$as_me: failed program was:" >&5
15244 sed 's/^/| /' conftest.
$ac_ext >&5
15246 ( exit $ac_status )
15247 ac_cv_c_gcc_strength_bug
="yes"
15249 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15254 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15255 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15256 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15258 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
15262 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15263 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15264 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15265 echo $ECHO_N "(cached) $ECHO_C" >&6
15267 ac_wine_try_cflags_saved
=$CFLAGS
15268 CFLAGS
="$CFLAGS -fshort-wchar"
15269 cat >conftest.
$ac_ext <<_ACEOF
15272 cat confdefs.h
>>conftest.
$ac_ext
15273 cat >>conftest.
$ac_ext <<_ACEOF
15274 /* end confdefs.h. */
15284 rm -f conftest.
$ac_objext conftest
$ac_exeext
15285 if { (ac_try
="$ac_link"
15286 case "(($ac_try" in
15287 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15288 *) ac_try_echo=$ac_try;;
15290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15291 (eval "$ac_link") 2>conftest.er1
15293 grep -v '^ *+' conftest.er1 >conftest.err
15295 cat conftest.err >&5
15296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297 (exit $ac_status); } && {
15298 test -z "$ac_c_werror_flag" ||
15299 test ! -s conftest.err
15300 } && test -s conftest$ac_exeext &&
15301 $as_test_x conftest$ac_exeext; then
15302 ac_cv_cflags__fshort_wchar=yes
15304 echo "$as_me: failed program was:" >&5
15305 sed 's/^/| /' conftest.$ac_ext >&5
15307 ac_cv_cflags__fshort_wchar=no
15310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15311 conftest$ac_exeext conftest.$ac_ext
15312 CFLAGS=$ac_wine_try_cflags_saved
15314 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15315 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15316 if test $ac_cv_cflags__fshort_wchar = yes; then
15318 cat >>confdefs.h <<\_ACEOF
15319 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15324 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15325 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15326 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15327 echo $ECHO_N "(cached) $ECHO_C" >&6
15329 ac_wine_try_cflags_saved=$CFLAGS
15330 CFLAGS="$CFLAGS -fno-strict-aliasing"
15331 cat >conftest.$ac_ext <<_ACEOF
15334 cat confdefs.h >>conftest.$ac_ext
15335 cat >>conftest.$ac_ext <<_ACEOF
15336 /* end confdefs.h. */
15346 rm -f conftest.$ac_objext conftest$ac_exeext
15347 if { (ac_try="$ac_link"
15348 case "(($ac_try" in
15349 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15350 *) ac_try_echo
=$ac_try;;
15352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15353 (eval "$ac_link") 2>conftest.er1
15355 grep -v '^ *+' conftest.er1
>conftest.err
15357 cat conftest.err
>&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); } && {
15360 test -z "$ac_c_werror_flag" ||
15361 test ! -s conftest.err
15362 } && test -s conftest
$ac_exeext &&
15363 $as_test_x conftest
$ac_exeext; then
15364 ac_cv_cflags__fno_strict_aliasing
=yes
15366 echo "$as_me: failed program was:" >&5
15367 sed 's/^/| /' conftest.
$ac_ext >&5
15369 ac_cv_cflags__fno_strict_aliasing
=no
15372 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15373 conftest
$ac_exeext conftest.
$ac_ext
15374 CFLAGS
=$ac_wine_try_cflags_saved
15376 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15377 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15378 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15379 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
15382 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15383 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15384 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15385 echo $ECHO_N "(cached) $ECHO_C" >&6
15387 ac_wine_try_cflags_saved
=$CFLAGS
15388 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
15389 cat >conftest.
$ac_ext <<_ACEOF
15392 cat confdefs.h
>>conftest.
$ac_ext
15393 cat >>conftest.
$ac_ext <<_ACEOF
15394 /* end confdefs.h. */
15404 rm -f conftest.
$ac_objext conftest
$ac_exeext
15405 if { (ac_try
="$ac_link"
15406 case "(($ac_try" in
15407 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15408 *) ac_try_echo=$ac_try;;
15410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15411 (eval "$ac_link") 2>conftest.er1
15413 grep -v '^ *+' conftest.er1 >conftest.err
15415 cat conftest.err >&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); } && {
15418 test -z "$ac_c_werror_flag" ||
15419 test ! -s conftest.err
15420 } && test -s conftest$ac_exeext &&
15421 $as_test_x conftest$ac_exeext; then
15422 ac_cv_cflags__Wdeclaration_after_statement=yes
15424 echo "$as_me: failed program was:" >&5
15425 sed 's/^/| /' conftest.$ac_ext >&5
15427 ac_cv_cflags__Wdeclaration_after_statement=no
15430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15431 conftest$ac_exeext conftest.$ac_ext
15432 CFLAGS=$ac_wine_try_cflags_saved
15434 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15435 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15436 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15437 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15440 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15441 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15442 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15443 echo $ECHO_N "(cached) $ECHO_C" >&6
15445 ac_wine_try_cflags_saved=$CFLAGS
15446 CFLAGS="$CFLAGS -Wwrite-strings"
15447 cat >conftest.$ac_ext <<_ACEOF
15450 cat confdefs.h >>conftest.$ac_ext
15451 cat >>conftest.$ac_ext <<_ACEOF
15452 /* end confdefs.h. */
15462 rm -f conftest.$ac_objext conftest$ac_exeext
15463 if { (ac_try="$ac_link"
15464 case "(($ac_try" in
15465 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15466 *) ac_try_echo
=$ac_try;;
15468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15469 (eval "$ac_link") 2>conftest.er1
15471 grep -v '^ *+' conftest.er1
>conftest.err
15473 cat conftest.err
>&5
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); } && {
15476 test -z "$ac_c_werror_flag" ||
15477 test ! -s conftest.err
15478 } && test -s conftest
$ac_exeext &&
15479 $as_test_x conftest
$ac_exeext; then
15480 ac_cv_cflags__Wwrite_strings
=yes
15482 echo "$as_me: failed program was:" >&5
15483 sed 's/^/| /' conftest.
$ac_ext >&5
15485 ac_cv_cflags__Wwrite_strings
=no
15488 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15489 conftest
$ac_exeext conftest.
$ac_ext
15490 CFLAGS
=$ac_wine_try_cflags_saved
15492 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15493 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15494 if test $ac_cv_cflags__Wwrite_strings = yes; then
15495 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
15499 saved_CFLAGS
="$CFLAGS"
15500 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
15501 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15502 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15503 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15504 echo $ECHO_N "(cached) $ECHO_C" >&6
15506 cat >conftest.
$ac_ext <<_ACEOF
15509 cat confdefs.h
>>conftest.
$ac_ext
15510 cat >>conftest.
$ac_ext <<_ACEOF
15511 /* end confdefs.h. */
15512 #include <string.h>
15521 rm -f conftest.
$ac_objext
15522 if { (ac_try
="$ac_compile"
15523 case "(($ac_try" in
15524 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15525 *) ac_try_echo=$ac_try;;
15527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15528 (eval "$ac_compile") 2>conftest.er1
15530 grep -v '^ *+' conftest.er1 >conftest.err
15532 cat conftest.err >&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); } && {
15535 test -z "$ac_c_werror_flag" ||
15536 test ! -s conftest.err
15537 } && test -s conftest.$ac_objext; then
15538 ac_cv_c_string_h_warnings=no
15540 echo "$as_me: failed program was:" >&5
15541 sed 's/^/| /' conftest.$ac_ext >&5
15543 ac_cv_c_string_h_warnings=yes
15546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15548 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15549 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15550 CFLAGS="$saved_CFLAGS"
15551 if test "$ac_cv_c_string_h_warnings" = "no"
15553 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15558 saved_CFLAGS="$CFLAGS"
15559 CFLAGS="$CFLAGS -Werror"
15560 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15561 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15562 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15563 echo $ECHO_N "(cached) $ECHO_C" >&6
15565 cat >conftest.$ac_ext <<_ACEOF
15568 cat confdefs.h >>conftest.$ac_ext
15569 cat >>conftest.$ac_ext <<_ACEOF
15570 /* end confdefs.h. */
15575 int iswlower(unsigned short);
15580 rm -f conftest.$ac_objext
15581 if { (ac_try="$ac_compile"
15582 case "(($ac_try" in
15583 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15584 *) ac_try_echo
=$ac_try;;
15586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15587 (eval "$ac_compile") 2>conftest.er1
15589 grep -v '^ *+' conftest.er1
>conftest.err
15591 cat conftest.err
>&5
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); } && {
15594 test -z "$ac_c_werror_flag" ||
15595 test ! -s conftest.err
15596 } && test -s conftest.
$ac_objext; then
15597 ac_cv_c_builtin_wchar_ctype
=no
15599 echo "$as_me: failed program was:" >&5
15600 sed 's/^/| /' conftest.
$ac_ext >&5
15602 ac_cv_c_builtin_wchar_ctype
=yes
15605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15607 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15608 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15609 CFLAGS
="$saved_CFLAGS"
15610 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15612 BUILTINFLAG
="-fno-builtin"
15617 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15618 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15619 if test "${ac_cv_asm_func_def+set}" = set; then
15620 echo $ECHO_N "(cached) $ECHO_C" >&6
15622 cat >conftest.
$ac_ext <<_ACEOF
15625 cat confdefs.h
>>conftest.
$ac_ext
15626 cat >>conftest.
$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15632 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15637 rm -f conftest.
$ac_objext conftest
$ac_exeext
15638 if { (ac_try
="$ac_link"
15639 case "(($ac_try" in
15640 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15641 *) ac_try_echo=$ac_try;;
15643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15644 (eval "$ac_link") 2>conftest.er1
15646 grep -v '^ *+' conftest.er1 >conftest.err
15648 cat conftest.err >&5
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); } && {
15651 test -z "$ac_c_werror_flag" ||
15652 test ! -s conftest.err
15653 } && test -s conftest$ac_exeext &&
15654 $as_test_x conftest$ac_exeext; then
15655 ac_cv_asm_func_def=".def"
15657 echo "$as_me: failed program was:" >&5
15658 sed 's/^/| /' conftest.$ac_ext >&5
15660 cat >conftest.$ac_ext <<_ACEOF
15663 cat confdefs.h >>conftest.$ac_ext
15664 cat >>conftest.$ac_ext <<_ACEOF
15665 /* end confdefs.h. */
15670 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15675 rm -f conftest.$ac_objext conftest$ac_exeext
15676 if { (ac_try="$ac_link"
15677 case "(($ac_try" in
15678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15679 *) ac_try_echo
=$ac_try;;
15681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15682 (eval "$ac_link") 2>conftest.er1
15684 grep -v '^ *+' conftest.er1
>conftest.err
15686 cat conftest.err
>&5
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); } && {
15689 test -z "$ac_c_werror_flag" ||
15690 test ! -s conftest.err
15691 } && test -s conftest
$ac_exeext &&
15692 $as_test_x conftest
$ac_exeext; then
15693 ac_cv_asm_func_def
=".type @function"
15695 echo "$as_me: failed program was:" >&5
15696 sed 's/^/| /' conftest.
$ac_ext >&5
15698 cat >conftest.
$ac_ext <<_ACEOF
15701 cat confdefs.h
>>conftest.
$ac_ext
15702 cat >>conftest.
$ac_ext <<_ACEOF
15703 /* end confdefs.h. */
15708 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15713 rm -f conftest.
$ac_objext conftest
$ac_exeext
15714 if { (ac_try
="$ac_link"
15715 case "(($ac_try" in
15716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15717 *) ac_try_echo=$ac_try;;
15719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15720 (eval "$ac_link") 2>conftest.er1
15722 grep -v '^ *+' conftest.er1 >conftest.err
15724 cat conftest.err >&5
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); } && {
15727 test -z "$ac_c_werror_flag" ||
15728 test ! -s conftest.err
15729 } && test -s conftest$ac_exeext &&
15730 $as_test_x conftest$ac_exeext; then
15731 ac_cv_asm_func_def=".type 2"
15733 echo "$as_me: failed program was:" >&5
15734 sed 's/^/| /' conftest.$ac_ext >&5
15736 ac_cv_asm_func_def="unknown"
15739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15740 conftest$ac_exeext conftest.$ac_ext
15743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15744 conftest$ac_exeext conftest.$ac_ext
15747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15748 conftest$ac_exeext conftest.$ac_ext
15750 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15751 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15755 case "$ac_cv_asm_func_def" in
15757 cat >>confdefs.h <<\_ACEOF
15758 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15762 cat >>confdefs.h <<\_ACEOF
15763 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15767 cat >>confdefs.h <<\_ACEOF
15768 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15772 cat >>confdefs.h <<\_ACEOF
15773 #define __ASM_FUNC(name) ""
15779 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15780 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15781 if test "${ac_cv_c_extern_prefix+set}" = set; then
15782 echo $ECHO_N "(cached) $ECHO_C" >&6
15784 cat >conftest.$ac_ext <<_ACEOF
15787 cat confdefs.h >>conftest.$ac_ext
15788 cat >>conftest.$ac_ext <<_ACEOF
15789 /* end confdefs.h. */
15790 extern int ac_test;
15794 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15799 rm -f conftest.$ac_objext conftest$ac_exeext
15800 if { (ac_try="$ac_link"
15801 case "(($ac_try" in
15802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15803 *) ac_try_echo
=$ac_try;;
15805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15806 (eval "$ac_link") 2>conftest.er1
15808 grep -v '^ *+' conftest.er1
>conftest.err
15810 cat conftest.err
>&5
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); } && {
15813 test -z "$ac_c_werror_flag" ||
15814 test ! -s conftest.err
15815 } && test -s conftest
$ac_exeext &&
15816 $as_test_x conftest
$ac_exeext; then
15817 ac_cv_c_extern_prefix
="yes"
15819 echo "$as_me: failed program was:" >&5
15820 sed 's/^/| /' conftest.
$ac_ext >&5
15822 ac_cv_c_extern_prefix
="no"
15825 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15826 conftest
$ac_exeext conftest.
$ac_ext
15828 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15829 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15833 if test "$ac_cv_c_extern_prefix" = "yes"
15835 cat >>confdefs.h
<<\_ACEOF
15836 #define __ASM_NAME(name) "_" name
15840 cat >>confdefs.h
<<\_ACEOF
15841 #define __ASM_NAME(name) name
15851 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15855 linux
*|solaris
*) if test -z "$LDRPATH_LOCAL"
15857 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15861 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15869 SOCKETLIBS
="-lws2_32"
15874 MAIN_BINARY
="wine-pthread"
15878 linux
* | k
*bsd
*-gnu)
15879 MAIN_BINARY
="wine-glibc"
15881 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
15884 MAIN_BINARY
="wine-freebsd"
15886 EXTRA_BINARIES
="wine-pthread"
16024 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16025 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16027 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16028 echo $ECHO_N "(cached) $ECHO_C" >&6
16030 cat >conftest.
$ac_ext <<_ACEOF
16033 cat confdefs.h
>>conftest.
$ac_ext
16034 cat >>conftest.
$ac_ext <<_ACEOF
16035 /* end confdefs.h. */
16036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16038 #define $ac_func innocuous_$ac_func
16040 /* System header to define __stub macros and hopefully few prototypes,
16041 which can conflict with char $ac_func (); below.
16042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16043 <limits.h> exists even on freestanding compilers. */
16046 # include <limits.h>
16048 # include <assert.h>
16053 /* Override any GCC internal prototype to avoid an error.
16054 Use char because int might match the return type of a GCC
16055 builtin and then its argument prototype would still apply. */
16060 /* The GNU C library defines this for functions which it implements
16061 to always fail with ENOSYS. Some functions are actually named
16062 something starting with __ and the normal name is an alias. */
16063 #if defined __stub_$ac_func || defined __stub___$ac_func
16070 return $ac_func ();
16075 rm -f conftest.
$ac_objext conftest
$ac_exeext
16076 if { (ac_try
="$ac_link"
16077 case "(($ac_try" in
16078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16079 *) ac_try_echo=$ac_try;;
16081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16082 (eval "$ac_link") 2>conftest.er1
16084 grep -v '^ *+' conftest.er1 >conftest.err
16086 cat conftest.err >&5
16087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16088 (exit $ac_status); } && {
16089 test -z "$ac_c_werror_flag" ||
16090 test ! -s conftest.err
16091 } && test -s conftest$ac_exeext &&
16092 $as_test_x conftest$ac_exeext; then
16093 eval "$as_ac_var=yes"
16095 echo "$as_me: failed program was:" >&5
16096 sed 's/^/| /' conftest.$ac_ext >&5
16098 eval "$as_ac_var=no"
16101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16102 conftest$ac_exeext conftest.$ac_ext
16104 ac_res=`eval echo '${'$as_ac_var'}'`
16105 { echo "$as_me:$LINENO: result: $ac_res" >&5
16106 echo "${ECHO_T}$ac_res" >&6; }
16107 if test `eval echo '${'$as_ac_var'}'` = yes; then
16108 cat >>confdefs.h <<_ACEOF
16109 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16116 if test "$ac_cv_func_dlopen" = no
16118 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16119 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16120 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16121 echo $ECHO_N "(cached) $ECHO_C" >&6
16123 ac_check_lib_save_LIBS=$LIBS
16125 cat >conftest.$ac_ext <<_ACEOF
16128 cat confdefs.h >>conftest.$ac_ext
16129 cat >>conftest.$ac_ext <<_ACEOF
16130 /* end confdefs.h. */
16132 /* Override any GCC internal prototype to avoid an error.
16133 Use char because int might match the return type of a GCC
16134 builtin and then its argument prototype would still apply. */
16147 rm -f conftest.$ac_objext conftest$ac_exeext
16148 if { (ac_try="$ac_link"
16149 case "(($ac_try" in
16150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16151 *) ac_try_echo
=$ac_try;;
16153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16154 (eval "$ac_link") 2>conftest.er1
16156 grep -v '^ *+' conftest.er1
>conftest.err
16158 cat conftest.err
>&5
16159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160 (exit $ac_status); } && {
16161 test -z "$ac_c_werror_flag" ||
16162 test ! -s conftest.err
16163 } && test -s conftest
$ac_exeext &&
16164 $as_test_x conftest
$ac_exeext; then
16165 ac_cv_lib_dl_dlopen
=yes
16167 echo "$as_me: failed program was:" >&5
16168 sed 's/^/| /' conftest.
$ac_ext >&5
16170 ac_cv_lib_dl_dlopen
=no
16173 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16174 conftest
$ac_exeext conftest.
$ac_ext
16175 LIBS
=$ac_check_lib_save_LIBS
16177 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16178 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16179 if test $ac_cv_lib_dl_dlopen = yes; then
16180 cat >>confdefs.h
<<\_ACEOF
16181 #define HAVE_DLOPEN 1
16188 ac_wine_check_funcs_save_LIBS
="$LIBS"
16189 LIBS
="$LIBS $LIBDL"
16191 for ac_func
in dladdr
16193 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16194 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16196 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16197 echo $ECHO_N "(cached) $ECHO_C" >&6
16199 cat >conftest.
$ac_ext <<_ACEOF
16202 cat confdefs.h
>>conftest.
$ac_ext
16203 cat >>conftest.
$ac_ext <<_ACEOF
16204 /* end confdefs.h. */
16205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16207 #define $ac_func innocuous_$ac_func
16209 /* System header to define __stub macros and hopefully few prototypes,
16210 which can conflict with char $ac_func (); below.
16211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16212 <limits.h> exists even on freestanding compilers. */
16215 # include <limits.h>
16217 # include <assert.h>
16222 /* Override any GCC internal prototype to avoid an error.
16223 Use char because int might match the return type of a GCC
16224 builtin and then its argument prototype would still apply. */
16229 /* The GNU C library defines this for functions which it implements
16230 to always fail with ENOSYS. Some functions are actually named
16231 something starting with __ and the normal name is an alias. */
16232 #if defined __stub_$ac_func || defined __stub___$ac_func
16239 return $ac_func ();
16244 rm -f conftest.
$ac_objext conftest
$ac_exeext
16245 if { (ac_try
="$ac_link"
16246 case "(($ac_try" in
16247 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16248 *) ac_try_echo=$ac_try;;
16250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16251 (eval "$ac_link") 2>conftest.er1
16253 grep -v '^ *+' conftest.er1 >conftest.err
16255 cat conftest.err >&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); } && {
16258 test -z "$ac_c_werror_flag" ||
16259 test ! -s conftest.err
16260 } && test -s conftest$ac_exeext &&
16261 $as_test_x conftest$ac_exeext; then
16262 eval "$as_ac_var=yes"
16264 echo "$as_me: failed program was:" >&5
16265 sed 's/^/| /' conftest.$ac_ext >&5
16267 eval "$as_ac_var=no"
16270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16271 conftest$ac_exeext conftest.$ac_ext
16273 ac_res=`eval echo '${'$as_ac_var'}'`
16274 { echo "$as_me:$LINENO: result: $ac_res" >&5
16275 echo "${ECHO_T}$ac_res" >&6; }
16276 if test `eval echo '${'$as_ac_var'}'` = yes; then
16277 cat >>confdefs.h <<_ACEOF
16278 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16284 LIBS="$ac_wine_check_funcs_save_LIBS"
16286 if test "$ac_cv_func_poll" = no
16288 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16289 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16290 if test "${ac_cv_lib_poll_poll+set}" = set; then
16291 echo $ECHO_N "(cached) $ECHO_C" >&6
16293 ac_check_lib_save_LIBS=$LIBS
16294 LIBS="-lpoll $LIBS"
16295 cat >conftest.$ac_ext <<_ACEOF
16298 cat confdefs.h >>conftest.$ac_ext
16299 cat >>conftest.$ac_ext <<_ACEOF
16300 /* end confdefs.h. */
16302 /* Override any GCC internal prototype to avoid an error.
16303 Use char because int might match the return type of a GCC
16304 builtin and then its argument prototype would still apply. */
16317 rm -f conftest.$ac_objext conftest$ac_exeext
16318 if { (ac_try="$ac_link"
16319 case "(($ac_try" in
16320 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16321 *) ac_try_echo
=$ac_try;;
16323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16324 (eval "$ac_link") 2>conftest.er1
16326 grep -v '^ *+' conftest.er1
>conftest.err
16328 cat conftest.err
>&5
16329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16330 (exit $ac_status); } && {
16331 test -z "$ac_c_werror_flag" ||
16332 test ! -s conftest.err
16333 } && test -s conftest
$ac_exeext &&
16334 $as_test_x conftest
$ac_exeext; then
16335 ac_cv_lib_poll_poll
=yes
16337 echo "$as_me: failed program was:" >&5
16338 sed 's/^/| /' conftest.
$ac_ext >&5
16340 ac_cv_lib_poll_poll
=no
16343 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16344 conftest
$ac_exeext conftest.
$ac_ext
16345 LIBS
=$ac_check_lib_save_LIBS
16347 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16348 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16349 if test $ac_cv_lib_poll_poll = yes; then
16350 cat >>confdefs.h
<<\_ACEOF
16351 #define HAVE_POLL 1
16359 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16360 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16361 if test "${ac_cv_search_gethostbyname+set}" = set; then
16362 echo $ECHO_N "(cached) $ECHO_C" >&6
16364 ac_func_search_save_LIBS
=$LIBS
16365 cat >conftest.
$ac_ext <<_ACEOF
16368 cat confdefs.h
>>conftest.
$ac_ext
16369 cat >>conftest.
$ac_ext <<_ACEOF
16370 /* end confdefs.h. */
16372 /* Override any GCC internal prototype to avoid an error.
16373 Use char because int might match the return type of a GCC
16374 builtin and then its argument prototype would still apply. */
16378 char gethostbyname ();
16382 return gethostbyname ();
16387 for ac_lib
in '' nsl
; do
16388 if test -z "$ac_lib"; then
16389 ac_res
="none required"
16392 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16394 rm -f conftest.
$ac_objext conftest
$ac_exeext
16395 if { (ac_try
="$ac_link"
16396 case "(($ac_try" in
16397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16398 *) ac_try_echo=$ac_try;;
16400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16401 (eval "$ac_link") 2>conftest.er1
16403 grep -v '^ *+' conftest.er1 >conftest.err
16405 cat conftest.err >&5
16406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407 (exit $ac_status); } && {
16408 test -z "$ac_c_werror_flag" ||
16409 test ! -s conftest.err
16410 } && test -s conftest$ac_exeext &&
16411 $as_test_x conftest$ac_exeext; then
16412 ac_cv_search_gethostbyname=$ac_res
16414 echo "$as_me: failed program was:" >&5
16415 sed 's/^/| /' conftest.$ac_ext >&5
16420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16422 if test "${ac_cv_search_gethostbyname+set}" = set; then
16426 if test "${ac_cv_search_gethostbyname+set}" = set; then
16429 ac_cv_search_gethostbyname=no
16431 rm conftest.$ac_ext
16432 LIBS=$ac_func_search_save_LIBS
16434 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16435 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16436 ac_res=$ac_cv_search_gethostbyname
16437 if test "$ac_res" != no; then
16438 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16443 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16444 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16445 if test "${ac_cv_search_connect+set}" = set; then
16446 echo $ECHO_N "(cached) $ECHO_C" >&6
16448 ac_func_search_save_LIBS=$LIBS
16449 cat >conftest.$ac_ext <<_ACEOF
16452 cat confdefs.h >>conftest.$ac_ext
16453 cat >>conftest.$ac_ext <<_ACEOF
16454 /* end confdefs.h. */
16456 /* Override any GCC internal prototype to avoid an error.
16457 Use char because int might match the return type of a GCC
16458 builtin and then its argument prototype would still apply. */
16471 for ac_lib in '' socket; do
16472 if test -z "$ac_lib"; then
16473 ac_res="none required"
16476 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16478 rm -f conftest.$ac_objext conftest$ac_exeext
16479 if { (ac_try="$ac_link"
16480 case "(($ac_try" in
16481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16482 *) ac_try_echo
=$ac_try;;
16484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16485 (eval "$ac_link") 2>conftest.er1
16487 grep -v '^ *+' conftest.er1
>conftest.err
16489 cat conftest.err
>&5
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); } && {
16492 test -z "$ac_c_werror_flag" ||
16493 test ! -s conftest.err
16494 } && test -s conftest
$ac_exeext &&
16495 $as_test_x conftest
$ac_exeext; then
16496 ac_cv_search_connect
=$ac_res
16498 echo "$as_me: failed program was:" >&5
16499 sed 's/^/| /' conftest.
$ac_ext >&5
16504 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16506 if test "${ac_cv_search_connect+set}" = set; then
16510 if test "${ac_cv_search_connect+set}" = set; then
16513 ac_cv_search_connect
=no
16515 rm conftest.
$ac_ext
16516 LIBS
=$ac_func_search_save_LIBS
16518 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16519 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16520 ac_res
=$ac_cv_search_connect
16521 if test "$ac_res" != no
; then
16522 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16527 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16528 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16529 if test "${ac_cv_search_inet_aton+set}" = set; then
16530 echo $ECHO_N "(cached) $ECHO_C" >&6
16532 ac_func_search_save_LIBS
=$LIBS
16533 cat >conftest.
$ac_ext <<_ACEOF
16536 cat confdefs.h
>>conftest.
$ac_ext
16537 cat >>conftest.
$ac_ext <<_ACEOF
16538 /* end confdefs.h. */
16540 /* Override any GCC internal prototype to avoid an error.
16541 Use char because int might match the return type of a GCC
16542 builtin and then its argument prototype would still apply. */
16550 return inet_aton ();
16555 for ac_lib
in '' resolv
; do
16556 if test -z "$ac_lib"; then
16557 ac_res
="none required"
16560 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16562 rm -f conftest.
$ac_objext conftest
$ac_exeext
16563 if { (ac_try
="$ac_link"
16564 case "(($ac_try" in
16565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16566 *) ac_try_echo=$ac_try;;
16568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16569 (eval "$ac_link") 2>conftest.er1
16571 grep -v '^ *+' conftest.er1 >conftest.err
16573 cat conftest.err >&5
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); } && {
16576 test -z "$ac_c_werror_flag" ||
16577 test ! -s conftest.err
16578 } && test -s conftest$ac_exeext &&
16579 $as_test_x conftest$ac_exeext; then
16580 ac_cv_search_inet_aton=$ac_res
16582 echo "$as_me: failed program was:" >&5
16583 sed 's/^/| /' conftest.$ac_ext >&5
16588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16590 if test "${ac_cv_search_inet_aton+set}" = set; then
16594 if test "${ac_cv_search_inet_aton+set}" = set; then
16597 ac_cv_search_inet_aton=no
16599 rm conftest.$ac_ext
16600 LIBS=$ac_func_search_save_LIBS
16602 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16603 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16604 ac_res=$ac_cv_search_inet_aton
16605 if test "$ac_res" != no; then
16606 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16630 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16631 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16633 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16634 echo $ECHO_N "(cached) $ECHO_C" >&6
16636 cat >conftest.$ac_ext <<_ACEOF
16639 cat confdefs.h >>conftest.$ac_ext
16640 cat >>conftest.$ac_ext <<_ACEOF
16641 /* end confdefs.h. */
16642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16644 #define $ac_func innocuous_$ac_func
16646 /* System header to define __stub macros and hopefully few prototypes,
16647 which can conflict with char $ac_func (); below.
16648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16649 <limits.h> exists even on freestanding compilers. */
16652 # include <limits.h>
16654 # include <assert.h>
16659 /* Override any GCC internal prototype to avoid an error.
16660 Use char because int might match the return type of a GCC
16661 builtin and then its argument prototype would still apply. */
16666 /* The GNU C library defines this for functions which it implements
16667 to always fail with ENOSYS. Some functions are actually named
16668 something starting with __ and the normal name is an alias. */
16669 #if defined __stub_$ac_func || defined __stub___$ac_func
16676 return $ac_func ();
16681 rm -f conftest.$ac_objext conftest$ac_exeext
16682 if { (ac_try="$ac_link"
16683 case "(($ac_try" in
16684 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16685 *) ac_try_echo
=$ac_try;;
16687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16688 (eval "$ac_link") 2>conftest.er1
16690 grep -v '^ *+' conftest.er1
>conftest.err
16692 cat conftest.err
>&5
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); } && {
16695 test -z "$ac_c_werror_flag" ||
16696 test ! -s conftest.err
16697 } && test -s conftest
$ac_exeext &&
16698 $as_test_x conftest
$ac_exeext; then
16699 eval "$as_ac_var=yes"
16701 echo "$as_me: failed program was:" >&5
16702 sed 's/^/| /' conftest.
$ac_ext >&5
16704 eval "$as_ac_var=no"
16707 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16708 conftest
$ac_exeext conftest.
$ac_ext
16710 ac_res
=`eval echo '${'$as_ac_var'}'`
16711 { echo "$as_me:$LINENO: result: $ac_res" >&5
16712 echo "${ECHO_T}$ac_res" >&6; }
16713 if test `eval echo '${'$as_ac_var'}'` = yes; then
16714 cat >>confdefs.h
<<_ACEOF
16715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16723 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16724 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16725 if test "${ac_cv_c_const+set}" = set; then
16726 echo $ECHO_N "(cached) $ECHO_C" >&6
16728 cat >conftest.
$ac_ext <<_ACEOF
16731 cat confdefs.h
>>conftest.
$ac_ext
16732 cat >>conftest.
$ac_ext <<_ACEOF
16733 /* end confdefs.h. */
16738 /* FIXME: Include the comments suggested by Paul. */
16739 #ifndef __cplusplus
16740 /* Ultrix mips cc rejects this. */
16741 typedef int charset[2];
16743 /* SunOS 4.1.1 cc rejects this. */
16744 char const *const *pcpcc;
16746 /* NEC SVR4.0.2 mips cc rejects this. */
16747 struct point {int x, y;};
16748 static struct point const zero = {0,0};
16749 /* AIX XL C 1.02.0.0 rejects this.
16750 It does not let you subtract one const X* pointer from another in
16751 an arm of an if-expression whose if-part is not a constant
16753 const char *g = "string";
16754 pcpcc = &g + (g ? g-g : 0);
16755 /* HPUX 7.0 cc rejects these. */
16757 ppc = (char**) pcpcc;
16758 pcpcc = (char const *const *) ppc;
16759 { /* SCO 3.2v4 cc rejects this. */
16761 char const *s = 0 ? (char *) 0 : (char const *) 0;
16766 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16767 int x[] = {25, 17};
16768 const int *foo = &x[0];
16771 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16772 typedef const int *iptr;
16776 { /* AIX XL C 1.02.0.0 rejects this saying
16777 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16778 struct s { int j; const int *ap[3]; };
16779 struct s *b; b->j = 5;
16781 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16782 const int foo = 10;
16783 if (!foo) return 0;
16785 return !cs[0] && !zero.x;
16792 rm -f conftest.
$ac_objext
16793 if { (ac_try
="$ac_compile"
16794 case "(($ac_try" in
16795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16796 *) ac_try_echo=$ac_try;;
16798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16799 (eval "$ac_compile") 2>conftest.er1
16801 grep -v '^ *+' conftest.er1 >conftest.err
16803 cat conftest.err >&5
16804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16805 (exit $ac_status); } && {
16806 test -z "$ac_c_werror_flag" ||
16807 test ! -s conftest.err
16808 } && test -s conftest.$ac_objext; then
16811 echo "$as_me: failed program was:" >&5
16812 sed 's/^/| /' conftest.$ac_ext >&5
16817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16819 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16820 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16821 if test $ac_cv_c_const = no; then
16823 cat >>confdefs.h <<\_ACEOF
16829 { echo "$as_me:$LINENO: checking for inline" >&5
16830 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16831 if test "${ac_cv_c_inline+set}" = set; then
16832 echo $ECHO_N "(cached) $ECHO_C" >&6
16835 for ac_kw in inline __inline__ __inline; do
16836 cat >conftest.$ac_ext <<_ACEOF
16839 cat confdefs.h >>conftest.$ac_ext
16840 cat >>conftest.$ac_ext <<_ACEOF
16841 /* end confdefs.h. */
16842 #ifndef __cplusplus
16844 static $ac_kw foo_t static_foo () {return 0; }
16845 $ac_kw foo_t foo () {return 0; }
16849 rm -f conftest.$ac_objext
16850 if { (ac_try="$ac_compile"
16851 case "(($ac_try" in
16852 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16853 *) ac_try_echo
=$ac_try;;
16855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16856 (eval "$ac_compile") 2>conftest.er1
16858 grep -v '^ *+' conftest.er1
>conftest.err
16860 cat conftest.err
>&5
16861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862 (exit $ac_status); } && {
16863 test -z "$ac_c_werror_flag" ||
16864 test ! -s conftest.err
16865 } && test -s conftest.
$ac_objext; then
16866 ac_cv_c_inline
=$ac_kw
16868 echo "$as_me: failed program was:" >&5
16869 sed 's/^/| /' conftest.
$ac_ext >&5
16874 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16875 test "$ac_cv_c_inline" != no
&& break
16879 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16880 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16883 case $ac_cv_c_inline in
16886 case $ac_cv_c_inline in
16888 *) ac_val
=$ac_cv_c_inline;;
16890 cat >>confdefs.h
<<_ACEOF
16891 #ifndef __cplusplus
16892 #define inline $ac_val
16898 { echo "$as_me:$LINENO: checking for mode_t" >&5
16899 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16900 if test "${ac_cv_type_mode_t+set}" = set; then
16901 echo $ECHO_N "(cached) $ECHO_C" >&6
16903 cat >conftest.
$ac_ext <<_ACEOF
16906 cat confdefs.h
>>conftest.
$ac_ext
16907 cat >>conftest.
$ac_ext <<_ACEOF
16908 /* end confdefs.h. */
16909 $ac_includes_default
16910 typedef mode_t ac__type_new_;
16914 if ((ac__type_new_ *) 0)
16916 if (sizeof (ac__type_new_))
16922 rm -f conftest.
$ac_objext
16923 if { (ac_try
="$ac_compile"
16924 case "(($ac_try" in
16925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16926 *) ac_try_echo=$ac_try;;
16928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16929 (eval "$ac_compile") 2>conftest.er1
16931 grep -v '^ *+' conftest.er1 >conftest.err
16933 cat conftest.err >&5
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); } && {
16936 test -z "$ac_c_werror_flag" ||
16937 test ! -s conftest.err
16938 } && test -s conftest.$ac_objext; then
16939 ac_cv_type_mode_t=yes
16941 echo "$as_me: failed program was:" >&5
16942 sed 's/^/| /' conftest.$ac_ext >&5
16944 ac_cv_type_mode_t=no
16947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16949 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16950 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16951 if test $ac_cv_type_mode_t = yes; then
16953 cat >>confdefs.h <<_ACEOF
16954 #define HAVE_MODE_T 1
16959 { echo "$as_me:$LINENO: checking for off_t" >&5
16960 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16961 if test "${ac_cv_type_off_t+set}" = set; then
16962 echo $ECHO_N "(cached) $ECHO_C" >&6
16964 cat >conftest.$ac_ext <<_ACEOF
16967 cat confdefs.h >>conftest.$ac_ext
16968 cat >>conftest.$ac_ext <<_ACEOF
16969 /* end confdefs.h. */
16970 $ac_includes_default
16971 typedef off_t ac__type_new_;
16975 if ((ac__type_new_ *) 0)
16977 if (sizeof (ac__type_new_))
16983 rm -f conftest.$ac_objext
16984 if { (ac_try="$ac_compile"
16985 case "(($ac_try" in
16986 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16987 *) ac_try_echo
=$ac_try;;
16989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16990 (eval "$ac_compile") 2>conftest.er1
16992 grep -v '^ *+' conftest.er1
>conftest.err
16994 cat conftest.err
>&5
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); } && {
16997 test -z "$ac_c_werror_flag" ||
16998 test ! -s conftest.err
16999 } && test -s conftest.
$ac_objext; then
17000 ac_cv_type_off_t
=yes
17002 echo "$as_me: failed program was:" >&5
17003 sed 's/^/| /' conftest.
$ac_ext >&5
17005 ac_cv_type_off_t
=no
17008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17010 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17011 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17012 if test $ac_cv_type_off_t = yes; then
17014 cat >>confdefs.h
<<_ACEOF
17015 #define HAVE_OFF_T 1
17020 { echo "$as_me:$LINENO: checking for pid_t" >&5
17021 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17022 if test "${ac_cv_type_pid_t+set}" = set; then
17023 echo $ECHO_N "(cached) $ECHO_C" >&6
17025 cat >conftest.
$ac_ext <<_ACEOF
17028 cat confdefs.h
>>conftest.
$ac_ext
17029 cat >>conftest.
$ac_ext <<_ACEOF
17030 /* end confdefs.h. */
17031 $ac_includes_default
17032 typedef pid_t ac__type_new_;
17036 if ((ac__type_new_ *) 0)
17038 if (sizeof (ac__type_new_))
17044 rm -f conftest.
$ac_objext
17045 if { (ac_try
="$ac_compile"
17046 case "(($ac_try" in
17047 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17048 *) ac_try_echo=$ac_try;;
17050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17051 (eval "$ac_compile") 2>conftest.er1
17053 grep -v '^ *+' conftest.er1 >conftest.err
17055 cat conftest.err >&5
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); } && {
17058 test -z "$ac_c_werror_flag" ||
17059 test ! -s conftest.err
17060 } && test -s conftest.$ac_objext; then
17061 ac_cv_type_pid_t=yes
17063 echo "$as_me: failed program was:" >&5
17064 sed 's/^/| /' conftest.$ac_ext >&5
17066 ac_cv_type_pid_t=no
17069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17071 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17072 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17073 if test $ac_cv_type_pid_t = yes; then
17075 cat >>confdefs.h <<_ACEOF
17076 #define HAVE_PID_T 1
17081 { echo "$as_me:$LINENO: checking for size_t" >&5
17082 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17083 if test "${ac_cv_type_size_t+set}" = set; then
17084 echo $ECHO_N "(cached) $ECHO_C" >&6
17086 cat >conftest.$ac_ext <<_ACEOF
17089 cat confdefs.h >>conftest.$ac_ext
17090 cat >>conftest.$ac_ext <<_ACEOF
17091 /* end confdefs.h. */
17092 $ac_includes_default
17093 typedef size_t ac__type_new_;
17097 if ((ac__type_new_ *) 0)
17099 if (sizeof (ac__type_new_))
17105 rm -f conftest.$ac_objext
17106 if { (ac_try="$ac_compile"
17107 case "(($ac_try" in
17108 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17109 *) ac_try_echo
=$ac_try;;
17111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17112 (eval "$ac_compile") 2>conftest.er1
17114 grep -v '^ *+' conftest.er1
>conftest.err
17116 cat conftest.err
>&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); } && {
17119 test -z "$ac_c_werror_flag" ||
17120 test ! -s conftest.err
17121 } && test -s conftest.
$ac_objext; then
17122 ac_cv_type_size_t
=yes
17124 echo "$as_me: failed program was:" >&5
17125 sed 's/^/| /' conftest.
$ac_ext >&5
17127 ac_cv_type_size_t
=no
17130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17132 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17133 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17134 if test $ac_cv_type_size_t = yes; then
17136 cat >>confdefs.h
<<_ACEOF
17137 #define HAVE_SIZE_T 1
17142 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17143 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17144 if test "${ac_cv_type_ssize_t+set}" = set; then
17145 echo $ECHO_N "(cached) $ECHO_C" >&6
17147 cat >conftest.
$ac_ext <<_ACEOF
17150 cat confdefs.h
>>conftest.
$ac_ext
17151 cat >>conftest.
$ac_ext <<_ACEOF
17152 /* end confdefs.h. */
17153 $ac_includes_default
17154 typedef ssize_t ac__type_new_;
17158 if ((ac__type_new_ *) 0)
17160 if (sizeof (ac__type_new_))
17166 rm -f conftest.
$ac_objext
17167 if { (ac_try
="$ac_compile"
17168 case "(($ac_try" in
17169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17170 *) ac_try_echo=$ac_try;;
17172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17173 (eval "$ac_compile") 2>conftest.er1
17175 grep -v '^ *+' conftest.er1 >conftest.err
17177 cat conftest.err >&5
17178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17179 (exit $ac_status); } && {
17180 test -z "$ac_c_werror_flag" ||
17181 test ! -s conftest.err
17182 } && test -s conftest.$ac_objext; then
17183 ac_cv_type_ssize_t=yes
17185 echo "$as_me: failed program was:" >&5
17186 sed 's/^/| /' conftest.$ac_ext >&5
17188 ac_cv_type_ssize_t=no
17191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17193 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17194 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17195 if test $ac_cv_type_ssize_t = yes; then
17197 cat >>confdefs.h <<_ACEOF
17198 #define HAVE_SSIZE_T 1
17203 { echo "$as_me:$LINENO: checking for long long" >&5
17204 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17205 if test "${ac_cv_type_long_long+set}" = set; then
17206 echo $ECHO_N "(cached) $ECHO_C" >&6
17208 cat >conftest.$ac_ext <<_ACEOF
17211 cat confdefs.h >>conftest.$ac_ext
17212 cat >>conftest.$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17214 $ac_includes_default
17215 typedef long long ac__type_new_;
17219 if ((ac__type_new_ *) 0)
17221 if (sizeof (ac__type_new_))
17227 rm -f conftest.$ac_objext
17228 if { (ac_try="$ac_compile"
17229 case "(($ac_try" in
17230 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17231 *) ac_try_echo
=$ac_try;;
17233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17234 (eval "$ac_compile") 2>conftest.er1
17236 grep -v '^ *+' conftest.er1
>conftest.err
17238 cat conftest.err
>&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); } && {
17241 test -z "$ac_c_werror_flag" ||
17242 test ! -s conftest.err
17243 } && test -s conftest.
$ac_objext; then
17244 ac_cv_type_long_long
=yes
17246 echo "$as_me: failed program was:" >&5
17247 sed 's/^/| /' conftest.
$ac_ext >&5
17249 ac_cv_type_long_long
=no
17252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17254 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17255 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17256 if test $ac_cv_type_long_long = yes; then
17258 cat >>confdefs.h
<<_ACEOF
17259 #define HAVE_LONG_LONG 1
17264 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17265 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17266 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17267 echo $ECHO_N "(cached) $ECHO_C" >&6
17269 cat >conftest.
$ac_ext <<_ACEOF
17272 cat confdefs.h
>>conftest.
$ac_ext
17273 cat >>conftest.
$ac_ext <<_ACEOF
17274 /* end confdefs.h. */
17275 $ac_includes_default
17276 typedef fsblkcnt_t ac__type_new_;
17280 if ((ac__type_new_ *) 0)
17282 if (sizeof (ac__type_new_))
17288 rm -f conftest.
$ac_objext
17289 if { (ac_try
="$ac_compile"
17290 case "(($ac_try" in
17291 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17292 *) ac_try_echo=$ac_try;;
17294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17295 (eval "$ac_compile") 2>conftest.er1
17297 grep -v '^ *+' conftest.er1 >conftest.err
17299 cat conftest.err >&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); } && {
17302 test -z "$ac_c_werror_flag" ||
17303 test ! -s conftest.err
17304 } && test -s conftest.$ac_objext; then
17305 ac_cv_type_fsblkcnt_t=yes
17307 echo "$as_me: failed program was:" >&5
17308 sed 's/^/| /' conftest.$ac_ext >&5
17310 ac_cv_type_fsblkcnt_t=no
17313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17315 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17316 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17317 if test $ac_cv_type_fsblkcnt_t = yes; then
17319 cat >>confdefs.h <<_ACEOF
17320 #define HAVE_FSBLKCNT_T 1
17325 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17326 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17327 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17328 echo $ECHO_N "(cached) $ECHO_C" >&6
17330 cat >conftest.$ac_ext <<_ACEOF
17333 cat confdefs.h >>conftest.$ac_ext
17334 cat >>conftest.$ac_ext <<_ACEOF
17335 /* end confdefs.h. */
17336 $ac_includes_default
17337 typedef fsfilcnt_t ac__type_new_;
17341 if ((ac__type_new_ *) 0)
17343 if (sizeof (ac__type_new_))
17349 rm -f conftest.$ac_objext
17350 if { (ac_try="$ac_compile"
17351 case "(($ac_try" in
17352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17353 *) ac_try_echo
=$ac_try;;
17355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17356 (eval "$ac_compile") 2>conftest.er1
17358 grep -v '^ *+' conftest.er1
>conftest.err
17360 cat conftest.err
>&5
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); } && {
17363 test -z "$ac_c_werror_flag" ||
17364 test ! -s conftest.err
17365 } && test -s conftest.
$ac_objext; then
17366 ac_cv_type_fsfilcnt_t
=yes
17368 echo "$as_me: failed program was:" >&5
17369 sed 's/^/| /' conftest.
$ac_ext >&5
17371 ac_cv_type_fsfilcnt_t
=no
17374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17376 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17377 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17378 if test $ac_cv_type_fsfilcnt_t = yes; then
17380 cat >>confdefs.h
<<_ACEOF
17381 #define HAVE_FSFILCNT_T 1
17387 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17388 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17389 if test "${ac_cv_type_sigset_t+set}" = set; then
17390 echo $ECHO_N "(cached) $ECHO_C" >&6
17392 cat >conftest.
$ac_ext <<_ACEOF
17395 cat confdefs.h
>>conftest.
$ac_ext
17396 cat >>conftest.
$ac_ext <<_ACEOF
17397 /* end confdefs.h. */
17398 #include <signal.h>
17400 typedef sigset_t ac__type_new_;
17404 if ((ac__type_new_ *) 0)
17406 if (sizeof (ac__type_new_))
17412 rm -f conftest.
$ac_objext
17413 if { (ac_try
="$ac_compile"
17414 case "(($ac_try" in
17415 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17416 *) ac_try_echo=$ac_try;;
17418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17419 (eval "$ac_compile") 2>conftest.er1
17421 grep -v '^ *+' conftest.er1 >conftest.err
17423 cat conftest.err >&5
17424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425 (exit $ac_status); } && {
17426 test -z "$ac_c_werror_flag" ||
17427 test ! -s conftest.err
17428 } && test -s conftest.$ac_objext; then
17429 ac_cv_type_sigset_t=yes
17431 echo "$as_me: failed program was:" >&5
17432 sed 's/^/| /' conftest.$ac_ext >&5
17434 ac_cv_type_sigset_t=no
17437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17439 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17440 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17441 if test $ac_cv_type_sigset_t = yes; then
17443 cat >>confdefs.h <<_ACEOF
17444 #define HAVE_SIGSET_T 1
17450 { echo "$as_me:$LINENO: checking for request_sense" >&5
17451 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17452 if test "${ac_cv_type_request_sense+set}" = set; then
17453 echo $ECHO_N "(cached) $ECHO_C" >&6
17455 cat >conftest.$ac_ext <<_ACEOF
17458 cat confdefs.h >>conftest.$ac_ext
17459 cat >>conftest.$ac_ext <<_ACEOF
17460 /* end confdefs.h. */
17461 #include <linux/cdrom.h>
17463 typedef request_sense ac__type_new_;
17467 if ((ac__type_new_ *) 0)
17469 if (sizeof (ac__type_new_))
17475 rm -f conftest.$ac_objext
17476 if { (ac_try="$ac_compile"
17477 case "(($ac_try" in
17478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17479 *) ac_try_echo
=$ac_try;;
17481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17482 (eval "$ac_compile") 2>conftest.er1
17484 grep -v '^ *+' conftest.er1
>conftest.err
17486 cat conftest.err
>&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); } && {
17489 test -z "$ac_c_werror_flag" ||
17490 test ! -s conftest.err
17491 } && test -s conftest.
$ac_objext; then
17492 ac_cv_type_request_sense
=yes
17494 echo "$as_me: failed program was:" >&5
17495 sed 's/^/| /' conftest.
$ac_ext >&5
17497 ac_cv_type_request_sense
=no
17500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17502 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17503 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17504 if test $ac_cv_type_request_sense = yes; then
17506 cat >>confdefs.h
<<_ACEOF
17507 #define HAVE_REQUEST_SENSE 1
17514 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17515 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17516 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17517 echo $ECHO_N "(cached) $ECHO_C" >&6
17519 cat >conftest.
$ac_ext <<_ACEOF
17522 cat confdefs.h
>>conftest.
$ac_ext
17523 cat >>conftest.
$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17525 #ifdef HAVE_LINUX_INPUT_H
17526 #include <linux/input.h>
17532 static struct ff_effect ac_aggr;
17533 if (ac_aggr.direction)
17539 rm -f conftest.
$ac_objext
17540 if { (ac_try
="$ac_compile"
17541 case "(($ac_try" in
17542 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17543 *) ac_try_echo=$ac_try;;
17545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17546 (eval "$ac_compile") 2>conftest.er1
17548 grep -v '^ *+' conftest.er1 >conftest.err
17550 cat conftest.err >&5
17551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17552 (exit $ac_status); } && {
17553 test -z "$ac_c_werror_flag" ||
17554 test ! -s conftest.err
17555 } && test -s conftest.$ac_objext; then
17556 ac_cv_member_struct_ff_effect_direction=yes
17558 echo "$as_me: failed program was:" >&5
17559 sed 's/^/| /' conftest.$ac_ext >&5
17561 cat >conftest.$ac_ext <<_ACEOF
17564 cat confdefs.h >>conftest.$ac_ext
17565 cat >>conftest.$ac_ext <<_ACEOF
17566 /* end confdefs.h. */
17567 #ifdef HAVE_LINUX_INPUT_H
17568 #include <linux/input.h>
17574 static struct ff_effect ac_aggr;
17575 if (sizeof ac_aggr.direction)
17581 rm -f conftest.$ac_objext
17582 if { (ac_try="$ac_compile"
17583 case "(($ac_try" in
17584 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17585 *) ac_try_echo
=$ac_try;;
17587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17588 (eval "$ac_compile") 2>conftest.er1
17590 grep -v '^ *+' conftest.er1
>conftest.err
17592 cat conftest.err
>&5
17593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17594 (exit $ac_status); } && {
17595 test -z "$ac_c_werror_flag" ||
17596 test ! -s conftest.err
17597 } && test -s conftest.
$ac_objext; then
17598 ac_cv_member_struct_ff_effect_direction
=yes
17600 echo "$as_me: failed program was:" >&5
17601 sed 's/^/| /' conftest.
$ac_ext >&5
17603 ac_cv_member_struct_ff_effect_direction
=no
17606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17611 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17612 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17613 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17615 cat >>confdefs.h
<<_ACEOF
17616 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17623 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17624 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17625 if test "${wine_cv_have_sigaddset+set}" = set; then
17626 echo $ECHO_N "(cached) $ECHO_C" >&6
17628 cat >conftest.
$ac_ext <<_ACEOF
17631 cat confdefs.h
>>conftest.
$ac_ext
17632 cat >>conftest.
$ac_ext <<_ACEOF
17633 /* end confdefs.h. */
17634 #include <signal.h>
17638 sigset_t set; sigaddset(&set,SIGTERM);
17643 rm -f conftest.
$ac_objext conftest
$ac_exeext
17644 if { (ac_try
="$ac_link"
17645 case "(($ac_try" in
17646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17647 *) ac_try_echo=$ac_try;;
17649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17650 (eval "$ac_link") 2>conftest.er1
17652 grep -v '^ *+' conftest.er1 >conftest.err
17654 cat conftest.err >&5
17655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17656 (exit $ac_status); } && {
17657 test -z "$ac_c_werror_flag" ||
17658 test ! -s conftest.err
17659 } && test -s conftest$ac_exeext &&
17660 $as_test_x conftest$ac_exeext; then
17661 wine_cv_have_sigaddset=yes
17663 echo "$as_me: failed program was:" >&5
17664 sed 's/^/| /' conftest.$ac_ext >&5
17666 wine_cv_have_sigaddset=no
17669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17670 conftest$ac_exeext conftest.$ac_ext
17672 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17673 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17674 if test "$wine_cv_have_sigaddset" = "yes"
17677 cat >>confdefs.h <<\_ACEOF
17678 #define HAVE_SIGADDSET 1
17684 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17685 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17686 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17687 echo $ECHO_N "(cached) $ECHO_C" >&6
17689 cat >conftest.$ac_ext <<_ACEOF
17692 cat confdefs.h >>conftest.$ac_ext
17693 cat >>conftest.$ac_ext <<_ACEOF
17694 /* end confdefs.h. */
17702 struct hostent *result;
17709 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17710 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17716 rm -f conftest.$ac_objext conftest$ac_exeext
17717 if { (ac_try="$ac_link"
17718 case "(($ac_try" in
17719 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17720 *) ac_try_echo
=$ac_try;;
17722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17723 (eval "$ac_link") 2>conftest.er1
17725 grep -v '^ *+' conftest.er1
>conftest.err
17727 cat conftest.err
>&5
17728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17729 (exit $ac_status); } && {
17730 test -z "$ac_c_werror_flag" ||
17731 test ! -s conftest.err
17732 } && test -s conftest
$ac_exeext &&
17733 $as_test_x conftest
$ac_exeext; then
17734 wine_cv_linux_gethostbyname_r_6
=yes
17736 echo "$as_me: failed program was:" >&5
17737 sed 's/^/| /' conftest.
$ac_ext >&5
17739 wine_cv_linux_gethostbyname_r_6
=no
17743 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17744 conftest
$ac_exeext conftest.
$ac_ext
17747 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17748 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17749 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17752 cat >>confdefs.h
<<\_ACEOF
17753 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17758 if test "$ac_cv_header_linux_joystick_h" = "yes"
17760 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17761 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17762 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17763 echo $ECHO_N "(cached) $ECHO_C" >&6
17765 cat >conftest.
$ac_ext <<_ACEOF
17768 cat confdefs.h
>>conftest.
$ac_ext
17769 cat >>conftest.
$ac_ext <<_ACEOF
17770 /* end confdefs.h. */
17772 #include <sys/ioctl.h>
17773 #include <sys/types.h>
17774 #include <linux/joystick.h>
17776 struct js_event blub;
17777 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17778 #error "no 2.2 header"
17789 rm -f conftest.
$ac_objext
17790 if { (ac_try
="$ac_compile"
17791 case "(($ac_try" in
17792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17793 *) ac_try_echo=$ac_try;;
17795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17796 (eval "$ac_compile") 2>conftest.er1
17798 grep -v '^ *+' conftest.er1 >conftest.err
17800 cat conftest.err >&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); } && {
17803 test -z "$ac_c_werror_flag" ||
17804 test ! -s conftest.err
17805 } && test -s conftest.$ac_objext; then
17806 wine_cv_linux_joystick_22_api=yes
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.$ac_ext >&5
17811 wine_cv_linux_joystick_22_api=no
17814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17817 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17818 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17819 if test "$wine_cv_linux_joystick_22_api" = "yes"
17822 cat >>confdefs.h <<\_ACEOF
17823 #define HAVE_LINUX_22_JOYSTICK_API 1
17830 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17831 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17832 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17833 echo $ECHO_N "(cached) $ECHO_C" >&6
17835 cat >conftest.$ac_ext <<_ACEOF
17838 cat confdefs.h >>conftest.$ac_ext
17839 cat >>conftest.$ac_ext <<_ACEOF
17840 /* end confdefs.h. */
17841 #include <sys/types.h>
17842 #ifdef HAVE_SYS_PARAM_H
17843 # include <sys/param.h>
17845 #ifdef HAVE_SYS_MOUNT_H
17846 # include <sys/mount.h>
17848 #ifdef HAVE_SYS_VFS_H
17849 # include <sys/vfs.h>
17851 #ifdef HAVE_SYS_STATFS_H
17852 # include <sys/statfs.h>
17858 static struct statfs ac_aggr;
17859 if (ac_aggr.f_bfree)
17865 rm -f conftest.$ac_objext
17866 if { (ac_try="$ac_compile"
17867 case "(($ac_try" in
17868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17869 *) ac_try_echo
=$ac_try;;
17871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17872 (eval "$ac_compile") 2>conftest.er1
17874 grep -v '^ *+' conftest.er1
>conftest.err
17876 cat conftest.err
>&5
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); } && {
17879 test -z "$ac_c_werror_flag" ||
17880 test ! -s conftest.err
17881 } && test -s conftest.
$ac_objext; then
17882 ac_cv_member_struct_statfs_f_bfree
=yes
17884 echo "$as_me: failed program was:" >&5
17885 sed 's/^/| /' conftest.
$ac_ext >&5
17887 cat >conftest.
$ac_ext <<_ACEOF
17890 cat confdefs.h
>>conftest.
$ac_ext
17891 cat >>conftest.
$ac_ext <<_ACEOF
17892 /* end confdefs.h. */
17893 #include <sys/types.h>
17894 #ifdef HAVE_SYS_PARAM_H
17895 # include <sys/param.h>
17897 #ifdef HAVE_SYS_MOUNT_H
17898 # include <sys/mount.h>
17900 #ifdef HAVE_SYS_VFS_H
17901 # include <sys/vfs.h>
17903 #ifdef HAVE_SYS_STATFS_H
17904 # include <sys/statfs.h>
17910 static struct statfs ac_aggr;
17911 if (sizeof ac_aggr.f_bfree)
17917 rm -f conftest.
$ac_objext
17918 if { (ac_try
="$ac_compile"
17919 case "(($ac_try" in
17920 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17921 *) ac_try_echo=$ac_try;;
17923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17924 (eval "$ac_compile") 2>conftest.er1
17926 grep -v '^ *+' conftest.er1 >conftest.err
17928 cat conftest.err >&5
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); } && {
17931 test -z "$ac_c_werror_flag" ||
17932 test ! -s conftest.err
17933 } && test -s conftest.$ac_objext; then
17934 ac_cv_member_struct_statfs_f_bfree=yes
17936 echo "$as_me: failed program was:" >&5
17937 sed 's/^/| /' conftest.$ac_ext >&5
17939 ac_cv_member_struct_statfs_f_bfree=no
17942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17947 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17948 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17949 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17951 cat >>confdefs.h <<_ACEOF
17952 #define HAVE_STRUCT_STATFS_F_BFREE 1
17957 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17958 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17959 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17960 echo $ECHO_N "(cached) $ECHO_C" >&6
17962 cat >conftest.$ac_ext <<_ACEOF
17965 cat confdefs.h >>conftest.$ac_ext
17966 cat >>conftest.$ac_ext <<_ACEOF
17967 /* end confdefs.h. */
17968 #include <sys/types.h>
17969 #ifdef HAVE_SYS_PARAM_H
17970 # include <sys/param.h>
17972 #ifdef HAVE_SYS_MOUNT_H
17973 # include <sys/mount.h>
17975 #ifdef HAVE_SYS_VFS_H
17976 # include <sys/vfs.h>
17978 #ifdef HAVE_SYS_STATFS_H
17979 # include <sys/statfs.h>
17985 static struct statfs ac_aggr;
17986 if (ac_aggr.f_bavail)
17992 rm -f conftest.$ac_objext
17993 if { (ac_try="$ac_compile"
17994 case "(($ac_try" in
17995 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17996 *) ac_try_echo
=$ac_try;;
17998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17999 (eval "$ac_compile") 2>conftest.er1
18001 grep -v '^ *+' conftest.er1
>conftest.err
18003 cat conftest.err
>&5
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); } && {
18006 test -z "$ac_c_werror_flag" ||
18007 test ! -s conftest.err
18008 } && test -s conftest.
$ac_objext; then
18009 ac_cv_member_struct_statfs_f_bavail
=yes
18011 echo "$as_me: failed program was:" >&5
18012 sed 's/^/| /' conftest.
$ac_ext >&5
18014 cat >conftest.
$ac_ext <<_ACEOF
18017 cat confdefs.h
>>conftest.
$ac_ext
18018 cat >>conftest.
$ac_ext <<_ACEOF
18019 /* end confdefs.h. */
18020 #include <sys/types.h>
18021 #ifdef HAVE_SYS_PARAM_H
18022 # include <sys/param.h>
18024 #ifdef HAVE_SYS_MOUNT_H
18025 # include <sys/mount.h>
18027 #ifdef HAVE_SYS_VFS_H
18028 # include <sys/vfs.h>
18030 #ifdef HAVE_SYS_STATFS_H
18031 # include <sys/statfs.h>
18037 static struct statfs ac_aggr;
18038 if (sizeof ac_aggr.f_bavail)
18044 rm -f conftest.
$ac_objext
18045 if { (ac_try
="$ac_compile"
18046 case "(($ac_try" in
18047 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18048 *) ac_try_echo=$ac_try;;
18050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18051 (eval "$ac_compile") 2>conftest.er1
18053 grep -v '^ *+' conftest.er1 >conftest.err
18055 cat conftest.err >&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); } && {
18058 test -z "$ac_c_werror_flag" ||
18059 test ! -s conftest.err
18060 } && test -s conftest.$ac_objext; then
18061 ac_cv_member_struct_statfs_f_bavail=yes
18063 echo "$as_me: failed program was:" >&5
18064 sed 's/^/| /' conftest.$ac_ext >&5
18066 ac_cv_member_struct_statfs_f_bavail=no
18069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18074 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18075 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18076 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18078 cat >>confdefs.h <<_ACEOF
18079 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18084 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18085 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18086 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18087 echo $ECHO_N "(cached) $ECHO_C" >&6
18089 cat >conftest.$ac_ext <<_ACEOF
18092 cat confdefs.h >>conftest.$ac_ext
18093 cat >>conftest.$ac_ext <<_ACEOF
18094 /* end confdefs.h. */
18095 #include <sys/types.h>
18096 #ifdef HAVE_SYS_PARAM_H
18097 # include <sys/param.h>
18099 #ifdef HAVE_SYS_MOUNT_H
18100 # include <sys/mount.h>
18102 #ifdef HAVE_SYS_VFS_H
18103 # include <sys/vfs.h>
18105 #ifdef HAVE_SYS_STATFS_H
18106 # include <sys/statfs.h>
18112 static struct statfs ac_aggr;
18113 if (ac_aggr.f_frsize)
18119 rm -f conftest.$ac_objext
18120 if { (ac_try="$ac_compile"
18121 case "(($ac_try" in
18122 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18123 *) ac_try_echo
=$ac_try;;
18125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18126 (eval "$ac_compile") 2>conftest.er1
18128 grep -v '^ *+' conftest.er1
>conftest.err
18130 cat conftest.err
>&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); } && {
18133 test -z "$ac_c_werror_flag" ||
18134 test ! -s conftest.err
18135 } && test -s conftest.
$ac_objext; then
18136 ac_cv_member_struct_statfs_f_frsize
=yes
18138 echo "$as_me: failed program was:" >&5
18139 sed 's/^/| /' conftest.
$ac_ext >&5
18141 cat >conftest.
$ac_ext <<_ACEOF
18144 cat confdefs.h
>>conftest.
$ac_ext
18145 cat >>conftest.
$ac_ext <<_ACEOF
18146 /* end confdefs.h. */
18147 #include <sys/types.h>
18148 #ifdef HAVE_SYS_PARAM_H
18149 # include <sys/param.h>
18151 #ifdef HAVE_SYS_MOUNT_H
18152 # include <sys/mount.h>
18154 #ifdef HAVE_SYS_VFS_H
18155 # include <sys/vfs.h>
18157 #ifdef HAVE_SYS_STATFS_H
18158 # include <sys/statfs.h>
18164 static struct statfs ac_aggr;
18165 if (sizeof ac_aggr.f_frsize)
18171 rm -f conftest.
$ac_objext
18172 if { (ac_try
="$ac_compile"
18173 case "(($ac_try" in
18174 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18175 *) ac_try_echo=$ac_try;;
18177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18178 (eval "$ac_compile") 2>conftest.er1
18180 grep -v '^ *+' conftest.er1 >conftest.err
18182 cat conftest.err >&5
18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); } && {
18185 test -z "$ac_c_werror_flag" ||
18186 test ! -s conftest.err
18187 } && test -s conftest.$ac_objext; then
18188 ac_cv_member_struct_statfs_f_frsize=yes
18190 echo "$as_me: failed program was:" >&5
18191 sed 's/^/| /' conftest.$ac_ext >&5
18193 ac_cv_member_struct_statfs_f_frsize=no
18196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18201 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18202 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18203 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18205 cat >>confdefs.h <<_ACEOF
18206 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18211 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18212 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18213 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18214 echo $ECHO_N "(cached) $ECHO_C" >&6
18216 cat >conftest.$ac_ext <<_ACEOF
18219 cat confdefs.h >>conftest.$ac_ext
18220 cat >>conftest.$ac_ext <<_ACEOF
18221 /* end confdefs.h. */
18222 #include <sys/types.h>
18223 #ifdef HAVE_SYS_PARAM_H
18224 # include <sys/param.h>
18226 #ifdef HAVE_SYS_MOUNT_H
18227 # include <sys/mount.h>
18229 #ifdef HAVE_SYS_VFS_H
18230 # include <sys/vfs.h>
18232 #ifdef HAVE_SYS_STATFS_H
18233 # include <sys/statfs.h>
18239 static struct statfs ac_aggr;
18240 if (ac_aggr.f_ffree)
18246 rm -f conftest.$ac_objext
18247 if { (ac_try="$ac_compile"
18248 case "(($ac_try" in
18249 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18250 *) ac_try_echo
=$ac_try;;
18252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18253 (eval "$ac_compile") 2>conftest.er1
18255 grep -v '^ *+' conftest.er1
>conftest.err
18257 cat conftest.err
>&5
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); } && {
18260 test -z "$ac_c_werror_flag" ||
18261 test ! -s conftest.err
18262 } && test -s conftest.
$ac_objext; then
18263 ac_cv_member_struct_statfs_f_ffree
=yes
18265 echo "$as_me: failed program was:" >&5
18266 sed 's/^/| /' conftest.
$ac_ext >&5
18268 cat >conftest.
$ac_ext <<_ACEOF
18271 cat confdefs.h
>>conftest.
$ac_ext
18272 cat >>conftest.
$ac_ext <<_ACEOF
18273 /* end confdefs.h. */
18274 #include <sys/types.h>
18275 #ifdef HAVE_SYS_PARAM_H
18276 # include <sys/param.h>
18278 #ifdef HAVE_SYS_MOUNT_H
18279 # include <sys/mount.h>
18281 #ifdef HAVE_SYS_VFS_H
18282 # include <sys/vfs.h>
18284 #ifdef HAVE_SYS_STATFS_H
18285 # include <sys/statfs.h>
18291 static struct statfs ac_aggr;
18292 if (sizeof ac_aggr.f_ffree)
18298 rm -f conftest.
$ac_objext
18299 if { (ac_try
="$ac_compile"
18300 case "(($ac_try" in
18301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18302 *) ac_try_echo=$ac_try;;
18304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18305 (eval "$ac_compile") 2>conftest.er1
18307 grep -v '^ *+' conftest.er1 >conftest.err
18309 cat conftest.err >&5
18310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311 (exit $ac_status); } && {
18312 test -z "$ac_c_werror_flag" ||
18313 test ! -s conftest.err
18314 } && test -s conftest.$ac_objext; then
18315 ac_cv_member_struct_statfs_f_ffree=yes
18317 echo "$as_me: failed program was:" >&5
18318 sed 's/^/| /' conftest.$ac_ext >&5
18320 ac_cv_member_struct_statfs_f_ffree=no
18323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18328 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18329 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18330 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18332 cat >>confdefs.h <<_ACEOF
18333 #define HAVE_STRUCT_STATFS_F_FFREE 1
18338 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18339 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18340 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18341 echo $ECHO_N "(cached) $ECHO_C" >&6
18343 cat >conftest.$ac_ext <<_ACEOF
18346 cat confdefs.h >>conftest.$ac_ext
18347 cat >>conftest.$ac_ext <<_ACEOF
18348 /* end confdefs.h. */
18349 #include <sys/types.h>
18350 #ifdef HAVE_SYS_PARAM_H
18351 # include <sys/param.h>
18353 #ifdef HAVE_SYS_MOUNT_H
18354 # include <sys/mount.h>
18356 #ifdef HAVE_SYS_VFS_H
18357 # include <sys/vfs.h>
18359 #ifdef HAVE_SYS_STATFS_H
18360 # include <sys/statfs.h>
18366 static struct statfs ac_aggr;
18367 if (ac_aggr.f_favail)
18373 rm -f conftest.$ac_objext
18374 if { (ac_try="$ac_compile"
18375 case "(($ac_try" in
18376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18377 *) ac_try_echo
=$ac_try;;
18379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18380 (eval "$ac_compile") 2>conftest.er1
18382 grep -v '^ *+' conftest.er1
>conftest.err
18384 cat conftest.err
>&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); } && {
18387 test -z "$ac_c_werror_flag" ||
18388 test ! -s conftest.err
18389 } && test -s conftest.
$ac_objext; then
18390 ac_cv_member_struct_statfs_f_favail
=yes
18392 echo "$as_me: failed program was:" >&5
18393 sed 's/^/| /' conftest.
$ac_ext >&5
18395 cat >conftest.
$ac_ext <<_ACEOF
18398 cat confdefs.h
>>conftest.
$ac_ext
18399 cat >>conftest.
$ac_ext <<_ACEOF
18400 /* end confdefs.h. */
18401 #include <sys/types.h>
18402 #ifdef HAVE_SYS_PARAM_H
18403 # include <sys/param.h>
18405 #ifdef HAVE_SYS_MOUNT_H
18406 # include <sys/mount.h>
18408 #ifdef HAVE_SYS_VFS_H
18409 # include <sys/vfs.h>
18411 #ifdef HAVE_SYS_STATFS_H
18412 # include <sys/statfs.h>
18418 static struct statfs ac_aggr;
18419 if (sizeof ac_aggr.f_favail)
18425 rm -f conftest.
$ac_objext
18426 if { (ac_try
="$ac_compile"
18427 case "(($ac_try" in
18428 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18429 *) ac_try_echo=$ac_try;;
18431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18432 (eval "$ac_compile") 2>conftest.er1
18434 grep -v '^ *+' conftest.er1 >conftest.err
18436 cat conftest.err >&5
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); } && {
18439 test -z "$ac_c_werror_flag" ||
18440 test ! -s conftest.err
18441 } && test -s conftest.$ac_objext; then
18442 ac_cv_member_struct_statfs_f_favail=yes
18444 echo "$as_me: failed program was:" >&5
18445 sed 's/^/| /' conftest.$ac_ext >&5
18447 ac_cv_member_struct_statfs_f_favail=no
18450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18455 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18456 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18457 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18459 cat >>confdefs.h <<_ACEOF
18460 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18465 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18466 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18467 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18468 echo $ECHO_N "(cached) $ECHO_C" >&6
18470 cat >conftest.$ac_ext <<_ACEOF
18473 cat confdefs.h >>conftest.$ac_ext
18474 cat >>conftest.$ac_ext <<_ACEOF
18475 /* end confdefs.h. */
18476 #include <sys/types.h>
18477 #ifdef HAVE_SYS_PARAM_H
18478 # include <sys/param.h>
18480 #ifdef HAVE_SYS_MOUNT_H
18481 # include <sys/mount.h>
18483 #ifdef HAVE_SYS_VFS_H
18484 # include <sys/vfs.h>
18486 #ifdef HAVE_SYS_STATFS_H
18487 # include <sys/statfs.h>
18493 static struct statfs ac_aggr;
18494 if (ac_aggr.f_namelen)
18500 rm -f conftest.$ac_objext
18501 if { (ac_try="$ac_compile"
18502 case "(($ac_try" in
18503 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18504 *) ac_try_echo
=$ac_try;;
18506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18507 (eval "$ac_compile") 2>conftest.er1
18509 grep -v '^ *+' conftest.er1
>conftest.err
18511 cat conftest.err
>&5
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); } && {
18514 test -z "$ac_c_werror_flag" ||
18515 test ! -s conftest.err
18516 } && test -s conftest.
$ac_objext; then
18517 ac_cv_member_struct_statfs_f_namelen
=yes
18519 echo "$as_me: failed program was:" >&5
18520 sed 's/^/| /' conftest.
$ac_ext >&5
18522 cat >conftest.
$ac_ext <<_ACEOF
18525 cat confdefs.h
>>conftest.
$ac_ext
18526 cat >>conftest.
$ac_ext <<_ACEOF
18527 /* end confdefs.h. */
18528 #include <sys/types.h>
18529 #ifdef HAVE_SYS_PARAM_H
18530 # include <sys/param.h>
18532 #ifdef HAVE_SYS_MOUNT_H
18533 # include <sys/mount.h>
18535 #ifdef HAVE_SYS_VFS_H
18536 # include <sys/vfs.h>
18538 #ifdef HAVE_SYS_STATFS_H
18539 # include <sys/statfs.h>
18545 static struct statfs ac_aggr;
18546 if (sizeof ac_aggr.f_namelen)
18552 rm -f conftest.
$ac_objext
18553 if { (ac_try
="$ac_compile"
18554 case "(($ac_try" in
18555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18556 *) ac_try_echo=$ac_try;;
18558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18559 (eval "$ac_compile") 2>conftest.er1
18561 grep -v '^ *+' conftest.er1 >conftest.err
18563 cat conftest.err >&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); } && {
18566 test -z "$ac_c_werror_flag" ||
18567 test ! -s conftest.err
18568 } && test -s conftest.$ac_objext; then
18569 ac_cv_member_struct_statfs_f_namelen=yes
18571 echo "$as_me: failed program was:" >&5
18572 sed 's/^/| /' conftest.$ac_ext >&5
18574 ac_cv_member_struct_statfs_f_namelen=no
18577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18582 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18583 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18584 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18586 cat >>confdefs.h <<_ACEOF
18587 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18594 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18595 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18596 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18597 echo $ECHO_N "(cached) $ECHO_C" >&6
18599 cat >conftest.$ac_ext <<_ACEOF
18602 cat confdefs.h >>conftest.$ac_ext
18603 cat >>conftest.$ac_ext <<_ACEOF
18604 /* end confdefs.h. */
18605 #ifdef HAVE_SYS_STATVFS_H
18606 #include <sys/statvfs.h>
18612 static struct statvfs ac_aggr;
18613 if (ac_aggr.f_blocks)
18619 rm -f conftest.$ac_objext
18620 if { (ac_try="$ac_compile"
18621 case "(($ac_try" in
18622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18623 *) ac_try_echo
=$ac_try;;
18625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18626 (eval "$ac_compile") 2>conftest.er1
18628 grep -v '^ *+' conftest.er1
>conftest.err
18630 cat conftest.err
>&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); } && {
18633 test -z "$ac_c_werror_flag" ||
18634 test ! -s conftest.err
18635 } && test -s conftest.
$ac_objext; then
18636 ac_cv_member_struct_statvfs_f_blocks
=yes
18638 echo "$as_me: failed program was:" >&5
18639 sed 's/^/| /' conftest.
$ac_ext >&5
18641 cat >conftest.
$ac_ext <<_ACEOF
18644 cat confdefs.h
>>conftest.
$ac_ext
18645 cat >>conftest.
$ac_ext <<_ACEOF
18646 /* end confdefs.h. */
18647 #ifdef HAVE_SYS_STATVFS_H
18648 #include <sys/statvfs.h>
18654 static struct statvfs ac_aggr;
18655 if (sizeof ac_aggr.f_blocks)
18661 rm -f conftest.
$ac_objext
18662 if { (ac_try
="$ac_compile"
18663 case "(($ac_try" in
18664 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18665 *) ac_try_echo=$ac_try;;
18667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18668 (eval "$ac_compile") 2>conftest.er1
18670 grep -v '^ *+' conftest.er1 >conftest.err
18672 cat conftest.err >&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); } && {
18675 test -z "$ac_c_werror_flag" ||
18676 test ! -s conftest.err
18677 } && test -s conftest.$ac_objext; then
18678 ac_cv_member_struct_statvfs_f_blocks=yes
18680 echo "$as_me: failed program was:" >&5
18681 sed 's/^/| /' conftest.$ac_ext >&5
18683 ac_cv_member_struct_statvfs_f_blocks=no
18686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18691 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18692 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18693 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18695 cat >>confdefs.h <<_ACEOF
18696 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18703 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18704 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18705 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18706 echo $ECHO_N "(cached) $ECHO_C" >&6
18708 cat >conftest.$ac_ext <<_ACEOF
18711 cat confdefs.h >>conftest.$ac_ext
18712 cat >>conftest.$ac_ext <<_ACEOF
18713 /* end confdefs.h. */
18714 #include <sys/types.h>
18715 #ifdef HAVE_SYS_SOCKET_H
18716 # include <sys/socket.h>
18718 #ifdef HAVE_SYS_UN_H
18719 # include <sys/un.h>
18725 static struct msghdr ac_aggr;
18726 if (ac_aggr.msg_accrights)
18732 rm -f conftest.$ac_objext
18733 if { (ac_try="$ac_compile"
18734 case "(($ac_try" in
18735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18736 *) ac_try_echo
=$ac_try;;
18738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18739 (eval "$ac_compile") 2>conftest.er1
18741 grep -v '^ *+' conftest.er1
>conftest.err
18743 cat conftest.err
>&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); } && {
18746 test -z "$ac_c_werror_flag" ||
18747 test ! -s conftest.err
18748 } && test -s conftest.
$ac_objext; then
18749 ac_cv_member_struct_msghdr_msg_accrights
=yes
18751 echo "$as_me: failed program was:" >&5
18752 sed 's/^/| /' conftest.
$ac_ext >&5
18754 cat >conftest.
$ac_ext <<_ACEOF
18757 cat confdefs.h
>>conftest.
$ac_ext
18758 cat >>conftest.
$ac_ext <<_ACEOF
18759 /* end confdefs.h. */
18760 #include <sys/types.h>
18761 #ifdef HAVE_SYS_SOCKET_H
18762 # include <sys/socket.h>
18764 #ifdef HAVE_SYS_UN_H
18765 # include <sys/un.h>
18771 static struct msghdr ac_aggr;
18772 if (sizeof ac_aggr.msg_accrights)
18778 rm -f conftest.
$ac_objext
18779 if { (ac_try
="$ac_compile"
18780 case "(($ac_try" in
18781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18782 *) ac_try_echo=$ac_try;;
18784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18785 (eval "$ac_compile") 2>conftest.er1
18787 grep -v '^ *+' conftest.er1 >conftest.err
18789 cat conftest.err >&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); } && {
18792 test -z "$ac_c_werror_flag" ||
18793 test ! -s conftest.err
18794 } && test -s conftest.$ac_objext; then
18795 ac_cv_member_struct_msghdr_msg_accrights=yes
18797 echo "$as_me: failed program was:" >&5
18798 sed 's/^/| /' conftest.$ac_ext >&5
18800 ac_cv_member_struct_msghdr_msg_accrights=no
18803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18808 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18809 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18810 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18812 cat >>confdefs.h <<_ACEOF
18813 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18818 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18819 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18820 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18821 echo $ECHO_N "(cached) $ECHO_C" >&6
18823 cat >conftest.$ac_ext <<_ACEOF
18826 cat confdefs.h >>conftest.$ac_ext
18827 cat >>conftest.$ac_ext <<_ACEOF
18828 /* end confdefs.h. */
18829 #include <sys/types.h>
18830 #ifdef HAVE_SYS_SOCKET_H
18831 # include <sys/socket.h>
18833 #ifdef HAVE_SYS_UN_H
18834 # include <sys/un.h>
18840 static struct sockaddr ac_aggr;
18841 if (ac_aggr.sa_len)
18847 rm -f conftest.$ac_objext
18848 if { (ac_try="$ac_compile"
18849 case "(($ac_try" in
18850 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18851 *) ac_try_echo
=$ac_try;;
18853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18854 (eval "$ac_compile") 2>conftest.er1
18856 grep -v '^ *+' conftest.er1
>conftest.err
18858 cat conftest.err
>&5
18859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18860 (exit $ac_status); } && {
18861 test -z "$ac_c_werror_flag" ||
18862 test ! -s conftest.err
18863 } && test -s conftest.
$ac_objext; then
18864 ac_cv_member_struct_sockaddr_sa_len
=yes
18866 echo "$as_me: failed program was:" >&5
18867 sed 's/^/| /' conftest.
$ac_ext >&5
18869 cat >conftest.
$ac_ext <<_ACEOF
18872 cat confdefs.h
>>conftest.
$ac_ext
18873 cat >>conftest.
$ac_ext <<_ACEOF
18874 /* end confdefs.h. */
18875 #include <sys/types.h>
18876 #ifdef HAVE_SYS_SOCKET_H
18877 # include <sys/socket.h>
18879 #ifdef HAVE_SYS_UN_H
18880 # include <sys/un.h>
18886 static struct sockaddr ac_aggr;
18887 if (sizeof ac_aggr.sa_len)
18893 rm -f conftest.
$ac_objext
18894 if { (ac_try
="$ac_compile"
18895 case "(($ac_try" in
18896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18897 *) ac_try_echo=$ac_try;;
18899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18900 (eval "$ac_compile") 2>conftest.er1
18902 grep -v '^ *+' conftest.er1 >conftest.err
18904 cat conftest.err >&5
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); } && {
18907 test -z "$ac_c_werror_flag" ||
18908 test ! -s conftest.err
18909 } && test -s conftest.$ac_objext; then
18910 ac_cv_member_struct_sockaddr_sa_len=yes
18912 echo "$as_me: failed program was:" >&5
18913 sed 's/^/| /' conftest.$ac_ext >&5
18915 ac_cv_member_struct_sockaddr_sa_len=no
18918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18923 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18924 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18925 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18927 cat >>confdefs.h <<_ACEOF
18928 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18933 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18934 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18935 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18936 echo $ECHO_N "(cached) $ECHO_C" >&6
18938 cat >conftest.$ac_ext <<_ACEOF
18941 cat confdefs.h >>conftest.$ac_ext
18942 cat >>conftest.$ac_ext <<_ACEOF
18943 /* end confdefs.h. */
18944 #include <sys/types.h>
18945 #ifdef HAVE_SYS_SOCKET_H
18946 # include <sys/socket.h>
18948 #ifdef HAVE_SYS_UN_H
18949 # include <sys/un.h>
18955 static struct sockaddr_un ac_aggr;
18956 if (ac_aggr.sun_len)
18962 rm -f conftest.$ac_objext
18963 if { (ac_try="$ac_compile"
18964 case "(($ac_try" in
18965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18966 *) ac_try_echo
=$ac_try;;
18968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18969 (eval "$ac_compile") 2>conftest.er1
18971 grep -v '^ *+' conftest.er1
>conftest.err
18973 cat conftest.err
>&5
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); } && {
18976 test -z "$ac_c_werror_flag" ||
18977 test ! -s conftest.err
18978 } && test -s conftest.
$ac_objext; then
18979 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18981 echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.
$ac_ext >&5
18984 cat >conftest.
$ac_ext <<_ACEOF
18987 cat confdefs.h
>>conftest.
$ac_ext
18988 cat >>conftest.
$ac_ext <<_ACEOF
18989 /* end confdefs.h. */
18990 #include <sys/types.h>
18991 #ifdef HAVE_SYS_SOCKET_H
18992 # include <sys/socket.h>
18994 #ifdef HAVE_SYS_UN_H
18995 # include <sys/un.h>
19001 static struct sockaddr_un ac_aggr;
19002 if (sizeof ac_aggr.sun_len)
19008 rm -f conftest.
$ac_objext
19009 if { (ac_try
="$ac_compile"
19010 case "(($ac_try" in
19011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19012 *) ac_try_echo=$ac_try;;
19014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19015 (eval "$ac_compile") 2>conftest.er1
19017 grep -v '^ *+' conftest.er1 >conftest.err
19019 cat conftest.err >&5
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); } && {
19022 test -z "$ac_c_werror_flag" ||
19023 test ! -s conftest.err
19024 } && test -s conftest.$ac_objext; then
19025 ac_cv_member_struct_sockaddr_un_sun_len=yes
19027 echo "$as_me: failed program was:" >&5
19028 sed 's/^/| /' conftest.$ac_ext >&5
19030 ac_cv_member_struct_sockaddr_un_sun_len=no
19033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19038 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19039 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19040 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19042 cat >>confdefs.h <<_ACEOF
19043 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19050 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19051 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19052 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19053 echo $ECHO_N "(cached) $ECHO_C" >&6
19055 cat >conftest.$ac_ext <<_ACEOF
19058 cat confdefs.h >>conftest.$ac_ext
19059 cat >>conftest.$ac_ext <<_ACEOF
19060 /* end confdefs.h. */
19061 #include <sys/types.h>
19062 #ifdef HAVE_SCSI_SG_H
19063 #include <scsi/sg.h>
19069 static scsireq_t ac_aggr;
19076 rm -f conftest.$ac_objext
19077 if { (ac_try="$ac_compile"
19078 case "(($ac_try" in
19079 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19080 *) ac_try_echo
=$ac_try;;
19082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19083 (eval "$ac_compile") 2>conftest.er1
19085 grep -v '^ *+' conftest.er1
>conftest.err
19087 cat conftest.err
>&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); } && {
19090 test -z "$ac_c_werror_flag" ||
19091 test ! -s conftest.err
19092 } && test -s conftest.
$ac_objext; then
19093 ac_cv_member_scsireq_t_cmd
=yes
19095 echo "$as_me: failed program was:" >&5
19096 sed 's/^/| /' conftest.
$ac_ext >&5
19098 cat >conftest.
$ac_ext <<_ACEOF
19101 cat confdefs.h
>>conftest.
$ac_ext
19102 cat >>conftest.
$ac_ext <<_ACEOF
19103 /* end confdefs.h. */
19104 #include <sys/types.h>
19105 #ifdef HAVE_SCSI_SG_H
19106 #include <scsi/sg.h>
19112 static scsireq_t ac_aggr;
19113 if (sizeof ac_aggr.cmd)
19119 rm -f conftest.
$ac_objext
19120 if { (ac_try
="$ac_compile"
19121 case "(($ac_try" in
19122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19123 *) ac_try_echo=$ac_try;;
19125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19126 (eval "$ac_compile") 2>conftest.er1
19128 grep -v '^ *+' conftest.er1 >conftest.err
19130 cat conftest.err >&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); } && {
19133 test -z "$ac_c_werror_flag" ||
19134 test ! -s conftest.err
19135 } && test -s conftest.$ac_objext; then
19136 ac_cv_member_scsireq_t_cmd=yes
19138 echo "$as_me: failed program was:" >&5
19139 sed 's/^/| /' conftest.$ac_ext >&5
19141 ac_cv_member_scsireq_t_cmd=no
19144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19149 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19150 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19151 if test $ac_cv_member_scsireq_t_cmd = yes; then
19153 cat >>confdefs.h <<_ACEOF
19154 #define HAVE_SCSIREQ_T_CMD 1
19159 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19160 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19161 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19162 echo $ECHO_N "(cached) $ECHO_C" >&6
19164 cat >conftest.$ac_ext <<_ACEOF
19167 cat confdefs.h >>conftest.$ac_ext
19168 cat >>conftest.$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19170 #include <sys/types.h>
19171 #ifdef HAVE_SCSI_SG_H
19172 #include <scsi/sg.h>
19178 static sg_io_hdr_t ac_aggr;
19179 if (ac_aggr.interface_id)
19185 rm -f conftest.$ac_objext
19186 if { (ac_try="$ac_compile"
19187 case "(($ac_try" in
19188 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19189 *) ac_try_echo
=$ac_try;;
19191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19192 (eval "$ac_compile") 2>conftest.er1
19194 grep -v '^ *+' conftest.er1
>conftest.err
19196 cat conftest.err
>&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } && {
19199 test -z "$ac_c_werror_flag" ||
19200 test ! -s conftest.err
19201 } && test -s conftest.
$ac_objext; then
19202 ac_cv_member_sg_io_hdr_t_interface_id
=yes
19204 echo "$as_me: failed program was:" >&5
19205 sed 's/^/| /' conftest.
$ac_ext >&5
19207 cat >conftest.
$ac_ext <<_ACEOF
19210 cat confdefs.h
>>conftest.
$ac_ext
19211 cat >>conftest.
$ac_ext <<_ACEOF
19212 /* end confdefs.h. */
19213 #include <sys/types.h>
19214 #ifdef HAVE_SCSI_SG_H
19215 #include <scsi/sg.h>
19221 static sg_io_hdr_t ac_aggr;
19222 if (sizeof ac_aggr.interface_id)
19228 rm -f conftest.
$ac_objext
19229 if { (ac_try
="$ac_compile"
19230 case "(($ac_try" in
19231 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19232 *) ac_try_echo=$ac_try;;
19234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19235 (eval "$ac_compile") 2>conftest.er1
19237 grep -v '^ *+' conftest.er1 >conftest.err
19239 cat conftest.err >&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); } && {
19242 test -z "$ac_c_werror_flag" ||
19243 test ! -s conftest.err
19244 } && test -s conftest.$ac_objext; then
19245 ac_cv_member_sg_io_hdr_t_interface_id=yes
19247 echo "$as_me: failed program was:" >&5
19248 sed 's/^/| /' conftest.$ac_ext >&5
19250 ac_cv_member_sg_io_hdr_t_interface_id=no
19253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19258 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19259 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19260 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19262 cat >>confdefs.h <<_ACEOF
19263 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19270 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19271 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19272 if test "${ac_cv_member_siginfo_t_si_fd+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 <signal.h>
19286 static siginfo_t ac_aggr;
19293 rm -f conftest.$ac_objext
19294 if { (ac_try="$ac_compile"
19295 case "(($ac_try" in
19296 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19297 *) ac_try_echo
=$ac_try;;
19299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19300 (eval "$ac_compile") 2>conftest.er1
19302 grep -v '^ *+' conftest.er1
>conftest.err
19304 cat conftest.err
>&5
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); } && {
19307 test -z "$ac_c_werror_flag" ||
19308 test ! -s conftest.err
19309 } && test -s conftest.
$ac_objext; then
19310 ac_cv_member_siginfo_t_si_fd
=yes
19312 echo "$as_me: failed program was:" >&5
19313 sed 's/^/| /' conftest.
$ac_ext >&5
19315 cat >conftest.
$ac_ext <<_ACEOF
19318 cat confdefs.h
>>conftest.
$ac_ext
19319 cat >>conftest.
$ac_ext <<_ACEOF
19320 /* end confdefs.h. */
19321 #include <signal.h>
19326 static siginfo_t ac_aggr;
19327 if (sizeof ac_aggr.si_fd)
19333 rm -f conftest.
$ac_objext
19334 if { (ac_try
="$ac_compile"
19335 case "(($ac_try" in
19336 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19337 *) ac_try_echo=$ac_try;;
19339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19340 (eval "$ac_compile") 2>conftest.er1
19342 grep -v '^ *+' conftest.er1 >conftest.err
19344 cat conftest.err >&5
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); } && {
19347 test -z "$ac_c_werror_flag" ||
19348 test ! -s conftest.err
19349 } && test -s conftest.$ac_objext; then
19350 ac_cv_member_siginfo_t_si_fd=yes
19352 echo "$as_me: failed program was:" >&5
19353 sed 's/^/| /' conftest.$ac_ext >&5
19355 ac_cv_member_siginfo_t_si_fd=no
19358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19363 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19364 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19365 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19367 cat >>confdefs.h <<_ACEOF
19368 #define HAVE_SIGINFO_T_SI_FD 1
19375 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19376 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19377 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19378 echo $ECHO_N "(cached) $ECHO_C" >&6
19380 cat >conftest.$ac_ext <<_ACEOF
19383 cat confdefs.h >>conftest.$ac_ext
19384 cat >>conftest.$ac_ext <<_ACEOF
19385 /* end confdefs.h. */
19386 #include <sys/types.h>
19387 #ifdef HAVE_SYS_MTIO_H
19388 #include <sys/mtio.h>
19394 static struct mtget ac_aggr;
19395 if (ac_aggr.mt_blksiz)
19401 rm -f conftest.$ac_objext
19402 if { (ac_try="$ac_compile"
19403 case "(($ac_try" in
19404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19405 *) ac_try_echo
=$ac_try;;
19407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19408 (eval "$ac_compile") 2>conftest.er1
19410 grep -v '^ *+' conftest.er1
>conftest.err
19412 cat conftest.err
>&5
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); } && {
19415 test -z "$ac_c_werror_flag" ||
19416 test ! -s conftest.err
19417 } && test -s conftest.
$ac_objext; then
19418 ac_cv_member_struct_mtget_mt_blksiz
=yes
19420 echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.
$ac_ext >&5
19423 cat >conftest.
$ac_ext <<_ACEOF
19426 cat confdefs.h
>>conftest.
$ac_ext
19427 cat >>conftest.
$ac_ext <<_ACEOF
19428 /* end confdefs.h. */
19429 #include <sys/types.h>
19430 #ifdef HAVE_SYS_MTIO_H
19431 #include <sys/mtio.h>
19437 static struct mtget ac_aggr;
19438 if (sizeof ac_aggr.mt_blksiz)
19444 rm -f conftest.
$ac_objext
19445 if { (ac_try
="$ac_compile"
19446 case "(($ac_try" in
19447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19448 *) ac_try_echo=$ac_try;;
19450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19451 (eval "$ac_compile") 2>conftest.er1
19453 grep -v '^ *+' conftest.er1 >conftest.err
19455 cat conftest.err >&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); } && {
19458 test -z "$ac_c_werror_flag" ||
19459 test ! -s conftest.err
19460 } && test -s conftest.$ac_objext; then
19461 ac_cv_member_struct_mtget_mt_blksiz=yes
19463 echo "$as_me: failed program was:" >&5
19464 sed 's/^/| /' conftest.$ac_ext >&5
19466 ac_cv_member_struct_mtget_mt_blksiz=no
19469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19474 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19475 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19476 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19478 cat >>confdefs.h <<_ACEOF
19479 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19484 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19485 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19486 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19487 echo $ECHO_N "(cached) $ECHO_C" >&6
19489 cat >conftest.$ac_ext <<_ACEOF
19492 cat confdefs.h >>conftest.$ac_ext
19493 cat >>conftest.$ac_ext <<_ACEOF
19494 /* end confdefs.h. */
19495 #include <sys/types.h>
19496 #ifdef HAVE_SYS_MTIO_H
19497 #include <sys/mtio.h>
19503 static struct mtget ac_aggr;
19504 if (ac_aggr.mt_gstat)
19510 rm -f conftest.$ac_objext
19511 if { (ac_try="$ac_compile"
19512 case "(($ac_try" in
19513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19514 *) ac_try_echo
=$ac_try;;
19516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19517 (eval "$ac_compile") 2>conftest.er1
19519 grep -v '^ *+' conftest.er1
>conftest.err
19521 cat conftest.err
>&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } && {
19524 test -z "$ac_c_werror_flag" ||
19525 test ! -s conftest.err
19526 } && test -s conftest.
$ac_objext; then
19527 ac_cv_member_struct_mtget_mt_gstat
=yes
19529 echo "$as_me: failed program was:" >&5
19530 sed 's/^/| /' conftest.
$ac_ext >&5
19532 cat >conftest.
$ac_ext <<_ACEOF
19535 cat confdefs.h
>>conftest.
$ac_ext
19536 cat >>conftest.
$ac_ext <<_ACEOF
19537 /* end confdefs.h. */
19538 #include <sys/types.h>
19539 #ifdef HAVE_SYS_MTIO_H
19540 #include <sys/mtio.h>
19546 static struct mtget ac_aggr;
19547 if (sizeof ac_aggr.mt_gstat)
19553 rm -f conftest.
$ac_objext
19554 if { (ac_try
="$ac_compile"
19555 case "(($ac_try" in
19556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19557 *) ac_try_echo=$ac_try;;
19559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19560 (eval "$ac_compile") 2>conftest.er1
19562 grep -v '^ *+' conftest.er1 >conftest.err
19564 cat conftest.err >&5
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); } && {
19567 test -z "$ac_c_werror_flag" ||
19568 test ! -s conftest.err
19569 } && test -s conftest.$ac_objext; then
19570 ac_cv_member_struct_mtget_mt_gstat=yes
19572 echo "$as_me: failed program was:" >&5
19573 sed 's/^/| /' conftest.$ac_ext >&5
19575 ac_cv_member_struct_mtget_mt_gstat=no
19578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19583 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19584 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19585 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19587 cat >>confdefs.h <<_ACEOF
19588 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19593 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19594 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19595 if test "${ac_cv_member_struct_mtget_mt_blkno+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 #include <sys/types.h>
19605 #ifdef HAVE_SYS_MTIO_H
19606 #include <sys/mtio.h>
19612 static struct mtget ac_aggr;
19613 if (ac_aggr.mt_blkno)
19619 rm -f conftest.$ac_objext
19620 if { (ac_try="$ac_compile"
19621 case "(($ac_try" in
19622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19623 *) ac_try_echo
=$ac_try;;
19625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19626 (eval "$ac_compile") 2>conftest.er1
19628 grep -v '^ *+' conftest.er1
>conftest.err
19630 cat conftest.err
>&5
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); } && {
19633 test -z "$ac_c_werror_flag" ||
19634 test ! -s conftest.err
19635 } && test -s conftest.
$ac_objext; then
19636 ac_cv_member_struct_mtget_mt_blkno
=yes
19638 echo "$as_me: failed program was:" >&5
19639 sed 's/^/| /' conftest.
$ac_ext >&5
19641 cat >conftest.
$ac_ext <<_ACEOF
19644 cat confdefs.h
>>conftest.
$ac_ext
19645 cat >>conftest.
$ac_ext <<_ACEOF
19646 /* end confdefs.h. */
19647 #include <sys/types.h>
19648 #ifdef HAVE_SYS_MTIO_H
19649 #include <sys/mtio.h>
19655 static struct mtget ac_aggr;
19656 if (sizeof ac_aggr.mt_blkno)
19662 rm -f conftest.
$ac_objext
19663 if { (ac_try
="$ac_compile"
19664 case "(($ac_try" in
19665 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19666 *) ac_try_echo=$ac_try;;
19668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19669 (eval "$ac_compile") 2>conftest.er1
19671 grep -v '^ *+' conftest.er1 >conftest.err
19673 cat conftest.err >&5
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); } && {
19676 test -z "$ac_c_werror_flag" ||
19677 test ! -s conftest.err
19678 } && test -s conftest.$ac_objext; then
19679 ac_cv_member_struct_mtget_mt_blkno=yes
19681 echo "$as_me: failed program was:" >&5
19682 sed 's/^/| /' conftest.$ac_ext >&5
19684 ac_cv_member_struct_mtget_mt_blkno=no
19687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19692 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19693 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19694 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19696 cat >>confdefs.h <<_ACEOF
19697 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19704 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19705 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19706 if test "${ac_cv_member_struct_option_name+set}" = set; then
19707 echo $ECHO_N "(cached) $ECHO_C" >&6
19709 cat >conftest.$ac_ext <<_ACEOF
19712 cat confdefs.h >>conftest.$ac_ext
19713 cat >>conftest.$ac_ext <<_ACEOF
19714 /* end confdefs.h. */
19715 #ifdef HAVE_GETOPT_H
19716 #include <getopt.h>
19722 static struct option ac_aggr;
19729 rm -f conftest.$ac_objext
19730 if { (ac_try="$ac_compile"
19731 case "(($ac_try" in
19732 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19733 *) ac_try_echo
=$ac_try;;
19735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19736 (eval "$ac_compile") 2>conftest.er1
19738 grep -v '^ *+' conftest.er1
>conftest.err
19740 cat conftest.err
>&5
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); } && {
19743 test -z "$ac_c_werror_flag" ||
19744 test ! -s conftest.err
19745 } && test -s conftest.
$ac_objext; then
19746 ac_cv_member_struct_option_name
=yes
19748 echo "$as_me: failed program was:" >&5
19749 sed 's/^/| /' conftest.
$ac_ext >&5
19751 cat >conftest.
$ac_ext <<_ACEOF
19754 cat confdefs.h
>>conftest.
$ac_ext
19755 cat >>conftest.
$ac_ext <<_ACEOF
19756 /* end confdefs.h. */
19757 #ifdef HAVE_GETOPT_H
19758 #include <getopt.h>
19764 static struct option ac_aggr;
19765 if (sizeof ac_aggr.name)
19771 rm -f conftest.
$ac_objext
19772 if { (ac_try
="$ac_compile"
19773 case "(($ac_try" in
19774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19775 *) ac_try_echo=$ac_try;;
19777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19778 (eval "$ac_compile") 2>conftest.er1
19780 grep -v '^ *+' conftest.er1 >conftest.err
19782 cat conftest.err >&5
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); } && {
19785 test -z "$ac_c_werror_flag" ||
19786 test ! -s conftest.err
19787 } && test -s conftest.$ac_objext; then
19788 ac_cv_member_struct_option_name=yes
19790 echo "$as_me: failed program was:" >&5
19791 sed 's/^/| /' conftest.$ac_ext >&5
19793 ac_cv_member_struct_option_name=no
19796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19801 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19802 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19803 if test $ac_cv_member_struct_option_name = yes; then
19805 cat >>confdefs.h <<_ACEOF
19806 #define HAVE_STRUCT_OPTION_NAME 1
19813 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19814 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19815 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19816 echo $ECHO_N "(cached) $ECHO_C" >&6
19818 cat >conftest.$ac_ext <<_ACEOF
19821 cat confdefs.h >>conftest.$ac_ext
19822 cat >>conftest.$ac_ext <<_ACEOF
19823 /* end confdefs.h. */
19824 $ac_includes_default
19828 static struct stat ac_aggr;
19829 if (ac_aggr.st_blocks)
19835 rm -f conftest.$ac_objext
19836 if { (ac_try="$ac_compile"
19837 case "(($ac_try" in
19838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19839 *) ac_try_echo
=$ac_try;;
19841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19842 (eval "$ac_compile") 2>conftest.er1
19844 grep -v '^ *+' conftest.er1
>conftest.err
19846 cat conftest.err
>&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); } && {
19849 test -z "$ac_c_werror_flag" ||
19850 test ! -s conftest.err
19851 } && test -s conftest.
$ac_objext; then
19852 ac_cv_member_struct_stat_st_blocks
=yes
19854 echo "$as_me: failed program was:" >&5
19855 sed 's/^/| /' conftest.
$ac_ext >&5
19857 cat >conftest.
$ac_ext <<_ACEOF
19860 cat confdefs.h
>>conftest.
$ac_ext
19861 cat >>conftest.
$ac_ext <<_ACEOF
19862 /* end confdefs.h. */
19863 $ac_includes_default
19867 static struct stat ac_aggr;
19868 if (sizeof ac_aggr.st_blocks)
19874 rm -f conftest.
$ac_objext
19875 if { (ac_try
="$ac_compile"
19876 case "(($ac_try" in
19877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19878 *) ac_try_echo=$ac_try;;
19880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19881 (eval "$ac_compile") 2>conftest.er1
19883 grep -v '^ *+' conftest.er1 >conftest.err
19885 cat conftest.err >&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); } && {
19888 test -z "$ac_c_werror_flag" ||
19889 test ! -s conftest.err
19890 } && test -s conftest.$ac_objext; then
19891 ac_cv_member_struct_stat_st_blocks=yes
19893 echo "$as_me: failed program was:" >&5
19894 sed 's/^/| /' conftest.$ac_ext >&5
19896 ac_cv_member_struct_stat_st_blocks=no
19899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19904 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19905 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19906 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19908 cat >>confdefs.h <<_ACEOF
19909 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19916 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19917 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19918 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19919 echo $ECHO_N "(cached) $ECHO_C" >&6
19921 cat >conftest.$ac_ext <<_ACEOF
19924 cat confdefs.h >>conftest.$ac_ext
19925 cat >>conftest.$ac_ext <<_ACEOF
19926 /* end confdefs.h. */
19927 #ifdef HAVE_SYS_TYPES_H
19928 #include <sys/types.h>
19930 #ifdef HAVE_NETINET_IN_H
19931 #include <netinet/in.h>
19937 static struct sockaddr_in6 ac_aggr;
19938 if (ac_aggr.sin6_scope_id)
19944 rm -f conftest.$ac_objext
19945 if { (ac_try="$ac_compile"
19946 case "(($ac_try" in
19947 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19948 *) ac_try_echo
=$ac_try;;
19950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19951 (eval "$ac_compile") 2>conftest.er1
19953 grep -v '^ *+' conftest.er1
>conftest.err
19955 cat conftest.err
>&5
19956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19957 (exit $ac_status); } && {
19958 test -z "$ac_c_werror_flag" ||
19959 test ! -s conftest.err
19960 } && test -s conftest.
$ac_objext; then
19961 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19963 echo "$as_me: failed program was:" >&5
19964 sed 's/^/| /' conftest.
$ac_ext >&5
19966 cat >conftest.
$ac_ext <<_ACEOF
19969 cat confdefs.h
>>conftest.
$ac_ext
19970 cat >>conftest.
$ac_ext <<_ACEOF
19971 /* end confdefs.h. */
19972 #ifdef HAVE_SYS_TYPES_H
19973 #include <sys/types.h>
19975 #ifdef HAVE_NETINET_IN_H
19976 #include <netinet/in.h>
19982 static struct sockaddr_in6 ac_aggr;
19983 if (sizeof ac_aggr.sin6_scope_id)
19989 rm -f conftest.
$ac_objext
19990 if { (ac_try
="$ac_compile"
19991 case "(($ac_try" in
19992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19993 *) ac_try_echo=$ac_try;;
19995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19996 (eval "$ac_compile") 2>conftest.er1
19998 grep -v '^ *+' conftest.er1 >conftest.err
20000 cat conftest.err >&5
20001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20002 (exit $ac_status); } && {
20003 test -z "$ac_c_werror_flag" ||
20004 test ! -s conftest.err
20005 } && test -s conftest.$ac_objext; then
20006 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20008 echo "$as_me: failed program was:" >&5
20009 sed 's/^/| /' conftest.$ac_ext >&5
20011 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20019 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20020 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20021 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20023 cat >>confdefs.h <<_ACEOF
20024 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20031 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20032 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20033 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20034 echo $ECHO_N "(cached) $ECHO_C" >&6
20036 cat >conftest.$ac_ext <<_ACEOF
20039 cat confdefs.h >>conftest.$ac_ext
20040 cat >>conftest.$ac_ext <<_ACEOF
20041 /* end confdefs.h. */
20042 #ifdef HAVE_SYS_TYPES_H
20043 #include <sys/types.h>
20045 #ifdef HAVE_NETINET_IN_H
20046 # include <netinet/in.h>
20048 #ifdef HAVE_ARPA_NAMESER_H
20049 # include <arpa/nameser.h>
20055 static ns_msg ac_aggr;
20056 if (ac_aggr._msg_ptr)
20062 rm -f conftest.$ac_objext
20063 if { (ac_try="$ac_compile"
20064 case "(($ac_try" in
20065 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20066 *) ac_try_echo
=$ac_try;;
20068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20069 (eval "$ac_compile") 2>conftest.er1
20071 grep -v '^ *+' conftest.er1
>conftest.err
20073 cat conftest.err
>&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); } && {
20076 test -z "$ac_c_werror_flag" ||
20077 test ! -s conftest.err
20078 } && test -s conftest.
$ac_objext; then
20079 ac_cv_member_ns_msg__msg_ptr
=yes
20081 echo "$as_me: failed program was:" >&5
20082 sed 's/^/| /' conftest.
$ac_ext >&5
20084 cat >conftest.
$ac_ext <<_ACEOF
20087 cat confdefs.h
>>conftest.
$ac_ext
20088 cat >>conftest.
$ac_ext <<_ACEOF
20089 /* end confdefs.h. */
20090 #ifdef HAVE_SYS_TYPES_H
20091 #include <sys/types.h>
20093 #ifdef HAVE_NETINET_IN_H
20094 # include <netinet/in.h>
20096 #ifdef HAVE_ARPA_NAMESER_H
20097 # include <arpa/nameser.h>
20103 static ns_msg ac_aggr;
20104 if (sizeof ac_aggr._msg_ptr)
20110 rm -f conftest.
$ac_objext
20111 if { (ac_try
="$ac_compile"
20112 case "(($ac_try" in
20113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20114 *) ac_try_echo=$ac_try;;
20116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20117 (eval "$ac_compile") 2>conftest.er1
20119 grep -v '^ *+' conftest.er1 >conftest.err
20121 cat conftest.err >&5
20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123 (exit $ac_status); } && {
20124 test -z "$ac_c_werror_flag" ||
20125 test ! -s conftest.err
20126 } && test -s conftest.$ac_objext; then
20127 ac_cv_member_ns_msg__msg_ptr=yes
20129 echo "$as_me: failed program was:" >&5
20130 sed 's/^/| /' conftest.$ac_ext >&5
20132 ac_cv_member_ns_msg__msg_ptr=no
20135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20140 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20141 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20142 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20144 cat >>confdefs.h <<_ACEOF
20145 #define HAVE_NS_MSG__MSG_PTR 1
20152 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20153 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20154 if test "${ac_cv_have_timezone+set}" = set; then
20155 echo $ECHO_N "(cached) $ECHO_C" >&6
20157 cat >conftest.$ac_ext <<_ACEOF
20160 cat confdefs.h >>conftest.$ac_ext
20161 cat >>conftest.$ac_ext <<_ACEOF
20162 /* end confdefs.h. */
20172 rm -f conftest.$ac_objext conftest$ac_exeext
20173 if { (ac_try="$ac_link"
20174 case "(($ac_try" in
20175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20176 *) ac_try_echo
=$ac_try;;
20178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20179 (eval "$ac_link") 2>conftest.er1
20181 grep -v '^ *+' conftest.er1
>conftest.err
20183 cat conftest.err
>&5
20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185 (exit $ac_status); } && {
20186 test -z "$ac_c_werror_flag" ||
20187 test ! -s conftest.err
20188 } && test -s conftest
$ac_exeext &&
20189 $as_test_x conftest
$ac_exeext; then
20190 ac_cv_have_timezone
="yes"
20192 echo "$as_me: failed program was:" >&5
20193 sed 's/^/| /' conftest.
$ac_ext >&5
20195 ac_cv_have_timezone
="no"
20198 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20199 conftest
$ac_exeext conftest.
$ac_ext
20201 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20202 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20203 if test "$ac_cv_have_timezone" = "yes"
20206 cat >>confdefs.h
<<\_ACEOF
20207 #define HAVE_TIMEZONE 1
20211 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20212 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20213 if test "${ac_cv_have_daylight+set}" = set; then
20214 echo $ECHO_N "(cached) $ECHO_C" >&6
20216 cat >conftest.
$ac_ext <<_ACEOF
20219 cat confdefs.h
>>conftest.
$ac_ext
20220 cat >>conftest.
$ac_ext <<_ACEOF
20221 /* end confdefs.h. */
20231 rm -f conftest.
$ac_objext conftest
$ac_exeext
20232 if { (ac_try
="$ac_link"
20233 case "(($ac_try" in
20234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20235 *) ac_try_echo=$ac_try;;
20237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20238 (eval "$ac_link") 2>conftest.er1
20240 grep -v '^ *+' conftest.er1 >conftest.err
20242 cat conftest.err >&5
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); } && {
20245 test -z "$ac_c_werror_flag" ||
20246 test ! -s conftest.err
20247 } && test -s conftest$ac_exeext &&
20248 $as_test_x conftest$ac_exeext; then
20249 ac_cv_have_daylight="yes"
20251 echo "$as_me: failed program was:" >&5
20252 sed 's/^/| /' conftest.$ac_ext >&5
20254 ac_cv_have_daylight="no"
20257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20258 conftest$ac_exeext conftest.$ac_ext
20260 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20261 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20262 if test "$ac_cv_have_daylight" = "yes"
20265 cat >>confdefs.h <<\_ACEOF
20266 #define HAVE_DAYLIGHT 1
20273 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20274 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20275 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20276 echo $ECHO_N "(cached) $ECHO_C" >&6
20278 cat >conftest.$ac_ext <<_ACEOF
20281 cat confdefs.h >>conftest.$ac_ext
20282 cat >>conftest.$ac_ext <<_ACEOF
20283 /* end confdefs.h. */
20288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20289 $EGREP "yes" >/dev/null 2>&1; then
20290 ac_cv_cpp_def___i386__=yes
20292 ac_cv_cpp_def___i386__=no
20297 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20298 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20299 if test $ac_cv_cpp_def___i386__ = yes; then
20300 CFLAGS="$CFLAGS -D__i386__"
20301 LINTFLAGS="$LINTFLAGS -D__i386__"
20304 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20305 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20306 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20307 echo $ECHO_N "(cached) $ECHO_C" >&6
20309 cat >conftest.$ac_ext <<_ACEOF
20312 cat confdefs.h >>conftest.$ac_ext
20313 cat >>conftest.$ac_ext <<_ACEOF
20314 /* end confdefs.h. */
20319 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20320 $EGREP "yes" >/dev/null 2>&1; then
20321 ac_cv_cpp_def___x86_64__=yes
20323 ac_cv_cpp_def___x86_64__=no
20328 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20329 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20330 if test $ac_cv_cpp_def___x86_64__ = yes; then
20331 CFLAGS="$CFLAGS -D__x86_64__"
20332 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20335 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20336 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20337 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20338 echo $ECHO_N "(cached) $ECHO_C" >&6
20340 cat >conftest.$ac_ext <<_ACEOF
20343 cat confdefs.h >>conftest.$ac_ext
20344 cat >>conftest.$ac_ext <<_ACEOF
20345 /* end confdefs.h. */
20350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20351 $EGREP "yes" >/dev/null 2>&1; then
20352 ac_cv_cpp_def___ALPHA__=yes
20354 ac_cv_cpp_def___ALPHA__=no
20359 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20360 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20361 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20362 CFLAGS="$CFLAGS -D__ALPHA__"
20363 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20366 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20367 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20368 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20369 echo $ECHO_N "(cached) $ECHO_C" >&6
20371 cat >conftest.$ac_ext <<_ACEOF
20374 cat confdefs.h >>conftest.$ac_ext
20375 cat >>conftest.$ac_ext <<_ACEOF
20376 /* end confdefs.h. */
20381 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20382 $EGREP "yes" >/dev/null 2>&1; then
20383 ac_cv_cpp_def___sparc__=yes
20385 ac_cv_cpp_def___sparc__=no
20390 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20391 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20392 if test $ac_cv_cpp_def___sparc__ = yes; then
20393 CFLAGS="$CFLAGS -D__sparc__"
20394 LINTFLAGS="$LINTFLAGS -D__sparc__"
20397 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20398 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20399 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20400 echo $ECHO_N "(cached) $ECHO_C" >&6
20402 cat >conftest.$ac_ext <<_ACEOF
20405 cat confdefs.h >>conftest.$ac_ext
20406 cat >>conftest.$ac_ext <<_ACEOF
20407 /* end confdefs.h. */
20408 #ifndef __powerpc__
20412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20413 $EGREP "yes" >/dev/null 2>&1; then
20414 ac_cv_cpp_def___powerpc__=yes
20416 ac_cv_cpp_def___powerpc__=no
20421 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20422 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20423 if test $ac_cv_cpp_def___powerpc__ = yes; then
20424 CFLAGS="$CFLAGS -D__powerpc__"
20425 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20430 case $host_vendor in
20431 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20432 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20433 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20434 echo $ECHO_N "(cached) $ECHO_C" >&6
20436 cat >conftest.$ac_ext <<_ACEOF
20439 cat confdefs.h >>conftest.$ac_ext
20440 cat >>conftest.$ac_ext <<_ACEOF
20441 /* end confdefs.h. */
20446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20447 $EGREP "yes" >/dev/null 2>&1; then
20448 ac_cv_cpp_def___sun__=yes
20450 ac_cv_cpp_def___sun__=no
20455 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20456 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20457 if test $ac_cv_cpp_def___sun__ = yes; then
20458 CFLAGS="$CFLAGS -D__sun__"
20459 LINTFLAGS="$LINTFLAGS -D__sun__"
20465 DEPENDENCIES="### Dependencies:
20470 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20472 \$(OBJS): \$(IDL_GEN_HEADERS)
20473 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20474 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20475 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20481 ac_config_commands="$ac_config_commands include/stamp-h"
20484 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20486 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20488 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20490 ac_config_commands="$ac_config_commands dlls/user32/resources"
20492 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20494 ac_config_commands="$ac_config_commands include/wine"
20497 MAKE_RULES=Make.rules
20500 MAKE_DLL_RULES=dlls/Makedll.rules
20503 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20506 MAKE_TEST_RULES=dlls/Maketest.rules
20509 MAKE_PROG_RULES=programs/Makeprog.rules
20512 ac_config_files="$ac_config_files Make.rules"
20514 ac_config_files="$ac_config_files dlls/Makedll.rules"
20516 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20518 ac_config_files="$ac_config_files dlls/Maketest.rules"
20520 ac_config_files="$ac_config_files programs/Makeprog.rules"
20522 ac_config_files="$ac_config_files Makefile"
20524 ac_config_files="$ac_config_files dlls/Makefile"
20526 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20528 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20530 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20532 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20534 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20536 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20538 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20540 ac_config_files="$ac_config_files dlls/atl/Makefile"
20542 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20544 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20546 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20548 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20550 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20552 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20554 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20556 ac_config_files="$ac_config_files dlls/cards/Makefile"
20558 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20560 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20562 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20564 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20566 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20568 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20570 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20572 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20574 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20576 ac_config_files="$ac_config_files dlls/credui/Makefile"
20578 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
20580 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20582 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20584 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20586 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20588 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20590 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
20592 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
20594 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20596 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20598 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20600 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20602 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20604 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20606 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20608 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20610 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20612 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20614 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
20616 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20618 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20620 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20622 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20624 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20626 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20628 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20630 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20632 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20634 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20636 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20638 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20640 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20642 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20644 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20646 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20648 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20650 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20652 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20654 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20656 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20658 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20660 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20662 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20664 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20666 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20668 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20670 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
20672 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20674 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20676 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20678 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20680 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20682 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20684 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20686 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20688 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
20690 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20692 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20694 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20696 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20698 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20700 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20702 ac_config_files="$ac_config_files dlls/hal/Makefile"
20704 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20706 ac_config_files="$ac_config_files dlls/hid/Makefile"
20708 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20710 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20712 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20714 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20716 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20718 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20720 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20722 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20724 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20726 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
20728 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
20730 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20732 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20734 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20736 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20738 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20740 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20742 ac_config_files="$ac_config_files dlls/itss/Makefile"
20744 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20746 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20748 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20750 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20752 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20754 ac_config_files="$ac_config_files dlls/localui/Makefile"
20756 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20758 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20760 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20762 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20764 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20766 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20768 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20770 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20772 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20774 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20776 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20778 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20780 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20782 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20784 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20786 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20788 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20790 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20792 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20794 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20796 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
20798 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20800 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20802 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20804 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20806 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20808 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20810 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20812 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20814 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20816 ac_config_files="$ac_config_files dlls/msi/Makefile"
20818 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20820 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20822 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
20824 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20826 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20828 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20830 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
20832 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20834 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20836 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20838 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20840 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20842 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20844 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20846 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20848 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20850 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20852 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20854 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20856 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20858 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20860 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20862 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20864 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20866 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20868 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20870 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20872 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20874 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20876 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20878 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20880 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20882 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20884 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20886 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20888 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20890 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20892 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20894 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20896 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20898 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20900 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
20902 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20904 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
20906 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20908 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20910 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20912 ac_config_files="$ac_config_files dlls/printui/Makefile"
20914 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20916 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20918 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20920 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20922 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
20924 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20926 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20928 ac_config_files="$ac_config_files dlls/query/Makefile"
20930 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20932 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20934 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20936 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20938 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20940 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
20942 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20944 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20946 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20948 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20950 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20952 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20954 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20956 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20958 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20960 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20962 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20964 ac_config_files="$ac_config_files dlls/security/Makefile"
20966 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20968 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20970 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20972 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20974 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20976 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20978 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20980 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20982 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20984 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20986 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20988 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20990 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20992 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20994 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20996 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20998 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21000 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21002 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21004 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21006 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21008 ac_config_files="$ac_config_files dlls/sti/Makefile"
21010 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21012 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21014 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21016 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21018 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21020 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21022 ac_config_files="$ac_config_files dlls/url/Makefile"
21024 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21026 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21028 ac_config_files="$ac_config_files dlls/user32/Makefile"
21030 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21032 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21034 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21036 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21038 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21040 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21042 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21044 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21046 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21048 ac_config_files="$ac_config_files dlls/version/Makefile"
21050 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21052 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21054 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21056 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21058 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21060 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21062 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21064 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21066 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21068 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21070 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21072 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21074 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21076 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21078 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21080 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21082 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21084 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21086 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21088 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21090 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21092 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21094 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21096 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21098 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21100 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21102 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21104 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21106 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21108 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21110 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21112 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21114 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21116 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21118 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21120 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21122 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21124 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21126 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21128 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21130 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21132 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21134 ac_config_files="$ac_config_files documentation/Makefile"
21136 ac_config_files="$ac_config_files fonts/Makefile"
21138 ac_config_files="$ac_config_files include/Makefile"
21140 ac_config_files="$ac_config_files libs/Makefile"
21142 ac_config_files="$ac_config_files libs/port/Makefile"
21144 ac_config_files="$ac_config_files libs/wine/Makefile"
21146 ac_config_files="$ac_config_files libs/wpp/Makefile"
21148 ac_config_files="$ac_config_files loader/Makefile"
21150 ac_config_files="$ac_config_files programs/Makefile"
21152 ac_config_files="$ac_config_files programs/clock/Makefile"
21154 ac_config_files="$ac_config_files programs/cmd/Makefile"
21156 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21158 ac_config_files="$ac_config_files programs/control/Makefile"
21160 ac_config_files="$ac_config_files programs/eject/Makefile"
21162 ac_config_files="$ac_config_files programs/expand/Makefile"
21164 ac_config_files="$ac_config_files programs/explorer/Makefile"
21166 ac_config_files="$ac_config_files programs/hh/Makefile"
21168 ac_config_files="$ac_config_files programs/icinfo/Makefile"
21170 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21172 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21174 ac_config_files="$ac_config_files programs/net/Makefile"
21176 ac_config_files="$ac_config_files programs/notepad/Makefile"
21178 ac_config_files="$ac_config_files programs/oleview/Makefile"
21180 ac_config_files="$ac_config_files programs/progman/Makefile"
21182 ac_config_files="$ac_config_files programs/regedit/Makefile"
21184 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21186 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21188 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21190 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21192 ac_config_files="$ac_config_files programs/start/Makefile"
21194 ac_config_files="$ac_config_files programs/svchost/Makefile"
21196 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21198 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21200 ac_config_files="$ac_config_files programs/view/Makefile"
21202 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21204 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21206 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21208 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21210 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21212 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21214 ac_config_files="$ac_config_files programs/winefile/Makefile"
21216 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21218 ac_config_files="$ac_config_files programs/winemine/Makefile"
21220 ac_config_files="$ac_config_files programs/winepath/Makefile"
21222 ac_config_files="$ac_config_files programs/winetest/Makefile"
21224 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21226 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21228 ac_config_files="$ac_config_files programs/winver/Makefile"
21230 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21232 ac_config_files="$ac_config_files programs/write/Makefile"
21234 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21236 ac_config_files="$ac_config_files server/Makefile"
21238 ac_config_files="$ac_config_files tools/Makefile"
21240 ac_config_files="$ac_config_files tools/widl/Makefile"
21242 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21244 ac_config_files="$ac_config_files tools/winedump/Makefile"
21246 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21248 ac_config_files="$ac_config_files tools/wmc/Makefile"
21250 ac_config_files="$ac_config_files tools/wrc/Makefile"
21253 cat >confcache <<\_ACEOF
21254 # This file is a shell script that caches the results of configure
21255 # tests run on this system so they can be shared between configure
21256 # scripts and configure runs, see configure's option --config-cache.
21257 # It is not useful on other systems. If it contains results you don't
21258 # want to keep, you may remove or edit it.
21260 # config.status only pays attention to the cache file if you give it
21261 # the --recheck option to rerun configure.
21263 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
21264 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21265 # following values.
21269 # The following way of writing the cache mishandles newlines in values,
21270 # but we know of no workaround that is simple, portable, and efficient.
21271 # So, we kill variables containing newlines.
21272 # Ultrix sh set writes to stderr and can't be redirected directly,
21273 # and sets the high bit in the cache file unless we assign to the vars.
21275 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21276 eval ac_val
=\$
$ac_var
21280 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21281 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21284 _ | IFS | as_nl
) ;; #(
21285 *) $as_unset $ac_var ;;
21291 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21292 *${as_nl}ac_space
=\
*)
21293 # `set' does not quote correctly, so add quotes (double-quote
21294 # substitution turns \\\\ into \\, and sed turns \\ into \).
21297 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21300 # `set' quotes correctly as required by POSIX, so do not add quotes.
21301 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21310 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21312 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21314 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21315 if test -w "$cache_file"; then
21316 test "x$cache_file" != "x/dev/null" &&
21317 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21318 echo "$as_me: updating cache $cache_file" >&6;}
21319 cat confcache
>$cache_file
21321 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21322 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21327 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21328 # Let make expand exec_prefix.
21329 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21331 DEFS
=-DHAVE_CONFIG_H
21335 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21336 # 1. Remove the extension, and $U if already installed.
21337 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21338 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21339 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21340 # will be set to the directory where LIBOBJS objects are built.
21341 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21342 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21344 LIBOBJS
=$ac_libobjs
21346 LTLIBOBJS
=$ac_ltlibobjs
21350 : ${CONFIG_STATUS=./config.status}
21351 ac_clean_files_save
=$ac_clean_files
21352 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21353 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21354 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21355 cat >$CONFIG_STATUS <<_ACEOF
21357 # Generated by $as_me.
21358 # Run this file to recreate the current configuration.
21359 # Compiler output produced by configure, useful for debugging
21360 # configure, is in config.log if it exists.
21363 ac_cs_recheck=false
21365 SHELL=\${CONFIG_SHELL-$SHELL}
21368 cat >>$CONFIG_STATUS <<\_ACEOF
21369 ## --------------------- ##
21370 ## M4sh Initialization. ##
21371 ## --------------------- ##
21373 # Be more Bourne compatible
21374 DUALCASE
=1; export DUALCASE
# for MKS sh
21375 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21378 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21379 # is contrary to our usage. Disable this feature.
21380 alias -g '${1+"$@"}'='"$@"'
21381 setopt NO_GLOB_SUBST
21383 case `(set -o) 2>/dev/null` in
21384 *posix
*) set -o posix
;;
21393 # Avoid depending upon Character Ranges.
21394 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21395 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21396 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21397 as_cr_digits
='0123456789'
21398 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21400 # The user is always right.
21401 if test "${PATH_SEPARATOR+set}" != set; then
21402 echo "#! /bin/sh" >conf$$.sh
21403 echo "exit 0" >>conf$$.sh
21405 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21413 # Support unset when possible.
21414 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21422 # We need space, tab and new line, in precisely that order. Quoting is
21423 # there to prevent editors from complaining about space-tab.
21424 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21425 # splitting by setting IFS to empty value.)
21430 # Find who we are. Look in the path if we contain no directory separator.
21432 *[\\/]* ) as_myself
=$0 ;;
21433 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21434 for as_dir
in $PATH
21437 test -z "$as_dir" && as_dir
=.
21438 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21444 # We did not find ourselves, most probably we were run as `sh COMMAND'
21445 # in which case we are not to be found in the path.
21446 if test "x$as_myself" = x
; then
21449 if test ! -f "$as_myself"; then
21450 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21451 { (exit 1); exit 1; }
21454 # Work around bugs in pre-3.0 UWIN ksh.
21455 for as_var
in ENV MAIL MAILPATH
21456 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21464 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21465 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21466 LC_TELEPHONE LC_TIME
21468 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21469 eval $as_var=C
; export $as_var
21471 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21475 # Required to use basename.
21476 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21477 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21483 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21484 as_basename
=basename
21490 # Name of the executable.
21491 as_me
=`$as_basename -- "$0" ||
21492 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21493 X"$0" : 'X\(//\)$' \| \
21494 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21496 sed '/^.*\/\([^/][^/]*\)\/*$/{
21515 as_lineno_1
=$LINENO
21516 as_lineno_2
=$LINENO
21517 test "x$as_lineno_1" != "x$as_lineno_2" &&
21518 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21520 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21521 # uniformly replaced by the line number. The first 'sed' inserts a
21522 # line-number line after each line using $LINENO; the second 'sed'
21523 # does the real work. The second script uses 'N' to pair each
21524 # line-number line with the line containing $LINENO, and appends
21525 # trailing '-' during substitution so that $LINENO is not a special
21526 # case at line end.
21527 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21528 # scripts with optimization help from Paolo Bonzini. Blame Lee
21529 # E. McMahon (1931-1989) for sed's syntax. :-)
21541 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21544 ' >$as_me.lineno
&&
21545 chmod +x
"$as_me.lineno" ||
21546 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21547 { (exit 1); exit 1; }; }
21549 # Don't try to exec as it changes $[0], causing all sort of problems
21550 # (the dirname of $[0] is not the place where we might find the
21551 # original and so on. Autoconf is especially sensitive to this).
21552 .
"./$as_me.lineno"
21553 # Exit status is that of the last command.
21558 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21564 ECHO_C
= ECHO_N
= ECHO_T
=
21565 case `echo -n x` in
21567 case `echo 'x\c'` in
21568 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21575 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21576 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21582 rm -f conf$$ conf$$.exe conf$$.
file
21583 if test -d conf$$.dir
; then
21584 rm -f conf$$.dir
/conf$$.
file
21590 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21592 # ... but there are two gotchas:
21593 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21594 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21595 # In both cases, we have to default to `cp -p'.
21596 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21598 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21603 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21604 rmdir conf$$.dir
2>/dev
/null
21606 if mkdir
-p .
2>/dev
/null
; then
21609 test -d .
/-p && rmdir .
/-p
21613 if test -x / >/dev
/null
2>&1; then
21614 as_test_x
='test -x'
21616 if ls -dL / >/dev
/null
2>&1; then
21623 if test -d "$1"; then
21629 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21630 ???[sx]*):;;*)false;;esac;fi
21634 as_executable_p
=$as_test_x
21636 # Sed expression to map a string onto a valid CPP name.
21637 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21639 # Sed expression to map a string onto a valid variable name.
21640 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21645 # Save the log message, to keep $[0] and so on meaningful, and to
21646 # report actual input values of CONFIG_FILES etc. instead of their
21647 # values after options handling.
21649 This file was extended by Wine $as_me 0.9.50, which was
21650 generated by GNU Autoconf 2.61. Invocation command line was
21652 CONFIG_FILES = $CONFIG_FILES
21653 CONFIG_HEADERS = $CONFIG_HEADERS
21654 CONFIG_LINKS = $CONFIG_LINKS
21655 CONFIG_COMMANDS = $CONFIG_COMMANDS
21658 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21663 cat >>$CONFIG_STATUS <<_ACEOF
21664 # Files that config.status was made for.
21665 config_files="$ac_config_files"
21666 config_headers="$ac_config_headers"
21667 config_commands="$ac_config_commands"
21671 cat >>$CONFIG_STATUS <<\_ACEOF
21673 \`$as_me' instantiates files from templates according to the
21674 current configuration.
21676 Usage: $0 [OPTIONS] [FILE]...
21678 -h, --help print this help, then exit
21679 -V, --version print version number and configuration settings, then exit
21680 -q, --quiet do not print progress messages
21681 -d, --debug don't remove temporary files
21682 --recheck update $as_me by reconfiguring in the same conditions
21683 --file=FILE[:TEMPLATE]
21684 instantiate the configuration file FILE
21685 --header=FILE[:TEMPLATE]
21686 instantiate the configuration header FILE
21688 Configuration files:
21691 Configuration headers:
21694 Configuration commands:
21697 Report bugs to <bug-autoconf@gnu.org>."
21700 cat >>$CONFIG_STATUS <<_ACEOF
21702 Wine config.status 0.9.50
21703 configured by $0, generated by GNU Autoconf 2.61,
21704 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21706 Copyright (C) 2006 Free Software Foundation, Inc.
21707 This config.status script is free software; the Free Software Foundation
21708 gives unlimited permission to copy, distribute and modify it."
21715 cat >>$CONFIG_STATUS <<\_ACEOF
21716 # If no file are specified by the user, then we need to provide default
21717 # value. By we need to know if files were specified by the user.
21723 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21724 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21735 # Handling of the options.
21736 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21738 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21739 echo "$ac_cs_version"; exit ;;
21740 --debug |
--debu |
--deb |
--de |
--d |
-d )
21742 --file |
--fil |
--fi |
--f )
21744 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21745 ac_need_defaults
=false
;;
21746 --header |
--heade |
--head |
--hea )
21748 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21749 ac_need_defaults
=false
;;
21751 # Conflict between --help and --header
21752 { echo "$as_me: error: ambiguous option: $1
21753 Try \`$0 --help' for more information." >&2
21754 { (exit 1); exit 1; }; };;
21755 --help |
--hel |
-h )
21756 echo "$ac_cs_usage"; exit ;;
21757 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21758 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21761 # This is an error.
21762 -*) { echo "$as_me: error: unrecognized option: $1
21763 Try \`$0 --help' for more information." >&2
21764 { (exit 1); exit 1; }; } ;;
21766 *) ac_config_targets
="$ac_config_targets $1"
21767 ac_need_defaults
=false
;;
21773 ac_configure_extra_args
=
21775 if $ac_cs_silent; then
21777 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21781 cat >>$CONFIG_STATUS <<_ACEOF
21782 if \$ac_cs_recheck; then
21783 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21784 CONFIG_SHELL=$SHELL
21785 export CONFIG_SHELL
21786 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21790 cat >>$CONFIG_STATUS <<\_ACEOF
21794 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21795 ## Running $as_me. ##
21801 cat >>$CONFIG_STATUS <<_ACEOF
21804 cat >>$CONFIG_STATUS <<\_ACEOF
21806 # Handling of arguments.
21807 for ac_config_target
in $ac_config_targets
21809 case $ac_config_target in
21810 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21811 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
21812 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21813 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21814 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21815 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
21816 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21817 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21818 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
21819 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
21820 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21821 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
21822 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
21823 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21824 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
21825 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
21826 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
21827 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21828 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21829 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
21830 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21831 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
21832 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
21833 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21834 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21835 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
21836 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21837 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21838 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21839 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21840 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
21841 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21842 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21843 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
21844 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21845 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21846 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21847 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21848 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21849 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
21850 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
21851 "dlls/credui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
21852 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21853 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21854 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21855 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21856 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21857 "dlls/cryptnet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
21858 "dlls/ctapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
21859 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21860 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21861 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21862 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21863 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21864 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21865 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21866 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21867 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21868 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21869 "dlls/d3dx8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
21870 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21871 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21872 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21873 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21874 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21875 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21876 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
21877 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
21878 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21879 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21880 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
21881 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21882 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
21883 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21884 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21885 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21886 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21887 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21888 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21889 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21890 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21891 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
21892 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21893 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21894 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21895 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21896 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21897 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
21898 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
21899 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21900 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
21901 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21902 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21903 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21904 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21905 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21906 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21907 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21908 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21909 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21910 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21911 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
21912 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21913 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
21914 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21915 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
21916 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
21917 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21918 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21919 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21920 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
21921 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21922 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21923 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21924 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
21925 "dlls/inetcomm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
21926 "dlls/inetcomm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
21927 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21928 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21929 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21930 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
21931 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21932 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21933 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
21934 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21935 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21936 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21937 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
21938 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21939 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
21940 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21941 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
21942 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21943 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21944 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21945 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21946 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21947 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21948 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21949 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
21950 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
21951 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21952 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21953 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21954 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
21955 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21956 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21957 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21958 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21959 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21960 "dlls/mscat32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscat32/Makefile" ;;
21961 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
21962 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21963 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21964 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21965 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21966 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21967 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21968 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21969 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21970 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
21971 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21972 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21973 "dlls/msimtf/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimtf/Makefile" ;;
21974 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21975 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21976 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21977 "dlls/msvcirt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
21978 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21979 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21980 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21981 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21982 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21983 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21984 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21985 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21986 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21987 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21988 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21989 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21990 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21991 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21992 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
21993 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21994 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21995 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21996 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21997 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21998 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21999 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
22000 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22001 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22002 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22003 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
22004 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22005 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22006 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22007 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22008 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22009 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22010 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22011 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22012 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22013 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22014 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22015 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
22016 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22017 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22018 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
22019 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
22020 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22021 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22022 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
22023 "dlls/qmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22024 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
22025 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22026 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
22027 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22028 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
22029 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
22030 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22031 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
22032 "dlls/riched32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22033 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22034 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22035 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22036 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22037 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22038 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22039 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22040 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
22041 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22042 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
22043 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22044 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
22045 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22046 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
22047 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22048 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22049 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22050 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
22051 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22052 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22053 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22054 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22055 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
22056 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22057 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22058 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22059 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22060 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22061 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22062 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22063 "dlls/spoolss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22064 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22065 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22066 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
22067 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22068 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22069 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
22070 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22071 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22072 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
22073 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
22074 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22075 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22076 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
22077 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22078 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
22079 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
22080 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22081 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
22082 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22083 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22084 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22085 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22086 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
22087 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22088 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22089 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22090 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22091 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22092 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22093 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22094 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22095 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22096 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22097 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22098 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22099 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
22100 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22101 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22102 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22103 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22104 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22105 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22106 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22107 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22108 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22109 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
22110 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22111 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
22112 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22113 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
22114 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22115 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22116 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
22117 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22118 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22119 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22120 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22121 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22122 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22123 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22124 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
22125 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22126 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22127 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22128 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22129 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
22130 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
22131 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
22132 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
22133 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
22134 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
22135 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
22136 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
22137 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
22138 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
22139 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
22140 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22141 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
22142 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
22143 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
22144 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
22145 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
22146 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
22147 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
22148 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
22149 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
22150 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
22151 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
22152 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
22153 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
22154 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22155 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
22156 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
22157 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22158 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
22159 "programs/svchost/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/svchost/Makefile" ;;
22160 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22161 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22162 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
22163 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
22164 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22165 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
22166 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22167 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
22168 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
22169 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
22170 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22171 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
22172 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
22173 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
22174 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
22175 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
22176 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
22177 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
22178 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
22179 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
22180 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
22181 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
22182 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
22183 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
22184 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
22185 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
22186 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
22187 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
22189 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22190 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22191 { (exit 1); exit 1; }; };;
22196 # If the user did not use the arguments to specify the items to instantiate,
22197 # then the envvar interface is used. Set only those that are not.
22198 # We use the long form for the default assignment because of an extremely
22199 # bizarre bug on SunOS 4.1.3.
22200 if $ac_need_defaults; then
22201 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22202 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22203 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22206 # Have a temporary directory for convenience. Make it in the build tree
22207 # simply because there is no reason against having it here, and in addition,
22208 # creating and moving files from /tmp can sometimes cause problems.
22209 # Hook for its removal unless debugging.
22210 # Note that there is a small window in which the directory will not be cleaned:
22211 # after its creation but before its name has been assigned to `$tmp'.
22215 trap 'exit_status=$?
22216 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22218 trap '{ (exit 1); exit 1; }' 1 2 13 15
22220 # Create a (secure) tmp directory for tmp files.
22223 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22224 test -n "$tmp" && test -d "$tmp"
22227 tmp
=.
/conf$$
-$RANDOM
22228 (umask 077 && mkdir
"$tmp")
22231 echo "$me: cannot create a temporary directory in ." >&2
22232 { (exit 1); exit 1; }
22236 # Set up the sed scripts for CONFIG_FILES section.
22239 # No need to generate the scripts if there are no CONFIG_FILES.
22240 # This happens for instance when ./config.status config.h
22241 if test -n "$CONFIG_FILES"; then
22245 # Create sed commands to just substitute file output variables.
22247 # Remaining file output variables are in a fragment that also has non-file
22253 for ac_last_try
in false false false false false
:; do
22254 cat >conf$
$subs.
sed <<_ACEOF
22255 SHELL!$SHELL$ac_delim
22256 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22257 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22258 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22259 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22260 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22261 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22262 exec_prefix!$exec_prefix$ac_delim
22263 prefix!$prefix$ac_delim
22264 program_transform_name!$program_transform_name$ac_delim
22265 bindir!$bindir$ac_delim
22266 sbindir!$sbindir$ac_delim
22267 libexecdir!$libexecdir$ac_delim
22268 datarootdir!$datarootdir$ac_delim
22269 datadir!$datadir$ac_delim
22270 sysconfdir!$sysconfdir$ac_delim
22271 sharedstatedir!$sharedstatedir$ac_delim
22272 localstatedir!$localstatedir$ac_delim
22273 includedir!$includedir$ac_delim
22274 oldincludedir!$oldincludedir$ac_delim
22275 docdir!$docdir$ac_delim
22276 infodir!$infodir$ac_delim
22277 htmldir!$htmldir$ac_delim
22278 dvidir!$dvidir$ac_delim
22279 pdfdir!$pdfdir$ac_delim
22280 psdir!$psdir$ac_delim
22281 libdir!$libdir$ac_delim
22282 localedir!$localedir$ac_delim
22283 mandir!$mandir$ac_delim
22284 DEFS!$DEFS$ac_delim
22285 ECHO_C!$ECHO_C$ac_delim
22286 ECHO_N!$ECHO_N$ac_delim
22287 ECHO_T!$ECHO_T$ac_delim
22288 LIBS!$LIBS$ac_delim
22289 build_alias!$build_alias$ac_delim
22290 host_alias!$host_alias$ac_delim
22291 target_alias!$target_alias$ac_delim
22292 build!$build$ac_delim
22293 build_cpu!$build_cpu$ac_delim
22294 build_vendor!$build_vendor$ac_delim
22295 build_os!$build_os$ac_delim
22296 host!$host$ac_delim
22297 host_cpu!$host_cpu$ac_delim
22298 host_vendor!$host_vendor$ac_delim
22299 host_os!$host_os$ac_delim
22300 WIN16_FILES!$WIN16_FILES$ac_delim
22301 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22302 SET_MAKE!$SET_MAKE$ac_delim
22304 CFLAGS!$CFLAGS$ac_delim
22305 LDFLAGS!$LDFLAGS$ac_delim
22306 CPPFLAGS!$CPPFLAGS$ac_delim
22307 ac_ct_CC!$ac_ct_CC$ac_delim
22308 EXEEXT!$EXEEXT$ac_delim
22309 OBJEXT!$OBJEXT$ac_delim
22311 CXXFLAGS!$CXXFLAGS$ac_delim
22312 ac_ct_CXX!$ac_ct_CXX$ac_delim
22313 CPPBIN!$CPPBIN$ac_delim
22314 TOOLSDIR!$TOOLSDIR$ac_delim
22315 XMKMF!$XMKMF$ac_delim
22317 X_CFLAGS!$X_CFLAGS$ac_delim
22318 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22319 X_LIBS!$X_LIBS$ac_delim
22320 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22321 FLEX!$FLEX$ac_delim
22322 BISON!$BISON$ac_delim
22324 ac_ct_AS!$ac_ct_AS$ac_delim
22327 RANLIB!$RANLIB$ac_delim
22328 STRIP!$STRIP$ac_delim
22329 WINDRES!$WINDRES$ac_delim
22330 LN_S!$LN_S$ac_delim
22332 GREP!$GREP$ac_delim
22333 EGREP!$EGREP$ac_delim
22334 LDCONFIG!$LDCONFIG$ac_delim
22335 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22336 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22339 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22341 elif $ac_last_try; then
22342 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22343 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22344 { (exit 1); exit 1; }; }
22346 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22350 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22351 if test -n "$ac_eof"; then
22352 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22353 ac_eof
=`expr $ac_eof + 1`
22356 cat >>$CONFIG_STATUS <<_ACEOF
22357 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22358 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22359 /^[ ]*@MAKE_RULES@[ ]*$/{
22363 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22367 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22368 r $MAKE_IMPLIB_RULES
22371 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22375 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22381 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22382 s/^/s,@/; s/!/@,|#_!!_#|/
22385 s/'"$ac_delim"'$/,g/; t
22387 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22388 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22389 rm -f conf$
$subs.
sed
22390 cat >>$CONFIG_STATUS <<_ACEOF
22396 for ac_last_try
in false false false false false
:; do
22397 cat >conf$
$subs.
sed <<_ACEOF
22398 INSTALL_DATA!$INSTALL_DATA$ac_delim
22399 LINT!$LINT$ac_delim
22400 LINTFLAGS!$LINTFLAGS$ac_delim
22401 FONTFORGE!$FONTFORGE$ac_delim
22402 PKG_CONFIG!$PKG_CONFIG$ac_delim
22403 PRELINK!$PRELINK$ac_delim
22404 LIBPTHREAD!$LIBPTHREAD$ac_delim
22405 XLIB!$XLIB$ac_delim
22406 XFILES!$XFILES$ac_delim
22407 OPENGLFILES!$OPENGLFILES$ac_delim
22408 GLU32FILES!$GLU32FILES$ac_delim
22409 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22410 QUARTZFILES!$QUARTZFILES$ac_delim
22411 DLLEXT!$DLLEXT$ac_delim
22412 DLLFLAGS!$DLLFLAGS$ac_delim
22413 LDSHARED!$LDSHARED$ac_delim
22414 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22415 LIBEXT!$LIBEXT$ac_delim
22416 IMPLIBEXT!$IMPLIBEXT$ac_delim
22417 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22418 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22420 DLLTOOL!$DLLTOOL$ac_delim
22421 DLLWRAP!$DLLWRAP$ac_delim
22422 MINGWAR!$MINGWAR$ac_delim
22423 SECURITYLIB!$SECURITYLIB$ac_delim
22424 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22425 IOKITLIB!$IOKITLIB$ac_delim
22426 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22427 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22428 COREAUDIO!$COREAUDIO$ac_delim
22429 CARBONLIB!$CARBONLIB$ac_delim
22430 CROSSTEST!$CROSSTEST$ac_delim
22431 CROSSCC!$CROSSCC$ac_delim
22432 CROSSWINDRES!$CROSSWINDRES$ac_delim
22433 NASLIBS!$NASLIBS$ac_delim
22434 XML2LIBS!$XML2LIBS$ac_delim
22435 XML2INCL!$XML2INCL$ac_delim
22436 XSLTLIBS!$XSLTLIBS$ac_delim
22437 XSLTINCL!$XSLTINCL$ac_delim
22438 HALINCL!$HALINCL$ac_delim
22439 sane_devel!$sane_devel$ac_delim
22440 SANEINCL!$SANEINCL$ac_delim
22441 gphoto2_devel!$gphoto2_devel$ac_delim
22442 gphoto2port_devel!$gphoto2port_devel$ac_delim
22443 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22444 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22445 RESOLVLIBS!$RESOLVLIBS$ac_delim
22446 LCMSLIBS!$LCMSLIBS$ac_delim
22447 LDAPLIBS!$LDAPLIBS$ac_delim
22448 ft_devel!$ft_devel$ac_delim
22449 FREETYPELIBS!$FREETYPELIBS$ac_delim
22450 FREETYPEINCL!$FREETYPEINCL$ac_delim
22451 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22452 ESDCONFIG!$ESDCONFIG$ac_delim
22453 ESDLIBS!$ESDLIBS$ac_delim
22454 ESDINCL!$ESDINCL$ac_delim
22455 ALSALIBS!$ALSALIBS$ac_delim
22456 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22457 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
22458 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22459 BUILTINFLAG!$BUILTINFLAG$ac_delim
22460 LDPATH!$LDPATH$ac_delim
22461 CRTLIBS!$CRTLIBS$ac_delim
22462 SOCKETLIBS!$SOCKETLIBS$ac_delim
22463 MAIN_BINARY!$MAIN_BINARY$ac_delim
22464 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22465 LIBDL!$LIBDL$ac_delim
22466 LIBPOLL!$LIBPOLL$ac_delim
22467 DEPENDENCIES!$DEPENDENCIES$ac_delim
22468 LIBOBJS!$LIBOBJS$ac_delim
22469 LTLIBOBJS!$LTLIBOBJS$ac_delim
22472 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
22474 elif $ac_last_try; then
22475 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22476 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22477 { (exit 1); exit 1; }; }
22479 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22483 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22484 if test -n "$ac_eof"; then
22485 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22486 ac_eof
=`expr $ac_eof + 1`
22489 cat >>$CONFIG_STATUS <<_ACEOF
22490 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22491 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22494 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22495 s/^/s,@/; s/!/@,|#_!!_#|/
22498 s/'"$ac_delim"'$/,g/; t
22500 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22501 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22502 rm -f conf$
$subs.
sed
22503 cat >>$CONFIG_STATUS <<_ACEOF
22510 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22511 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22512 # trailing colons and then remove the whole line if VPATH becomes empty
22513 # (actually we leave an empty line to preserve line numbers).
22514 if test "x$srcdir" = x.
; then
22515 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22516 s/:*\$(srcdir):*/:/
22517 s/:*\${srcdir}:*/:/
22519 s/^\([^=]*=[ ]*\):*/\1/
22525 cat >>$CONFIG_STATUS <<\_ACEOF
22526 fi # test -n "$CONFIG_FILES"
22529 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22532 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22534 case $ac_mode$ac_tag in
22536 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22537 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22538 { (exit 1); exit 1; }; };;
22539 :[FH
]-) ac_tag
=-:-;;
22540 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22557 -) ac_f
="$tmp/stdin";;
22558 *) # Look for the file first in the build tree, then in the source tree
22559 # (if the path is not absolute). The absolute path cannot be DOS-style,
22560 # because $ac_f cannot contain `:'.
22564 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22566 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22567 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22568 { (exit 1); exit 1; }; };;
22570 ac_file_inputs
="$ac_file_inputs $ac_f"
22573 # Let's still pretend it is `configure' which instantiates (i.e., don't
22574 # use $as_me), people would be surprised to read:
22575 # /* config.h. Generated by config.status. */
22576 configure_input
="Generated from "`IFS=:
22577 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22578 if test x
"$ac_file" != x-
; then
22579 configure_input
="$ac_file. $configure_input"
22580 { echo "$as_me:$LINENO: creating $ac_file" >&5
22581 echo "$as_me: creating $ac_file" >&6;}
22585 *:-:* |
*:-) cat >"$tmp/stdin";;
22590 ac_dir
=`$as_dirname -- "$ac_file" ||
22591 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22592 X"$ac_file" : 'X\(//\)[^/]' \| \
22593 X"$ac_file" : 'X\(//\)$' \| \
22594 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22596 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22600 /^X\(\/\/\)[^/].*/{
22615 -*) as_dir
=.
/$as_dir;;
22617 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22621 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22622 *) as_qdir
=$as_dir;;
22624 as_dirs
="'$as_qdir' $as_dirs"
22625 as_dir
=`$as_dirname -- "$as_dir" ||
22626 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22627 X"$as_dir" : 'X\(//\)[^/]' \| \
22628 X"$as_dir" : 'X\(//\)$' \| \
22629 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22635 /^X\(\/\/\)[^/].*/{
22648 test -d "$as_dir" && break
22650 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22651 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22652 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22653 { (exit 1); exit 1; }; }; }
22657 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22659 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22660 # A ".." for each directory in $ac_dir_suffix.
22661 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22662 case $ac_top_builddir_sub in
22663 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22664 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22667 ac_abs_top_builddir
=$ac_pwd
22668 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22669 # for backward compatibility:
22670 ac_top_builddir
=$ac_top_build_prefix
22673 .
) # We are building in place.
22675 ac_top_srcdir
=$ac_top_builddir_sub
22676 ac_abs_top_srcdir
=$ac_pwd ;;
22677 [\\/]* | ?
:[\\/]* ) # Absolute name.
22678 ac_srcdir
=$srcdir$ac_dir_suffix;
22679 ac_top_srcdir
=$srcdir
22680 ac_abs_top_srcdir
=$srcdir ;;
22681 *) # Relative name.
22682 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22683 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22684 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22686 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22696 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22697 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22701 cat >>$CONFIG_STATUS <<\_ACEOF
22702 # If the template does not know about datarootdir, expand it.
22703 # FIXME: This hack should be removed a few years after 2.60.
22704 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22706 case `sed -n '/datarootdir/ {
22715 ' $ac_file_inputs` in
22716 *datarootdir
*) ac_datarootdir_seen
=yes;;
22717 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22718 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22719 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22721 cat >>$CONFIG_STATUS <<_ACEOF
22722 ac_datarootdir_hack='
22723 s&@datadir@&$datadir&g
22724 s&@docdir@&$docdir&g
22725 s&@infodir@&$infodir&g
22726 s&@localedir@&$localedir&g
22727 s&@mandir@&$mandir&g
22728 s&\\\${datarootdir}&$datarootdir&g' ;;
22732 # Neutralize VPATH when `$srcdir' = `.'.
22733 # Shell code in configure.ac might set extrasub.
22734 # FIXME: do we really want to maintain this feature?
22735 cat >>$CONFIG_STATUS <<_ACEOF
22739 cat >>$CONFIG_STATUS <<\_ACEOF
22741 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22742 s
&@configure_input@
&$configure_input&;t t
22743 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22744 s
&@srcdir@
&$ac_srcdir&;t t
22745 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22746 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22747 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22748 s
&@builddir@
&$ac_builddir&;t t
22749 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22750 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22751 s
&@INSTALL@
&$ac_INSTALL&;t t
22752 $ac_datarootdir_hack
22753 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22755 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22756 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22757 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22758 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22759 which seems to be undefined. Please make sure it is defined." >&5
22760 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22761 which seems to be undefined. Please make sure it is defined." >&2;}
22765 -) cat "$tmp/out"; rm -f "$tmp/out";;
22766 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22775 # Transform confdefs.h into a sed script `conftest.defines', that
22776 # substitutes the proper values into config.h.in to produce config.h.
22777 rm -f conftest.defines conftest.
tail
22778 # First, append a space to every undef/define line, to ease matching.
22779 echo 's/$/ /' >conftest.defines
22780 # Then, protect against being on the right side of a sed subst, or in
22781 # an unquoted here document, in config.status. If some macros were
22782 # called several times there might be several #defines for the same
22783 # symbol, which is useless. But do not sort them, since the last
22784 # AC_DEFINE must be honored.
22785 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22786 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22787 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22788 # PARAMS is the parameter list in the macro definition--in most cases, it's
22789 # just an empty string.
22790 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22791 ac_dB
='\\)[ (].*,\\1define\\2'
22799 s/^[ ]*#[ ]*define[ ][ ]*//
22804 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22805 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22806 ' >>conftest.defines
22808 # Remove the space that was appended to ease matching.
22809 # Then replace #undef with comments. This is necessary, for
22810 # example, in the case of _POSIX_SOURCE, which is predefined and required
22811 # on some systems where configure will not decide to define it.
22812 # (The regexp can be short, since the line contains either #define or #undef.)
22814 s,^[ #]*u.*,/* & */,' >>conftest.defines
22816 # Break up conftest.defines:
22817 ac_max_sed_lines
=50
22819 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22820 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22821 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22823 ac_in
='$ac_file_inputs'
22824 ac_out
='"$tmp/out1"'
22825 ac_nxt
='"$tmp/out2"'
22829 # Write a here document:
22830 cat >>$CONFIG_STATUS <<_ACEOF
22831 # First, check the format of the line:
22832 cat >"\$tmp/defines.sed" <<\\CEOF
22833 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22834 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22838 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22840 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22841 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22842 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22843 grep . conftest.
tail >/dev
/null ||
break
22844 rm -f conftest.defines
22845 mv conftest.
tail conftest.defines
22847 rm -f conftest.defines conftest.
tail
22849 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22850 cat >>$CONFIG_STATUS <<\_ACEOF
22851 if test x
"$ac_file" != x-
; then
22852 echo "/* $configure_input */" >"$tmp/config.h"
22853 cat "$ac_result" >>"$tmp/config.h"
22854 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22855 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22856 echo "$as_me: $ac_file is unchanged" >&6;}
22859 mv "$tmp/config.h" $ac_file
22862 echo "/* $configure_input */"
22868 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22869 echo "$as_me: executing $ac_file commands" >&6;}
22874 case $ac_file$ac_mode in
22875 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
22876 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22877 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
22878 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22879 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
22880 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22881 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
22882 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22883 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
22884 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22885 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
22886 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
22887 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
22893 { (exit 0); exit 0; }
22895 chmod +x
$CONFIG_STATUS
22896 ac_clean_files
=$ac_clean_files_save
22899 # configure is writing to config.log, and then calls config.status.
22900 # config.status does its own redirection, appending to config.log.
22901 # Unfortunately, on DOS this fails, as config.log is still kept open
22902 # by configure, so config.status won't be able to write to it; its
22903 # output is simply discarded. So we exec the FD to /dev/null,
22904 # effectively closing config.log, so it can be properly (re)opened and
22905 # appended to by config.status. When coming back to configure, we
22906 # need to make the FD available again.
22907 if test "$no_create" != yes; then
22909 ac_config_status_args
=
22910 test "$silent" = yes &&
22911 ac_config_status_args
="$ac_config_status_args --quiet"
22913 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22915 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22916 # would make configure fail if this is the last instruction.
22917 $ac_cs_success ||
{ (exit 1); exit 1; }
22921 if test "$no_create" = "yes"
22928 if test "$verbose" = "yes"; then
22929 for msg
in $wine_notices; do
22930 if test -n "$msg"; then
22932 { echo "$as_me:$LINENO: $msg" >&5
22933 echo "$as_me: $msg" >&6;}
22937 for msg
in $wine_warnings; do
22938 if test -n "$msg"; then
22940 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22941 echo "$as_me: WARNING: $msg" >&2;}
22947 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."