2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 1.0.
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
='1.0'
578 PACKAGE_STRING
='Wine 1.0'
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
780 ac_subst_files
='MAKE_RULES
785 ac_precious_vars
='build_alias
800 # Initialize some variables set by options.
802 ac_init_version
=false
803 # The variables have the same names as the options, with
804 # dashes changed to underlines.
812 program_transform_name
=s
,x
,x
,
820 # Installation directory options.
821 # These are left unexpanded so users can "make install exec_prefix=/foo"
822 # and all the variables that are supposed to be based on exec_prefix
823 # by default will actually change.
824 # Use braces instead of parens because sh, perl, etc. also accept them.
825 # (The list follows the same order as the GNU Coding Standards.)
826 bindir
='${exec_prefix}/bin'
827 sbindir
='${exec_prefix}/sbin'
828 libexecdir
='${exec_prefix}/libexec'
829 datarootdir
='${prefix}/share'
830 datadir
='${datarootdir}'
831 sysconfdir
='${prefix}/etc'
832 sharedstatedir
='${prefix}/com'
833 localstatedir
='${prefix}/var'
834 includedir
='${prefix}/include'
835 oldincludedir
='/usr/include'
836 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
837 infodir
='${datarootdir}/info'
842 libdir
='${exec_prefix}/lib'
843 localedir
='${datarootdir}/locale'
844 mandir
='${datarootdir}/man'
850 # If the previous option needs an argument, assign it.
851 if test -n "$ac_prev"; then
852 eval $ac_prev=\
$ac_option
858 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
862 # Accept the important Cygnus configure options, so we can diagnose typos.
864 case $ac_dashdash$ac_option in
868 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
870 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
873 -build |
--build |
--buil |
--bui |
--bu)
874 ac_prev
=build_alias
;;
875 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
876 build_alias
=$ac_optarg ;;
878 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
879 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
880 ac_prev
=cache_file
;;
881 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
882 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
883 cache_file
=$ac_optarg ;;
886 cache_file
=config.cache
;;
888 -datadir |
--datadir |
--datadi |
--datad)
890 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
891 datadir
=$ac_optarg ;;
893 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
894 |
--dataroo |
--dataro |
--datar)
895 ac_prev
=datarootdir
;;
896 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
897 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
898 datarootdir
=$ac_optarg ;;
900 -disable-* |
--disable-*)
901 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
904 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
905 { (exit 1); exit 1; }; }
906 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
907 eval enable_
$ac_feature=no
;;
909 -docdir |
--docdir |
--docdi |
--doc |
--do)
911 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
914 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
916 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
919 -enable-* |
--enable-*)
920 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
921 # Reject names that are not valid shell variable names.
922 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
923 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
924 { (exit 1); exit 1; }; }
925 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
926 eval enable_
$ac_feature=\
$ac_optarg ;;
928 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
929 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
930 |
--exec |
--exe |
--ex)
931 ac_prev
=exec_prefix
;;
932 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
933 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
934 |
--exec=* |
--exe=* |
--ex=*)
935 exec_prefix
=$ac_optarg ;;
937 -gas |
--gas |
--ga |
--g)
938 # Obsolete; use --with-gas.
941 -help |
--help |
--hel |
--he |
-h)
943 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
944 ac_init_help
=recursive
;;
945 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
946 ac_init_help
=short
;;
948 -host |
--host |
--hos |
--ho)
949 ac_prev
=host_alias
;;
950 -host=* |
--host=* |
--hos=* |
--ho=*)
951 host_alias
=$ac_optarg ;;
953 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
955 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
957 htmldir
=$ac_optarg ;;
959 -includedir |
--includedir |
--includedi |
--included |
--include \
960 |
--includ |
--inclu |
--incl |
--inc)
961 ac_prev
=includedir
;;
962 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
963 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
964 includedir
=$ac_optarg ;;
966 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
968 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
969 infodir
=$ac_optarg ;;
971 -libdir |
--libdir |
--libdi |
--libd)
973 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
976 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
977 |
--libexe |
--libex |
--libe)
978 ac_prev
=libexecdir
;;
979 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
980 |
--libexe=* |
--libex=* |
--libe=*)
981 libexecdir
=$ac_optarg ;;
983 -localedir |
--localedir |
--localedi |
--localed |
--locale)
985 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
986 localedir
=$ac_optarg ;;
988 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
989 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
990 ac_prev
=localstatedir
;;
991 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
992 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
993 localstatedir
=$ac_optarg ;;
995 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
997 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1000 -nfp |
--nfp |
--nf)
1001 # Obsolete; use --without-fp.
1004 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1005 |
--no-cr |
--no-c |
-n)
1008 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1009 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1012 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1013 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1014 |
--oldin |
--oldi |
--old |
--ol |
--o)
1015 ac_prev
=oldincludedir
;;
1016 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1017 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1018 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1019 oldincludedir
=$ac_optarg ;;
1021 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1023 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1024 prefix
=$ac_optarg ;;
1026 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1027 |
--program-pre |
--program-pr |
--program-p)
1028 ac_prev
=program_prefix
;;
1029 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1030 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1031 program_prefix
=$ac_optarg ;;
1033 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1034 |
--program-suf |
--program-su |
--program-s)
1035 ac_prev
=program_suffix
;;
1036 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1037 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1038 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1048 -program-transform-name=* |
--program-transform-name=* \
1049 |
--program-transform-nam=* |
--program-transform-na=* \
1050 |
--program-transform-n=* |
--program-transform-=* \
1051 |
--program-transform=* |
--program-transfor=* \
1052 |
--program-transfo=* |
--program-transf=* \
1053 |
--program-trans=* |
--program-tran=* \
1054 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1055 program_transform_name
=$ac_optarg ;;
1057 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1059 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1060 pdfdir
=$ac_optarg ;;
1062 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1064 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1067 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1068 |
-silent |
--silent |
--silen |
--sile |
--sil)
1071 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1073 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1075 sbindir
=$ac_optarg ;;
1077 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1078 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1079 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1081 ac_prev
=sharedstatedir
;;
1082 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1083 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1084 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1086 sharedstatedir
=$ac_optarg ;;
1088 -site |
--site |
--sit)
1090 -site=* |
--site=* |
--sit=*)
1093 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1095 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1096 srcdir
=$ac_optarg ;;
1098 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1099 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1100 ac_prev
=sysconfdir
;;
1101 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1102 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1103 sysconfdir
=$ac_optarg ;;
1105 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1106 ac_prev
=target_alias
;;
1107 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1108 target_alias
=$ac_optarg ;;
1110 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1113 -version |
--version |
--versio |
--versi |
--vers |
-V)
1114 ac_init_version
=: ;;
1117 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1120 { echo "$as_me: error: invalid package name: $ac_package" >&2
1121 { (exit 1); exit 1; }; }
1122 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1123 eval with_
$ac_package=\
$ac_optarg ;;
1125 -without-* |
--without-*)
1126 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1127 # Reject names that are not valid shell variable names.
1128 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1129 { echo "$as_me: error: invalid package name: $ac_package" >&2
1130 { (exit 1); exit 1; }; }
1131 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1132 eval with_
$ac_package=no
;;
1135 # Obsolete; use --with-x.
1138 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1139 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1140 ac_prev
=x_includes
;;
1141 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1142 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1143 x_includes
=$ac_optarg ;;
1145 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1146 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1147 ac_prev
=x_libraries
;;
1148 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1149 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1150 x_libraries
=$ac_optarg ;;
1152 -*) { echo "$as_me: error: unrecognized option: $ac_option
1153 Try \`$0 --help' for more information." >&2
1154 { (exit 1); exit 1; }; }
1158 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1159 # Reject names that are not valid shell variable names.
1160 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1161 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1162 { (exit 1); exit 1; }; }
1163 eval $ac_envvar=\
$ac_optarg
1164 export $ac_envvar ;;
1167 # FIXME: should be removed in autoconf 3.0.
1168 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1169 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1170 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1171 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1177 if test -n "$ac_prev"; then
1178 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1179 { echo "$as_me: error: missing argument to $ac_option" >&2
1180 { (exit 1); exit 1; }; }
1183 # Be sure to have absolute directory names.
1184 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1185 datadir sysconfdir sharedstatedir localstatedir includedir \
1186 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1187 libdir localedir mandir
1189 eval ac_val
=\$
$ac_var
1191 [\\/$
]* | ?
:[\\/]* ) continue;;
1192 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1194 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1195 { (exit 1); exit 1; }; }
1198 # There might be people who depend on the old broken behavior: `$host'
1199 # used to hold the argument of --host etc.
1200 # FIXME: To remove some day.
1203 target
=$target_alias
1205 # FIXME: To remove some day.
1206 if test "x$host_alias" != x
; then
1207 if test "x$build_alias" = x
; then
1208 cross_compiling
=maybe
1209 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1210 If a cross compiler is detected then cross compile mode will be used." >&2
1211 elif test "x$build_alias" != "x$host_alias"; then
1217 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1219 test "$silent" = yes && exec 6>/dev
/null
1222 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1223 ac_ls_di
=`ls -di .` &&
1224 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1225 { echo "$as_me: error: Working directory cannot be determined" >&2
1226 { (exit 1); exit 1; }; }
1227 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1228 { echo "$as_me: error: pwd does not report name of working directory" >&2
1229 { (exit 1); exit 1; }; }
1232 # Find the source files, if location was not specified.
1233 if test -z "$srcdir"; then
1234 ac_srcdir_defaulted
=yes
1235 # Try the directory containing this script, then the parent directory.
1236 ac_confdir
=`$as_dirname -- "$0" ||
1237 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1238 X"$0" : 'X\(//\)[^/]' \| \
1239 X"$0" : 'X\(//\)$' \| \
1240 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1264 ac_srcdir_defaulted
=no
1266 if test ! -r "$srcdir/$ac_unique_file"; then
1267 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1268 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1269 { (exit 1); exit 1; }; }
1271 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1273 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1274 { (exit 1); exit 1; }; }
1276 # When building in place, set srcdir=.
1277 if test "$ac_abs_confdir" = "$ac_pwd"; then
1280 # Remove unnecessary trailing slashes from srcdir.
1281 # Double slashes in file names in object file debugging info
1282 # mess up M-x gdb in Emacs.
1284 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1286 for ac_var
in $ac_precious_vars; do
1287 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1288 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1289 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1290 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1294 # Report the --help message.
1296 if test "$ac_init_help" = "long"; then
1297 # Omit some internal or obsolete options to make the list less imposing.
1298 # This message is too long to be a string in the A/UX 3.1 sh.
1300 \`configure' configures Wine 1.0 to adapt to many kinds of systems.
1302 Usage: $0 [OPTION]... [VAR=VALUE]...
1304 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1305 VAR=VALUE. See below for descriptions of some of the useful variables.
1307 Defaults for the options are specified in brackets.
1310 -h, --help display this help and exit
1311 --help=short display options specific to this package
1312 --help=recursive display the short help of all the included packages
1313 -V, --version display version information and exit
1314 -q, --quiet, --silent do not print \`checking...' messages
1315 --cache-file=FILE cache test results in FILE [disabled]
1316 -C, --config-cache alias for \`--cache-file=config.cache'
1317 -n, --no-create do not create output files
1318 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1320 Installation directories:
1321 --prefix=PREFIX install architecture-independent files in PREFIX
1322 [$ac_default_prefix]
1323 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1326 By default, \`make install' will install all the files in
1327 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1328 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1329 for instance \`--prefix=\$HOME'.
1331 For better control, use the options below.
1333 Fine tuning of the installation directories:
1334 --bindir=DIR user executables [EPREFIX/bin]
1335 --sbindir=DIR system admin executables [EPREFIX/sbin]
1336 --libexecdir=DIR program executables [EPREFIX/libexec]
1337 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1338 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1339 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1340 --libdir=DIR object code libraries [EPREFIX/lib]
1341 --includedir=DIR C header files [PREFIX/include]
1342 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1343 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1344 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1345 --infodir=DIR info documentation [DATAROOTDIR/info]
1346 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1347 --mandir=DIR man documentation [DATAROOTDIR/man]
1348 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1349 --htmldir=DIR html documentation [DOCDIR]
1350 --dvidir=DIR dvi documentation [DOCDIR]
1351 --pdfdir=DIR pdf documentation [DOCDIR]
1352 --psdir=DIR ps documentation [DOCDIR]
1358 --x-includes=DIR X include files are
in DIR
1359 --x-libraries=DIR X library files are
in DIR
1362 --build=BUILD configure
for building on BUILD
[guessed
]
1363 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1367 if test -n "$ac_init_help"; then
1368 case $ac_init_help in
1369 short | recursive
) echo "Configuration of Wine 1.0:";;
1374 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1375 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1376 --disable-win16 do not include Win16 support
1377 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1379 --enable-maintainer-mode
1380 enable maintainer-specific build rules
1383 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1384 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1385 --without-alsa do not use the Alsa sound support
1386 --without-audioio do not use the AudioIO sound support
1387 --without-capi do not use CAPI (ISDN support)
1388 --without-cms do not use CMS (color management support)
1389 --without-coreaudio do not use the CoreAudio sound support
1390 --without-cups do not use CUPS
1391 --without-curses do not use (n)curses
1392 --without-esd do not use the EsounD sound support
1393 --without-fontconfig do not use fontconfig
1394 --without-freetype do not use the FreeType library
1395 --without-gphoto do not use gphoto (Digital Camera support)
1396 --without-glu do not use the GLU library
1397 --without-hal do not use HAL (dynamic device support)
1398 --without-jack do not use the Jack sound support
1399 --without-jpeg do not use JPEG
1400 --without-ldap do not use LDAP
1401 --without-nas do not use the NAS sound support
1402 --without-opengl do not use OpenGL
1403 --without-openssl do not use OpenSSL
1404 --without-oss do not use the OSS sound support
1405 --without-png do not use PNG
1406 --without-sane do not use SANE (scanner support)
1407 --without-xcomposite do not use the Xcomposite extension
1408 --without-xcursor do not use the Xcursor extension
1409 --without-xinerama do not use Xinerama (multi-monitor support)
1410 --without-xinput do not use the Xinput extension
1411 --without-xml do not use XML
1412 --without-xrandr do not use Xrandr (resolution changes)
1413 --without-xrender do not use the Xrender extension
1414 --without-xshape do not use the Xshape extension
1415 --without-xshm do not use XShm (shared memory extension)
1416 --without-xslt do not use XSLT
1417 --without-xvidmode do not use XFree video mode extension
1418 --with-wine-tools=DIR use Wine tools from directory DIR
1419 --with-x use the X Window System
1421 Some influential environment variables:
1422 CC C compiler command
1423 CFLAGS C compiler flags
1424 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1425 nonstandard directory <lib dir>
1426 LIBS libraries to pass to the linker, e.g. -l<library>
1427 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1428 you have headers in a nonstandard directory <include dir>
1429 CXX C++ compiler command
1430 CXXFLAGS C++ compiler flags
1431 XMKMF Path to xmkmf, Makefile generator for X Window System
1434 Use these variables to override the choices made by `configure' or to
help
1435 it to
find libraries and programs with nonstandard names
/locations.
1437 Report bugs to
<wine-devel@winehq.org
>.
1442 if test "$ac_init_help" = "recursive"; then
1443 # If there are subdirs, report their specific --help.
1444 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1445 test -d "$ac_dir" ||
continue
1449 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1451 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1452 # A ".." for each directory in $ac_dir_suffix.
1453 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1454 case $ac_top_builddir_sub in
1455 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1456 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1459 ac_abs_top_builddir
=$ac_pwd
1460 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1461 # for backward compatibility:
1462 ac_top_builddir
=$ac_top_build_prefix
1465 .
) # We are building in place.
1467 ac_top_srcdir
=$ac_top_builddir_sub
1468 ac_abs_top_srcdir
=$ac_pwd ;;
1469 [\\/]* | ?
:[\\/]* ) # Absolute name.
1470 ac_srcdir
=$srcdir$ac_dir_suffix;
1471 ac_top_srcdir
=$srcdir
1472 ac_abs_top_srcdir
=$srcdir ;;
1474 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1475 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1476 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1478 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1480 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1481 # Check for guested configure.
1482 if test -f "$ac_srcdir/configure.gnu"; then
1484 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1485 elif test -f "$ac_srcdir/configure"; then
1487 $SHELL "$ac_srcdir/configure" --help=recursive
1489 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1491 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1495 test -n "$ac_init_help" && exit $ac_status
1496 if $ac_init_version; then
1499 generated by GNU Autoconf
2.61
1501 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1502 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1503 This configure
script is free software
; the Free Software Foundation
1504 gives unlimited permission to copy
, distribute and modify it.
1508 cat >config.log
<<_ACEOF
1509 This file contains any messages produced by compilers while
1510 running configure, to aid debugging if configure makes a mistake.
1512 It was created by Wine $as_me 1.0, which was
1513 generated by GNU Autoconf 2.61. Invocation command line was
1525 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1526 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1527 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1528 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1529 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1531 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1532 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1534 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1535 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1536 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1537 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1538 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1539 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1540 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1548 test -z "$as_dir" && as_dir
=.
1549 echo "PATH: $as_dir"
1565 # Keep a trace of the command line.
1566 # Strip out --no-create and --no-recursion so they do not pile up.
1567 # Strip out --silent because we don't want to record it for future runs.
1568 # Also quote any args containing shell meta-characters.
1569 # Make two passes to allow for proper duplicate-argument suppression.
1573 ac_must_keep_next
=false
1579 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1580 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1581 |
-silent |
--silent |
--silen |
--sile |
--sil)
1584 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1587 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1589 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1590 if test $ac_must_keep_next = true
; then
1591 ac_must_keep_next
=false
# Got value, back to normal.
1594 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1595 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1596 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1597 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1598 case "$ac_configure_args0 " in
1599 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1602 -* ) ac_must_keep_next
=true
;;
1605 ac_configure_args
="$ac_configure_args '$ac_arg'"
1610 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1611 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1613 # When interrupted or exit'd, cleanup temporary files, and complete
1614 # config.log. We remove comments because anyway the quotes in there
1615 # would cause problems or look ugly.
1616 # WARNING: Use '\'' to represent an apostrophe within the trap.
1617 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1618 trap 'exit_status=$?
1619 # Save into config.log some information that might help in debugging.
1624 ## ---------------- ##
1625 ## Cache variables. ##
1626 ## ---------------- ##
1629 # The following way of writing the cache mishandles newlines in values,
1631 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1632 eval ac_val=\$$ac_var
1636 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1637 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1640 _ | IFS | as_nl) ;; #(
1641 *) $as_unset $ac_var ;;
1646 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1647 *${as_nl}ac_space=\ *)
1649 "s/'\''/'\''\\\\'\'''\''/g;
1650 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1653 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1661 ## ----------------- ##
1662 ## Output variables. ##
1663 ## ----------------- ##
1666 for ac_var in $ac_subst_vars
1668 eval ac_val=\$$ac_var
1670 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1672 echo "$ac_var='\''$ac_val'\''"
1676 if test -n "$ac_subst_files"; then
1678 ## ------------------- ##
1679 ## File substitutions. ##
1680 ## ------------------- ##
1683 for ac_var
in $ac_subst_files
1685 eval ac_val
=\$
$ac_var
1687 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1689 echo "$ac_var='\''$ac_val'\''"
1694 if test -s confdefs.h; then
1704 test "$ac_signal" != 0 &&
1705 echo "$as_me: caught signal $ac_signal"
1706 echo "$as_me: exit $exit_status"
1708 rm -f core *.core core.conftest.* &&
1709 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1712 for ac_signal
in 1 2 13 15; do
1713 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1717 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1718 rm -f -r conftest
* confdefs.h
1720 # Predefined preprocessor variables.
1722 cat >>confdefs.h
<<_ACEOF
1723 #define PACKAGE_NAME "$PACKAGE_NAME"
1727 cat >>confdefs.h
<<_ACEOF
1728 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1732 cat >>confdefs.h
<<_ACEOF
1733 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1737 cat >>confdefs.h
<<_ACEOF
1738 #define PACKAGE_STRING "$PACKAGE_STRING"
1742 cat >>confdefs.h
<<_ACEOF
1743 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1747 # Let the site file select an alternate cache file if it wants to.
1748 # Prefer explicitly selected file to automatically selected ones.
1749 if test -n "$CONFIG_SITE"; then
1750 set x
"$CONFIG_SITE"
1751 elif test "x$prefix" != xNONE
; then
1752 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1754 set x
"$ac_default_prefix/share/config.site" \
1755 "$ac_default_prefix/etc/config.site"
1760 if test -r "$ac_site_file"; then
1761 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1762 echo "$as_me: loading site script $ac_site_file" >&6;}
1763 sed 's/^/| /' "$ac_site_file" >&5
1768 if test -r "$cache_file"; then
1769 # Some versions of bash will fail to source /dev/null (special
1770 # files actually), so we avoid doing that.
1771 if test -f "$cache_file"; then
1772 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1773 echo "$as_me: loading cache $cache_file" >&6;}
1775 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1776 *) .
"./$cache_file";;
1780 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1781 echo "$as_me: creating cache $cache_file" >&6;}
1785 # Check that the precious variables saved in the cache have kept the same
1787 ac_cache_corrupted
=false
1788 for ac_var
in $ac_precious_vars; do
1789 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1790 eval ac_new_set
=\
$ac_env_${ac_var}_set
1791 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1792 eval ac_new_val
=\
$ac_env_${ac_var}_value
1793 case $ac_old_set,$ac_new_set in
1795 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1796 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1797 ac_cache_corrupted
=: ;;
1799 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1800 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1801 ac_cache_corrupted
=: ;;
1804 if test "x$ac_old_val" != "x$ac_new_val"; then
1805 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1806 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1807 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1808 echo "$as_me: former value: $ac_old_val" >&2;}
1809 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1810 echo "$as_me: current value: $ac_new_val" >&2;}
1811 ac_cache_corrupted
=:
1814 # Pass precious variables to config.status.
1815 if test "$ac_new_set" = set; then
1817 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1818 *) ac_arg
=$ac_var=$ac_new_val ;;
1820 case " $ac_configure_args " in
1821 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1822 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1826 if $ac_cache_corrupted; then
1827 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1828 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1829 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1830 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1831 { (exit 1); exit 1; }; }
1859 ac_cpp
='$CPP $CPPFLAGS'
1860 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1861 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1862 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1866 ac_config_headers
="$ac_config_headers include/config.h"
1869 for ac_dir
in tools
"$srcdir"/tools
; do
1870 if test -f "$ac_dir/install-sh"; then
1872 ac_install_sh
="$ac_aux_dir/install-sh -c"
1874 elif test -f "$ac_dir/install.sh"; then
1876 ac_install_sh
="$ac_aux_dir/install.sh -c"
1878 elif test -f "$ac_dir/shtool"; then
1880 ac_install_sh
="$ac_aux_dir/shtool install -c"
1884 if test -z "$ac_aux_dir"; then
1885 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1886 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1887 { (exit 1); exit 1; }; }
1890 # These three variables are undocumented and unsupported,
1891 # and are intended to be withdrawn in a future Autoconf release.
1892 # They can cause serious problems if a builder's source tree is in a directory
1893 # whose full name contains unusual characters.
1894 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1895 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1896 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1901 # Check whether --enable-win16 was given.
1902 if test "${enable_win16+set}" = set; then
1903 enableval
=$enable_win16;
1906 # Check whether --enable-win64 was given.
1907 if test "${enable_win64+set}" = set; then
1908 enableval
=$enable_win64;
1911 # Check whether --enable-maintainer-mode was given.
1912 if test "${enable_maintainer_mode+set}" = set; then
1913 enableval
=$enable_maintainer_mode;
1921 # Check whether --with-alsa was given.
1922 if test "${with_alsa+set}" = set; then
1923 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
1927 # Check whether --with-audioio was given.
1928 if test "${with_audioio+set}" = set; then
1929 withval
=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h
=no
; fi
1933 # Check whether --with-capi was given.
1934 if test "${with_capi+set}" = set; then
1935 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
1939 # Check whether --with-cms was given.
1940 if test "${with_cms+set}" = set; then
1941 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
1945 # Check whether --with-coreaudio was given.
1946 if test "${with_coreaudio+set}" = set; then
1947 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
1951 # Check whether --with-cups was given.
1952 if test "${with_cups+set}" = set; then
1953 withval
=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h
=no
; fi
1957 # Check whether --with-curses was given.
1958 if test "${with_curses+set}" = set; then
1959 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
1963 # Check whether --with-esd was given.
1964 if test "${with_esd+set}" = set; then
1969 # Check whether --with-fontconfig was given.
1970 if test "${with_fontconfig+set}" = set; then
1971 withval
=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h
=no
; fi
1975 # Check whether --with-freetype was given.
1976 if test "${with_freetype+set}" = set; then
1977 withval
=$with_freetype;
1981 # Check whether --with-gphoto was given.
1982 if test "${with_gphoto+set}" = set; then
1983 withval
=$with_gphoto;
1987 # Check whether --with-glu was given.
1988 if test "${with_glu+set}" = set; then
1989 withval
=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h
=no
; fi
1993 # Check whether --with-hal was given.
1994 if test "${with_hal+set}" = set; then
1999 # Check whether --with-jack was given.
2000 if test "${with_jack+set}" = set; then
2001 withval
=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h
=no
; fi
2005 # Check whether --with-jpeg was given.
2006 if test "${with_jpeg+set}" = set; then
2007 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2011 # Check whether --with-ldap was given.
2012 if test "${with_ldap+set}" = set; then
2013 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2017 # Check whether --with-nas was given.
2018 if test "${with_nas+set}" = set; then
2019 withval
=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h
=no
; fi
2023 # Check whether --with-opengl was given.
2024 if test "${with_opengl+set}" = set; then
2025 withval
=$with_opengl;
2029 # Check whether --with-openssl was given.
2030 if test "${with_openssl+set}" = set; then
2031 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2035 # Check whether --with-oss was given.
2036 if test "${with_oss+set}" = set; then
2037 withval
=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h
=no
; ac_cv_header_sys_soundcard_h
=no
; ac_cv_header_machine_soundcard_h
=no
; fi
2041 # Check whether --with-png was given.
2042 if test "${with_png+set}" = set; then
2043 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2047 # Check whether --with-sane was given.
2048 if test "${with_sane+set}" = set; then
2053 # Check whether --with-xcomposite was given.
2054 if test "${with_xcomposite+set}" = set; then
2055 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2059 # Check whether --with-xcursor was given.
2060 if test "${with_xcursor+set}" = set; then
2061 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2065 # Check whether --with-xinerama was given.
2066 if test "${with_xinerama+set}" = set; then
2067 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2071 # Check whether --with-xinput was given.
2072 if test "${with_xinput+set}" = set; then
2073 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2077 # Check whether --with-xml was given.
2078 if test "${with_xml+set}" = set; then
2083 # Check whether --with-xrandr was given.
2084 if test "${with_xrandr+set}" = set; then
2085 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2089 # Check whether --with-xrender was given.
2090 if test "${with_xrender+set}" = set; then
2091 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2095 # Check whether --with-xshape was given.
2096 if test "${with_xshape+set}" = set; then
2097 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2101 # Check whether --with-xshm was given.
2102 if test "${with_xshm+set}" = set; then
2103 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2107 # Check whether --with-xslt was given.
2108 if test "${with_xslt+set}" = set; then
2113 # Check whether --with-xvidmode was given.
2114 if test "${with_xvidmode+set}" = set; then
2115 withval
=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h
=no
; fi
2120 # Check whether --with-wine-tools was given.
2121 if test "${with_wine_tools+set}" = set; then
2122 withval
=$with_wine_tools;
2126 # Make sure we can run config.sub.
2127 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2128 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2129 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2130 { (exit 1); exit 1; }; }
2132 { echo "$as_me:$LINENO: checking build system type" >&5
2133 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2134 if test "${ac_cv_build+set}" = set; then
2135 echo $ECHO_N "(cached) $ECHO_C" >&6
2137 ac_build_alias
=$build_alias
2138 test "x$ac_build_alias" = x
&&
2139 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2140 test "x$ac_build_alias" = x
&&
2141 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2142 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2143 { (exit 1); exit 1; }; }
2144 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2145 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2146 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2147 { (exit 1); exit 1; }; }
2150 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2151 echo "${ECHO_T}$ac_cv_build" >&6; }
2152 case $ac_cv_build in
2154 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2155 echo "$as_me: error: invalid value of canonical build" >&2;}
2156 { (exit 1); exit 1; }; };;
2159 ac_save_IFS
=$IFS; IFS
='-'
2165 # Remember, the first character of IFS is used to create $*,
2166 # except with old shells:
2169 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2172 { echo "$as_me:$LINENO: checking host system type" >&5
2173 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2174 if test "${ac_cv_host+set}" = set; then
2175 echo $ECHO_N "(cached) $ECHO_C" >&6
2177 if test "x$host_alias" = x
; then
2178 ac_cv_host
=$ac_cv_build
2180 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2181 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2182 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2183 { (exit 1); exit 1; }; }
2187 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2188 echo "${ECHO_T}$ac_cv_host" >&6; }
2191 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2192 echo "$as_me: error: invalid value of canonical host" >&2;}
2193 { (exit 1); exit 1; }; };;
2196 ac_save_IFS
=$IFS; IFS
='-'
2202 # Remember, the first character of IFS is used to create $*,
2203 # except with old shells:
2206 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2211 if test "x$enable_win64" != "xyes"
2213 test -n "$CC" || CC
="gcc -m32"
2214 test -n "$CXX"|| CXX
="g++ -m32"
2215 test -n "$LD" || LD
="ld -m elf_i386"
2216 test -n "$AS" || AS
="as --32"
2224 if test "x$enable_win16" != "xno"
2231 WIN16_FILES
="\$(WIN16_FILES)"
2233 WIN16_INSTALL
="\$(WIN16_INSTALL)"
2235 if test "x$enable_win16" != "xyes"
2243 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2244 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2245 You need to run 'make distclean' in the source tree first." >&5
2246 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2247 You need to run 'make distclean' in the source tree first." >&2;}
2248 { (exit 1); exit 1; }; }
2253 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2254 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2255 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2256 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 cat >conftest.
make <<\_ACEOF
2262 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2264 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2265 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2267 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2269 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2273 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2274 { echo "$as_me:$LINENO: result: yes" >&5
2275 echo "${ECHO_T}yes" >&6; }
2278 { echo "$as_me:$LINENO: result: no" >&5
2279 echo "${ECHO_T}no" >&6; }
2280 SET_MAKE
="MAKE=${MAKE-make}"
2284 ac_cpp
='$CPP $CPPFLAGS'
2285 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2286 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2287 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2288 if test -n "$ac_tool_prefix"; then
2289 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2290 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2293 if test "${ac_cv_prog_CC+set}" = set; then
2294 echo $ECHO_N "(cached) $ECHO_C" >&6
2296 if test -n "$CC"; then
2297 ac_cv_prog_CC
="$CC" # Let the user override the test.
2299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2303 test -z "$as_dir" && as_dir
=.
2304 for ac_exec_ext
in '' $ac_executable_extensions; do
2305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2306 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2317 if test -n "$CC"; then
2318 { echo "$as_me:$LINENO: result: $CC" >&5
2319 echo "${ECHO_T}$CC" >&6; }
2321 { echo "$as_me:$LINENO: result: no" >&5
2322 echo "${ECHO_T}no" >&6; }
2327 if test -z "$ac_cv_prog_CC"; then
2329 # Extract the first word of "gcc", so it can be a program name with args.
2330 set dummy gcc
; ac_word
=$2
2331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2333 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2334 echo $ECHO_N "(cached) $ECHO_C" >&6
2336 if test -n "$ac_ct_CC"; then
2337 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2343 test -z "$as_dir" && as_dir
=.
2344 for ac_exec_ext
in '' $ac_executable_extensions; do
2345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2346 ac_cv_prog_ac_ct_CC
="gcc"
2347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2356 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2357 if test -n "$ac_ct_CC"; then
2358 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2359 echo "${ECHO_T}$ac_ct_CC" >&6; }
2361 { echo "$as_me:$LINENO: result: no" >&5
2362 echo "${ECHO_T}no" >&6; }
2365 if test "x$ac_ct_CC" = x
; then
2368 case $cross_compiling:$ac_tool_warned in
2370 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2371 whose name does not start with the host triplet. If you think this
2372 configuration is useful to you, please write to autoconf@gnu.org." >&5
2373 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2374 whose name does not start with the host triplet. If you think this
2375 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2376 ac_tool_warned
=yes ;;
2384 if test -z "$CC"; then
2385 if test -n "$ac_tool_prefix"; then
2386 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2387 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2390 if test "${ac_cv_prog_CC+set}" = set; then
2391 echo $ECHO_N "(cached) $ECHO_C" >&6
2393 if test -n "$CC"; then
2394 ac_cv_prog_CC
="$CC" # Let the user override the test.
2396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2400 test -z "$as_dir" && as_dir
=.
2401 for ac_exec_ext
in '' $ac_executable_extensions; do
2402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2403 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2414 if test -n "$CC"; then
2415 { echo "$as_me:$LINENO: result: $CC" >&5
2416 echo "${ECHO_T}$CC" >&6; }
2418 { echo "$as_me:$LINENO: result: no" >&5
2419 echo "${ECHO_T}no" >&6; }
2425 if test -z "$CC"; then
2426 # Extract the first word of "cc", so it can be a program name with args.
2427 set dummy cc
; ac_word
=$2
2428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2430 if test "${ac_cv_prog_CC+set}" = set; then
2431 echo $ECHO_N "(cached) $ECHO_C" >&6
2433 if test -n "$CC"; then
2434 ac_cv_prog_CC
="$CC" # Let the user override the test.
2437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2441 test -z "$as_dir" && as_dir
=.
2442 for ac_exec_ext
in '' $ac_executable_extensions; do
2443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2444 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2445 ac_prog_rejected
=yes
2449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2456 if test $ac_prog_rejected = yes; then
2457 # We found a bogon in the path, so make sure we never use it.
2458 set dummy
$ac_cv_prog_CC
2460 if test $# != 0; then
2461 # We chose a different compiler from the bogus one.
2462 # However, it has the same basename, so the bogon will be chosen
2463 # first if we set CC to just the basename; use the full file name.
2465 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2471 if test -n "$CC"; then
2472 { echo "$as_me:$LINENO: result: $CC" >&5
2473 echo "${ECHO_T}$CC" >&6; }
2475 { echo "$as_me:$LINENO: result: no" >&5
2476 echo "${ECHO_T}no" >&6; }
2481 if test -z "$CC"; then
2482 if test -n "$ac_tool_prefix"; then
2483 for ac_prog
in cl.exe
2485 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2486 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2489 if test "${ac_cv_prog_CC+set}" = set; then
2490 echo $ECHO_N "(cached) $ECHO_C" >&6
2492 if test -n "$CC"; then
2493 ac_cv_prog_CC
="$CC" # Let the user override the test.
2495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2499 test -z "$as_dir" && as_dir
=.
2500 for ac_exec_ext
in '' $ac_executable_extensions; do
2501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2502 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2513 if test -n "$CC"; then
2514 { echo "$as_me:$LINENO: result: $CC" >&5
2515 echo "${ECHO_T}$CC" >&6; }
2517 { echo "$as_me:$LINENO: result: no" >&5
2518 echo "${ECHO_T}no" >&6; }
2522 test -n "$CC" && break
2525 if test -z "$CC"; then
2527 for ac_prog
in cl.exe
2529 # Extract the first word of "$ac_prog", so it can be a program name with args.
2530 set dummy
$ac_prog; ac_word
=$2
2531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2533 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2534 echo $ECHO_N "(cached) $ECHO_C" >&6
2536 if test -n "$ac_ct_CC"; then
2537 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2543 test -z "$as_dir" && as_dir
=.
2544 for ac_exec_ext
in '' $ac_executable_extensions; do
2545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2546 ac_cv_prog_ac_ct_CC
="$ac_prog"
2547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2556 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2557 if test -n "$ac_ct_CC"; then
2558 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2559 echo "${ECHO_T}$ac_ct_CC" >&6; }
2561 { echo "$as_me:$LINENO: result: no" >&5
2562 echo "${ECHO_T}no" >&6; }
2566 test -n "$ac_ct_CC" && break
2569 if test "x$ac_ct_CC" = x
; then
2572 case $cross_compiling:$ac_tool_warned in
2574 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2575 whose name does not start with the host triplet. If you think this
2576 configuration is useful to you, please write to autoconf@gnu.org." >&5
2577 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2578 whose name does not start with the host triplet. If you think this
2579 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2580 ac_tool_warned
=yes ;;
2589 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2590 See \`config.log' for more details." >&5
2591 echo "$as_me: error: no acceptable C compiler found in \$PATH
2592 See \`config.log' for more details." >&2;}
2593 { (exit 1); exit 1; }; }
2595 # Provide some information about the compiler.
2596 echo "$as_me:$LINENO: checking for C compiler version" >&5
2597 ac_compiler
=`set X $ac_compile; echo $2`
2598 { (ac_try
="$ac_compiler --version >&5"
2600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2601 *) ac_try_echo=$ac_try;;
2603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2604 (eval "$ac_compiler --version >&5") 2>&5
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }
2608 { (ac_try="$ac_compiler -v >&5"
2610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2611 *) ac_try_echo
=$ac_try;;
2613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2614 (eval "$ac_compiler -v >&5") 2>&5
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }
2618 { (ac_try
="$ac_compiler -V >&5"
2620 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2621 *) ac_try_echo=$ac_try;;
2623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2624 (eval "$ac_compiler -V >&5") 2>&5
2626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627 (exit $ac_status); }
2629 cat >conftest.$ac_ext <<_ACEOF
2632 cat confdefs.h >>conftest.$ac_ext
2633 cat >>conftest.$ac_ext <<_ACEOF
2634 /* end confdefs.h. */
2644 ac_clean_files_save=$ac_clean_files
2645 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2646 # Try to create an executable without -o first, disregard a.out.
2647 # It will help us diagnose broken compilers, and finding out an intuition
2649 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2650 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2651 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2653 # List of possible output files, starting from the most likely.
2654 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2655 # only as a last resort. b.out is created by i960 compilers.
2656 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2658 # The IRIX 6 linker writes into existing files which may not be
2659 # executable, retaining their permissions. Remove them first so a
2660 # subsequent execution test works.
2662 for ac_file in $ac_files
2665 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2666 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2671 if { (ac_try="$ac_link_default"
2673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2674 *) ac_try_echo=$ac_try;;
2676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2677 (eval "$ac_link_default") 2>&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); }; then
2681 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2682 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2683 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2684 # so that the user can short-circuit this test for compilers unknown to
2686 for ac_file
in $ac_files ''
2688 test -f "$ac_file" ||
continue
2690 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2693 # We found the default executable, but exeext='' is most
2697 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2699 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2701 # We set ac_cv_exeext here because the later test for it is not
2702 # safe: cross compilers may not add the suffix if given an `-o'
2703 # argument, so we may need to know it at that point already.
2704 # Even if this section looks crufty: it has the advantage of
2711 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2717 { echo "$as_me:$LINENO: result: $ac_file" >&5
2718 echo "${ECHO_T}$ac_file" >&6; }
2719 if test -z "$ac_file"; then
2720 echo "$as_me: failed program was:" >&5
2721 sed 's/^/| /' conftest.
$ac_ext >&5
2723 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2724 See \`config.log' for more details." >&5
2725 echo "$as_me: error: C compiler cannot create executables
2726 See \`config.log' for more details." >&2;}
2727 { (exit 77); exit 77; }; }
2730 ac_exeext
=$ac_cv_exeext
2732 # Check that the compiler produces executables we can run. If not, either
2733 # the compiler is broken, or we cross compile.
2734 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2735 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2736 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2737 # If not cross compiling, check that we can run a simple program.
2738 if test "$cross_compiling" != yes; then
2739 if { ac_try
='./$ac_file'
2740 { (case "(($ac_try" in
2741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2742 *) ac_try_echo=$ac_try;;
2744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2745 (eval "$ac_try") 2>&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }; }; then
2751 if test "$cross_compiling" = maybe; then
2754 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2755 If you meant to cross compile, use \`--host'.
2756 See \`config.log' for more details.
" >&5
2757 echo "$as_me: error
: cannot run C compiled programs.
2758 If you meant to cross compile
, use \
`--host'.
2759 See \`config.log
' for more details." >&2;}
2760 { (exit 1); exit 1; }; }
2764 { echo "$as_me:$LINENO: result: yes" >&5
2765 echo "${ECHO_T}yes" >&6; }
2767 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2768 ac_clean_files=$ac_clean_files_save
2769 # Check that the compiler produces executables we can run. If not, either
2770 # the compiler is broken, or we cross compile.
2771 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2772 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2773 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2774 echo "${ECHO_T}$cross_compiling" >&6; }
2776 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2777 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2778 if { (ac_try="$ac_link"
2780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781 *) ac_try_echo=$ac_try;;
2783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2784 (eval "$ac_link") 2>&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); }; then
2788 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2789 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2790 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2792 for ac_file
in conftest.exe conftest conftest.
*; do
2793 test -f "$ac_file" ||
continue
2795 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2796 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2802 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2803 See \`config.log' for more details." >&5
2804 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2805 See \`config.log' for more details." >&2;}
2806 { (exit 1); exit 1; }; }
2809 rm -f conftest
$ac_cv_exeext
2810 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2811 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2813 rm -f conftest.
$ac_ext
2814 EXEEXT
=$ac_cv_exeext
2816 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2817 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2818 if test "${ac_cv_objext+set}" = set; then
2819 echo $ECHO_N "(cached) $ECHO_C" >&6
2821 cat >conftest.
$ac_ext <<_ACEOF
2824 cat confdefs.h
>>conftest.
$ac_ext
2825 cat >>conftest.
$ac_ext <<_ACEOF
2826 /* end confdefs.h. */
2836 rm -f conftest.o conftest.obj
2837 if { (ac_try
="$ac_compile"
2839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2843 (eval "$ac_compile") 2>&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; then
2847 for ac_file in conftest.o conftest.obj conftest.*; do
2848 test -f "$ac_file" || continue;
2850 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2851 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2856 echo "$as_me: failed program was:" >&5
2857 sed 's/^/| /' conftest.$ac_ext >&5
2859 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2860 See \`config.log
' for more details." >&5
2861 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2862 See \`config.log' for more details.
" >&2;}
2863 { (exit 1); exit 1; }; }
2866 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2868 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2869 echo "${ECHO_T}$ac_cv_objext" >&6; }
2870 OBJEXT=$ac_cv_objext
2872 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2873 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2874 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2875 echo $ECHO_N "(cached
) $ECHO_C" >&6
2877 cat >conftest.$ac_ext <<_ACEOF
2880 cat confdefs.h >>conftest.$ac_ext
2881 cat >>conftest.$ac_ext <<_ACEOF
2882 /* end confdefs.h. */
2895 rm -f conftest.$ac_objext
2896 if { (ac_try="$ac_compile"
2898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2899 *) ac_try_echo=$ac_try;;
2901 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2902 (eval "$ac_compile") 2>conftest.er1
2904 grep -v '^ *+' conftest.er1 >conftest.err
2906 cat conftest.err >&5
2907 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2908 (exit $ac_status); } && {
2909 test -z "$ac_c_werror_flag" ||
2910 test ! -s conftest.err
2911 } && test -s conftest.$ac_objext; then
2914 echo "$as_me: failed program was
:" >&5
2915 sed 's/^/| /' conftest.$ac_ext >&5
2920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2921 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2924 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2925 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2926 GCC=`test $ac_compiler_gnu = yes && echo yes`
2927 ac_test_CFLAGS=${CFLAGS+set}
2928 ac_save_CFLAGS=$CFLAGS
2929 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2930 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2931 if test "${ac_cv_prog_cc_g+set}" = set; then
2932 echo $ECHO_N "(cached
) $ECHO_C" >&6
2934 ac_save_c_werror_flag=$ac_c_werror_flag
2935 ac_c_werror_flag=yes
2938 cat >conftest.$ac_ext <<_ACEOF
2941 cat confdefs.h >>conftest.$ac_ext
2942 cat >>conftest.$ac_ext <<_ACEOF
2943 /* end confdefs.h. */
2953 rm -f conftest.$ac_objext
2954 if { (ac_try="$ac_compile"
2956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2957 *) ac_try_echo=$ac_try;;
2959 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2960 (eval "$ac_compile") 2>conftest.er1
2962 grep -v '^ *+' conftest.er1 >conftest.err
2964 cat conftest.err >&5
2965 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2966 (exit $ac_status); } && {
2967 test -z "$ac_c_werror_flag" ||
2968 test ! -s conftest.err
2969 } && test -s conftest.$ac_objext; then
2972 echo "$as_me: failed program was
:" >&5
2973 sed 's/^/| /' conftest.$ac_ext >&5
2976 cat >conftest.$ac_ext <<_ACEOF
2979 cat confdefs.h >>conftest.$ac_ext
2980 cat >>conftest.$ac_ext <<_ACEOF
2981 /* end confdefs.h. */
2991 rm -f conftest.$ac_objext
2992 if { (ac_try="$ac_compile"
2994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2995 *) ac_try_echo=$ac_try;;
2997 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2998 (eval "$ac_compile") 2>conftest.er1
3000 grep -v '^ *+' conftest.er1 >conftest.err
3002 cat conftest.err >&5
3003 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3004 (exit $ac_status); } && {
3005 test -z "$ac_c_werror_flag" ||
3006 test ! -s conftest.err
3007 } && test -s conftest.$ac_objext; then
3010 echo "$as_me: failed program was
:" >&5
3011 sed 's/^/| /' conftest.$ac_ext >&5
3013 ac_c_werror_flag=$ac_save_c_werror_flag
3015 cat >conftest.$ac_ext <<_ACEOF
3018 cat confdefs.h >>conftest.$ac_ext
3019 cat >>conftest.$ac_ext <<_ACEOF
3020 /* end confdefs.h. */
3030 rm -f conftest.$ac_objext
3031 if { (ac_try="$ac_compile"
3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3034 *) ac_try_echo=$ac_try;;
3036 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3037 (eval "$ac_compile") 2>conftest.er1
3039 grep -v '^ *+' conftest.er1 >conftest.err
3041 cat conftest.err >&5
3042 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3043 (exit $ac_status); } && {
3044 test -z "$ac_c_werror_flag" ||
3045 test ! -s conftest.err
3046 } && test -s conftest.$ac_objext; then
3049 echo "$as_me: failed program was
:" >&5
3050 sed 's/^/| /' conftest.$ac_ext >&5
3055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3062 ac_c_werror_flag=$ac_save_c_werror_flag
3064 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3065 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3066 if test "$ac_test_CFLAGS" = set; then
3067 CFLAGS=$ac_save_CFLAGS
3068 elif test $ac_cv_prog_cc_g = yes; then
3069 if test "$GCC" = yes; then
3075 if test "$GCC" = yes; then
3081 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3082 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3083 if test "${ac_cv_prog_cc_c89+set}" = set; then
3084 echo $ECHO_N "(cached
) $ECHO_C" >&6
3086 ac_cv_prog_cc_c89=no
3088 cat >conftest.$ac_ext <<_ACEOF
3091 cat confdefs.h >>conftest.$ac_ext
3092 cat >>conftest.$ac_ext <<_ACEOF
3093 /* end confdefs.h. */
3096 #include <sys/types.h>
3097 #include <sys/stat.h>
3098 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3099 struct buf { int x; };
3100 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3101 static char *e (p, i)
3107 static char *f (char * (*g) (char **, int), char **p, ...)
3112 s = g (p, va_arg (v,int));
3117 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3118 function prototypes and stuff, but not '\xHH' hex character constants.
3119 These don't provoke an error unfortunately, instead are silently treated
3120 as 'x'. The following induces an error, until -std is added to get
3121 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3122 array size at least. It's necessary to write '\x00'==0 to get something
3123 that's true only with -std. */
3124 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3126 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3127 inside strings and character constants. */
3129 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3131 int test (int i, double x);
3132 struct s1 {int (*f) (int a);};
3133 struct s2 {int (*f) (double a);};
3134 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3140 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3145 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3146 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3148 CC="$ac_save_CC $ac_arg"
3149 rm -f conftest.$ac_objext
3150 if { (ac_try="$ac_compile"
3152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153 *) ac_try_echo=$ac_try;;
3155 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3156 (eval "$ac_compile") 2>conftest.er1
3158 grep -v '^ *+' conftest.er1 >conftest.err
3160 cat conftest.err >&5
3161 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3162 (exit $ac_status); } && {
3163 test -z "$ac_c_werror_flag" ||
3164 test ! -s conftest.err
3165 } && test -s conftest.$ac_objext; then
3166 ac_cv_prog_cc_c89=$ac_arg
3168 echo "$as_me: failed program was
:" >&5
3169 sed 's/^/| /' conftest.$ac_ext >&5
3174 rm -f core conftest.err conftest.$ac_objext
3175 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3177 rm -f conftest.$ac_ext
3182 case "x
$ac_cv_prog_cc_c89" in
3184 { echo "$as_me:$LINENO: result
: none needed
" >&5
3185 echo "${ECHO_T}none needed
" >&6; } ;;
3187 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3188 echo "${ECHO_T}unsupported
" >&6; } ;;
3190 CC="$CC $ac_cv_prog_cc_c89"
3191 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3192 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3197 ac_cpp='$CPP $CPPFLAGS'
3198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3203 ac_cpp='$CXXCPP $CPPFLAGS'
3204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3207 if test -z "$CXX"; then
3208 if test -n "$CCC"; then
3211 if test -n "$ac_tool_prefix"; then
3212 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3214 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3215 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3216 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3217 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3218 if test "${ac_cv_prog_CXX+set}" = set; then
3219 echo $ECHO_N "(cached
) $ECHO_C" >&6
3221 if test -n "$CXX"; then
3222 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3228 test -z "$as_dir" && as_dir=.
3229 for ac_exec_ext in '' $ac_executable_extensions; do
3230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3231 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3232 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3242 if test -n "$CXX"; then
3243 { echo "$as_me:$LINENO: result
: $CXX" >&5
3244 echo "${ECHO_T}$CXX" >&6; }
3246 { echo "$as_me:$LINENO: result
: no
" >&5
3247 echo "${ECHO_T}no
" >&6; }
3251 test -n "$CXX" && break
3254 if test -z "$CXX"; then
3256 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3258 # Extract the first word of "$ac_prog", so it can be a program name with args.
3259 set dummy $ac_prog; ac_word=$2
3260 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3261 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3262 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3263 echo $ECHO_N "(cached
) $ECHO_C" >&6
3265 if test -n "$ac_ct_CXX"; then
3266 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3272 test -z "$as_dir" && as_dir=.
3273 for ac_exec_ext in '' $ac_executable_extensions; do
3274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3275 ac_cv_prog_ac_ct_CXX="$ac_prog"
3276 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3285 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3286 if test -n "$ac_ct_CXX"; then
3287 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3288 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3290 { echo "$as_me:$LINENO: result
: no
" >&5
3291 echo "${ECHO_T}no
" >&6; }
3295 test -n "$ac_ct_CXX" && break
3298 if test "x
$ac_ct_CXX" = x; then
3301 case $cross_compiling:$ac_tool_warned in
3303 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3304 whose name does not start with the
host triplet. If you think this
3305 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3306 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3307 whose name does not start with the
host triplet. If you think this
3308 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3309 ac_tool_warned=yes ;;
3317 # Provide some information about the compiler.
3318 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3319 ac_compiler=`set X $ac_compile; echo $2`
3320 { (ac_try="$ac_compiler --version >&5"
3322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3323 *) ac_try_echo=$ac_try;;
3325 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3326 (eval "$ac_compiler --version >&5") 2>&5
3328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3329 (exit $ac_status); }
3330 { (ac_try="$ac_compiler -v >&5"
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3336 (eval "$ac_compiler -v >&5") 2>&5
3338 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3339 (exit $ac_status); }
3340 { (ac_try="$ac_compiler -V >&5"
3342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3343 *) ac_try_echo=$ac_try;;
3345 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3346 (eval "$ac_compiler -V >&5") 2>&5
3348 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3349 (exit $ac_status); }
3351 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3352 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3353 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3354 echo $ECHO_N "(cached
) $ECHO_C" >&6
3356 cat >conftest.$ac_ext <<_ACEOF
3359 cat confdefs.h >>conftest.$ac_ext
3360 cat >>conftest.$ac_ext <<_ACEOF
3361 /* end confdefs.h. */
3374 rm -f conftest.$ac_objext
3375 if { (ac_try="$ac_compile"
3377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3378 *) ac_try_echo=$ac_try;;
3380 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3381 (eval "$ac_compile") 2>conftest.er1
3383 grep -v '^ *+' conftest.er1 >conftest.err
3385 cat conftest.err >&5
3386 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3387 (exit $ac_status); } && {
3388 test -z "$ac_cxx_werror_flag" ||
3389 test ! -s conftest.err
3390 } && test -s conftest.$ac_objext; then
3393 echo "$as_me: failed program was
:" >&5
3394 sed 's/^/| /' conftest.$ac_ext >&5
3399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3400 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3403 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3404 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3405 GXX=`test $ac_compiler_gnu = yes && echo yes`
3406 ac_test_CXXFLAGS=${CXXFLAGS+set}
3407 ac_save_CXXFLAGS=$CXXFLAGS
3408 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3409 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3410 if test "${ac_cv_prog_cxx_g+set}" = set; then
3411 echo $ECHO_N "(cached
) $ECHO_C" >&6
3413 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3414 ac_cxx_werror_flag=yes
3417 cat >conftest.$ac_ext <<_ACEOF
3420 cat confdefs.h >>conftest.$ac_ext
3421 cat >>conftest.$ac_ext <<_ACEOF
3422 /* end confdefs.h. */
3432 rm -f conftest.$ac_objext
3433 if { (ac_try="$ac_compile"
3435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3436 *) ac_try_echo=$ac_try;;
3438 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3439 (eval "$ac_compile") 2>conftest.er1
3441 grep -v '^ *+' conftest.er1 >conftest.err
3443 cat conftest.err >&5
3444 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3445 (exit $ac_status); } && {
3446 test -z "$ac_cxx_werror_flag" ||
3447 test ! -s conftest.err
3448 } && test -s conftest.$ac_objext; then
3449 ac_cv_prog_cxx_g=yes
3451 echo "$as_me: failed program was
:" >&5
3452 sed 's/^/| /' conftest.$ac_ext >&5
3455 cat >conftest.$ac_ext <<_ACEOF
3458 cat confdefs.h >>conftest.$ac_ext
3459 cat >>conftest.$ac_ext <<_ACEOF
3460 /* end confdefs.h. */
3470 rm -f conftest.$ac_objext
3471 if { (ac_try="$ac_compile"
3473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3474 *) ac_try_echo=$ac_try;;
3476 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3477 (eval "$ac_compile") 2>conftest.er1
3479 grep -v '^ *+' conftest.er1 >conftest.err
3481 cat conftest.err >&5
3482 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3483 (exit $ac_status); } && {
3484 test -z "$ac_cxx_werror_flag" ||
3485 test ! -s conftest.err
3486 } && test -s conftest.$ac_objext; then
3489 echo "$as_me: failed program was
:" >&5
3490 sed 's/^/| /' conftest.$ac_ext >&5
3492 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3494 cat >conftest.$ac_ext <<_ACEOF
3497 cat confdefs.h >>conftest.$ac_ext
3498 cat >>conftest.$ac_ext <<_ACEOF
3499 /* end confdefs.h. */
3509 rm -f conftest.$ac_objext
3510 if { (ac_try="$ac_compile"
3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3515 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3516 (eval "$ac_compile") 2>conftest.er1
3518 grep -v '^ *+' conftest.er1 >conftest.err
3520 cat conftest.err >&5
3521 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3522 (exit $ac_status); } && {
3523 test -z "$ac_cxx_werror_flag" ||
3524 test ! -s conftest.err
3525 } && test -s conftest.$ac_objext; then
3526 ac_cv_prog_cxx_g=yes
3528 echo "$as_me: failed program was
:" >&5
3529 sed 's/^/| /' conftest.$ac_ext >&5
3534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3541 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3543 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3544 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3545 if test "$ac_test_CXXFLAGS" = set; then
3546 CXXFLAGS=$ac_save_CXXFLAGS
3547 elif test $ac_cv_prog_cxx_g = yes; then
3548 if test "$GXX" = yes; then
3554 if test "$GXX" = yes; then
3561 ac_cpp='$CPP $CPPFLAGS'
3562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3566 if test -n "$ac_tool_prefix"; then
3567 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3568 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3569 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3570 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3571 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3572 echo $ECHO_N "(cached
) $ECHO_C" >&6
3574 if test -n "$CPPBIN"; then
3575 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581 test -z "$as_dir" && as_dir=.
3582 for ac_exec_ext in '' $ac_executable_extensions; do
3583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3584 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3585 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3594 CPPBIN=$ac_cv_prog_CPPBIN
3595 if test -n "$CPPBIN"; then
3596 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3597 echo "${ECHO_T}$CPPBIN" >&6; }
3599 { echo "$as_me:$LINENO: result
: no
" >&5
3600 echo "${ECHO_T}no
" >&6; }
3605 if test -z "$ac_cv_prog_CPPBIN"; then
3606 ac_ct_CPPBIN=$CPPBIN
3607 # Extract the first word of "cpp
", so it can be a program name with args.
3608 set dummy cpp; ac_word=$2
3609 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3610 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3611 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3612 echo $ECHO_N "(cached
) $ECHO_C" >&6
3614 if test -n "$ac_ct_CPPBIN"; then
3615 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3621 test -z "$as_dir" && as_dir=.
3622 for ac_exec_ext in '' $ac_executable_extensions; do
3623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3624 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3625 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3634 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3635 if test -n "$ac_ct_CPPBIN"; then
3636 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3637 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3639 { echo "$as_me:$LINENO: result
: no
" >&5
3640 echo "${ECHO_T}no
" >&6; }
3643 if test "x
$ac_ct_CPPBIN" = x; then
3646 case $cross_compiling:$ac_tool_warned in
3648 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3649 whose name does not start with the
host triplet. If you think this
3650 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3651 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3652 whose name does not start with the
host triplet. If you think this
3653 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3654 ac_tool_warned=yes ;;
3656 CPPBIN=$ac_ct_CPPBIN
3659 CPPBIN="$ac_cv_prog_CPPBIN"
3663 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3664 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3665 if test "${wine_cv_toolsdir+set}" = set; then
3666 echo $ECHO_N "(cached
) $ECHO_C" >&6
3668 if test -z "$with_wine_tools"; then
3669 if test "$cross_compiling" = "yes"; then
3670 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3671 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3672 { (exit 1); exit 1; }; }
3674 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3676 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3677 case $with_wine_tools in
3678 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3679 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3682 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3683 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3684 { (exit 1); exit 1; }; }
3687 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3688 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3689 TOOLSDIR=$wine_cv_toolsdir
3694 ac_cpp='$CPP $CPPFLAGS'
3695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3698 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3699 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3700 # On Suns, sometimes $CPP names a directory.
3701 if test -n "$CPP" && test -d "$CPP"; then
3704 if test -z "$CPP"; then
3705 if test "${ac_cv_prog_CPP+set}" = set; then
3706 echo $ECHO_N "(cached
) $ECHO_C" >&6
3708 # Double quotes because CPP needs to be expanded
3709 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3712 for ac_c_preproc_warn_flag in '' yes
3714 # Use a header file that comes with gcc, so configuring glibc
3715 # with a fresh cross-compiler works.
3716 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3717 # <limits.h> exists even on freestanding compilers.
3718 # On the NeXT, cc -E runs the code through the compiler's parser,
3719 # not just through cpp. "Syntax error
" is here to catch this case.
3720 cat >conftest.$ac_ext <<_ACEOF
3723 cat confdefs.h >>conftest.$ac_ext
3724 cat >>conftest.$ac_ext <<_ACEOF
3725 /* end confdefs.h. */
3727 # include <limits.h>
3729 # include <assert.h>
3733 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3736 *) ac_try_echo=$ac_try;;
3738 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3739 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3741 grep -v '^ *+' conftest.er1 >conftest.err
3743 cat conftest.err >&5
3744 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3745 (exit $ac_status); } >/dev/null && {
3746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3747 test ! -s conftest.err
3751 echo "$as_me: failed program was
:" >&5
3752 sed 's/^/| /' conftest.$ac_ext >&5
3754 # Broken: fails on valid input.
3758 rm -f conftest.err conftest.$ac_ext
3760 # OK, works on sane cases. Now check whether nonexistent headers
3761 # can be detected and how.
3762 cat >conftest.$ac_ext <<_ACEOF
3765 cat confdefs.h >>conftest.$ac_ext
3766 cat >>conftest.$ac_ext <<_ACEOF
3767 /* end confdefs.h. */
3768 #include <ac_nonexistent.h>
3770 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3773 *) ac_try_echo=$ac_try;;
3775 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3776 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3778 grep -v '^ *+' conftest.er1 >conftest.err
3780 cat conftest.err >&5
3781 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3782 (exit $ac_status); } >/dev/null && {
3783 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3784 test ! -s conftest.err
3786 # Broken: success on invalid input.
3789 echo "$as_me: failed program was
:" >&5
3790 sed 's/^/| /' conftest.$ac_ext >&5
3792 # Passes both tests.
3797 rm -f conftest.err conftest.$ac_ext
3800 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3801 rm -f conftest.err conftest.$ac_ext
3802 if $ac_preproc_ok; then
3814 { echo "$as_me:$LINENO: result
: $CPP" >&5
3815 echo "${ECHO_T}$CPP" >&6; }
3817 for ac_c_preproc_warn_flag in '' yes
3819 # Use a header file that comes with gcc, so configuring glibc
3820 # with a fresh cross-compiler works.
3821 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3822 # <limits.h> exists even on freestanding compilers.
3823 # On the NeXT, cc -E runs the code through the compiler's parser,
3824 # not just through cpp. "Syntax error
" is here to catch this case.
3825 cat >conftest.$ac_ext <<_ACEOF
3828 cat confdefs.h >>conftest.$ac_ext
3829 cat >>conftest.$ac_ext <<_ACEOF
3830 /* end confdefs.h. */
3832 # include <limits.h>
3834 # include <assert.h>
3838 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3841 *) ac_try_echo=$ac_try;;
3843 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3844 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3846 grep -v '^ *+' conftest.er1 >conftest.err
3848 cat conftest.err >&5
3849 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3850 (exit $ac_status); } >/dev/null && {
3851 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3852 test ! -s conftest.err
3856 echo "$as_me: failed program was
:" >&5
3857 sed 's/^/| /' conftest.$ac_ext >&5
3859 # Broken: fails on valid input.
3863 rm -f conftest.err conftest.$ac_ext
3865 # OK, works on sane cases. Now check whether nonexistent headers
3866 # can be detected and how.
3867 cat >conftest.$ac_ext <<_ACEOF
3870 cat confdefs.h >>conftest.$ac_ext
3871 cat >>conftest.$ac_ext <<_ACEOF
3872 /* end confdefs.h. */
3873 #include <ac_nonexistent.h>
3875 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3878 *) ac_try_echo=$ac_try;;
3880 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3881 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3883 grep -v '^ *+' conftest.er1 >conftest.err
3885 cat conftest.err >&5
3886 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3887 (exit $ac_status); } >/dev/null && {
3888 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3889 test ! -s conftest.err
3891 # Broken: success on invalid input.
3894 echo "$as_me: failed program was
:" >&5
3895 sed 's/^/| /' conftest.$ac_ext >&5
3897 # Passes both tests.
3902 rm -f conftest.err conftest.$ac_ext
3905 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3906 rm -f conftest.err conftest.$ac_ext
3907 if $ac_preproc_ok; then
3910 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3911 See \
`config.log' for more details." >&5
3912 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3913 See \`config.log
' for more details." >&2;}
3914 { (exit 1); exit 1; }; }
3918 ac_cpp='$CPP $CPPFLAGS'
3919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3920 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3924 { echo "$as_me:$LINENO: checking for X" >&5
3925 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3928 # Check whether --with-x was given.
3929 if test "${with_x+set}" = set; then
3933 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3934 if test "x$with_x" = xno; then
3935 # The user explicitly disabled X.
3938 case $x_includes,$x_libraries in #(
3939 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3940 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3941 { (exit 1); exit 1; }; };; #(
3942 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3943 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 # One or both of the vars are not set, and there is no cached value.
3946 ac_x_includes=no ac_x_libraries=no
3947 rm -f -r conftest.dir
3948 if mkdir conftest.dir; then
3950 cat >Imakefile <<'_ACEOF'
3952 @echo incroot='${INCROOT}'
3954 @echo usrlibdir='${USRLIBDIR}'
3956 @echo libdir='${LIBDIR}'
3958 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3959 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3960 for ac_var in incroot usrlibdir libdir; do
3961 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3963 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3964 for ac_extension in a so sl; do
3965 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3966 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3967 ac_im_usrlibdir=$ac_im_libdir; break
3970 # Screen out bogus values from the imake configuration. They are
3971 # bogus both because they are the default anyway, and because
3972 # using them would break gcc on systems where it needs fixed includes.
3973 case $ac_im_incroot in
3974 /usr/include) ac_x_includes= ;;
3975 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3977 case $ac_im_usrlibdir in
3979 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3983 rm -f -r conftest.dir
3986 # Standard set of common directories for X headers.
3987 # Check X11 before X11Rn because it is often a symlink to the current release.
3999 /usr
/local
/X11
/include
4000 /usr
/local
/X11R
6/include
4001 /usr
/local
/X11R
5/include
4002 /usr
/local
/X11R
4/include
4004 /usr
/local
/include
/X11
4005 /usr
/local
/include
/X11R6
4006 /usr
/local
/include
/X11R5
4007 /usr
/local
/include
/X11R4
4011 /usr
/XFree86
/include
/X11
4015 /usr
/unsupported
/include
4017 /usr
/local
/x11r
5/include
4018 /usr
/lpp
/Xamples
/include
4020 /usr
/openwin
/include
4021 /usr
/openwin
/share
/include
'
4023 if test "$ac_x_includes" = no; then
4024 # Guess where to find include files, by looking for Xlib.h.
4025 # First, try using that file with no special directory specified.
4026 cat >conftest.$ac_ext <<_ACEOF
4029 cat confdefs.h >>conftest.$ac_ext
4030 cat >>conftest.$ac_ext <<_ACEOF
4031 /* end confdefs.h. */
4032 #include <X11/Xlib.h>
4034 if { (ac_try="$ac_cpp conftest.$ac_ext"
4036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4037 *) ac_try_echo=$ac_try;;
4039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4042 grep -v '^
*+' conftest.er1 >conftest.err
4044 cat conftest.err >&5
4045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046 (exit $ac_status); } >/dev/null && {
4047 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4048 test ! -s conftest.err
4050 # We can compile using X headers with no special include directory.
4053 echo "$as_me: failed program was:" >&5
4054 sed 's
/^
/|
/' conftest.$ac_ext >&5
4056 for ac_dir in $ac_x_header_dirs; do
4057 if test -r "$ac_dir/X11/Xlib.h"; then
4058 ac_x_includes=$ac_dir
4064 rm -f conftest.err conftest.$ac_ext
4065 fi # $ac_x_includes = no
4067 if test "$ac_x_libraries" = no; then
4068 # Check for the libraries.
4069 # See if we find them without any special options.
4070 # Don't add to
$LIBS permanently.
4073 cat >conftest.
$ac_ext <<_ACEOF
4076 cat confdefs.h
>>conftest.
$ac_ext
4077 cat >>conftest.
$ac_ext <<_ACEOF
4078 /* end confdefs.h. */
4079 #include <X11/Xlib.h>
4088 rm -f conftest.
$ac_objext conftest
$ac_exeext
4089 if { (ac_try
="$ac_link"
4091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4092 *) ac_try_echo=$ac_try;;
4094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4095 (eval "$ac_link") 2>conftest.er1
4097 grep -v '^ *+' conftest.er1 >conftest.err
4099 cat conftest.err >&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); } && {
4102 test -z "$ac_c_werror_flag" ||
4103 test ! -s conftest.err
4104 } && test -s conftest$ac_exeext &&
4105 $as_test_x conftest$ac_exeext; then
4107 # We can link X programs with no special library path.
4110 echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.$ac_ext >&5
4114 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4116 # Don't even attempt the hair of trying to link an X program!
4117 for ac_extension in a so sl; do
4118 if test -r "$ac_dir/libX11.$ac_extension"; then
4119 ac_x_libraries=$ac_dir
4126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4127 conftest$ac_exeext conftest.$ac_ext
4128 fi # $ac_x_libraries = no
4130 case $ac_x_includes,$ac_x_libraries in #(
4132 # Didn't find X, or a directory has "'" in its name.
4133 ac_cv_have_x="have_x=no";; #(
4135 # Record where we found X for the cache.
4136 ac_cv_have_x="have_x=yes\
4137 ac_x_includes='$ac_x_includes'\
4138 ac_x_libraries='$ac_x_libraries'"
4144 eval "$ac_cv_have_x"
4147 if test "$have_x" != yes; then
4148 { echo "$as_me:$LINENO: result: $have_x" >&5
4149 echo "${ECHO_T}$have_x" >&6; }
4152 # If each of the values was on the command line, it overrides each guess.
4153 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4154 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4155 # Update the cache value to reflect the command line values.
4156 ac_cv_have_x="have_x=yes\
4157 ac_x_includes='$x_includes'\
4158 ac_x_libraries='$x_libraries'"
4159 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4160 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4163 if test "$no_x" = yes; then
4164 # Not all programs may use this symbol, but it does not hurt to define it.
4166 cat >>confdefs.h <<\_ACEOF
4167 #define X_DISPLAY_MISSING 1
4170 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4172 if test -n "$x_includes"; then
4173 X_CFLAGS="$X_CFLAGS -I$x_includes"
4176 # It would also be nice to do this for all -L options, not just this one.
4177 if test -n "$x_libraries"; then
4178 X_LIBS="$X_LIBS -L$x_libraries"
4179 # For Solaris; some versions of Sun CC require a space after -R and
4180 # others require no space. Words are not sufficient . . . .
4181 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4182 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4183 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4184 ac_xsave_c_werror_flag=$ac_c_werror_flag
4185 ac_c_werror_flag=yes
4186 cat >conftest.$ac_ext <<_ACEOF
4189 cat confdefs.h >>conftest.$ac_ext
4190 cat >>conftest.$ac_ext <<_ACEOF
4191 /* end confdefs.h. */
4201 rm -f conftest.$ac_objext conftest$ac_exeext
4202 if { (ac_try="$ac_link"
4204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4205 *) ac_try_echo
=$ac_try;;
4207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4208 (eval "$ac_link") 2>conftest.er1
4210 grep -v '^ *+' conftest.er1
>conftest.err
4212 cat conftest.err
>&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); } && {
4215 test -z "$ac_c_werror_flag" ||
4216 test ! -s conftest.err
4217 } && test -s conftest
$ac_exeext &&
4218 $as_test_x conftest
$ac_exeext; then
4219 { echo "$as_me:$LINENO: result: no" >&5
4220 echo "${ECHO_T}no" >&6; }
4221 X_LIBS
="$X_LIBS -R$x_libraries"
4223 echo "$as_me: failed program was:" >&5
4224 sed 's/^/| /' conftest.
$ac_ext >&5
4226 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4227 cat >conftest.
$ac_ext <<_ACEOF
4230 cat confdefs.h
>>conftest.
$ac_ext
4231 cat >>conftest.
$ac_ext <<_ACEOF
4232 /* end confdefs.h. */
4242 rm -f conftest.
$ac_objext conftest
$ac_exeext
4243 if { (ac_try
="$ac_link"
4245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4246 *) ac_try_echo=$ac_try;;
4248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4249 (eval "$ac_link") 2>conftest.er1
4251 grep -v '^ *+' conftest.er1 >conftest.err
4253 cat conftest.err >&5
4254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 (exit $ac_status); } && {
4256 test -z "$ac_c_werror_flag" ||
4257 test ! -s conftest.err
4258 } && test -s conftest$ac_exeext &&
4259 $as_test_x conftest$ac_exeext; then
4260 { echo "$as_me:$LINENO: result: yes" >&5
4261 echo "${ECHO_T}yes" >&6; }
4262 X_LIBS="$X_LIBS -R $x_libraries"
4264 echo "$as_me: failed program was:" >&5
4265 sed 's/^/| /' conftest.$ac_ext >&5
4267 { echo "$as_me:$LINENO: result: neither works" >&5
4268 echo "${ECHO_T}neither works" >&6; }
4271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4272 conftest$ac_exeext conftest.$ac_ext
4275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4276 conftest$ac_exeext conftest.$ac_ext
4277 ac_c_werror_flag=$ac_xsave_c_werror_flag
4281 # Check for system-dependent libraries X programs must link with.
4282 # Do this before checking for the system-independent R6 libraries
4283 # (-lICE), since we may need -lsocket or whatever for X linking.
4285 if test "$ISC" = yes; then
4286 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4288 # Martyn Johnson says this is needed for Ultrix, if the X
4289 # libraries were built with DECnet support. And Karl Berry says
4290 # the Alpha needs dnet_stub (dnet does not exist).
4291 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4292 cat >conftest.$ac_ext <<_ACEOF
4295 cat confdefs.h >>conftest.$ac_ext
4296 cat >>conftest.$ac_ext <<_ACEOF
4297 /* end confdefs.h. */
4299 /* Override any GCC internal prototype to avoid an error.
4300 Use char because int might match the return type of a GCC
4301 builtin and then its argument prototype would still apply. */
4305 char XOpenDisplay ();
4309 return XOpenDisplay ();
4314 rm -f conftest.$ac_objext conftest$ac_exeext
4315 if { (ac_try="$ac_link"
4317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4318 *) ac_try_echo
=$ac_try;;
4320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4321 (eval "$ac_link") 2>conftest.er1
4323 grep -v '^ *+' conftest.er1
>conftest.err
4325 cat conftest.err
>&5
4326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327 (exit $ac_status); } && {
4328 test -z "$ac_c_werror_flag" ||
4329 test ! -s conftest.err
4330 } && test -s conftest
$ac_exeext &&
4331 $as_test_x conftest
$ac_exeext; then
4334 echo "$as_me: failed program was:" >&5
4335 sed 's/^/| /' conftest.
$ac_ext >&5
4337 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4338 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4339 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4340 echo $ECHO_N "(cached) $ECHO_C" >&6
4342 ac_check_lib_save_LIBS
=$LIBS
4344 cat >conftest.
$ac_ext <<_ACEOF
4347 cat confdefs.h
>>conftest.
$ac_ext
4348 cat >>conftest.
$ac_ext <<_ACEOF
4349 /* end confdefs.h. */
4351 /* Override any GCC internal prototype to avoid an error.
4352 Use char because int might match the return type of a GCC
4353 builtin and then its argument prototype would still apply. */
4361 return dnet_ntoa ();
4366 rm -f conftest.
$ac_objext conftest
$ac_exeext
4367 if { (ac_try
="$ac_link"
4369 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4370 *) ac_try_echo=$ac_try;;
4372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4373 (eval "$ac_link") 2>conftest.er1
4375 grep -v '^ *+' conftest.er1 >conftest.err
4377 cat conftest.err >&5
4378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4379 (exit $ac_status); } && {
4380 test -z "$ac_c_werror_flag" ||
4381 test ! -s conftest.err
4382 } && test -s conftest$ac_exeext &&
4383 $as_test_x conftest$ac_exeext; then
4384 ac_cv_lib_dnet_dnet_ntoa=yes
4386 echo "$as_me: failed program was:" >&5
4387 sed 's/^/| /' conftest.$ac_ext >&5
4389 ac_cv_lib_dnet_dnet_ntoa=no
4392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4393 conftest$ac_exeext conftest.$ac_ext
4394 LIBS=$ac_check_lib_save_LIBS
4396 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4397 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4398 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4399 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4402 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4403 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4404 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4405 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4406 echo $ECHO_N "(cached) $ECHO_C" >&6
4408 ac_check_lib_save_LIBS=$LIBS
4409 LIBS="-ldnet_stub $LIBS"
4410 cat >conftest.$ac_ext <<_ACEOF
4413 cat confdefs.h >>conftest.$ac_ext
4414 cat >>conftest.$ac_ext <<_ACEOF
4415 /* end confdefs.h. */
4417 /* Override any GCC internal prototype to avoid an error.
4418 Use char because int might match the return type of a GCC
4419 builtin and then its argument prototype would still apply. */
4427 return dnet_ntoa ();
4432 rm -f conftest.$ac_objext conftest$ac_exeext
4433 if { (ac_try="$ac_link"
4435 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4436 *) ac_try_echo
=$ac_try;;
4438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4439 (eval "$ac_link") 2>conftest.er1
4441 grep -v '^ *+' conftest.er1
>conftest.err
4443 cat conftest.err
>&5
4444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4445 (exit $ac_status); } && {
4446 test -z "$ac_c_werror_flag" ||
4447 test ! -s conftest.err
4448 } && test -s conftest
$ac_exeext &&
4449 $as_test_x conftest
$ac_exeext; then
4450 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4452 echo "$as_me: failed program was:" >&5
4453 sed 's/^/| /' conftest.
$ac_ext >&5
4455 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4458 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4459 conftest
$ac_exeext conftest.
$ac_ext
4460 LIBS
=$ac_check_lib_save_LIBS
4462 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4463 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4464 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4465 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4471 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4472 conftest
$ac_exeext conftest.
$ac_ext
4473 LIBS
="$ac_xsave_LIBS"
4475 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4476 # to get the SysV transport functions.
4477 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4479 # The nsl library prevents programs from opening the X display
4480 # on Irix 5.2, according to T.E. Dickey.
4481 # The functions gethostbyname, getservbyname, and inet_addr are
4482 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4483 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4484 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4485 if test "${ac_cv_func_gethostbyname+set}" = set; then
4486 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 cat >conftest.
$ac_ext <<_ACEOF
4491 cat confdefs.h
>>conftest.
$ac_ext
4492 cat >>conftest.
$ac_ext <<_ACEOF
4493 /* end confdefs.h. */
4494 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4496 #define gethostbyname innocuous_gethostbyname
4498 /* System header to define __stub macros and hopefully few prototypes,
4499 which can conflict with char gethostbyname (); below.
4500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4501 <limits.h> exists even on freestanding compilers. */
4504 # include <limits.h>
4506 # include <assert.h>
4509 #undef gethostbyname
4511 /* Override any GCC internal prototype to avoid an error.
4512 Use char because int might match the return type of a GCC
4513 builtin and then its argument prototype would still apply. */
4517 char gethostbyname ();
4518 /* The GNU C library defines this for functions which it implements
4519 to always fail with ENOSYS. Some functions are actually named
4520 something starting with __ and the normal name is an alias. */
4521 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4528 return gethostbyname ();
4533 rm -f conftest.
$ac_objext conftest
$ac_exeext
4534 if { (ac_try
="$ac_link"
4536 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4537 *) ac_try_echo=$ac_try;;
4539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4540 (eval "$ac_link") 2>conftest.er1
4542 grep -v '^ *+' conftest.er1 >conftest.err
4544 cat conftest.err >&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); } && {
4547 test -z "$ac_c_werror_flag" ||
4548 test ! -s conftest.err
4549 } && test -s conftest$ac_exeext &&
4550 $as_test_x conftest$ac_exeext; then
4551 ac_cv_func_gethostbyname=yes
4553 echo "$as_me: failed program was:" >&5
4554 sed 's/^/| /' conftest.$ac_ext >&5
4556 ac_cv_func_gethostbyname=no
4559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4560 conftest$ac_exeext conftest.$ac_ext
4562 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4563 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4565 if test $ac_cv_func_gethostbyname = no; then
4566 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4567 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4568 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4571 ac_check_lib_save_LIBS=$LIBS
4573 cat >conftest.$ac_ext <<_ACEOF
4576 cat confdefs.h >>conftest.$ac_ext
4577 cat >>conftest.$ac_ext <<_ACEOF
4578 /* end confdefs.h. */
4580 /* Override any GCC internal prototype to avoid an error.
4581 Use char because int might match the return type of a GCC
4582 builtin and then its argument prototype would still apply. */
4586 char gethostbyname ();
4590 return gethostbyname ();
4595 rm -f conftest.$ac_objext conftest$ac_exeext
4596 if { (ac_try="$ac_link"
4598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4599 *) ac_try_echo
=$ac_try;;
4601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4602 (eval "$ac_link") 2>conftest.er1
4604 grep -v '^ *+' conftest.er1
>conftest.err
4606 cat conftest.err
>&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); } && {
4609 test -z "$ac_c_werror_flag" ||
4610 test ! -s conftest.err
4611 } && test -s conftest
$ac_exeext &&
4612 $as_test_x conftest
$ac_exeext; then
4613 ac_cv_lib_nsl_gethostbyname
=yes
4615 echo "$as_me: failed program was:" >&5
4616 sed 's/^/| /' conftest.
$ac_ext >&5
4618 ac_cv_lib_nsl_gethostbyname
=no
4621 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4622 conftest
$ac_exeext conftest.
$ac_ext
4623 LIBS
=$ac_check_lib_save_LIBS
4625 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4626 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4627 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4628 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4631 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4632 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4633 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4634 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4635 echo $ECHO_N "(cached) $ECHO_C" >&6
4637 ac_check_lib_save_LIBS
=$LIBS
4639 cat >conftest.
$ac_ext <<_ACEOF
4642 cat confdefs.h
>>conftest.
$ac_ext
4643 cat >>conftest.
$ac_ext <<_ACEOF
4644 /* end confdefs.h. */
4646 /* Override any GCC internal prototype to avoid an error.
4647 Use char because int might match the return type of a GCC
4648 builtin and then its argument prototype would still apply. */
4652 char gethostbyname ();
4656 return gethostbyname ();
4661 rm -f conftest.
$ac_objext conftest
$ac_exeext
4662 if { (ac_try
="$ac_link"
4664 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4665 *) ac_try_echo=$ac_try;;
4667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4668 (eval "$ac_link") 2>conftest.er1
4670 grep -v '^ *+' conftest.er1 >conftest.err
4672 cat conftest.err >&5
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); } && {
4675 test -z "$ac_c_werror_flag" ||
4676 test ! -s conftest.err
4677 } && test -s conftest$ac_exeext &&
4678 $as_test_x conftest$ac_exeext; then
4679 ac_cv_lib_bsd_gethostbyname=yes
4681 echo "$as_me: failed program was:" >&5
4682 sed 's/^/| /' conftest.$ac_ext >&5
4684 ac_cv_lib_bsd_gethostbyname=no
4687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4688 conftest$ac_exeext conftest.$ac_ext
4689 LIBS=$ac_check_lib_save_LIBS
4691 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4692 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4693 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4694 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4700 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4701 # socket/setsockopt and other routines are undefined under SCO ODT
4702 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4703 # on later versions), says Simon Leinen: it contains gethostby*
4704 # variants that don't use the name server (or something). -lsocket
4705 # must be given before -lnsl if both are needed. We assume that
4706 # if connect needs -lnsl, so does gethostbyname.
4707 { echo "$as_me:$LINENO: checking for connect" >&5
4708 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4709 if test "${ac_cv_func_connect+set}" = set; then
4710 echo $ECHO_N "(cached) $ECHO_C" >&6
4712 cat >conftest.$ac_ext <<_ACEOF
4715 cat confdefs.h >>conftest.$ac_ext
4716 cat >>conftest.$ac_ext <<_ACEOF
4717 /* end confdefs.h. */
4718 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4720 #define connect innocuous_connect
4722 /* System header to define __stub macros and hopefully few prototypes,
4723 which can conflict with char connect (); below.
4724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4725 <limits.h> exists even on freestanding compilers. */
4728 # include <limits.h>
4730 # include <assert.h>
4735 /* Override any GCC internal prototype to avoid an error.
4736 Use char because int might match the return type of a GCC
4737 builtin and then its argument prototype would still apply. */
4742 /* The GNU C library defines this for functions which it implements
4743 to always fail with ENOSYS. Some functions are actually named
4744 something starting with __ and the normal name is an alias. */
4745 #if defined __stub_connect || defined __stub___connect
4757 rm -f conftest.$ac_objext conftest$ac_exeext
4758 if { (ac_try="$ac_link"
4760 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4761 *) ac_try_echo
=$ac_try;;
4763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4764 (eval "$ac_link") 2>conftest.er1
4766 grep -v '^ *+' conftest.er1
>conftest.err
4768 cat conftest.err
>&5
4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 (exit $ac_status); } && {
4771 test -z "$ac_c_werror_flag" ||
4772 test ! -s conftest.err
4773 } && test -s conftest
$ac_exeext &&
4774 $as_test_x conftest
$ac_exeext; then
4775 ac_cv_func_connect
=yes
4777 echo "$as_me: failed program was:" >&5
4778 sed 's/^/| /' conftest.
$ac_ext >&5
4780 ac_cv_func_connect
=no
4783 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4784 conftest
$ac_exeext conftest.
$ac_ext
4786 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4787 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4789 if test $ac_cv_func_connect = no
; then
4790 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4791 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4792 if test "${ac_cv_lib_socket_connect+set}" = set; then
4793 echo $ECHO_N "(cached) $ECHO_C" >&6
4795 ac_check_lib_save_LIBS
=$LIBS
4796 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4797 cat >conftest.
$ac_ext <<_ACEOF
4800 cat confdefs.h
>>conftest.
$ac_ext
4801 cat >>conftest.
$ac_ext <<_ACEOF
4802 /* end confdefs.h. */
4804 /* Override any GCC internal prototype to avoid an error.
4805 Use char because int might match the return type of a GCC
4806 builtin and then its argument prototype would still apply. */
4819 rm -f conftest.
$ac_objext conftest
$ac_exeext
4820 if { (ac_try
="$ac_link"
4822 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4823 *) ac_try_echo=$ac_try;;
4825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4826 (eval "$ac_link") 2>conftest.er1
4828 grep -v '^ *+' conftest.er1 >conftest.err
4830 cat conftest.err >&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); } && {
4833 test -z "$ac_c_werror_flag" ||
4834 test ! -s conftest.err
4835 } && test -s conftest$ac_exeext &&
4836 $as_test_x conftest$ac_exeext; then
4837 ac_cv_lib_socket_connect=yes
4839 echo "$as_me: failed program was:" >&5
4840 sed 's/^/| /' conftest.$ac_ext >&5
4842 ac_cv_lib_socket_connect=no
4845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4846 conftest$ac_exeext conftest.$ac_ext
4847 LIBS=$ac_check_lib_save_LIBS
4849 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4850 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4851 if test $ac_cv_lib_socket_connect = yes; then
4852 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4857 # Guillermo Gomez says -lposix is necessary on A/UX.
4858 { echo "$as_me:$LINENO: checking for remove" >&5
4859 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4860 if test "${ac_cv_func_remove+set}" = set; then
4861 echo $ECHO_N "(cached) $ECHO_C" >&6
4863 cat >conftest.$ac_ext <<_ACEOF
4866 cat confdefs.h >>conftest.$ac_ext
4867 cat >>conftest.$ac_ext <<_ACEOF
4868 /* end confdefs.h. */
4869 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4871 #define remove innocuous_remove
4873 /* System header to define __stub macros and hopefully few prototypes,
4874 which can conflict with char remove (); below.
4875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4876 <limits.h> exists even on freestanding compilers. */
4879 # include <limits.h>
4881 # include <assert.h>
4886 /* Override any GCC internal prototype to avoid an error.
4887 Use char because int might match the return type of a GCC
4888 builtin and then its argument prototype would still apply. */
4893 /* The GNU C library defines this for functions which it implements
4894 to always fail with ENOSYS. Some functions are actually named
4895 something starting with __ and the normal name is an alias. */
4896 #if defined __stub_remove || defined __stub___remove
4908 rm -f conftest.$ac_objext conftest$ac_exeext
4909 if { (ac_try="$ac_link"
4911 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4912 *) ac_try_echo
=$ac_try;;
4914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4915 (eval "$ac_link") 2>conftest.er1
4917 grep -v '^ *+' conftest.er1
>conftest.err
4919 cat conftest.err
>&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); } && {
4922 test -z "$ac_c_werror_flag" ||
4923 test ! -s conftest.err
4924 } && test -s conftest
$ac_exeext &&
4925 $as_test_x conftest
$ac_exeext; then
4926 ac_cv_func_remove
=yes
4928 echo "$as_me: failed program was:" >&5
4929 sed 's/^/| /' conftest.
$ac_ext >&5
4931 ac_cv_func_remove
=no
4934 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4935 conftest
$ac_exeext conftest.
$ac_ext
4937 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4938 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4940 if test $ac_cv_func_remove = no
; then
4941 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4942 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4943 if test "${ac_cv_lib_posix_remove+set}" = set; then
4944 echo $ECHO_N "(cached) $ECHO_C" >&6
4946 ac_check_lib_save_LIBS
=$LIBS
4947 LIBS
="-lposix $LIBS"
4948 cat >conftest.
$ac_ext <<_ACEOF
4951 cat confdefs.h
>>conftest.
$ac_ext
4952 cat >>conftest.
$ac_ext <<_ACEOF
4953 /* end confdefs.h. */
4955 /* Override any GCC internal prototype to avoid an error.
4956 Use char because int might match the return type of a GCC
4957 builtin and then its argument prototype would still apply. */
4970 rm -f conftest.
$ac_objext conftest
$ac_exeext
4971 if { (ac_try
="$ac_link"
4973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4974 *) ac_try_echo=$ac_try;;
4976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4977 (eval "$ac_link") 2>conftest.er1
4979 grep -v '^ *+' conftest.er1 >conftest.err
4981 cat conftest.err >&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); } && {
4984 test -z "$ac_c_werror_flag" ||
4985 test ! -s conftest.err
4986 } && test -s conftest$ac_exeext &&
4987 $as_test_x conftest$ac_exeext; then
4988 ac_cv_lib_posix_remove=yes
4990 echo "$as_me: failed program was:" >&5
4991 sed 's/^/| /' conftest.$ac_ext >&5
4993 ac_cv_lib_posix_remove=no
4996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4997 conftest$ac_exeext conftest.$ac_ext
4998 LIBS=$ac_check_lib_save_LIBS
5000 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5001 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5002 if test $ac_cv_lib_posix_remove = yes; then
5003 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5008 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5009 { echo "$as_me:$LINENO: checking for shmat" >&5
5010 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5011 if test "${ac_cv_func_shmat+set}" = set; then
5012 echo $ECHO_N "(cached) $ECHO_C" >&6
5014 cat >conftest.$ac_ext <<_ACEOF
5017 cat confdefs.h >>conftest.$ac_ext
5018 cat >>conftest.$ac_ext <<_ACEOF
5019 /* end confdefs.h. */
5020 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5022 #define shmat innocuous_shmat
5024 /* System header to define __stub macros and hopefully few prototypes,
5025 which can conflict with char shmat (); below.
5026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5027 <limits.h> exists even on freestanding compilers. */
5030 # include <limits.h>
5032 # include <assert.h>
5037 /* Override any GCC internal prototype to avoid an error.
5038 Use char because int might match the return type of a GCC
5039 builtin and then its argument prototype would still apply. */
5044 /* The GNU C library defines this for functions which it implements
5045 to always fail with ENOSYS. Some functions are actually named
5046 something starting with __ and the normal name is an alias. */
5047 #if defined __stub_shmat || defined __stub___shmat
5059 rm -f conftest.$ac_objext conftest$ac_exeext
5060 if { (ac_try="$ac_link"
5062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5063 *) ac_try_echo
=$ac_try;;
5065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5066 (eval "$ac_link") 2>conftest.er1
5068 grep -v '^ *+' conftest.er1
>conftest.err
5070 cat conftest.err
>&5
5071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072 (exit $ac_status); } && {
5073 test -z "$ac_c_werror_flag" ||
5074 test ! -s conftest.err
5075 } && test -s conftest
$ac_exeext &&
5076 $as_test_x conftest
$ac_exeext; then
5077 ac_cv_func_shmat
=yes
5079 echo "$as_me: failed program was:" >&5
5080 sed 's/^/| /' conftest.
$ac_ext >&5
5085 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5086 conftest
$ac_exeext conftest.
$ac_ext
5088 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5089 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5091 if test $ac_cv_func_shmat = no
; then
5092 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5093 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5094 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5095 echo $ECHO_N "(cached) $ECHO_C" >&6
5097 ac_check_lib_save_LIBS
=$LIBS
5099 cat >conftest.
$ac_ext <<_ACEOF
5102 cat confdefs.h
>>conftest.
$ac_ext
5103 cat >>conftest.
$ac_ext <<_ACEOF
5104 /* end confdefs.h. */
5106 /* Override any GCC internal prototype to avoid an error.
5107 Use char because int might match the return type of a GCC
5108 builtin and then its argument prototype would still apply. */
5121 rm -f conftest.
$ac_objext conftest
$ac_exeext
5122 if { (ac_try
="$ac_link"
5124 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5125 *) ac_try_echo=$ac_try;;
5127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5128 (eval "$ac_link") 2>conftest.er1
5130 grep -v '^ *+' conftest.er1 >conftest.err
5132 cat conftest.err >&5
5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134 (exit $ac_status); } && {
5135 test -z "$ac_c_werror_flag" ||
5136 test ! -s conftest.err
5137 } && test -s conftest$ac_exeext &&
5138 $as_test_x conftest$ac_exeext; then
5139 ac_cv_lib_ipc_shmat=yes
5141 echo "$as_me: failed program was:" >&5
5142 sed 's/^/| /' conftest.$ac_ext >&5
5144 ac_cv_lib_ipc_shmat=no
5147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5148 conftest$ac_exeext conftest.$ac_ext
5149 LIBS=$ac_check_lib_save_LIBS
5151 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5152 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5153 if test $ac_cv_lib_ipc_shmat = yes; then
5154 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5160 # Check for libraries that X11R6 Xt/Xaw programs need.
5161 ac_save_LDFLAGS=$LDFLAGS
5162 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5163 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5164 # check for ICE first), but we must link in the order -lSM -lICE or
5165 # we get undefined symbols. So assume we have SM if we have ICE.
5166 # These have to be linked with before -lX11, unlike the other
5167 # libraries we check for below, so use a different variable.
5168 # John Interrante, Karl Berry
5169 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5170 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5171 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5172 echo $ECHO_N "(cached) $ECHO_C" >&6
5174 ac_check_lib_save_LIBS=$LIBS
5175 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5176 cat >conftest.$ac_ext <<_ACEOF
5179 cat confdefs.h >>conftest.$ac_ext
5180 cat >>conftest.$ac_ext <<_ACEOF
5181 /* end confdefs.h. */
5183 /* Override any GCC internal prototype to avoid an error.
5184 Use char because int might match the return type of a GCC
5185 builtin and then its argument prototype would still apply. */
5189 char IceConnectionNumber ();
5193 return IceConnectionNumber ();
5198 rm -f conftest.$ac_objext conftest$ac_exeext
5199 if { (ac_try="$ac_link"
5201 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5202 *) ac_try_echo
=$ac_try;;
5204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5205 (eval "$ac_link") 2>conftest.er1
5207 grep -v '^ *+' conftest.er1
>conftest.err
5209 cat conftest.err
>&5
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); } && {
5212 test -z "$ac_c_werror_flag" ||
5213 test ! -s conftest.err
5214 } && test -s conftest
$ac_exeext &&
5215 $as_test_x conftest
$ac_exeext; then
5216 ac_cv_lib_ICE_IceConnectionNumber
=yes
5218 echo "$as_me: failed program was:" >&5
5219 sed 's/^/| /' conftest.
$ac_ext >&5
5221 ac_cv_lib_ICE_IceConnectionNumber
=no
5224 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5225 conftest
$ac_exeext conftest.
$ac_ext
5226 LIBS
=$ac_check_lib_save_LIBS
5228 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5229 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5230 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5231 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5234 LDFLAGS
=$ac_save_LDFLAGS
5241 # Extract the first word of "$ac_prog", so it can be a program name with args.
5242 set dummy
$ac_prog; 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_FLEX+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 if test -n "$FLEX"; then
5249 ac_cv_prog_FLEX
="$FLEX" # 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_FLEX
="$ac_prog"
5259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 FLEX
=$ac_cv_prog_FLEX
5269 if test -n "$FLEX"; then
5270 { echo "$as_me:$LINENO: result: $FLEX" >&5
5271 echo "${ECHO_T}$FLEX" >&6; }
5273 { echo "$as_me:$LINENO: result: no" >&5
5274 echo "${ECHO_T}no" >&6; }
5278 test -n "$FLEX" && break
5280 test -n "$FLEX" || FLEX
="none"
5282 if test "$FLEX" = "none"
5284 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5285 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5286 { (exit 1); exit 1; }; }
5289 for ac_prog
in bison
5291 # Extract the first word of "$ac_prog", so it can be a program name with args.
5292 set dummy
$ac_prog; ac_word
=$2
5293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5295 if test "${ac_cv_prog_BISON+set}" = set; then
5296 echo $ECHO_N "(cached) $ECHO_C" >&6
5298 if test -n "$BISON"; then
5299 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5305 test -z "$as_dir" && as_dir
=.
5306 for ac_exec_ext
in '' $ac_executable_extensions; do
5307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5308 ac_cv_prog_BISON
="$ac_prog"
5309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5318 BISON
=$ac_cv_prog_BISON
5319 if test -n "$BISON"; then
5320 { echo "$as_me:$LINENO: result: $BISON" >&5
5321 echo "${ECHO_T}$BISON" >&6; }
5323 { echo "$as_me:$LINENO: result: no" >&5
5324 echo "${ECHO_T}no" >&6; }
5328 test -n "$BISON" && break
5330 test -n "$BISON" || BISON
="none"
5332 if test "$BISON" = "none"
5334 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5335 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5336 { (exit 1); exit 1; }; }
5339 if test -n "$ac_tool_prefix"; then
5340 for ac_prog
in gas as
5342 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5343 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5346 if test "${ac_cv_prog_AS+set}" = set; then
5347 echo $ECHO_N "(cached) $ECHO_C" >&6
5349 if test -n "$AS"; then
5350 ac_cv_prog_AS
="$AS" # Let the user override the test.
5352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5356 test -z "$as_dir" && as_dir
=.
5357 for ac_exec_ext
in '' $ac_executable_extensions; do
5358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5359 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5370 if test -n "$AS"; then
5371 { echo "$as_me:$LINENO: result: $AS" >&5
5372 echo "${ECHO_T}$AS" >&6; }
5374 { echo "$as_me:$LINENO: result: no" >&5
5375 echo "${ECHO_T}no" >&6; }
5379 test -n "$AS" && break
5382 if test -z "$AS"; then
5384 for ac_prog
in gas as
5386 # Extract the first word of "$ac_prog", so it can be a program name with args.
5387 set dummy
$ac_prog; ac_word
=$2
5388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5390 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5391 echo $ECHO_N "(cached) $ECHO_C" >&6
5393 if test -n "$ac_ct_AS"; then
5394 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5400 test -z "$as_dir" && as_dir
=.
5401 for ac_exec_ext
in '' $ac_executable_extensions; do
5402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5403 ac_cv_prog_ac_ct_AS
="$ac_prog"
5404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5413 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5414 if test -n "$ac_ct_AS"; then
5415 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5416 echo "${ECHO_T}$ac_ct_AS" >&6; }
5418 { echo "$as_me:$LINENO: result: no" >&5
5419 echo "${ECHO_T}no" >&6; }
5423 test -n "$ac_ct_AS" && break
5426 if test "x$ac_ct_AS" = x
; then
5429 case $cross_compiling:$ac_tool_warned in
5431 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5432 whose name does not start with the host triplet. If you think this
5433 configuration is useful to you, please write to autoconf@gnu.org." >&5
5434 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5435 whose name does not start with the host triplet. If you think this
5436 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5437 ac_tool_warned
=yes ;;
5443 if test -n "$ac_tool_prefix"; then
5444 for ac_prog
in ld gld
5446 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5447 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5448 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5450 if test "${ac_cv_prog_LD+set}" = set; then
5451 echo $ECHO_N "(cached) $ECHO_C" >&6
5453 if test -n "$LD"; then
5454 ac_cv_prog_LD
="$LD" # Let the user override the test.
5456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5460 test -z "$as_dir" && as_dir
=.
5461 for ac_exec_ext
in '' $ac_executable_extensions; do
5462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5463 ac_cv_prog_LD
="$ac_tool_prefix$ac_prog"
5464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5474 if test -n "$LD"; then
5475 { echo "$as_me:$LINENO: result: $LD" >&5
5476 echo "${ECHO_T}$LD" >&6; }
5478 { echo "$as_me:$LINENO: result: no" >&5
5479 echo "${ECHO_T}no" >&6; }
5483 test -n "$LD" && break
5486 if test -z "$LD"; then
5488 for ac_prog
in ld gld
5490 # Extract the first word of "$ac_prog", so it can be a program name with args.
5491 set dummy
$ac_prog; ac_word
=$2
5492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5494 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5495 echo $ECHO_N "(cached) $ECHO_C" >&6
5497 if test -n "$ac_ct_LD"; then
5498 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5504 test -z "$as_dir" && as_dir
=.
5505 for ac_exec_ext
in '' $ac_executable_extensions; do
5506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5507 ac_cv_prog_ac_ct_LD
="$ac_prog"
5508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5517 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5518 if test -n "$ac_ct_LD"; then
5519 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5520 echo "${ECHO_T}$ac_ct_LD" >&6; }
5522 { echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6; }
5527 test -n "$ac_ct_LD" && break
5530 if test "x$ac_ct_LD" = x
; then
5533 case $cross_compiling:$ac_tool_warned in
5535 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5536 whose name does not start with the host triplet. If you think this
5537 configuration is useful to you, please write to autoconf@gnu.org." >&5
5538 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5539 whose name does not start with the host triplet. If you think this
5540 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5541 ac_tool_warned
=yes ;;
5547 if test -n "$ac_tool_prefix"; then
5548 for ac_prog
in nm gnm
5550 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5551 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5554 if test "${ac_cv_prog_NM+set}" = set; then
5555 echo $ECHO_N "(cached) $ECHO_C" >&6
5557 if test -n "$NM"; then
5558 ac_cv_prog_NM
="$NM" # Let the user override the test.
5560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5564 test -z "$as_dir" && as_dir
=.
5565 for ac_exec_ext
in '' $ac_executable_extensions; do
5566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5567 ac_cv_prog_NM
="$ac_tool_prefix$ac_prog"
5568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5578 if test -n "$NM"; then
5579 { echo "$as_me:$LINENO: result: $NM" >&5
5580 echo "${ECHO_T}$NM" >&6; }
5582 { echo "$as_me:$LINENO: result: no" >&5
5583 echo "${ECHO_T}no" >&6; }
5587 test -n "$NM" && break
5590 if test -z "$NM"; then
5592 for ac_prog
in nm gnm
5594 # Extract the first word of "$ac_prog", so it can be a program name with args.
5595 set dummy
$ac_prog; ac_word
=$2
5596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5598 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
5599 echo $ECHO_N "(cached) $ECHO_C" >&6
5601 if test -n "$ac_ct_NM"; then
5602 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
5604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5608 test -z "$as_dir" && as_dir
=.
5609 for ac_exec_ext
in '' $ac_executable_extensions; do
5610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5611 ac_cv_prog_ac_ct_NM
="$ac_prog"
5612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5621 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
5622 if test -n "$ac_ct_NM"; then
5623 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
5624 echo "${ECHO_T}$ac_ct_NM" >&6; }
5626 { echo "$as_me:$LINENO: result: no" >&5
5627 echo "${ECHO_T}no" >&6; }
5631 test -n "$ac_ct_NM" && break
5634 if test "x$ac_ct_NM" = x
; then
5637 case $cross_compiling:$ac_tool_warned in
5639 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5640 whose name does not start with the host triplet. If you think this
5641 configuration is useful to you, please write to autoconf@gnu.org." >&5
5642 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5643 whose name does not start with the host triplet. If you think this
5644 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5645 ac_tool_warned
=yes ;;
5651 if test -n "$ac_tool_prefix"; then
5652 for ac_prog
in ar gar
5654 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5655 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5658 if test "${ac_cv_prog_AR+set}" = set; then
5659 echo $ECHO_N "(cached) $ECHO_C" >&6
5661 if test -n "$AR"; then
5662 ac_cv_prog_AR
="$AR" # Let the user override the test.
5664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5668 test -z "$as_dir" && as_dir
=.
5669 for ac_exec_ext
in '' $ac_executable_extensions; do
5670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5671 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5682 if test -n "$AR"; then
5683 { echo "$as_me:$LINENO: result: $AR" >&5
5684 echo "${ECHO_T}$AR" >&6; }
5686 { echo "$as_me:$LINENO: result: no" >&5
5687 echo "${ECHO_T}no" >&6; }
5691 test -n "$AR" && break
5694 if test -z "$AR"; then
5696 for ac_prog
in ar gar
5698 # Extract the first word of "$ac_prog", so it can be a program name with args.
5699 set dummy
$ac_prog; ac_word
=$2
5700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5702 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5703 echo $ECHO_N "(cached) $ECHO_C" >&6
5705 if test -n "$ac_ct_AR"; then
5706 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5712 test -z "$as_dir" && as_dir
=.
5713 for ac_exec_ext
in '' $ac_executable_extensions; do
5714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5715 ac_cv_prog_ac_ct_AR
="$ac_prog"
5716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5725 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5726 if test -n "$ac_ct_AR"; then
5727 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5728 echo "${ECHO_T}$ac_ct_AR" >&6; }
5730 { echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6; }
5735 test -n "$ac_ct_AR" && break
5738 if test "x$ac_ct_AR" = x
; then
5741 case $cross_compiling:$ac_tool_warned in
5743 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5744 whose name does not start with the host triplet. If you think this
5745 configuration is useful to you, please write to autoconf@gnu.org." >&5
5746 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5747 whose name does not start with the host triplet. If you think this
5748 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5749 ac_tool_warned
=yes ;;
5757 if test -n "$ac_tool_prefix"; then
5758 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5759 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5762 if test "${ac_cv_prog_RANLIB+set}" = set; then
5763 echo $ECHO_N "(cached) $ECHO_C" >&6
5765 if test -n "$RANLIB"; then
5766 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5772 test -z "$as_dir" && as_dir
=.
5773 for ac_exec_ext
in '' $ac_executable_extensions; do
5774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5775 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5785 RANLIB
=$ac_cv_prog_RANLIB
5786 if test -n "$RANLIB"; then
5787 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5788 echo "${ECHO_T}$RANLIB" >&6; }
5790 { echo "$as_me:$LINENO: result: no" >&5
5791 echo "${ECHO_T}no" >&6; }
5796 if test -z "$ac_cv_prog_RANLIB"; then
5797 ac_ct_RANLIB
=$RANLIB
5798 # Extract the first word of "ranlib", so it can be a program name with args.
5799 set dummy ranlib
; ac_word
=$2
5800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5802 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5803 echo $ECHO_N "(cached) $ECHO_C" >&6
5805 if test -n "$ac_ct_RANLIB"; then
5806 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5812 test -z "$as_dir" && as_dir
=.
5813 for ac_exec_ext
in '' $ac_executable_extensions; do
5814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5815 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5826 if test -n "$ac_ct_RANLIB"; then
5827 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5828 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5830 { echo "$as_me:$LINENO: result: no" >&5
5831 echo "${ECHO_T}no" >&6; }
5834 if test "x$ac_ct_RANLIB" = x
; then
5837 case $cross_compiling:$ac_tool_warned in
5839 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5840 whose name does not start with the host triplet. If you think this
5841 configuration is useful to you, please write to autoconf@gnu.org." >&5
5842 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5843 whose name does not start with the host triplet. If you think this
5844 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5845 ac_tool_warned
=yes ;;
5847 RANLIB
=$ac_ct_RANLIB
5850 RANLIB
="$ac_cv_prog_RANLIB"
5853 if test -n "$ac_tool_prefix"; then
5854 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5855 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5858 if test "${ac_cv_prog_STRIP+set}" = set; then
5859 echo $ECHO_N "(cached) $ECHO_C" >&6
5861 if test -n "$STRIP"; then
5862 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5868 test -z "$as_dir" && as_dir
=.
5869 for ac_exec_ext
in '' $ac_executable_extensions; do
5870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5871 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5881 STRIP
=$ac_cv_prog_STRIP
5882 if test -n "$STRIP"; then
5883 { echo "$as_me:$LINENO: result: $STRIP" >&5
5884 echo "${ECHO_T}$STRIP" >&6; }
5886 { echo "$as_me:$LINENO: result: no" >&5
5887 echo "${ECHO_T}no" >&6; }
5892 if test -z "$ac_cv_prog_STRIP"; then
5894 # Extract the first word of "strip", so it can be a program name with args.
5895 set dummy strip
; ac_word
=$2
5896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5898 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5899 echo $ECHO_N "(cached) $ECHO_C" >&6
5901 if test -n "$ac_ct_STRIP"; then
5902 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5908 test -z "$as_dir" && as_dir
=.
5909 for ac_exec_ext
in '' $ac_executable_extensions; do
5910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5911 ac_cv_prog_ac_ct_STRIP
="strip"
5912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5921 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5922 if test -n "$ac_ct_STRIP"; then
5923 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5924 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5926 { echo "$as_me:$LINENO: result: no" >&5
5927 echo "${ECHO_T}no" >&6; }
5930 if test "x$ac_ct_STRIP" = x
; then
5933 case $cross_compiling:$ac_tool_warned in
5935 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5936 whose name does not start with the host triplet. If you think this
5937 configuration is useful to you, please write to autoconf@gnu.org." >&5
5938 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5939 whose name does not start with the host triplet. If you think this
5940 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5941 ac_tool_warned
=yes ;;
5946 STRIP
="$ac_cv_prog_STRIP"
5949 if test -n "$ac_tool_prefix"; then
5950 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5951 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5954 if test "${ac_cv_prog_WINDRES+set}" = set; then
5955 echo $ECHO_N "(cached) $ECHO_C" >&6
5957 if test -n "$WINDRES"; then
5958 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5964 test -z "$as_dir" && as_dir
=.
5965 for ac_exec_ext
in '' $ac_executable_extensions; do
5966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5967 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5977 WINDRES
=$ac_cv_prog_WINDRES
5978 if test -n "$WINDRES"; then
5979 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5980 echo "${ECHO_T}$WINDRES" >&6; }
5982 { echo "$as_me:$LINENO: result: no" >&5
5983 echo "${ECHO_T}no" >&6; }
5988 if test -z "$ac_cv_prog_WINDRES"; then
5989 ac_ct_WINDRES
=$WINDRES
5990 # Extract the first word of "windres", so it can be a program name with args.
5991 set dummy windres
; ac_word
=$2
5992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5994 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5995 echo $ECHO_N "(cached) $ECHO_C" >&6
5997 if test -n "$ac_ct_WINDRES"; then
5998 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
6000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6004 test -z "$as_dir" && as_dir
=.
6005 for ac_exec_ext
in '' $ac_executable_extensions; do
6006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6007 ac_cv_prog_ac_ct_WINDRES
="windres"
6008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
6018 if test -n "$ac_ct_WINDRES"; then
6019 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6020 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6022 { echo "$as_me:$LINENO: result: no" >&5
6023 echo "${ECHO_T}no" >&6; }
6026 if test "x$ac_ct_WINDRES" = x
; then
6029 case $cross_compiling:$ac_tool_warned in
6031 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6032 whose name does not start with the host triplet. If you think this
6033 configuration is useful to you, please write to autoconf@gnu.org." >&5
6034 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6035 whose name does not start with the host triplet. If you think this
6036 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6037 ac_tool_warned
=yes ;;
6039 WINDRES
=$ac_ct_WINDRES
6042 WINDRES
="$ac_cv_prog_WINDRES"
6045 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6046 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6048 if test "$LN_S" = "ln -s"; then
6049 { echo "$as_me:$LINENO: result: yes" >&5
6050 echo "${ECHO_T}yes" >&6; }
6052 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6053 echo "${ECHO_T}no, using $LN_S" >&6; }
6056 { echo "$as_me:$LINENO: checking whether ln works" >&5
6057 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6058 rm -f conf$$ conf$$.
file
6060 if ln conf$$.
file conf$$
2>/dev
/null
; then
6063 { echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6; }
6068 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6069 echo "${ECHO_T}no, using $LN" >&6; }
6071 rm -f conf$$ conf$$.
file
6072 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6073 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6074 if test "${ac_cv_path_GREP+set}" = set; then
6075 echo $ECHO_N "(cached) $ECHO_C" >&6
6077 # Extract the first word of "grep ggrep" to use in msg output
6078 if test -z "$GREP"; then
6079 set dummy
grep ggrep
; ac_prog_name
=$2
6080 if test "${ac_cv_path_GREP+set}" = set; then
6081 echo $ECHO_N "(cached) $ECHO_C" >&6
6083 ac_path_GREP_found
=false
6084 # Loop through the user's path and test for each of PROGNAME-LIST
6085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6086 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6089 test -z "$as_dir" && as_dir
=.
6090 for ac_prog
in grep ggrep
; do
6091 for ac_exec_ext
in '' $ac_executable_extensions; do
6092 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6093 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
6094 # Check for GNU ac_path_GREP and select it if it is found.
6095 # Check for GNU $ac_path_GREP
6096 case `"$ac_path_GREP" --version 2>&1` in
6098 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6101 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6104 cat "conftest.in" "conftest.in" >"conftest.tmp"
6105 mv "conftest.tmp" "conftest.in"
6106 cp "conftest.in" "conftest.nl"
6107 echo 'GREP' >> "conftest.nl"
6108 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6109 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6110 ac_count
=`expr $ac_count + 1`
6111 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6112 # Best one so far, save it but keep looking for a better one
6113 ac_cv_path_GREP
="$ac_path_GREP"
6114 ac_path_GREP_max
=$ac_count
6116 # 10*(2^10) chars as input seems more than enough
6117 test $ac_count -gt 10 && break
6119 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6123 $ac_path_GREP_found && break 3
6133 GREP
="$ac_cv_path_GREP"
6134 if test -z "$GREP"; then
6135 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6136 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6137 { (exit 1); exit 1; }; }
6141 ac_cv_path_GREP
=$GREP
6146 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6147 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6148 GREP
="$ac_cv_path_GREP"
6151 { echo "$as_me:$LINENO: checking for egrep" >&5
6152 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6153 if test "${ac_cv_path_EGREP+set}" = set; then
6154 echo $ECHO_N "(cached) $ECHO_C" >&6
6156 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6157 then ac_cv_path_EGREP
="$GREP -E"
6159 # Extract the first word of "egrep" to use in msg output
6160 if test -z "$EGREP"; then
6161 set dummy
egrep; ac_prog_name
=$2
6162 if test "${ac_cv_path_EGREP+set}" = set; then
6163 echo $ECHO_N "(cached) $ECHO_C" >&6
6165 ac_path_EGREP_found
=false
6166 # Loop through the user's path and test for each of PROGNAME-LIST
6167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6168 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6171 test -z "$as_dir" && as_dir
=.
6172 for ac_prog
in egrep; do
6173 for ac_exec_ext
in '' $ac_executable_extensions; do
6174 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6175 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6176 # Check for GNU ac_path_EGREP and select it if it is found.
6177 # Check for GNU $ac_path_EGREP
6178 case `"$ac_path_EGREP" --version 2>&1` in
6180 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6183 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6186 cat "conftest.in" "conftest.in" >"conftest.tmp"
6187 mv "conftest.tmp" "conftest.in"
6188 cp "conftest.in" "conftest.nl"
6189 echo 'EGREP' >> "conftest.nl"
6190 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6191 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6192 ac_count
=`expr $ac_count + 1`
6193 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6194 # Best one so far, save it but keep looking for a better one
6195 ac_cv_path_EGREP
="$ac_path_EGREP"
6196 ac_path_EGREP_max
=$ac_count
6198 # 10*(2^10) chars as input seems more than enough
6199 test $ac_count -gt 10 && break
6201 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6205 $ac_path_EGREP_found && break 3
6215 EGREP
="$ac_cv_path_EGREP"
6216 if test -z "$EGREP"; then
6217 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6218 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6219 { (exit 1); exit 1; }; }
6223 ac_cv_path_EGREP
=$EGREP
6229 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6230 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6231 EGREP
="$ac_cv_path_EGREP"
6234 # Extract the first word of "ldconfig", so it can be a program name with args.
6235 set dummy ldconfig
; ac_word
=$2
6236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6238 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6239 echo $ECHO_N "(cached) $ECHO_C" >&6
6243 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6247 for as_dir
in /sbin
/usr
/sbin
$PATH
6250 test -z "$as_dir" && as_dir
=.
6251 for ac_exec_ext
in '' $ac_executable_extensions; do
6252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6253 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6261 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6265 LDCONFIG
=$ac_cv_path_LDCONFIG
6266 if test -n "$LDCONFIG"; then
6267 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6268 echo "${ECHO_T}$LDCONFIG" >&6; }
6270 { echo "$as_me:$LINENO: result: no" >&5
6271 echo "${ECHO_T}no" >&6; }
6275 # Find a good install program. We prefer a C program (faster),
6276 # so one script is as good as another. But avoid the broken or
6277 # incompatible versions:
6278 # SysV /etc/install, /usr/sbin/install
6279 # SunOS /usr/etc/install
6280 # IRIX /sbin/install
6282 # AmigaOS /C/install, which installs bootblocks on floppy discs
6283 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6284 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6285 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6286 # OS/2's system install, which has a completely different semantic
6287 # ./install, which can be erroneously created by make from ./install.sh.
6288 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6289 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6290 if test -z "$INSTALL"; then
6291 if test "${ac_cv_path_install+set}" = set; then
6292 echo $ECHO_N "(cached) $ECHO_C" >&6
6294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6298 test -z "$as_dir" && as_dir
=.
6299 # Account for people who put trailing slashes in PATH elements.
6301 .
/ | .
// |
/cC
/* | \
6302 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6303 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6306 # OSF1 and SCO ODT 3.0 have their own names for install.
6307 # Don't use installbsd from OSF since it installs stuff as root
6309 for ac_prog
in ginstall scoinst
install; do
6310 for ac_exec_ext
in '' $ac_executable_extensions; do
6311 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6312 if test $ac_prog = install &&
6313 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6314 # AIX install. It has an incompatible calling convention.
6316 elif test $ac_prog = install &&
6317 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6318 # program-specific install script used by HP pwplus--don't use.
6321 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6334 if test "${ac_cv_path_install+set}" = set; then
6335 INSTALL
=$ac_cv_path_install
6337 # As a last resort, use the slow shell script. Don't cache a
6338 # value for INSTALL within a source directory, because that will
6339 # break other packages using the cache if that directory is
6340 # removed, or if the value is a relative name.
6341 INSTALL
=$ac_install_sh
6344 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6345 echo "${ECHO_T}$INSTALL" >&6; }
6347 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6348 # It thinks the first close brace ends the variable substitution.
6349 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6351 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6353 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6356 [\\/$
]* | ?
:[\\/]* ) ;;
6357 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6360 for ac_prog
in lclint lint
6362 # Extract the first word of "$ac_prog", so it can be a program name with args.
6363 set dummy
$ac_prog; ac_word
=$2
6364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6366 if test "${ac_cv_prog_LINT+set}" = set; then
6367 echo $ECHO_N "(cached) $ECHO_C" >&6
6369 if test -n "$LINT"; then
6370 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6376 test -z "$as_dir" && as_dir
=.
6377 for ac_exec_ext
in '' $ac_executable_extensions; do
6378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6379 ac_cv_prog_LINT
="$ac_prog"
6380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6389 LINT
=$ac_cv_prog_LINT
6390 if test -n "$LINT"; then
6391 { echo "$as_me:$LINENO: result: $LINT" >&5
6392 echo "${ECHO_T}$LINT" >&6; }
6394 { echo "$as_me:$LINENO: result: no" >&5
6395 echo "${ECHO_T}no" >&6; }
6399 test -n "$LINT" && break
6402 if test "$LINT" = "lint"
6404 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6409 for ac_prog
in fontforge
6411 # Extract the first word of "$ac_prog", so it can be a program name with args.
6412 set dummy
$ac_prog; ac_word
=$2
6413 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6415 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6416 echo $ECHO_N "(cached) $ECHO_C" >&6
6418 if test -n "$FONTFORGE"; then
6419 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6425 test -z "$as_dir" && as_dir
=.
6426 for ac_exec_ext
in '' $ac_executable_extensions; do
6427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6428 ac_cv_prog_FONTFORGE
="$ac_prog"
6429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6438 FONTFORGE
=$ac_cv_prog_FONTFORGE
6439 if test -n "$FONTFORGE"; then
6440 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6441 echo "${ECHO_T}$FONTFORGE" >&6; }
6443 { echo "$as_me:$LINENO: result: no" >&5
6444 echo "${ECHO_T}no" >&6; }
6448 test -n "$FONTFORGE" && break
6450 test -n "$FONTFORGE" || FONTFORGE
="false"
6452 for ac_prog
in pkg-config
6454 # Extract the first word of "$ac_prog", so it can be a program name with args.
6455 set dummy
$ac_prog; ac_word
=$2
6456 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6458 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6459 echo $ECHO_N "(cached) $ECHO_C" >&6
6461 if test -n "$PKG_CONFIG"; then
6462 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6468 test -z "$as_dir" && as_dir
=.
6469 for ac_exec_ext
in '' $ac_executable_extensions; do
6470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6471 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6481 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6482 if test -n "$PKG_CONFIG"; then
6483 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6484 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6486 { echo "$as_me:$LINENO: result: no" >&5
6487 echo "${ECHO_T}no" >&6; }
6491 test -n "$PKG_CONFIG" && break
6493 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6497 # Extract the first word of "$ac_prog", so it can be a program name with args.
6498 set dummy
$ac_prog; ac_word
=$2
6499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6501 if test "${ac_cv_prog_RSVG+set}" = set; then
6502 echo $ECHO_N "(cached) $ECHO_C" >&6
6504 if test -n "$RSVG"; then
6505 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
6507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6511 test -z "$as_dir" && as_dir
=.
6512 for ac_exec_ext
in '' $ac_executable_extensions; do
6513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6514 ac_cv_prog_RSVG
="$ac_prog"
6515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6524 RSVG
=$ac_cv_prog_RSVG
6525 if test -n "$RSVG"; then
6526 { echo "$as_me:$LINENO: result: $RSVG" >&5
6527 echo "${ECHO_T}$RSVG" >&6; }
6529 { echo "$as_me:$LINENO: result: no" >&5
6530 echo "${ECHO_T}no" >&6; }
6534 test -n "$RSVG" && break
6536 test -n "$RSVG" || RSVG
="false"
6538 for ac_prog
in icotool
6540 # Extract the first word of "$ac_prog", so it can be a program name with args.
6541 set dummy
$ac_prog; ac_word
=$2
6542 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6544 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6545 echo $ECHO_N "(cached) $ECHO_C" >&6
6547 if test -n "$ICOTOOL"; then
6548 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
6550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6554 test -z "$as_dir" && as_dir
=.
6555 for ac_exec_ext
in '' $ac_executable_extensions; do
6556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6557 ac_cv_prog_ICOTOOL
="$ac_prog"
6558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6567 ICOTOOL
=$ac_cv_prog_ICOTOOL
6568 if test -n "$ICOTOOL"; then
6569 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6570 echo "${ECHO_T}$ICOTOOL" >&6; }
6572 { echo "$as_me:$LINENO: result: no" >&5
6573 echo "${ECHO_T}no" >&6; }
6577 test -n "$ICOTOOL" && break
6579 test -n "$ICOTOOL" || ICOTOOL
="false"
6582 if test "${enable_maintainer_mode+set}" = set
6584 if test "$FONTFORGE" = "false"; then wine_warnings
="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6585 if test "$RSVG" = "false"; then wine_warnings
="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6586 if test "$ICOTOOL" = "false"; then wine_warnings
="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6591 # Extract the first word of "prelink", so it can be a program name with args.
6592 set dummy prelink
; ac_word
=$2
6593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6595 if test "${ac_cv_path_PRELINK+set}" = set; then
6596 echo $ECHO_N "(cached) $ECHO_C" >&6
6600 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6604 for as_dir
in /sbin
/usr
/sbin
$PATH
6607 test -z "$as_dir" && as_dir
=.
6608 for ac_exec_ext
in '' $ac_executable_extensions; do
6609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6610 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6618 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6622 PRELINK
=$ac_cv_path_PRELINK
6623 if test -n "$PRELINK"; then
6624 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6625 echo "${ECHO_T}$PRELINK" >&6; }
6627 { echo "$as_me:$LINENO: result: no" >&5
6628 echo "${ECHO_T}no" >&6; }
6637 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6638 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6639 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6640 echo $ECHO_N "(cached) $ECHO_C" >&6
6642 ac_check_lib_save_LIBS
=$LIBS
6644 cat >conftest.
$ac_ext <<_ACEOF
6647 cat confdefs.h
>>conftest.
$ac_ext
6648 cat >>conftest.
$ac_ext <<_ACEOF
6649 /* end confdefs.h. */
6651 /* Override any GCC internal prototype to avoid an error.
6652 Use char because int might match the return type of a GCC
6653 builtin and then its argument prototype would still apply. */
6657 char i386_set_ldt ();
6661 return i386_set_ldt ();
6666 rm -f conftest.
$ac_objext conftest
$ac_exeext
6667 if { (ac_try
="$ac_link"
6669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6670 *) ac_try_echo=$ac_try;;
6672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6673 (eval "$ac_link") 2>conftest.er1
6675 grep -v '^ *+' conftest.er1 >conftest.err
6677 cat conftest.err >&5
6678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6679 (exit $ac_status); } && {
6680 test -z "$ac_c_werror_flag" ||
6681 test ! -s conftest.err
6682 } && test -s conftest$ac_exeext &&
6683 $as_test_x conftest$ac_exeext; then
6684 ac_cv_lib_i386_i386_set_ldt=yes
6686 echo "$as_me: failed program was:" >&5
6687 sed 's/^/| /' conftest.$ac_ext >&5
6689 ac_cv_lib_i386_i386_set_ldt=no
6692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6693 conftest$ac_exeext conftest.$ac_ext
6694 LIBS=$ac_check_lib_save_LIBS
6696 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6697 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6698 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6699 cat >>confdefs.h <<_ACEOF
6700 #define HAVE_LIBI386 1
6708 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6709 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6710 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6711 echo $ECHO_N "(cached) $ECHO_C" >&6
6713 ac_check_lib_save_LIBS=$LIBS
6714 LIBS="-lossaudio $LIBS"
6715 cat >conftest.$ac_ext <<_ACEOF
6718 cat confdefs.h >>conftest.$ac_ext
6719 cat >>conftest.$ac_ext <<_ACEOF
6720 /* end confdefs.h. */
6722 /* Override any GCC internal prototype to avoid an error.
6723 Use char because int might match the return type of a GCC
6724 builtin and then its argument prototype would still apply. */
6732 return _oss_ioctl ();
6737 rm -f conftest.$ac_objext conftest$ac_exeext
6738 if { (ac_try="$ac_link"
6740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6741 *) ac_try_echo
=$ac_try;;
6743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6744 (eval "$ac_link") 2>conftest.er1
6746 grep -v '^ *+' conftest.er1
>conftest.err
6748 cat conftest.err
>&5
6749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6750 (exit $ac_status); } && {
6751 test -z "$ac_c_werror_flag" ||
6752 test ! -s conftest.err
6753 } && test -s conftest
$ac_exeext &&
6754 $as_test_x conftest
$ac_exeext; then
6755 ac_cv_lib_ossaudio__oss_ioctl
=yes
6757 echo "$as_me: failed program was:" >&5
6758 sed 's/^/| /' conftest.
$ac_ext >&5
6760 ac_cv_lib_ossaudio__oss_ioctl
=no
6763 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6764 conftest
$ac_exeext conftest.
$ac_ext
6765 LIBS
=$ac_check_lib_save_LIBS
6767 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6768 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6769 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6770 cat >>confdefs.h
<<_ACEOF
6771 #define HAVE_LIBOSSAUDIO 1
6774 LIBS
="-lossaudio $LIBS"
6778 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6779 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6780 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6781 echo $ECHO_N "(cached) $ECHO_C" >&6
6783 ac_check_lib_save_LIBS
=$LIBS
6784 LIBS
="-lpthread $LIBS"
6785 cat >conftest.
$ac_ext <<_ACEOF
6788 cat confdefs.h
>>conftest.
$ac_ext
6789 cat >>conftest.
$ac_ext <<_ACEOF
6790 /* end confdefs.h. */
6792 /* Override any GCC internal prototype to avoid an error.
6793 Use char because int might match the return type of a GCC
6794 builtin and then its argument prototype would still apply. */
6798 char pthread_create ();
6802 return pthread_create ();
6807 rm -f conftest.
$ac_objext conftest
$ac_exeext
6808 if { (ac_try
="$ac_link"
6810 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6811 *) ac_try_echo=$ac_try;;
6813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6814 (eval "$ac_link") 2>conftest.er1
6816 grep -v '^ *+' conftest.er1 >conftest.err
6818 cat conftest.err >&5
6819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6820 (exit $ac_status); } && {
6821 test -z "$ac_c_werror_flag" ||
6822 test ! -s conftest.err
6823 } && test -s conftest$ac_exeext &&
6824 $as_test_x conftest$ac_exeext; then
6825 ac_cv_lib_pthread_pthread_create=yes
6827 echo "$as_me: failed program was:" >&5
6828 sed 's/^/| /' conftest.$ac_ext >&5
6830 ac_cv_lib_pthread_pthread_create=no
6833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6834 conftest$ac_exeext conftest.$ac_ext
6835 LIBS=$ac_check_lib_save_LIBS
6837 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6838 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6839 if test $ac_cv_lib_pthread_pthread_create = yes; then
6840 LIBPTHREAD="-lpthread"
6859 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6860 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6861 if test "${ac_cv_header_stdc+set}" = set; then
6862 echo $ECHO_N "(cached) $ECHO_C" >&6
6864 cat >conftest.$ac_ext <<_ACEOF
6867 cat confdefs.h >>conftest.$ac_ext
6868 cat >>conftest.$ac_ext <<_ACEOF
6869 /* end confdefs.h. */
6883 rm -f conftest.$ac_objext
6884 if { (ac_try="$ac_compile"
6886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6887 *) ac_try_echo
=$ac_try;;
6889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6890 (eval "$ac_compile") 2>conftest.er1
6892 grep -v '^ *+' conftest.er1
>conftest.err
6894 cat conftest.err
>&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); } && {
6897 test -z "$ac_c_werror_flag" ||
6898 test ! -s conftest.err
6899 } && test -s conftest.
$ac_objext; then
6900 ac_cv_header_stdc
=yes
6902 echo "$as_me: failed program was:" >&5
6903 sed 's/^/| /' conftest.
$ac_ext >&5
6905 ac_cv_header_stdc
=no
6908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6910 if test $ac_cv_header_stdc = yes; then
6911 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6912 cat >conftest.
$ac_ext <<_ACEOF
6915 cat confdefs.h
>>conftest.
$ac_ext
6916 cat >>conftest.
$ac_ext <<_ACEOF
6917 /* end confdefs.h. */
6921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6922 $EGREP "memchr" >/dev
/null
2>&1; then
6925 ac_cv_header_stdc
=no
6931 if test $ac_cv_header_stdc = yes; then
6932 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6933 cat >conftest.
$ac_ext <<_ACEOF
6936 cat confdefs.h
>>conftest.
$ac_ext
6937 cat >>conftest.
$ac_ext <<_ACEOF
6938 /* end confdefs.h. */
6942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6943 $EGREP "free" >/dev
/null
2>&1; then
6946 ac_cv_header_stdc
=no
6952 if test $ac_cv_header_stdc = yes; then
6953 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6954 if test "$cross_compiling" = yes; then
6957 cat >conftest.
$ac_ext <<_ACEOF
6960 cat confdefs.h
>>conftest.
$ac_ext
6961 cat >>conftest.
$ac_ext <<_ACEOF
6962 /* end confdefs.h. */
6965 #if ((' ' & 0x0FF) == 0x020)
6966 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6967 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6969 # define ISLOWER(c) \
6970 (('a' <= (c) && (c) <= 'i') \
6971 || ('j' <= (c) && (c) <= 'r') \
6972 || ('s' <= (c) && (c) <= 'z'))
6973 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6976 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6981 for (i = 0; i < 256; i++)
6982 if (XOR (islower (i), ISLOWER (i))
6983 || toupper (i) != TOUPPER (i))
6988 rm -f conftest
$ac_exeext
6989 if { (ac_try
="$ac_link"
6991 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6992 *) ac_try_echo=$ac_try;;
6994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6995 (eval "$ac_link") 2>&5
6997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6999 { (case "(($ac_try" in
7000 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7001 *) ac_try_echo
=$ac_try;;
7003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7004 (eval "$ac_try") 2>&5
7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7007 (exit $ac_status); }; }; then
7010 echo "$as_me: program exited with status $ac_status" >&5
7011 echo "$as_me: failed program was:" >&5
7012 sed 's/^/| /' conftest.
$ac_ext >&5
7015 ac_cv_header_stdc
=no
7017 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7023 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7024 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7025 if test $ac_cv_header_stdc = yes; then
7027 cat >>confdefs.h
<<\_ACEOF
7028 #define STDC_HEADERS 1
7033 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7043 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7044 inttypes.h stdint.h unistd.h
7046 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7047 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7049 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7050 echo $ECHO_N "(cached) $ECHO_C" >&6
7052 cat >conftest.
$ac_ext <<_ACEOF
7055 cat confdefs.h
>>conftest.
$ac_ext
7056 cat >>conftest.
$ac_ext <<_ACEOF
7057 /* end confdefs.h. */
7058 $ac_includes_default
7060 #include <$ac_header>
7062 rm -f conftest.
$ac_objext
7063 if { (ac_try
="$ac_compile"
7065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7066 *) ac_try_echo=$ac_try;;
7068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7069 (eval "$ac_compile") 2>conftest.er1
7071 grep -v '^ *+' conftest.er1 >conftest.err
7073 cat conftest.err >&5
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); } && {
7076 test -z "$ac_c_werror_flag" ||
7077 test ! -s conftest.err
7078 } && test -s conftest.$ac_objext; then
7079 eval "$as_ac_Header=yes"
7081 echo "$as_me: failed program was:" >&5
7082 sed 's/^/| /' conftest.$ac_ext >&5
7084 eval "$as_ac_Header=no"
7087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7089 ac_res=`eval echo '${'$as_ac_Header'}'`
7090 { echo "$as_me:$LINENO: result: $ac_res" >&5
7091 echo "${ECHO_T}$ac_res" >&6; }
7092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7093 cat >>confdefs.h <<_ACEOF
7094 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7217 AudioUnit/AudioUnit.h \
7219 CoreAudio/CoreAudio.h \
7220 DiskArbitration/DiskArbitration.h \
7234 fontconfig/fontconfig.h \
7260 machine/soundcard.h \
7264 netinet/if_ether.h \
7266 netinet/in_systm.h \
7333 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7334 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7335 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7337 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7338 echo $ECHO_N "(cached) $ECHO_C" >&6
7340 ac_res=`eval echo '${'$as_ac_Header'}'`
7341 { echo "$as_me:$LINENO: result: $ac_res" >&5
7342 echo "${ECHO_T}$ac_res" >&6; }
7344 # Is the header compilable?
7345 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7346 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7347 cat >conftest.$ac_ext <<_ACEOF
7350 cat confdefs.h >>conftest.$ac_ext
7351 cat >>conftest.$ac_ext <<_ACEOF
7352 /* end confdefs.h. */
7353 $ac_includes_default
7354 #include <$ac_header>
7356 rm -f conftest.$ac_objext
7357 if { (ac_try="$ac_compile"
7359 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7360 *) ac_try_echo
=$ac_try;;
7362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7363 (eval "$ac_compile") 2>conftest.er1
7365 grep -v '^ *+' conftest.er1
>conftest.err
7367 cat conftest.err
>&5
7368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7369 (exit $ac_status); } && {
7370 test -z "$ac_c_werror_flag" ||
7371 test ! -s conftest.err
7372 } && test -s conftest.
$ac_objext; then
7373 ac_header_compiler
=yes
7375 echo "$as_me: failed program was:" >&5
7376 sed 's/^/| /' conftest.
$ac_ext >&5
7378 ac_header_compiler
=no
7381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7382 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7383 echo "${ECHO_T}$ac_header_compiler" >&6; }
7385 # Is the header present?
7386 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7387 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7388 cat >conftest.
$ac_ext <<_ACEOF
7391 cat confdefs.h
>>conftest.
$ac_ext
7392 cat >>conftest.
$ac_ext <<_ACEOF
7393 /* end confdefs.h. */
7394 #include <$ac_header>
7396 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7398 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7399 *) ac_try_echo=$ac_try;;
7401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7402 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7404 grep -v '^ *+' conftest.er1 >conftest.err
7406 cat conftest.err >&5
7407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7408 (exit $ac_status); } >/dev/null && {
7409 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7410 test ! -s conftest.err
7412 ac_header_preproc=yes
7414 echo "$as_me: failed program was:" >&5
7415 sed 's/^/| /' conftest.$ac_ext >&5
7417 ac_header_preproc=no
7420 rm -f conftest.err conftest.$ac_ext
7421 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7422 echo "${ECHO_T}$ac_header_preproc" >&6; }
7424 # So? What about this header?
7425 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7427 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7428 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7430 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7431 ac_header_preproc=yes
7434 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7435 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7436 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7437 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7438 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7439 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7440 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7441 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7442 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7443 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7444 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7445 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7447 ## ------------------------------------ ##
7448 ## Report this to wine-devel@winehq.org ##
7449 ## ------------------------------------ ##
7451 ) | sed "s/^/$as_me: WARNING: /" >&2
7454 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7456 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7457 echo $ECHO_N "(cached) $ECHO_C" >&6
7459 eval "$as_ac_Header=\$ac_header_preproc"
7461 ac_res=`eval echo '${'$as_ac_Header'}'`
7462 { echo "$as_me:$LINENO: result: $ac_res" >&5
7463 echo "${ECHO_T}$ac_res" >&6; }
7466 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7467 cat >>confdefs.h <<_ACEOF
7468 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7475 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7476 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7477 if test "${ac_cv_header_stat_broken+set}" = set; then
7478 echo $ECHO_N "(cached) $ECHO_C" >&6
7480 cat >conftest.$ac_ext <<_ACEOF
7483 cat confdefs.h >>conftest.$ac_ext
7484 cat >>conftest.$ac_ext <<_ACEOF
7485 /* end confdefs.h. */
7486 #include <sys/types.h>
7487 #include <sys/stat.h>
7489 #if defined S_ISBLK && defined S_IFDIR
7490 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7493 #if defined S_ISBLK && defined S_IFCHR
7494 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7497 #if defined S_ISLNK && defined S_IFREG
7498 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7501 #if defined S_ISSOCK && defined S_IFREG
7502 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7506 rm -f conftest.$ac_objext
7507 if { (ac_try="$ac_compile"
7509 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7510 *) ac_try_echo
=$ac_try;;
7512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7513 (eval "$ac_compile") 2>conftest.er1
7515 grep -v '^ *+' conftest.er1
>conftest.err
7517 cat conftest.err
>&5
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 (exit $ac_status); } && {
7520 test -z "$ac_c_werror_flag" ||
7521 test ! -s conftest.err
7522 } && test -s conftest.
$ac_objext; then
7523 ac_cv_header_stat_broken
=no
7525 echo "$as_me: failed program was:" >&5
7526 sed 's/^/| /' conftest.
$ac_ext >&5
7528 ac_cv_header_stat_broken
=yes
7531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7533 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7534 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7535 if test $ac_cv_header_stat_broken = yes; then
7537 cat >>confdefs.h
<<\_ACEOF
7538 #define STAT_MACROS_BROKEN 1
7549 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7551 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7552 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7554 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7555 echo $ECHO_N "(cached) $ECHO_C" >&6
7557 cat >conftest.
$ac_ext <<_ACEOF
7560 cat confdefs.h
>>conftest.
$ac_ext
7561 cat >>conftest.
$ac_ext <<_ACEOF
7562 /* end confdefs.h. */
7563 #include <sys/types.h>
7564 #ifdef HAVE_SYS_PARAM_H
7565 # include <sys/param.h>
7568 #include <$ac_header>
7570 rm -f conftest.
$ac_objext
7571 if { (ac_try
="$ac_compile"
7573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7574 *) ac_try_echo=$ac_try;;
7576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7577 (eval "$ac_compile") 2>conftest.er1
7579 grep -v '^ *+' conftest.er1 >conftest.err
7581 cat conftest.err >&5
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); } && {
7584 test -z "$ac_c_werror_flag" ||
7585 test ! -s conftest.err
7586 } && test -s conftest.$ac_objext; then
7587 eval "$as_ac_Header=yes"
7589 echo "$as_me: failed program was:" >&5
7590 sed 's/^/| /' conftest.$ac_ext >&5
7592 eval "$as_ac_Header=no"
7595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7597 ac_res=`eval echo '${'$as_ac_Header'}'`
7598 { echo "$as_me:$LINENO: result: $ac_res" >&5
7599 echo "${ECHO_T}$ac_res" >&6; }
7600 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7601 cat >>confdefs.h <<_ACEOF
7602 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7618 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
7620 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7621 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7623 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7624 echo $ECHO_N "(cached) $ECHO_C" >&6
7626 cat >conftest.$ac_ext <<_ACEOF
7629 cat confdefs.h >>conftest.$ac_ext
7630 cat >>conftest.$ac_ext <<_ACEOF
7631 /* end confdefs.h. */
7632 #include <sys/types.h>
7633 #ifdef HAVE_SYS_SOCKET_H
7634 # include <sys/socket.h>
7636 #ifdef HAVE_SYS_SOCKETVAR_H
7637 # include <sys/socketvar.h>
7639 #ifdef HAVE_NETINET_IN_H
7640 # include <netinet/in.h>
7643 #include <$ac_header>
7645 rm -f conftest.$ac_objext
7646 if { (ac_try="$ac_compile"
7648 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7649 *) ac_try_echo
=$ac_try;;
7651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7652 (eval "$ac_compile") 2>conftest.er1
7654 grep -v '^ *+' conftest.er1
>conftest.err
7656 cat conftest.err
>&5
7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658 (exit $ac_status); } && {
7659 test -z "$ac_c_werror_flag" ||
7660 test ! -s conftest.err
7661 } && test -s conftest.
$ac_objext; then
7662 eval "$as_ac_Header=yes"
7664 echo "$as_me: failed program was:" >&5
7665 sed 's/^/| /' conftest.
$ac_ext >&5
7667 eval "$as_ac_Header=no"
7670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7672 ac_res
=`eval echo '${'$as_ac_Header'}'`
7673 { echo "$as_me:$LINENO: result: $ac_res" >&5
7674 echo "${ECHO_T}$ac_res" >&6; }
7675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7676 cat >>confdefs.h
<<_ACEOF
7677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7689 for ac_header
in netinet
/tcp_var.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_timer.h
7691 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7692 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7694 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7695 echo $ECHO_N "(cached) $ECHO_C" >&6
7697 cat >conftest.
$ac_ext <<_ACEOF
7700 cat confdefs.h
>>conftest.
$ac_ext
7701 cat >>conftest.
$ac_ext <<_ACEOF
7702 /* end confdefs.h. */
7703 #include <sys/types.h>
7707 #ifdef HAVE_SYS_SOCKET_H
7708 # include <sys/socket.h>
7710 #ifdef HAVE_SYS_SOCKETVAR_H
7711 # include <sys/socketvar.h>
7713 #ifdef HAVE_NETINET_IN_H
7714 # include <netinet/in.h>
7716 #ifdef HAVE_NETINET_IP_VAR_H
7717 # include <netinet/ip_var.h>
7719 #ifdef HAVE_NETINET_IP_ICMP_H
7720 # include <netinet/ip_icmp.h>
7722 #ifdef HAVE_NETINET_UDP_H
7723 # include <netinet/udp.h>
7725 #ifdef HAVE_NETINET_TCP_H
7726 # include <netinet/tcp.h>
7729 #include <$ac_header>
7731 rm -f conftest.
$ac_objext
7732 if { (ac_try
="$ac_compile"
7734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7735 *) ac_try_echo=$ac_try;;
7737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7738 (eval "$ac_compile") 2>conftest.er1
7740 grep -v '^ *+' conftest.er1 >conftest.err
7742 cat conftest.err >&5
7743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7744 (exit $ac_status); } && {
7745 test -z "$ac_c_werror_flag" ||
7746 test ! -s conftest.err
7747 } && test -s conftest.$ac_objext; then
7748 eval "$as_ac_Header=yes"
7750 echo "$as_me: failed program was:" >&5
7751 sed 's/^/| /' conftest.$ac_ext >&5
7753 eval "$as_ac_Header=no"
7756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7758 ac_res=`eval echo '${'$as_ac_Header'}'`
7759 { echo "$as_me:$LINENO: result: $ac_res" >&5
7760 echo "${ECHO_T}$ac_res" >&6; }
7761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7762 cat >>confdefs.h <<_ACEOF
7763 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7772 for ac_header in linux/ipx.h
7774 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7775 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7777 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7778 echo $ECHO_N "(cached) $ECHO_C" >&6
7780 cat >conftest.$ac_ext <<_ACEOF
7783 cat confdefs.h >>conftest.$ac_ext
7784 cat >>conftest.$ac_ext <<_ACEOF
7785 /* end confdefs.h. */
7786 #include <sys/types.h>
7787 #ifdef HAVE_ASM_TYPES_H
7788 # include <asm/types.h>
7790 #ifdef HAVE_SYS_SOCKET_H
7791 # include <sys/socket.h>
7794 #include <$ac_header>
7796 rm -f conftest.$ac_objext
7797 if { (ac_try="$ac_compile"
7799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7800 *) ac_try_echo
=$ac_try;;
7802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7803 (eval "$ac_compile") 2>conftest.er1
7805 grep -v '^ *+' conftest.er1
>conftest.err
7807 cat conftest.err
>&5
7808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7809 (exit $ac_status); } && {
7810 test -z "$ac_c_werror_flag" ||
7811 test ! -s conftest.err
7812 } && test -s conftest.
$ac_objext; then
7813 eval "$as_ac_Header=yes"
7815 echo "$as_me: failed program was:" >&5
7816 sed 's/^/| /' conftest.
$ac_ext >&5
7818 eval "$as_ac_Header=no"
7821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7823 ac_res
=`eval echo '${'$as_ac_Header'}'`
7824 { echo "$as_me:$LINENO: result: $ac_res" >&5
7825 echo "${ECHO_T}$ac_res" >&6; }
7826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7827 cat >>confdefs.h
<<_ACEOF
7828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7837 for ac_header
in resolv.h
7839 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7840 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7842 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7843 echo $ECHO_N "(cached) $ECHO_C" >&6
7845 cat >conftest.
$ac_ext <<_ACEOF
7848 cat confdefs.h
>>conftest.
$ac_ext
7849 cat >>conftest.
$ac_ext <<_ACEOF
7850 /* end confdefs.h. */
7851 #include <sys/types.h>
7852 #ifdef HAVE_SYS_SOCKET_H
7853 # include <sys/socket.h>
7855 #ifdef HAVE_NETINET_IN_H
7856 # include <netinet/in.h>
7858 #ifdef HAVE_ARPA_NAMESER_H
7859 # include <arpa/nameser.h>
7862 #include <$ac_header>
7864 rm -f conftest.
$ac_objext
7865 if { (ac_try
="$ac_compile"
7867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7868 *) ac_try_echo=$ac_try;;
7870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7871 (eval "$ac_compile") 2>conftest.er1
7873 grep -v '^ *+' conftest.er1 >conftest.err
7875 cat conftest.err >&5
7876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877 (exit $ac_status); } && {
7878 test -z "$ac_c_werror_flag" ||
7879 test ! -s conftest.err
7880 } && test -s conftest.$ac_objext; then
7881 eval "$as_ac_Header=yes"
7883 echo "$as_me: failed program was:" >&5
7884 sed 's/^/| /' conftest.$ac_ext >&5
7886 eval "$as_ac_Header=no"
7889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7891 ac_res=`eval echo '${'$as_ac_Header'}'`
7892 { echo "$as_me:$LINENO: result: $ac_res" >&5
7893 echo "${ECHO_T}$ac_res" >&6; }
7894 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7895 cat >>confdefs.h <<_ACEOF
7896 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7905 for ac_header in ucontext.h
7907 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7908 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7910 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7911 echo $ECHO_N "(cached) $ECHO_C" >&6
7913 cat >conftest.$ac_ext <<_ACEOF
7916 cat confdefs.h >>conftest.$ac_ext
7917 cat >>conftest.$ac_ext <<_ACEOF
7918 /* end confdefs.h. */
7921 #include <$ac_header>
7923 rm -f conftest.$ac_objext
7924 if { (ac_try="$ac_compile"
7926 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7927 *) ac_try_echo
=$ac_try;;
7929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7930 (eval "$ac_compile") 2>conftest.er1
7932 grep -v '^ *+' conftest.er1
>conftest.err
7934 cat conftest.err
>&5
7935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936 (exit $ac_status); } && {
7937 test -z "$ac_c_werror_flag" ||
7938 test ! -s conftest.err
7939 } && test -s conftest.
$ac_objext; then
7940 eval "$as_ac_Header=yes"
7942 echo "$as_me: failed program was:" >&5
7943 sed 's/^/| /' conftest.
$ac_ext >&5
7945 eval "$as_ac_Header=no"
7948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7950 ac_res
=`eval echo '${'$as_ac_Header'}'`
7951 { echo "$as_me:$LINENO: result: $ac_res" >&5
7952 echo "${ECHO_T}$ac_res" >&6; }
7953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7954 cat >>confdefs.h
<<_ACEOF
7955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7964 for ac_header
in sys
/thr.h
7966 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7967 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7969 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7970 echo $ECHO_N "(cached) $ECHO_C" >&6
7972 cat >conftest.
$ac_ext <<_ACEOF
7975 cat confdefs.h
>>conftest.
$ac_ext
7976 cat >>conftest.
$ac_ext <<_ACEOF
7977 /* end confdefs.h. */
7978 #include <sys/types.h>
7979 #ifdef HAVE_UCONTEXT_H
7980 #include <ucontext.h>
7983 #include <$ac_header>
7985 rm -f conftest.
$ac_objext
7986 if { (ac_try
="$ac_compile"
7988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7989 *) ac_try_echo=$ac_try;;
7991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7992 (eval "$ac_compile") 2>conftest.er1
7994 grep -v '^ *+' conftest.er1 >conftest.err
7996 cat conftest.err >&5
7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998 (exit $ac_status); } && {
7999 test -z "$ac_c_werror_flag" ||
8000 test ! -s conftest.err
8001 } && test -s conftest.$ac_objext; then
8002 eval "$as_ac_Header=yes"
8004 echo "$as_me: failed program was:" >&5
8005 sed 's/^/| /' conftest.$ac_ext >&5
8007 eval "$as_ac_Header=no"
8010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8012 ac_res=`eval echo '${'$as_ac_Header'}'`
8013 { echo "$as_me:$LINENO: result: $ac_res" >&5
8014 echo "${ECHO_T}$ac_res" >&6; }
8015 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8016 cat >>confdefs.h <<_ACEOF
8017 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8026 for ac_header in pthread_np.h
8028 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8029 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8032 echo $ECHO_N "(cached) $ECHO_C" >&6
8034 cat >conftest.$ac_ext <<_ACEOF
8037 cat confdefs.h >>conftest.$ac_ext
8038 cat >>conftest.$ac_ext <<_ACEOF
8039 /* end confdefs.h. */
8040 #ifdef HAVE_PTHREAD_H
8041 #include <pthread.h>
8044 #include <$ac_header>
8046 rm -f conftest.$ac_objext
8047 if { (ac_try="$ac_compile"
8049 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8050 *) ac_try_echo
=$ac_try;;
8052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8053 (eval "$ac_compile") 2>conftest.er1
8055 grep -v '^ *+' conftest.er1
>conftest.err
8057 cat conftest.err
>&5
8058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8059 (exit $ac_status); } && {
8060 test -z "$ac_c_werror_flag" ||
8061 test ! -s conftest.err
8062 } && test -s conftest.
$ac_objext; then
8063 eval "$as_ac_Header=yes"
8065 echo "$as_me: failed program was:" >&5
8066 sed 's/^/| /' conftest.
$ac_ext >&5
8068 eval "$as_ac_Header=no"
8071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8073 ac_res
=`eval echo '${'$as_ac_Header'}'`
8074 { echo "$as_me:$LINENO: result: $ac_res" >&5
8075 echo "${ECHO_T}$ac_res" >&6; }
8076 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8077 cat >>confdefs.h
<<_ACEOF
8078 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8087 for ac_header
in linux
/videodev.h
8089 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8090 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8092 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8093 echo $ECHO_N "(cached) $ECHO_C" >&6
8095 cat >conftest.
$ac_ext <<_ACEOF
8098 cat confdefs.h
>>conftest.
$ac_ext
8099 cat >>conftest.
$ac_ext <<_ACEOF
8100 /* end confdefs.h. */
8101 #ifdef HAVE_SYS_TIME_H
8102 #include <sys/time.h>
8104 #include <sys/types.h>
8105 #ifdef HAVE_ASM_TYPES_H
8106 #include <asm/types.h>
8109 #include <$ac_header>
8111 rm -f conftest.
$ac_objext
8112 if { (ac_try
="$ac_compile"
8114 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8115 *) ac_try_echo=$ac_try;;
8117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8118 (eval "$ac_compile") 2>conftest.er1
8120 grep -v '^ *+' conftest.er1 >conftest.err
8122 cat conftest.err >&5
8123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8124 (exit $ac_status); } && {
8125 test -z "$ac_c_werror_flag" ||
8126 test ! -s conftest.err
8127 } && test -s conftest.$ac_objext; then
8128 eval "$as_ac_Header=yes"
8130 echo "$as_me: failed program was:" >&5
8131 sed 's/^/| /' conftest.$ac_ext >&5
8133 eval "$as_ac_Header=no"
8136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8138 ac_res=`eval echo '${'$as_ac_Header'}'`
8139 { echo "$as_me:$LINENO: result: $ac_res" >&5
8140 echo "${ECHO_T}$ac_res" >&6; }
8141 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8142 cat >>confdefs.h <<_ACEOF
8143 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8152 for ac_header in linux/capi.h
8154 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8155 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8157 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8158 echo $ECHO_N "(cached) $ECHO_C" >&6
8160 cat >conftest.$ac_ext <<_ACEOF
8163 cat confdefs.h >>conftest.$ac_ext
8164 cat >>conftest.$ac_ext <<_ACEOF
8165 /* end confdefs.h. */
8168 #include <$ac_header>
8170 rm -f conftest.$ac_objext
8171 if { (ac_try="$ac_compile"
8173 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8174 *) ac_try_echo
=$ac_try;;
8176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8177 (eval "$ac_compile") 2>conftest.er1
8179 grep -v '^ *+' conftest.er1
>conftest.err
8181 cat conftest.err
>&5
8182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183 (exit $ac_status); } && {
8184 test -z "$ac_c_werror_flag" ||
8185 test ! -s conftest.err
8186 } && test -s conftest.
$ac_objext; then
8187 eval "$as_ac_Header=yes"
8189 echo "$as_me: failed program was:" >&5
8190 sed 's/^/| /' conftest.
$ac_ext >&5
8192 eval "$as_ac_Header=no"
8195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8197 ac_res
=`eval echo '${'$as_ac_Header'}'`
8198 { echo "$as_me:$LINENO: result: $ac_res" >&5
8199 echo "${ECHO_T}$ac_res" >&6; }
8200 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8201 cat >>confdefs.h
<<_ACEOF
8202 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8213 DLLFLAGS
="-D_REENTRANT"
8227 # Extract the first word of "ldd", so it can be a program name with args.
8228 set dummy ldd
; ac_word
=$2
8229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8231 if test "${ac_cv_path_LDD+set}" = set; then
8232 echo $ECHO_N "(cached) $ECHO_C" >&6
8236 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
8239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8240 as_dummy
="/sbin:/usr/sbin:$PATH"
8241 for as_dir
in $as_dummy
8244 test -z "$as_dir" && as_dir
=.
8245 for ac_exec_ext
in '' $ac_executable_extensions; do
8246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8247 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
8248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8255 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
8260 if test -n "$LDD"; then
8261 { echo "$as_me:$LINENO: result: $LDD" >&5
8262 echo "${ECHO_T}$LDD" >&6; }
8264 { echo "$as_me:$LINENO: result: no" >&5
8265 echo "${ECHO_T}no" >&6; }
8272 if test -n "$ac_tool_prefix"; then
8273 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8274 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8277 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8278 echo $ECHO_N "(cached) $ECHO_C" >&6
8280 if test -n "$DLLTOOL"; then
8281 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8287 test -z "$as_dir" && as_dir
=.
8288 for ac_exec_ext
in '' $ac_executable_extensions; do
8289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8290 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8300 DLLTOOL
=$ac_cv_prog_DLLTOOL
8301 if test -n "$DLLTOOL"; then
8302 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8303 echo "${ECHO_T}$DLLTOOL" >&6; }
8305 { echo "$as_me:$LINENO: result: no" >&5
8306 echo "${ECHO_T}no" >&6; }
8311 if test -z "$ac_cv_prog_DLLTOOL"; then
8312 ac_ct_DLLTOOL
=$DLLTOOL
8313 # Extract the first word of "dlltool", so it can be a program name with args.
8314 set dummy dlltool
; ac_word
=$2
8315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8317 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8318 echo $ECHO_N "(cached) $ECHO_C" >&6
8320 if test -n "$ac_ct_DLLTOOL"; then
8321 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8327 test -z "$as_dir" && as_dir
=.
8328 for ac_exec_ext
in '' $ac_executable_extensions; do
8329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8330 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8340 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8341 if test -n "$ac_ct_DLLTOOL"; then
8342 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8343 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8345 { echo "$as_me:$LINENO: result: no" >&5
8346 echo "${ECHO_T}no" >&6; }
8349 if test "x$ac_ct_DLLTOOL" = x
; then
8352 case $cross_compiling:$ac_tool_warned in
8354 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8355 whose name does not start with the host triplet. If you think this
8356 configuration is useful to you, please write to autoconf@gnu.org." >&5
8357 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8358 whose name does not start with the host triplet. If you think this
8359 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8360 ac_tool_warned
=yes ;;
8362 DLLTOOL
=$ac_ct_DLLTOOL
8365 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8368 if test -n "$ac_tool_prefix"; then
8369 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8370 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
8371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8373 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8374 echo $ECHO_N "(cached) $ECHO_C" >&6
8376 if test -n "$DLLWRAP"; then
8377 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
8379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8383 test -z "$as_dir" && as_dir
=.
8384 for ac_exec_ext
in '' $ac_executable_extensions; do
8385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8386 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
8387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8396 DLLWRAP
=$ac_cv_prog_DLLWRAP
8397 if test -n "$DLLWRAP"; then
8398 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8399 echo "${ECHO_T}$DLLWRAP" >&6; }
8401 { echo "$as_me:$LINENO: result: no" >&5
8402 echo "${ECHO_T}no" >&6; }
8407 if test -z "$ac_cv_prog_DLLWRAP"; then
8408 ac_ct_DLLWRAP
=$DLLWRAP
8409 # Extract the first word of "dllwrap", so it can be a program name with args.
8410 set dummy dllwrap
; ac_word
=$2
8411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8413 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8414 echo $ECHO_N "(cached) $ECHO_C" >&6
8416 if test -n "$ac_ct_DLLWRAP"; then
8417 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
8419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8423 test -z "$as_dir" && as_dir
=.
8424 for ac_exec_ext
in '' $ac_executable_extensions; do
8425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8426 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
8427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8436 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
8437 if test -n "$ac_ct_DLLWRAP"; then
8438 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8439 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8441 { echo "$as_me:$LINENO: result: no" >&5
8442 echo "${ECHO_T}no" >&6; }
8445 if test "x$ac_ct_DLLWRAP" = x
; then
8448 case $cross_compiling:$ac_tool_warned in
8450 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8451 whose name does not start with the host triplet. If you think this
8452 configuration is useful to you, please write to autoconf@gnu.org." >&5
8453 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8454 whose name does not start with the host triplet. If you think this
8455 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8456 ac_tool_warned
=yes ;;
8458 DLLWRAP
=$ac_ct_DLLWRAP
8461 DLLWRAP
="$ac_cv_prog_DLLWRAP"
8464 if test -n "$ac_tool_prefix"; then
8465 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8466 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8467 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8469 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8470 echo $ECHO_N "(cached) $ECHO_C" >&6
8472 if test -n "$MINGWAR"; then
8473 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8479 test -z "$as_dir" && as_dir
=.
8480 for ac_exec_ext
in '' $ac_executable_extensions; do
8481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8482 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8492 MINGWAR
=$ac_cv_prog_MINGWAR
8493 if test -n "$MINGWAR"; then
8494 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8495 echo "${ECHO_T}$MINGWAR" >&6; }
8497 { echo "$as_me:$LINENO: result: no" >&5
8498 echo "${ECHO_T}no" >&6; }
8503 if test -z "$ac_cv_prog_MINGWAR"; then
8504 ac_ct_MINGWAR
=$MINGWAR
8505 # Extract the first word of "ar", so it can be a program name with args.
8506 set dummy
ar; ac_word
=$2
8507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8509 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8510 echo $ECHO_N "(cached) $ECHO_C" >&6
8512 if test -n "$ac_ct_MINGWAR"; then
8513 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8519 test -z "$as_dir" && as_dir
=.
8520 for ac_exec_ext
in '' $ac_executable_extensions; do
8521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8522 ac_cv_prog_ac_ct_MINGWAR
="ar"
8523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8532 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8533 if test -n "$ac_ct_MINGWAR"; then
8534 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8535 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8537 { echo "$as_me:$LINENO: result: no" >&5
8538 echo "${ECHO_T}no" >&6; }
8541 if test "x$ac_ct_MINGWAR" = x
; then
8544 case $cross_compiling:$ac_tool_warned in
8546 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8547 whose name does not start with the host triplet. If you think this
8548 configuration is useful to you, please write to autoconf@gnu.org." >&5
8549 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8550 whose name does not start with the host triplet. If you think this
8551 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8552 ac_tool_warned
=yes ;;
8554 MINGWAR
=$ac_ct_MINGWAR
8557 MINGWAR
="$ac_cv_prog_MINGWAR"
8560 if test "$DLLWRAP" = "false"; then
8572 DLLFLAGS
="$DLLFLAGS -fPIC"
8573 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8574 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8575 LDSHARED
="\$(CC) -dynamiclib"
8577 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8578 SECURITYLIB
="-framework Security -framework CoreFoundation"
8580 COREFOUNDATIONLIB
="-framework CoreFoundation"
8582 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8584 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8586 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8588 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8591 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8593 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8598 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8600 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8602 CARBONLIB
="-framework Carbon"
8604 QUARTZFILES
='$(QUARTZFILES)'
8608 DLLFLAGS
="$DLLFLAGS -fPIC"
8610 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8611 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8612 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8613 echo $ECHO_N "(cached) $ECHO_C" >&6
8615 ac_wine_try_cflags_saved
=$CFLAGS
8616 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8617 cat >conftest.
$ac_ext <<_ACEOF
8620 rm -f conftest.
$ac_objext conftest
$ac_exeext
8621 if { (ac_try
="$ac_link"
8623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8624 *) ac_try_echo=$ac_try;;
8626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8627 (eval "$ac_link") 2>conftest.er1
8629 grep -v '^ *+' conftest.er1 >conftest.err
8631 cat conftest.err >&5
8632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8633 (exit $ac_status); } && {
8634 test -z "$ac_c_werror_flag" ||
8635 test ! -s conftest.err
8636 } && test -s conftest$ac_exeext &&
8637 $as_test_x conftest$ac_exeext; then
8638 ac_cv_c_dll_gnuelf="yes"
8640 echo "$as_me: failed program was:" >&5
8641 sed 's/^/| /' conftest.$ac_ext >&5
8643 ac_cv_c_dll_gnuelf="no"
8646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8647 conftest$ac_exeext conftest.$ac_ext
8648 CFLAGS=$ac_wine_try_cflags_saved
8650 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8651 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8652 if test "$ac_cv_c_dll_gnuelf" = "yes"
8654 LDSHARED="\$(CC) -shared"
8655 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8656 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8657 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8658 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8659 echo $ECHO_N "(cached) $ECHO_C" >&6
8661 ac_wine_try_cflags_saved=$CFLAGS
8662 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
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__fPIC__shared__Wl__soname_confest_so_1
=yes
8698 echo "$as_me: failed program was:" >&5
8699 sed 's/^/| /' conftest.
$ac_ext >&5
8701 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=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__fPIC__shared__Wl__soname_confest_so_1" >&5
8709 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8710 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8711 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8713 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8714 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8715 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8716 echo $ECHO_N "(cached) $ECHO_C" >&6
8718 ac_wine_try_cflags_saved
=$CFLAGS
8719 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8720 cat >conftest.
$ac_ext <<_ACEOF
8723 cat confdefs.h
>>conftest.
$ac_ext
8724 cat >>conftest.
$ac_ext <<_ACEOF
8725 /* end confdefs.h. */
8735 rm -f conftest.
$ac_objext conftest
$ac_exeext
8736 if { (ac_try
="$ac_link"
8738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8739 *) ac_try_echo=$ac_try;;
8741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8742 (eval "$ac_link") 2>conftest.er1
8744 grep -v '^ *+' conftest.er1 >conftest.err
8746 cat conftest.err >&5
8747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8748 (exit $ac_status); } && {
8749 test -z "$ac_c_werror_flag" ||
8750 test ! -s conftest.err
8751 } && test -s conftest$ac_exeext &&
8752 $as_test_x conftest$ac_exeext; then
8753 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8755 echo "$as_me: failed program was:" >&5
8756 sed 's/^/| /' conftest.$ac_ext >&5
8758 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8762 conftest$ac_exeext conftest.$ac_ext
8763 CFLAGS=$ac_wine_try_cflags_saved
8765 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8766 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8767 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8768 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8774 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8775 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8776 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8777 echo $ECHO_N "(cached) $ECHO_C" >&6
8779 ac_wine_try_cflags_saved=$CFLAGS
8780 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8781 cat >conftest.$ac_ext <<_ACEOF
8784 cat confdefs.h >>conftest.$ac_ext
8785 cat >>conftest.$ac_ext <<_ACEOF
8786 /* end confdefs.h. */
8796 rm -f conftest.$ac_objext conftest$ac_exeext
8797 if { (ac_try="$ac_link"
8799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8800 *) ac_try_echo
=$ac_try;;
8802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8803 (eval "$ac_link") 2>conftest.er1
8805 grep -v '^ *+' conftest.er1
>conftest.err
8807 cat conftest.err
>&5
8808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 (exit $ac_status); } && {
8810 test -z "$ac_c_werror_flag" ||
8811 test ! -s conftest.err
8812 } && test -s conftest
$ac_exeext &&
8813 $as_test_x conftest
$ac_exeext; then
8814 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8816 echo "$as_me: failed program was:" >&5
8817 sed 's/^/| /' conftest.
$ac_ext >&5
8819 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8822 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8823 conftest
$ac_exeext conftest.
$ac_ext
8824 CFLAGS
=$ac_wine_try_cflags_saved
8826 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8827 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8828 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8829 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8833 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8834 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8835 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8836 echo $ECHO_N "(cached) $ECHO_C" >&6
8838 ac_wine_try_cflags_saved
=$CFLAGS
8839 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8840 cat >conftest.
$ac_ext <<_ACEOF
8843 cat confdefs.h
>>conftest.
$ac_ext
8844 cat >>conftest.
$ac_ext <<_ACEOF
8845 /* end confdefs.h. */
8855 rm -f conftest.
$ac_objext conftest
$ac_exeext
8856 if { (ac_try
="$ac_link"
8858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8859 *) ac_try_echo=$ac_try;;
8861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8862 (eval "$ac_link") 2>conftest.er1
8864 grep -v '^ *+' conftest.er1 >conftest.err
8866 cat conftest.err >&5
8867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868 (exit $ac_status); } && {
8869 test -z "$ac_c_werror_flag" ||
8870 test ! -s conftest.err
8871 } && test -s conftest$ac_exeext &&
8872 $as_test_x conftest$ac_exeext; then
8873 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8875 echo "$as_me: failed program was:" >&5
8876 sed 's/^/| /' conftest.$ac_ext >&5
8878 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8882 conftest$ac_exeext conftest.$ac_ext
8883 CFLAGS=$ac_wine_try_cflags_saved
8885 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8886 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8887 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8888 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8892 echo '{ global: *; };' >conftest.map
8893 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8894 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8895 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8896 echo $ECHO_N "(cached) $ECHO_C" >&6
8898 ac_wine_try_cflags_saved=$CFLAGS
8899 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8900 cat >conftest.$ac_ext <<_ACEOF
8903 cat confdefs.h >>conftest.$ac_ext
8904 cat >>conftest.$ac_ext <<_ACEOF
8905 /* end confdefs.h. */
8915 rm -f conftest.$ac_objext conftest$ac_exeext
8916 if { (ac_try="$ac_link"
8918 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8919 *) ac_try_echo
=$ac_try;;
8921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8922 (eval "$ac_link") 2>conftest.er1
8924 grep -v '^ *+' conftest.er1
>conftest.err
8926 cat conftest.err
>&5
8927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928 (exit $ac_status); } && {
8929 test -z "$ac_c_werror_flag" ||
8930 test ! -s conftest.err
8931 } && test -s conftest
$ac_exeext &&
8932 $as_test_x conftest
$ac_exeext; then
8933 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8935 echo "$as_me: failed program was:" >&5
8936 sed 's/^/| /' conftest.
$ac_ext >&5
8938 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8941 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8942 conftest
$ac_exeext conftest.
$ac_ext
8943 CFLAGS
=$ac_wine_try_cflags_saved
8945 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8946 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8947 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8948 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8953 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8954 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8955 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8956 echo $ECHO_N "(cached) $ECHO_C" >&6
8958 ac_wine_try_cflags_saved
=$CFLAGS
8959 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8960 cat >conftest.
$ac_ext <<_ACEOF
8963 cat confdefs.h
>>conftest.
$ac_ext
8964 cat >>conftest.
$ac_ext <<_ACEOF
8965 /* end confdefs.h. */
8975 rm -f conftest.
$ac_objext conftest
$ac_exeext
8976 if { (ac_try
="$ac_link"
8978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8979 *) ac_try_echo=$ac_try;;
8981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8982 (eval "$ac_link") 2>conftest.er1
8984 grep -v '^ *+' conftest.er1 >conftest.err
8986 cat conftest.err >&5
8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988 (exit $ac_status); } && {
8989 test -z "$ac_c_werror_flag" ||
8990 test ! -s conftest.err
8991 } && test -s conftest$ac_exeext &&
8992 $as_test_x conftest$ac_exeext; then
8993 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8995 echo "$as_me: failed program was:" >&5
8996 sed 's/^/| /' conftest.$ac_ext >&5
8998 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9002 conftest$ac_exeext conftest.$ac_ext
9003 CFLAGS=$ac_wine_try_cflags_saved
9005 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9006 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9007 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
9008 LDEXECFLAGS="-Wl,--export-dynamic"
9013 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
9014 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9015 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
9016 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9017 echo $ECHO_N "(cached) $ECHO_C" >&6
9019 ac_wine_try_cflags_saved=$CFLAGS
9020 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9021 cat >conftest.$ac_ext <<_ACEOF
9024 cat confdefs.h >>conftest.$ac_ext
9025 cat >>conftest.$ac_ext <<_ACEOF
9026 /* end confdefs.h. */
9036 rm -f conftest.$ac_objext conftest$ac_exeext
9037 if { (ac_try="$ac_link"
9039 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9040 *) ac_try_echo
=$ac_try;;
9042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9043 (eval "$ac_link") 2>conftest.er1
9045 grep -v '^ *+' conftest.er1
>conftest.err
9047 cat conftest.err
>&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); } && {
9050 test -z "$ac_c_werror_flag" ||
9051 test ! -s conftest.err
9052 } && test -s conftest
$ac_exeext &&
9053 $as_test_x conftest
$ac_exeext; then
9054 eval "$as_ac_var=yes"
9056 echo "$as_me: failed program was:" >&5
9057 sed 's/^/| /' conftest.
$ac_ext >&5
9059 eval "$as_ac_var=no"
9062 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9063 conftest
$ac_exeext conftest.
$ac_ext
9064 CFLAGS
=$ac_wine_try_cflags_saved
9066 ac_res
=`eval echo '${'$as_ac_var'}'`
9067 { echo "$as_me:$LINENO: result: $ac_res" >&5
9068 echo "${ECHO_T}$ac_res" >&6; }
9069 if test `eval echo '${'$as_ac_var'}'` = yes; then
9070 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9071 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9073 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
9074 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9075 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
9076 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9077 echo $ECHO_N "(cached) $ECHO_C" >&6
9079 ac_wine_try_cflags_saved
=$CFLAGS
9080 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9081 cat >conftest.
$ac_ext <<_ACEOF
9084 cat confdefs.h
>>conftest.
$ac_ext
9085 cat >>conftest.
$ac_ext <<_ACEOF
9086 /* end confdefs.h. */
9096 rm -f conftest.
$ac_objext conftest
$ac_exeext
9097 if { (ac_try
="$ac_link"
9099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9100 *) ac_try_echo=$ac_try;;
9102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9103 (eval "$ac_link") 2>conftest.er1
9105 grep -v '^ *+' conftest.er1 >conftest.err
9107 cat conftest.err >&5
9108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9109 (exit $ac_status); } && {
9110 test -z "$ac_c_werror_flag" ||
9111 test ! -s conftest.err
9112 } && test -s conftest$ac_exeext &&
9113 $as_test_x conftest$ac_exeext; then
9114 eval "$as_ac_var=yes"
9116 echo "$as_me: failed program was:" >&5
9117 sed 's/^/| /' conftest.$ac_ext >&5
9119 eval "$as_ac_var=no"
9122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9123 conftest$ac_exeext conftest.$ac_ext
9124 CFLAGS=$ac_wine_try_cflags_saved
9126 ac_res=`eval echo '${'$as_ac_var'}'`
9127 { echo "$as_me:$LINENO: result: $ac_res" >&5
9128 echo "${ECHO_T}$ac_res" >&6; }
9129 if test `eval echo '${'$as_ac_var'}'` = yes; then
9130 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
9131 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9137 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9138 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
9139 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
9140 echo $ECHO_N "(cached) $ECHO_C" >&6
9142 ac_wine_try_cflags_saved=$CFLAGS
9143 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9144 cat >conftest.$ac_ext <<_ACEOF
9147 cat confdefs.h >>conftest.$ac_ext
9148 cat >>conftest.$ac_ext <<_ACEOF
9149 /* end confdefs.h. */
9159 rm -f conftest.$ac_objext conftest$ac_exeext
9160 if { (ac_try="$ac_link"
9162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9163 *) ac_try_echo
=$ac_try;;
9165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9166 (eval "$ac_link") 2>conftest.er1
9168 grep -v '^ *+' conftest.er1
>conftest.err
9170 cat conftest.err
>&5
9171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9172 (exit $ac_status); } && {
9173 test -z "$ac_c_werror_flag" ||
9174 test ! -s conftest.err
9175 } && test -s conftest
$ac_exeext &&
9176 $as_test_x conftest
$ac_exeext; then
9177 ac_cv_cflags__Wl___enable_new_dtags
=yes
9179 echo "$as_me: failed program was:" >&5
9180 sed 's/^/| /' conftest.
$ac_ext >&5
9182 ac_cv_cflags__Wl___enable_new_dtags
=no
9185 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9186 conftest
$ac_exeext conftest.
$ac_ext
9187 CFLAGS
=$ac_wine_try_cflags_saved
9189 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9190 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9191 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9192 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9197 *i
[3456789]86* | x86_64
)
9198 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9199 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9200 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9201 echo $ECHO_N "(cached) $ECHO_C" >&6
9203 ac_wine_try_cflags_saved
=$CFLAGS
9204 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9205 cat >conftest.
$ac_ext <<_ACEOF
9208 cat confdefs.h
>>conftest.
$ac_ext
9209 cat >>conftest.
$ac_ext <<_ACEOF
9210 /* end confdefs.h. */
9220 rm -f conftest.
$ac_objext conftest
$ac_exeext
9221 if { (ac_try
="$ac_link"
9223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9224 *) ac_try_echo=$ac_try;;
9226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9227 (eval "$ac_link") 2>conftest.er1
9229 grep -v '^ *+' conftest.er1 >conftest.err
9231 cat conftest.err >&5
9232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233 (exit $ac_status); } && {
9234 test -z "$ac_c_werror_flag" ||
9235 test ! -s conftest.err
9236 } && test -s conftest$ac_exeext &&
9237 $as_test_x conftest$ac_exeext; then
9238 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9240 echo "$as_me: failed program was:" >&5
9241 sed 's/^/| /' conftest.$ac_ext >&5
9243 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9247 conftest$ac_exeext conftest.$ac_ext
9248 CFLAGS=$ac_wine_try_cflags_saved
9250 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9251 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9252 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9253 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9260 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9261 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9262 if test "${ac_cv_c_dll_unixware+set}" = set; then
9263 echo $ECHO_N "(cached) $ECHO_C" >&6
9265 ac_wine_try_cflags_saved=$CFLAGS
9266 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9267 cat >conftest.$ac_ext <<_ACEOF
9270 rm -f conftest.$ac_objext conftest$ac_exeext
9271 if { (ac_try="$ac_link"
9273 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9274 *) ac_try_echo
=$ac_try;;
9276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9277 (eval "$ac_link") 2>conftest.er1
9279 grep -v '^ *+' conftest.er1
>conftest.err
9281 cat conftest.err
>&5
9282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9283 (exit $ac_status); } && {
9284 test -z "$ac_c_werror_flag" ||
9285 test ! -s conftest.err
9286 } && test -s conftest
$ac_exeext &&
9287 $as_test_x conftest
$ac_exeext; then
9288 ac_cv_c_dll_unixware
="yes"
9290 echo "$as_me: failed program was:" >&5
9291 sed 's/^/| /' conftest.
$ac_ext >&5
9293 ac_cv_c_dll_unixware
="no"
9296 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9297 conftest
$ac_exeext conftest.
$ac_ext
9298 CFLAGS
=$ac_wine_try_cflags_saved
9300 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9301 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9302 if test "$ac_cv_c_dll_unixware" = "yes"
9304 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9305 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
9308 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9309 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9310 if test "${ac_cv_c_dll_hpux+set}" = set; then
9311 echo $ECHO_N "(cached) $ECHO_C" >&6
9313 ac_wine_try_cflags_saved
=$CFLAGS
9314 CFLAGS
="$CFLAGS -shared"
9315 cat >conftest.
$ac_ext <<_ACEOF
9318 rm -f conftest.
$ac_objext conftest
$ac_exeext
9319 if { (ac_try
="$ac_link"
9321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9322 *) ac_try_echo=$ac_try;;
9324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9325 (eval "$ac_link") 2>conftest.er1
9327 grep -v '^ *+' conftest.er1 >conftest.err
9329 cat conftest.err >&5
9330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9331 (exit $ac_status); } && {
9332 test -z "$ac_c_werror_flag" ||
9333 test ! -s conftest.err
9334 } && test -s conftest$ac_exeext &&
9335 $as_test_x conftest$ac_exeext; then
9336 ac_cv_c_dll_hpux="yes"
9338 echo "$as_me: failed program was:" >&5
9339 sed 's/^/| /' conftest.$ac_ext >&5
9341 ac_cv_c_dll_hpux="no"
9344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9345 conftest$ac_exeext conftest.$ac_ext
9346 CFLAGS=$ac_wine_try_cflags_saved
9348 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9349 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9350 if test "$ac_cv_c_dll_hpux" = "yes"
9354 LDDLLFLAGS="-shared -fPIC"
9355 LDSHARED="\$(CC) -shared"
9362 if test "$cross_compiling" = "no"
9364 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9366 # Extract the first word of "$ac_prog", so it can be a program name with args.
9367 set dummy $ac_prog; ac_word=$2
9368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9370 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9371 echo $ECHO_N "(cached) $ECHO_C" >&6
9373 if test -n "$CROSSCC"; then
9374 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9380 test -z "$as_dir" && as_dir=.
9381 for ac_exec_ext in '' $ac_executable_extensions; do
9382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9383 ac_cv_prog_CROSSCC="$ac_prog"
9384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9393 CROSSCC=$ac_cv_prog_CROSSCC
9394 if test -n "$CROSSCC"; then
9395 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9396 echo "${ECHO_T}$CROSSCC" >&6; }
9398 { echo "$as_me:$LINENO: result: no" >&5
9399 echo "${ECHO_T}no" >&6; }
9403 test -n "$CROSSCC" && break
9405 test -n "$CROSSCC" || CROSSCC="false"
9407 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9409 # Extract the first word of "$ac_prog", so it can be a program name with args.
9410 set dummy $ac_prog; ac_word=$2
9411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9413 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9414 echo $ECHO_N "(cached) $ECHO_C" >&6
9416 if test -n "$DLLTOOL"; then
9417 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9423 test -z "$as_dir" && as_dir=.
9424 for ac_exec_ext in '' $ac_executable_extensions; do
9425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9426 ac_cv_prog_DLLTOOL="$ac_prog"
9427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9436 DLLTOOL=$ac_cv_prog_DLLTOOL
9437 if test -n "$DLLTOOL"; then
9438 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9439 echo "${ECHO_T}$DLLTOOL" >&6; }
9441 { echo "$as_me:$LINENO: result: no" >&5
9442 echo "${ECHO_T}no" >&6; }
9446 test -n "$DLLTOOL" && break
9448 test -n "$DLLTOOL" || DLLTOOL="false"
9450 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9452 # Extract the first word of "$ac_prog", so it can be a program name with args.
9453 set dummy $ac_prog; ac_word=$2
9454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9456 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9457 echo $ECHO_N "(cached) $ECHO_C" >&6
9459 if test -n "$CROSSWINDRES"; then
9460 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9466 test -z "$as_dir" && as_dir=.
9467 for ac_exec_ext in '' $ac_executable_extensions; do
9468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9469 ac_cv_prog_CROSSWINDRES="$ac_prog"
9470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9479 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9480 if test -n "$CROSSWINDRES"; then
9481 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9482 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9484 { echo "$as_me:$LINENO: result: no" >&5
9485 echo "${ECHO_T}no" >&6; }
9489 test -n "$CROSSWINDRES" && break
9491 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9493 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9495 # Extract the first word of "$ac_prog", so it can be a program name with args.
9496 set dummy $ac_prog; ac_word=$2
9497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9499 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9500 echo $ECHO_N "(cached) $ECHO_C" >&6
9502 if test -n "$MINGWAR"; then
9503 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9509 test -z "$as_dir" && as_dir=.
9510 for ac_exec_ext in '' $ac_executable_extensions; do
9511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9512 ac_cv_prog_MINGWAR="$ac_prog"
9513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9522 MINGWAR=$ac_cv_prog_MINGWAR
9523 if test -n "$MINGWAR"; then
9524 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9525 echo "${ECHO_T}$MINGWAR" >&6; }
9527 { echo "$as_me:$LINENO: result: no" >&5
9528 echo "${ECHO_T}no" >&6; }
9532 test -n "$MINGWAR" && break
9534 test -n "$MINGWAR" || MINGWAR="false"
9536 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9541 if test "$LIBEXT" = "a"; then
9542 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9543 It is currently not possible to build Wine without shared library
9544 (.so) support to allow transparent switch between .so and .dll files.
9545 If you are using Linux, you will need a newer binutils.
9547 echo "$as_me: error: could not find a way to build shared libraries.
9548 It is currently not possible to build Wine without shared library
9549 (.so) support to allow transparent switch between .so and .dll files.
9550 If you are using Linux, you will need a newer binutils.
9552 { (exit 1); exit 1; }; }
9556 if test "$have_x" = "yes"
9559 ac_save_CPPFLAGS="$CPPFLAGS"
9560 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9562 { echo "$as_me:$LINENO: checking for -lX11" >&5
9563 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9564 if test "${ac_cv_lib_soname_X11+set}" = set; then
9565 echo $ECHO_N "(cached) $ECHO_C" >&6
9567 ac_check_soname_save_LIBS=$LIBS
9568 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9569 cat >conftest.$ac_ext <<_ACEOF
9572 cat confdefs.h >>conftest.$ac_ext
9573 cat >>conftest.$ac_ext <<_ACEOF
9574 /* end confdefs.h. */
9576 /* Override any GCC internal prototype to avoid an error.
9577 Use char because int might match the return type of a GCC
9578 builtin and then its argument prototype would still apply. */
9582 char XCreateWindow ();
9586 return XCreateWindow ();
9591 rm -f conftest.$ac_objext conftest$ac_exeext
9592 if { (ac_try="$ac_link"
9594 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9595 *) ac_try_echo
=$ac_try;;
9597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9598 (eval "$ac_link") 2>conftest.er1
9600 grep -v '^ *+' conftest.er1
>conftest.err
9602 cat conftest.err
>&5
9603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9604 (exit $ac_status); } && {
9605 test -z "$ac_c_werror_flag" ||
9606 test ! -s conftest.err
9607 } && test -s conftest
$ac_exeext &&
9608 $as_test_x conftest
$ac_exeext; then
9611 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'` ;;
9612 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9615 echo "$as_me: failed program was:" >&5
9616 sed 's/^/| /' conftest.
$ac_ext >&5
9621 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9622 conftest
$ac_exeext conftest.
$ac_ext
9623 LIBS
=$ac_check_soname_save_LIBS
9625 if test "x$ac_cv_lib_soname_X11" = "x"; then
9626 { echo "$as_me:$LINENO: result: not found" >&5
9627 echo "${ECHO_T}not found" >&6; }
9630 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9631 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9633 cat >>confdefs.h
<<_ACEOF
9634 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9640 { echo "$as_me:$LINENO: checking for -lXext" >&5
9641 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9642 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9643 echo $ECHO_N "(cached) $ECHO_C" >&6
9645 ac_check_soname_save_LIBS
=$LIBS
9646 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9647 cat >conftest.
$ac_ext <<_ACEOF
9650 cat confdefs.h
>>conftest.
$ac_ext
9651 cat >>conftest.
$ac_ext <<_ACEOF
9652 /* end confdefs.h. */
9654 /* Override any GCC internal prototype to avoid an error.
9655 Use char because int might match the return type of a GCC
9656 builtin and then its argument prototype would still apply. */
9660 char XextCreateExtension ();
9664 return XextCreateExtension ();
9669 rm -f conftest.
$ac_objext conftest
$ac_exeext
9670 if { (ac_try
="$ac_link"
9672 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9673 *) ac_try_echo=$ac_try;;
9675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9676 (eval "$ac_link") 2>conftest.er1
9678 grep -v '^ *+' conftest.er1 >conftest.err
9680 cat conftest.err >&5
9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 (exit $ac_status); } && {
9683 test -z "$ac_c_werror_flag" ||
9684 test ! -s conftest.err
9685 } && test -s conftest$ac_exeext &&
9686 $as_test_x conftest$ac_exeext; then
9689 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'` ;;
9690 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9693 echo "$as_me: failed program was:" >&5
9694 sed 's/^/| /' conftest.$ac_ext >&5
9699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9700 conftest$ac_exeext conftest.$ac_ext
9701 LIBS=$ac_check_soname_save_LIBS
9703 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9704 { echo "$as_me:$LINENO: result: not found" >&5
9705 echo "${ECHO_T}not found" >&6; }
9708 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9709 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9711 cat >>confdefs.h <<_ACEOF
9712 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9731 for ac_header in X11/Xlib.h \
9734 X11/Xcursor/Xcursor.h \
9735 X11/extensions/shape.h \
9736 X11/extensions/XInput.h \
9737 X11/extensions/XShm.h \
9738 X11/extensions/Xcomposite.h \
9739 X11/extensions/Xinerama.h \
9740 X11/extensions/Xrandr.h \
9741 X11/extensions/Xrender.h \
9742 X11/extensions/xf86vmode.h
9744 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9745 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9747 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9748 echo $ECHO_N "(cached) $ECHO_C" >&6
9750 cat >conftest.$ac_ext <<_ACEOF
9753 cat confdefs.h >>conftest.$ac_ext
9754 cat >>conftest.$ac_ext <<_ACEOF
9755 /* end confdefs.h. */
9756 #ifdef HAVE_X11_XLIB_H
9757 # include <X11/Xlib.h>
9759 #ifdef HAVE_X11_XUTIL_H
9760 # include <X11/Xutil.h>
9763 #include <$ac_header>
9765 rm -f conftest.$ac_objext
9766 if { (ac_try="$ac_compile"
9768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9769 *) ac_try_echo
=$ac_try;;
9771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9772 (eval "$ac_compile") 2>conftest.er1
9774 grep -v '^ *+' conftest.er1
>conftest.err
9776 cat conftest.err
>&5
9777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9778 (exit $ac_status); } && {
9779 test -z "$ac_c_werror_flag" ||
9780 test ! -s conftest.err
9781 } && test -s conftest.
$ac_objext; then
9782 eval "$as_ac_Header=yes"
9784 echo "$as_me: failed program was:" >&5
9785 sed 's/^/| /' conftest.
$ac_ext >&5
9787 eval "$as_ac_Header=no"
9790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9792 ac_res
=`eval echo '${'$as_ac_Header'}'`
9793 { echo "$as_me:$LINENO: result: $ac_res" >&5
9794 echo "${ECHO_T}$ac_res" >&6; }
9795 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9796 cat >>confdefs.h
<<_ACEOF
9797 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9805 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9807 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9808 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9809 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9810 echo $ECHO_N "(cached) $ECHO_C" >&6
9812 ac_check_lib_save_LIBS
=$LIBS
9813 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9814 cat >conftest.
$ac_ext <<_ACEOF
9817 cat confdefs.h
>>conftest.
$ac_ext
9818 cat >>conftest.
$ac_ext <<_ACEOF
9819 /* end confdefs.h. */
9821 /* Override any GCC internal prototype to avoid an error.
9822 Use char because int might match the return type of a GCC
9823 builtin and then its argument prototype would still apply. */
9827 char XkbQueryExtension ();
9831 return XkbQueryExtension ();
9836 rm -f conftest.
$ac_objext conftest
$ac_exeext
9837 if { (ac_try
="$ac_link"
9839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9840 *) ac_try_echo=$ac_try;;
9842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9843 (eval "$ac_link") 2>conftest.er1
9845 grep -v '^ *+' conftest.er1 >conftest.err
9847 cat conftest.err >&5
9848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9849 (exit $ac_status); } && {
9850 test -z "$ac_c_werror_flag" ||
9851 test ! -s conftest.err
9852 } && test -s conftest$ac_exeext &&
9853 $as_test_x conftest$ac_exeext; then
9854 ac_cv_lib_X11_XkbQueryExtension=yes
9856 echo "$as_me: failed program was:" >&5
9857 sed 's/^/| /' conftest.$ac_ext >&5
9859 ac_cv_lib_X11_XkbQueryExtension=no
9862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9863 conftest$ac_exeext conftest.$ac_ext
9864 LIBS=$ac_check_lib_save_LIBS
9866 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9867 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9868 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9870 cat >>confdefs.h <<\_ACEOF
9878 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9880 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9881 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9882 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9883 echo $ECHO_N "(cached) $ECHO_C" >&6
9885 ac_check_soname_save_LIBS=$LIBS
9886 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9887 cat >conftest.$ac_ext <<_ACEOF
9890 cat confdefs.h >>conftest.$ac_ext
9891 cat >>conftest.$ac_ext <<_ACEOF
9892 /* end confdefs.h. */
9894 /* Override any GCC internal prototype to avoid an error.
9895 Use char because int might match the return type of a GCC
9896 builtin and then its argument prototype would still apply. */
9900 char XcursorImageLoadCursor ();
9904 return XcursorImageLoadCursor ();
9909 rm -f conftest.$ac_objext conftest$ac_exeext
9910 if { (ac_try="$ac_link"
9912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9913 *) ac_try_echo
=$ac_try;;
9915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9916 (eval "$ac_link") 2>conftest.er1
9918 grep -v '^ *+' conftest.er1
>conftest.err
9920 cat conftest.err
>&5
9921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9922 (exit $ac_status); } && {
9923 test -z "$ac_c_werror_flag" ||
9924 test ! -s conftest.err
9925 } && test -s conftest
$ac_exeext &&
9926 $as_test_x conftest
$ac_exeext; then
9929 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'` ;;
9930 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9933 echo "$as_me: failed program was:" >&5
9934 sed 's/^/| /' conftest.
$ac_ext >&5
9939 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9940 conftest
$ac_exeext conftest.
$ac_ext
9941 LIBS
=$ac_check_soname_save_LIBS
9943 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9944 { echo "$as_me:$LINENO: result: not found" >&5
9945 echo "${ECHO_T}not found" >&6; }
9948 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9949 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9951 cat >>confdefs.h
<<_ACEOF
9952 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9959 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9960 case "x$with_xcursor" in
9961 x
) wine_notices
="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9963 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9964 This is an error since --with-xcursor was requested." >&5
9965 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9966 This is an error since --with-xcursor was requested." >&2;}
9967 { (exit 1); exit 1; }; } ;;
9972 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9974 { echo "$as_me:$LINENO: checking for -lXi" >&5
9975 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9976 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9977 echo $ECHO_N "(cached) $ECHO_C" >&6
9979 ac_check_soname_save_LIBS
=$LIBS
9980 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9981 cat >conftest.
$ac_ext <<_ACEOF
9984 cat confdefs.h
>>conftest.
$ac_ext
9985 cat >>conftest.
$ac_ext <<_ACEOF
9986 /* end confdefs.h. */
9988 /* Override any GCC internal prototype to avoid an error.
9989 Use char because int might match the return type of a GCC
9990 builtin and then its argument prototype would still apply. */
9994 char XOpenDevice ();
9998 return XOpenDevice ();
10003 rm -f conftest.
$ac_objext conftest
$ac_exeext
10004 if { (ac_try
="$ac_link"
10005 case "(($ac_try" in
10006 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10007 *) ac_try_echo=$ac_try;;
10009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10010 (eval "$ac_link") 2>conftest.er1
10012 grep -v '^ *+' conftest.er1 >conftest.err
10014 cat conftest.err >&5
10015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016 (exit $ac_status); } && {
10017 test -z "$ac_c_werror_flag" ||
10018 test ! -s conftest.err
10019 } && test -s conftest$ac_exeext &&
10020 $as_test_x conftest$ac_exeext; then
10023 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'` ;;
10024 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10027 echo "$as_me: failed program was:" >&5
10028 sed 's/^/| /' conftest.$ac_ext >&5
10033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10034 conftest$ac_exeext conftest.$ac_ext
10035 LIBS=$ac_check_soname_save_LIBS
10037 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10038 { echo "$as_me:$LINENO: result: not found" >&5
10039 echo "${ECHO_T}not found" >&6; }
10042 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
10043 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
10045 cat >>confdefs.h <<_ACEOF
10046 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10053 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10054 case "x$with_xinput" in
10055 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
10057 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
10058 This is an error since --with-xinput was requested." >&5
10059 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
10060 This is an error since --with-xinput was requested." >&2;}
10061 { (exit 1); exit 1; }; } ;;
10066 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10068 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
10069 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
10070 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
10071 echo $ECHO_N "(cached) $ECHO_C" >&6
10073 ac_check_lib_save_LIBS=$LIBS
10074 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10075 cat >conftest.$ac_ext <<_ACEOF
10078 cat confdefs.h >>conftest.$ac_ext
10079 cat >>conftest.$ac_ext <<_ACEOF
10080 /* end confdefs.h. */
10082 /* Override any GCC internal prototype to avoid an error.
10083 Use char because int might match the return type of a GCC
10084 builtin and then its argument prototype would still apply. */
10088 char XShmQueryExtension ();
10092 return XShmQueryExtension ();
10097 rm -f conftest.$ac_objext conftest$ac_exeext
10098 if { (ac_try="$ac_link"
10099 case "(($ac_try" in
10100 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10101 *) ac_try_echo
=$ac_try;;
10103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10104 (eval "$ac_link") 2>conftest.er1
10106 grep -v '^ *+' conftest.er1
>conftest.err
10108 cat conftest.err
>&5
10109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10110 (exit $ac_status); } && {
10111 test -z "$ac_c_werror_flag" ||
10112 test ! -s conftest.err
10113 } && test -s conftest
$ac_exeext &&
10114 $as_test_x conftest
$ac_exeext; then
10115 ac_cv_lib_Xext_XShmQueryExtension
=yes
10117 echo "$as_me: failed program was:" >&5
10118 sed 's/^/| /' conftest.
$ac_ext >&5
10120 ac_cv_lib_Xext_XShmQueryExtension
=no
10123 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10124 conftest
$ac_exeext conftest.
$ac_ext
10125 LIBS
=$ac_check_lib_save_LIBS
10127 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10128 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10129 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
10131 cat >>confdefs.h
<<\_ACEOF
10132 #define HAVE_LIBXXSHM 1
10138 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
10139 case "x$with_xshm" in
10140 x
) wine_notices
="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10142 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10143 This is an error since --with-xshm was requested." >&5
10144 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10145 This is an error since --with-xshm was requested." >&2;}
10146 { (exit 1); exit 1; }; } ;;
10151 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10153 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10154 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10155 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10156 echo $ECHO_N "(cached) $ECHO_C" >&6
10158 ac_check_lib_save_LIBS
=$LIBS
10159 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10160 cat >conftest.
$ac_ext <<_ACEOF
10163 cat confdefs.h
>>conftest.
$ac_ext
10164 cat >>conftest.
$ac_ext <<_ACEOF
10165 /* end confdefs.h. */
10167 /* Override any GCC internal prototype to avoid an error.
10168 Use char because int might match the return type of a GCC
10169 builtin and then its argument prototype would still apply. */
10173 char XShapeQueryExtension ();
10177 return XShapeQueryExtension ();
10182 rm -f conftest.
$ac_objext conftest
$ac_exeext
10183 if { (ac_try
="$ac_link"
10184 case "(($ac_try" in
10185 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10186 *) ac_try_echo=$ac_try;;
10188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10189 (eval "$ac_link") 2>conftest.er1
10191 grep -v '^ *+' conftest.er1 >conftest.err
10193 cat conftest.err >&5
10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195 (exit $ac_status); } && {
10196 test -z "$ac_c_werror_flag" ||
10197 test ! -s conftest.err
10198 } && test -s conftest$ac_exeext &&
10199 $as_test_x conftest$ac_exeext; then
10200 ac_cv_lib_Xext_XShapeQueryExtension=yes
10202 echo "$as_me: failed program was:" >&5
10203 sed 's/^/| /' conftest.$ac_ext >&5
10205 ac_cv_lib_Xext_XShapeQueryExtension=no
10208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10209 conftest$ac_exeext conftest.$ac_ext
10210 LIBS=$ac_check_lib_save_LIBS
10212 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10213 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10214 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10216 cat >>confdefs.h <<\_ACEOF
10217 #define HAVE_LIBXSHAPE 1
10223 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10224 case "x$with_xshape" in
10225 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10227 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10228 This is an error since --with-xshape was requested." >&5
10229 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10230 This is an error since --with-xshape was requested." >&2;}
10231 { (exit 1); exit 1; }; } ;;
10236 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10238 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10239 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10240 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10241 echo $ECHO_N "(cached) $ECHO_C" >&6
10243 ac_check_lib_save_LIBS=$LIBS
10244 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10245 cat >conftest.$ac_ext <<_ACEOF
10248 cat confdefs.h >>conftest.$ac_ext
10249 cat >>conftest.$ac_ext <<_ACEOF
10250 /* end confdefs.h. */
10252 /* Override any GCC internal prototype to avoid an error.
10253 Use char because int might match the return type of a GCC
10254 builtin and then its argument prototype would still apply. */
10258 char XF86VidModeQueryExtension ();
10262 return XF86VidModeQueryExtension ();
10267 rm -f conftest.$ac_objext conftest$ac_exeext
10268 if { (ac_try="$ac_link"
10269 case "(($ac_try" in
10270 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10271 *) ac_try_echo
=$ac_try;;
10273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10274 (eval "$ac_link") 2>conftest.er1
10276 grep -v '^ *+' conftest.er1
>conftest.err
10278 cat conftest.err
>&5
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280 (exit $ac_status); } && {
10281 test -z "$ac_c_werror_flag" ||
10282 test ! -s conftest.err
10283 } && test -s conftest
$ac_exeext &&
10284 $as_test_x conftest
$ac_exeext; then
10285 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
10287 echo "$as_me: failed program was:" >&5
10288 sed 's/^/| /' conftest.
$ac_ext >&5
10290 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
10293 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10294 conftest
$ac_exeext conftest.
$ac_ext
10295 LIBS
=$ac_check_lib_save_LIBS
10297 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10298 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10299 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10301 cat >>confdefs.h
<<\_ACEOF
10302 #define HAVE_LIBXXF86VM 1
10305 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
10310 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10311 case "x$with_xvidmode" in
10312 x
) wine_notices
="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10314 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10315 This is an error since --with-xvidmode was requested." >&5
10316 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10317 This is an error since --with-xvidmode was requested." >&2;}
10318 { (exit 1); exit 1; }; } ;;
10323 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"
10325 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10326 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10327 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10328 echo $ECHO_N "(cached) $ECHO_C" >&6
10330 ac_check_soname_save_LIBS
=$LIBS
10331 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10332 cat >conftest.
$ac_ext <<_ACEOF
10335 cat confdefs.h
>>conftest.
$ac_ext
10336 cat >>conftest.
$ac_ext <<_ACEOF
10337 /* end confdefs.h. */
10339 /* Override any GCC internal prototype to avoid an error.
10340 Use char because int might match the return type of a GCC
10341 builtin and then its argument prototype would still apply. */
10345 char XRenderQueryExtension ();
10349 return XRenderQueryExtension ();
10354 rm -f conftest.
$ac_objext conftest
$ac_exeext
10355 if { (ac_try
="$ac_link"
10356 case "(($ac_try" in
10357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10358 *) ac_try_echo=$ac_try;;
10360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10361 (eval "$ac_link") 2>conftest.er1
10363 grep -v '^ *+' conftest.er1 >conftest.err
10365 cat conftest.err >&5
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 (exit $ac_status); } && {
10368 test -z "$ac_c_werror_flag" ||
10369 test ! -s conftest.err
10370 } && test -s conftest$ac_exeext &&
10371 $as_test_x conftest$ac_exeext; then
10374 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'` ;;
10375 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10378 echo "$as_me: failed program was:" >&5
10379 sed 's/^/| /' conftest.$ac_ext >&5
10384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10385 conftest$ac_exeext conftest.$ac_ext
10386 LIBS=$ac_check_soname_save_LIBS
10388 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10389 { echo "$as_me:$LINENO: result: not found" >&5
10390 echo "${ECHO_T}not found" >&6; }
10393 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10394 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10396 cat >>confdefs.h <<_ACEOF
10397 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10400 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10401 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10402 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10403 echo $ECHO_N "(cached) $ECHO_C" >&6
10405 ac_check_lib_save_LIBS=$LIBS
10406 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10407 cat >conftest.$ac_ext <<_ACEOF
10410 cat confdefs.h >>conftest.$ac_ext
10411 cat >>conftest.$ac_ext <<_ACEOF
10412 /* end confdefs.h. */
10414 /* Override any GCC internal prototype to avoid an error.
10415 Use char because int might match the return type of a GCC
10416 builtin and then its argument prototype would still apply. */
10420 char XRenderSetPictureTransform ();
10424 return XRenderSetPictureTransform ();
10429 rm -f conftest.$ac_objext conftest$ac_exeext
10430 if { (ac_try="$ac_link"
10431 case "(($ac_try" in
10432 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10433 *) ac_try_echo
=$ac_try;;
10435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10436 (eval "$ac_link") 2>conftest.er1
10438 grep -v '^ *+' conftest.er1
>conftest.err
10440 cat conftest.err
>&5
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); } && {
10443 test -z "$ac_c_werror_flag" ||
10444 test ! -s conftest.err
10445 } && test -s conftest
$ac_exeext &&
10446 $as_test_x conftest
$ac_exeext; then
10447 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10449 echo "$as_me: failed program was:" >&5
10450 sed 's/^/| /' conftest.
$ac_ext >&5
10452 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10455 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10456 conftest
$ac_exeext conftest.
$ac_ext
10457 LIBS
=$ac_check_lib_save_LIBS
10459 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10460 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10461 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10463 cat >>confdefs.h
<<\_ACEOF
10464 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10473 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10474 case "x$with_xrender" in
10475 x
) wine_warnings
="$wine_warnings|libxrender development files not found, XRender won't be supported." ;;
10477 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10478 This is an error since --with-xrender was requested." >&5
10479 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10480 This is an error since --with-xrender was requested." >&2;}
10481 { (exit 1); exit 1; }; } ;;
10486 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10488 cat >conftest.
$ac_ext <<_ACEOF
10491 cat confdefs.h
>>conftest.
$ac_ext
10492 cat >>conftest.
$ac_ext <<_ACEOF
10493 /* end confdefs.h. */
10494 #include <X11/Xlib.h>
10495 #include <X11/extensions/Xrandr.h>
10499 static typeof(XRRSetScreenConfigAndRate) * func;
10504 rm -f conftest.
$ac_objext
10505 if { (ac_try
="$ac_compile"
10506 case "(($ac_try" in
10507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10508 *) ac_try_echo=$ac_try;;
10510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10511 (eval "$ac_compile") 2>conftest.er1
10513 grep -v '^ *+' conftest.er1 >conftest.err
10515 cat conftest.err >&5
10516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10517 (exit $ac_status); } && {
10518 test -z "$ac_c_werror_flag" ||
10519 test ! -s conftest.err
10520 } && test -s conftest.$ac_objext; then
10521 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10522 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10523 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10524 echo $ECHO_N "(cached) $ECHO_C" >&6
10526 ac_check_soname_save_LIBS=$LIBS
10527 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10528 cat >conftest.$ac_ext <<_ACEOF
10531 cat confdefs.h >>conftest.$ac_ext
10532 cat >>conftest.$ac_ext <<_ACEOF
10533 /* end confdefs.h. */
10535 /* Override any GCC internal prototype to avoid an error.
10536 Use char because int might match the return type of a GCC
10537 builtin and then its argument prototype would still apply. */
10541 char XRRQueryExtension ();
10545 return XRRQueryExtension ();
10550 rm -f conftest.$ac_objext conftest$ac_exeext
10551 if { (ac_try="$ac_link"
10552 case "(($ac_try" in
10553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10554 *) ac_try_echo
=$ac_try;;
10556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10557 (eval "$ac_link") 2>conftest.er1
10559 grep -v '^ *+' conftest.er1
>conftest.err
10561 cat conftest.err
>&5
10562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10563 (exit $ac_status); } && {
10564 test -z "$ac_c_werror_flag" ||
10565 test ! -s conftest.err
10566 } && test -s conftest
$ac_exeext &&
10567 $as_test_x conftest
$ac_exeext; then
10570 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'` ;;
10571 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10574 echo "$as_me: failed program was:" >&5
10575 sed 's/^/| /' conftest.
$ac_ext >&5
10580 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10581 conftest
$ac_exeext conftest.
$ac_ext
10582 LIBS
=$ac_check_soname_save_LIBS
10584 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10585 { echo "$as_me:$LINENO: result: not found" >&5
10586 echo "${ECHO_T}not found" >&6; }
10589 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10590 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10592 cat >>confdefs.h
<<_ACEOF
10593 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10600 echo "$as_me: failed program was:" >&5
10601 sed 's/^/| /' conftest.
$ac_ext >&5
10606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10608 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10609 case "x$with_xrandr" in
10610 x
) wine_notices
="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10612 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10613 This is an error since --with-xrandr was requested." >&5
10614 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10615 This is an error since --with-xrandr was requested." >&2;}
10616 { (exit 1); exit 1; }; } ;;
10621 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10623 cat >conftest.
$ac_ext <<_ACEOF
10626 cat confdefs.h
>>conftest.
$ac_ext
10627 cat >>conftest.
$ac_ext <<_ACEOF
10628 /* end confdefs.h. */
10629 #include <X11/Xlib.h>
10630 #include <X11/extensions/Xinerama.h>
10634 static typeof(XineramaQueryScreens) * func;
10639 rm -f conftest.
$ac_objext
10640 if { (ac_try
="$ac_compile"
10641 case "(($ac_try" in
10642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10643 *) ac_try_echo=$ac_try;;
10645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10646 (eval "$ac_compile") 2>conftest.er1
10648 grep -v '^ *+' conftest.er1 >conftest.err
10650 cat conftest.err >&5
10651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10652 (exit $ac_status); } && {
10653 test -z "$ac_c_werror_flag" ||
10654 test ! -s conftest.err
10655 } && test -s conftest.$ac_objext; then
10656 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10657 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10658 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10659 echo $ECHO_N "(cached) $ECHO_C" >&6
10661 ac_check_soname_save_LIBS=$LIBS
10662 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10663 cat >conftest.$ac_ext <<_ACEOF
10666 cat confdefs.h >>conftest.$ac_ext
10667 cat >>conftest.$ac_ext <<_ACEOF
10668 /* end confdefs.h. */
10670 /* Override any GCC internal prototype to avoid an error.
10671 Use char because int might match the return type of a GCC
10672 builtin and then its argument prototype would still apply. */
10676 char XineramaQueryScreens ();
10680 return XineramaQueryScreens ();
10685 rm -f conftest.$ac_objext conftest$ac_exeext
10686 if { (ac_try="$ac_link"
10687 case "(($ac_try" in
10688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10689 *) ac_try_echo
=$ac_try;;
10691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10692 (eval "$ac_link") 2>conftest.er1
10694 grep -v '^ *+' conftest.er1
>conftest.err
10696 cat conftest.err
>&5
10697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); } && {
10699 test -z "$ac_c_werror_flag" ||
10700 test ! -s conftest.err
10701 } && test -s conftest
$ac_exeext &&
10702 $as_test_x conftest
$ac_exeext; then
10705 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'` ;;
10706 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10709 echo "$as_me: failed program was:" >&5
10710 sed 's/^/| /' conftest.
$ac_ext >&5
10715 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10716 conftest
$ac_exeext conftest.
$ac_ext
10717 LIBS
=$ac_check_soname_save_LIBS
10719 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10720 { echo "$as_me:$LINENO: result: not found" >&5
10721 echo "${ECHO_T}not found" >&6; }
10724 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10725 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10727 cat >>confdefs.h
<<_ACEOF
10728 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10735 echo "$as_me: failed program was:" >&5
10736 sed 's/^/| /' conftest.
$ac_ext >&5
10741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10743 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10744 case "x$with_xinerama" in
10745 x
) wine_notices
="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10747 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10748 This is an error since --with-xinerama was requested." >&5
10749 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10750 This is an error since --with-xinerama was requested." >&2;}
10751 { (exit 1); exit 1; }; } ;;
10756 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10758 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10759 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10760 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10761 echo $ECHO_N "(cached) $ECHO_C" >&6
10763 ac_check_soname_save_LIBS
=$LIBS
10764 LIBS
="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10765 cat >conftest.
$ac_ext <<_ACEOF
10768 cat confdefs.h
>>conftest.
$ac_ext
10769 cat >>conftest.
$ac_ext <<_ACEOF
10770 /* end confdefs.h. */
10772 /* Override any GCC internal prototype to avoid an error.
10773 Use char because int might match the return type of a GCC
10774 builtin and then its argument prototype would still apply. */
10778 char XCompositeRedirectWindow ();
10782 return XCompositeRedirectWindow ();
10787 rm -f conftest.
$ac_objext conftest
$ac_exeext
10788 if { (ac_try
="$ac_link"
10789 case "(($ac_try" in
10790 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10791 *) ac_try_echo=$ac_try;;
10793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10794 (eval "$ac_link") 2>conftest.er1
10796 grep -v '^ *+' conftest.er1 >conftest.err
10798 cat conftest.err >&5
10799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10800 (exit $ac_status); } && {
10801 test -z "$ac_c_werror_flag" ||
10802 test ! -s conftest.err
10803 } && test -s conftest$ac_exeext &&
10804 $as_test_x conftest$ac_exeext; then
10807 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'` ;;
10808 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXcomposite\\.$LIBEXT" |
sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10811 echo "$as_me: failed program was:" >&5
10812 sed 's/^/| /' conftest.$ac_ext >&5
10817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10818 conftest$ac_exeext conftest.$ac_ext
10819 LIBS=$ac_check_soname_save_LIBS
10821 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10822 { echo "$as_me:$LINENO: result: not found" >&5
10823 echo "${ECHO_T}not found" >&6; }
10826 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10827 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10829 cat >>confdefs.h <<_ACEOF
10830 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10837 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10838 case "x$with_xcomposite" in
10839 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10841 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10842 This is an error since --with-xcomposite was requested." >&5
10843 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10844 This is an error since --with-xcomposite was requested." >&2;}
10845 { (exit 1); exit 1; }; } ;;
10850 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10851 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10852 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10853 echo $ECHO_N "(cached) $ECHO_C" >&6
10855 cat >conftest.$ac_ext <<_ACEOF
10858 cat confdefs.h >>conftest.$ac_ext
10859 cat >>conftest.$ac_ext <<_ACEOF
10860 /* end confdefs.h. */
10861 #ifdef HAVE_X11_XLIB_H
10862 #include <X11/Xlib.h>
10868 static XICCallback ac_aggr;
10869 if (ac_aggr.callback)
10875 rm -f conftest.$ac_objext
10876 if { (ac_try="$ac_compile"
10877 case "(($ac_try" in
10878 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10879 *) ac_try_echo
=$ac_try;;
10881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10882 (eval "$ac_compile") 2>conftest.er1
10884 grep -v '^ *+' conftest.er1
>conftest.err
10886 cat conftest.err
>&5
10887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10888 (exit $ac_status); } && {
10889 test -z "$ac_c_werror_flag" ||
10890 test ! -s conftest.err
10891 } && test -s conftest.
$ac_objext; then
10892 ac_cv_member_XICCallback_callback
=yes
10894 echo "$as_me: failed program was:" >&5
10895 sed 's/^/| /' conftest.
$ac_ext >&5
10897 cat >conftest.
$ac_ext <<_ACEOF
10900 cat confdefs.h
>>conftest.
$ac_ext
10901 cat >>conftest.
$ac_ext <<_ACEOF
10902 /* end confdefs.h. */
10903 #ifdef HAVE_X11_XLIB_H
10904 #include <X11/Xlib.h>
10910 static XICCallback ac_aggr;
10911 if (sizeof ac_aggr.callback)
10917 rm -f conftest.
$ac_objext
10918 if { (ac_try
="$ac_compile"
10919 case "(($ac_try" in
10920 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10921 *) ac_try_echo=$ac_try;;
10923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10924 (eval "$ac_compile") 2>conftest.er1
10926 grep -v '^ *+' conftest.er1 >conftest.err
10928 cat conftest.err >&5
10929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10930 (exit $ac_status); } && {
10931 test -z "$ac_c_werror_flag" ||
10932 test ! -s conftest.err
10933 } && test -s conftest.$ac_objext; then
10934 ac_cv_member_XICCallback_callback=yes
10936 echo "$as_me: failed program was:" >&5
10937 sed 's/^/| /' conftest.$ac_ext >&5
10939 ac_cv_member_XICCallback_callback=no
10942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10947 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10948 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10949 if test $ac_cv_member_XICCallback_callback = yes; then
10951 cat >>confdefs.h <<_ACEOF
10952 #define HAVE_XICCALLBACK_CALLBACK 1
10961 if test "x$with_opengl" != "xno"
10967 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10969 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10970 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10972 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10973 echo $ECHO_N "(cached) $ECHO_C" >&6
10975 cat >conftest.$ac_ext <<_ACEOF
10978 cat confdefs.h >>conftest.$ac_ext
10979 cat >>conftest.$ac_ext <<_ACEOF
10980 /* end confdefs.h. */
10981 #ifdef HAVE_GL_GLX_H
10982 # include <GL/glx.h>
10985 #include <$ac_header>
10987 rm -f conftest.$ac_objext
10988 if { (ac_try="$ac_compile"
10989 case "(($ac_try" in
10990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10991 *) ac_try_echo
=$ac_try;;
10993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10994 (eval "$ac_compile") 2>conftest.er1
10996 grep -v '^ *+' conftest.er1
>conftest.err
10998 cat conftest.err
>&5
10999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11000 (exit $ac_status); } && {
11001 test -z "$ac_c_werror_flag" ||
11002 test ! -s conftest.err
11003 } && test -s conftest.
$ac_objext; then
11004 eval "$as_ac_Header=yes"
11006 echo "$as_me: failed program was:" >&5
11007 sed 's/^/| /' conftest.
$ac_ext >&5
11009 eval "$as_ac_Header=no"
11012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11014 ac_res
=`eval echo '${'$as_ac_Header'}'`
11015 { echo "$as_me:$LINENO: result: $ac_res" >&5
11016 echo "${ECHO_T}$ac_res" >&6; }
11017 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11018 cat >>confdefs.h
<<_ACEOF
11019 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11026 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
11028 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
11029 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
11030 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
11031 echo $ECHO_N "(cached) $ECHO_C" >&6
11033 cat >conftest.
$ac_ext <<_ACEOF
11036 cat confdefs.h
>>conftest.
$ac_ext
11037 cat >>conftest.
$ac_ext <<_ACEOF
11038 /* end confdefs.h. */
11043 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
11048 rm -f conftest.
$ac_objext
11049 if { (ac_try
="$ac_compile"
11050 case "(($ac_try" in
11051 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11052 *) ac_try_echo=$ac_try;;
11054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11055 (eval "$ac_compile") 2>conftest.er1
11057 grep -v '^ *+' conftest.er1 >conftest.err
11059 cat conftest.err >&5
11060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); } && {
11062 test -z "$ac_c_werror_flag" ||
11063 test ! -s conftest.err
11064 } && test -s conftest.$ac_objext; then
11065 wine_cv_opengl_header_version_OK="yes"
11067 echo "$as_me: failed program was:" >&5
11068 sed 's/^/| /' conftest.$ac_ext >&5
11070 wine_cv_opengl_header_version_OK="no"
11073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11075 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
11076 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
11078 if test "$wine_cv_opengl_header_version_OK" = "yes"
11080 { echo "$as_me:$LINENO: checking for -lGL" >&5
11081 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11082 if test "${ac_cv_lib_soname_GL+set}" = set; then
11083 echo $ECHO_N "(cached) $ECHO_C" >&6
11085 ac_check_soname_save_LIBS=$LIBS
11086 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11087 cat >conftest.$ac_ext <<_ACEOF
11090 cat confdefs.h >>conftest.$ac_ext
11091 cat >>conftest.$ac_ext <<_ACEOF
11092 /* end confdefs.h. */
11094 /* Override any GCC internal prototype to avoid an error.
11095 Use char because int might match the return type of a GCC
11096 builtin and then its argument prototype would still apply. */
11100 char glXCreateContext ();
11104 return glXCreateContext ();
11109 rm -f conftest.$ac_objext conftest$ac_exeext
11110 if { (ac_try="$ac_link"
11111 case "(($ac_try" in
11112 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11113 *) ac_try_echo
=$ac_try;;
11115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11116 (eval "$ac_link") 2>conftest.er1
11118 grep -v '^ *+' conftest.er1
>conftest.err
11120 cat conftest.err
>&5
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); } && {
11123 test -z "$ac_c_werror_flag" ||
11124 test ! -s conftest.err
11125 } && test -s conftest
$ac_exeext &&
11126 $as_test_x conftest
$ac_exeext; then
11129 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'` ;;
11130 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11133 echo "$as_me: failed program was:" >&5
11134 sed 's/^/| /' conftest.
$ac_ext >&5
11139 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11140 conftest
$ac_exeext conftest.
$ac_ext
11141 LIBS
=$ac_check_soname_save_LIBS
11143 if test "x$ac_cv_lib_soname_GL" = "x"; then
11144 { echo "$as_me:$LINENO: result: not found" >&5
11145 echo "${ECHO_T}not found" >&6; }
11146 { echo "$as_me:$LINENO: checking for -lGL" >&5
11147 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11148 if test "${ac_cv_lib_soname_GL+set}" = set; then
11149 echo $ECHO_N "(cached) $ECHO_C" >&6
11151 ac_check_soname_save_LIBS
=$LIBS
11152 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
11153 cat >conftest.
$ac_ext <<_ACEOF
11156 cat confdefs.h
>>conftest.
$ac_ext
11157 cat >>conftest.
$ac_ext <<_ACEOF
11158 /* end confdefs.h. */
11160 /* Override any GCC internal prototype to avoid an error.
11161 Use char because int might match the return type of a GCC
11162 builtin and then its argument prototype would still apply. */
11166 char glXCreateContext ();
11170 return glXCreateContext ();
11175 rm -f conftest.
$ac_objext conftest
$ac_exeext
11176 if { (ac_try
="$ac_link"
11177 case "(($ac_try" in
11178 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11179 *) ac_try_echo=$ac_try;;
11181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11182 (eval "$ac_link") 2>conftest.er1
11184 grep -v '^ *+' conftest.er1 >conftest.err
11186 cat conftest.err >&5
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); } && {
11189 test -z "$ac_c_werror_flag" ||
11190 test ! -s conftest.err
11191 } && test -s conftest$ac_exeext &&
11192 $as_test_x conftest$ac_exeext; then
11195 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'` ;;
11196 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libGL\\.$LIBEXT" |
sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11199 echo "$as_me: failed program was:" >&5
11200 sed 's/^/| /' conftest.$ac_ext >&5
11205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11206 conftest$ac_exeext conftest.$ac_ext
11207 LIBS=$ac_check_soname_save_LIBS
11209 if test "x$ac_cv_lib_soname_GL" = "x"; then
11210 { echo "$as_me:$LINENO: result: not found" >&5
11211 echo "${ECHO_T}not found" >&6; }
11212 if test -f /usr/X11R6/lib/libGL.a
11214 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11215 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11217 opengl_msg="No OpenGL library found on this system."
11220 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11221 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11223 cat >>confdefs.h <<_ACEOF
11224 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11227 OPENGL_LIBS="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL"
11228 OPENGLFILES='$(OPENGLFILES)'
11230 cat >>confdefs.h <<\_ACEOF
11231 #define HAVE_OPENGL 1
11237 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11238 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11240 cat >>confdefs.h <<_ACEOF
11241 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11245 OPENGLFILES='$(OPENGLFILES)'
11247 cat >>confdefs.h <<\_ACEOF
11248 #define HAVE_OPENGL 1
11253 if test "$ac_cv_header_GL_glu_h" = "yes"
11255 { echo "$as_me:$LINENO: checking for -lGLU" >&5
11256 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11257 if test "${ac_cv_lib_soname_GLU+set}" = set; then
11258 echo $ECHO_N "(cached) $ECHO_C" >&6
11260 ac_check_soname_save_LIBS=$LIBS
11261 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11262 cat >conftest.$ac_ext <<_ACEOF
11265 cat confdefs.h >>conftest.$ac_ext
11266 cat >>conftest.$ac_ext <<_ACEOF
11267 /* end confdefs.h. */
11269 /* Override any GCC internal prototype to avoid an error.
11270 Use char because int might match the return type of a GCC
11271 builtin and then its argument prototype would still apply. */
11279 return gluLookAt ();
11284 rm -f conftest.$ac_objext conftest$ac_exeext
11285 if { (ac_try="$ac_link"
11286 case "(($ac_try" in
11287 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11288 *) ac_try_echo
=$ac_try;;
11290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11291 (eval "$ac_link") 2>conftest.er1
11293 grep -v '^ *+' conftest.er1
>conftest.err
11295 cat conftest.err
>&5
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); } && {
11298 test -z "$ac_c_werror_flag" ||
11299 test ! -s conftest.err
11300 } && test -s conftest
$ac_exeext &&
11301 $as_test_x conftest
$ac_exeext; then
11304 dylib
) ac_cv_lib_soname_GLU
=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11305 *) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11308 echo "$as_me: failed program was:" >&5
11309 sed 's/^/| /' conftest.
$ac_ext >&5
11314 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11315 conftest
$ac_exeext conftest.
$ac_ext
11316 LIBS
=$ac_check_soname_save_LIBS
11318 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11319 { echo "$as_me:$LINENO: result: not found" >&5
11320 echo "${ECHO_T}not found" >&6; }
11323 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11324 echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11326 cat >>confdefs.h
<<_ACEOF
11327 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11330 GLU32FILES
='$(GLU32FILES)'
11334 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11335 case "x$with_glu" in
11336 x
) wine_notices
="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11338 *) { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11339 This is an error since --with-glu was requested." >&5
11340 echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11341 This is an error since --with-glu was requested." >&2;}
11342 { (exit 1); exit 1; }; } ;;
11347 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11350 opengl_msg
="OpenGL development headers not found."
11353 if test -n "$opengl_msg"; then
11354 case "x$with_opengl" in
11355 x
) wine_warnings
="$wine_warnings|$opengl_msg
11356 OpenGL and Direct3D won't be supported." ;;
11358 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11359 OpenGL and Direct3D won't be supported.
11360 This is an error since --with-opengl was requested." >&5
11361 echo "$as_me: error: $opengl_msg
11362 OpenGL and Direct3D won't be supported.
11363 This is an error since --with-opengl was requested." >&2;}
11364 { (exit 1); exit 1; }; } ;;
11372 for ac_header
in audio
/audiolib.h
11374 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11375 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11376 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11378 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11379 echo $ECHO_N "(cached) $ECHO_C" >&6
11381 ac_res
=`eval echo '${'$as_ac_Header'}'`
11382 { echo "$as_me:$LINENO: result: $ac_res" >&5
11383 echo "${ECHO_T}$ac_res" >&6; }
11385 # Is the header compilable?
11386 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11387 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11388 cat >conftest.
$ac_ext <<_ACEOF
11391 cat confdefs.h
>>conftest.
$ac_ext
11392 cat >>conftest.
$ac_ext <<_ACEOF
11393 /* end confdefs.h. */
11394 $ac_includes_default
11395 #include <$ac_header>
11397 rm -f conftest.
$ac_objext
11398 if { (ac_try
="$ac_compile"
11399 case "(($ac_try" in
11400 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11401 *) ac_try_echo=$ac_try;;
11403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11404 (eval "$ac_compile") 2>conftest.er1
11406 grep -v '^ *+' conftest.er1 >conftest.err
11408 cat conftest.err >&5
11409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11410 (exit $ac_status); } && {
11411 test -z "$ac_c_werror_flag" ||
11412 test ! -s conftest.err
11413 } && test -s conftest.$ac_objext; then
11414 ac_header_compiler=yes
11416 echo "$as_me: failed program was:" >&5
11417 sed 's/^/| /' conftest.$ac_ext >&5
11419 ac_header_compiler=no
11422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11423 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11424 echo "${ECHO_T}$ac_header_compiler" >&6; }
11426 # Is the header present?
11427 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11428 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11429 cat >conftest.$ac_ext <<_ACEOF
11432 cat confdefs.h >>conftest.$ac_ext
11433 cat >>conftest.$ac_ext <<_ACEOF
11434 /* end confdefs.h. */
11435 #include <$ac_header>
11437 if { (ac_try="$ac_cpp conftest.$ac_ext"
11438 case "(($ac_try" in
11439 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11440 *) ac_try_echo
=$ac_try;;
11442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11443 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11445 grep -v '^ *+' conftest.er1
>conftest.err
11447 cat conftest.err
>&5
11448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); } >/dev
/null
&& {
11450 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11451 test ! -s conftest.err
11453 ac_header_preproc
=yes
11455 echo "$as_me: failed program was:" >&5
11456 sed 's/^/| /' conftest.
$ac_ext >&5
11458 ac_header_preproc
=no
11461 rm -f conftest.err conftest.
$ac_ext
11462 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11463 echo "${ECHO_T}$ac_header_preproc" >&6; }
11465 # So? What about this header?
11466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11468 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11469 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11471 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11472 ac_header_preproc
=yes
11475 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11476 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11477 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11478 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11479 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11480 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11481 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11482 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11485 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11486 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11488 ## ------------------------------------ ##
11489 ## Report this to wine-devel@winehq.org ##
11490 ## ------------------------------------ ##
11492 ) |
sed "s/^/$as_me: WARNING: /" >&2
11495 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11497 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11498 echo $ECHO_N "(cached) $ECHO_C" >&6
11500 eval "$as_ac_Header=\$ac_header_preproc"
11502 ac_res
=`eval echo '${'$as_ac_Header'}'`
11503 { echo "$as_me:$LINENO: result: $ac_res" >&5
11504 echo "${ECHO_T}$ac_res" >&6; }
11507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11508 cat >>confdefs.h
<<_ACEOF
11509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11512 for ac_header
in audio
/soundlib.h
11514 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11515 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11517 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11518 echo $ECHO_N "(cached) $ECHO_C" >&6
11520 cat >conftest.
$ac_ext <<_ACEOF
11523 cat confdefs.h
>>conftest.
$ac_ext
11524 cat >>conftest.
$ac_ext <<_ACEOF
11525 /* end confdefs.h. */
11526 #include <audio/audiolib.h>
11528 #include <$ac_header>
11530 rm -f conftest.
$ac_objext
11531 if { (ac_try
="$ac_compile"
11532 case "(($ac_try" in
11533 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11534 *) ac_try_echo=$ac_try;;
11536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11537 (eval "$ac_compile") 2>conftest.er1
11539 grep -v '^ *+' conftest.er1 >conftest.err
11541 cat conftest.err >&5
11542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11543 (exit $ac_status); } && {
11544 test -z "$ac_c_werror_flag" ||
11545 test ! -s conftest.err
11546 } && test -s conftest.$ac_objext; then
11547 eval "$as_ac_Header=yes"
11549 echo "$as_me: failed program was:" >&5
11550 sed 's/^/| /' conftest.$ac_ext >&5
11552 eval "$as_ac_Header=no"
11555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11557 ac_res=`eval echo '${'$as_ac_Header'}'`
11558 { echo "$as_me:$LINENO: result: $ac_res" >&5
11559 echo "${ECHO_T}$ac_res" >&6; }
11560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11561 cat >>confdefs.h <<_ACEOF
11562 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11569 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11570 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11571 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11572 echo $ECHO_N "(cached) $ECHO_C" >&6
11574 ac_check_lib_save_LIBS=$LIBS
11575 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11576 cat >conftest.$ac_ext <<_ACEOF
11579 cat confdefs.h >>conftest.$ac_ext
11580 cat >>conftest.$ac_ext <<_ACEOF
11581 /* end confdefs.h. */
11583 /* Override any GCC internal prototype to avoid an error.
11584 Use char because int might match the return type of a GCC
11585 builtin and then its argument prototype would still apply. */
11589 char AuCreateFlow ();
11593 return AuCreateFlow ();
11598 rm -f conftest.$ac_objext conftest$ac_exeext
11599 if { (ac_try="$ac_link"
11600 case "(($ac_try" in
11601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11602 *) ac_try_echo
=$ac_try;;
11604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11605 (eval "$ac_link") 2>conftest.er1
11607 grep -v '^ *+' conftest.er1
>conftest.err
11609 cat conftest.err
>&5
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); } && {
11612 test -z "$ac_c_werror_flag" ||
11613 test ! -s conftest.err
11614 } && test -s conftest
$ac_exeext &&
11615 $as_test_x conftest
$ac_exeext; then
11616 ac_cv_lib_audio_AuCreateFlow
=yes
11618 echo "$as_me: failed program was:" >&5
11619 sed 's/^/| /' conftest.
$ac_ext >&5
11621 ac_cv_lib_audio_AuCreateFlow
=no
11624 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11625 conftest
$ac_exeext conftest.
$ac_ext
11626 LIBS
=$ac_check_lib_save_LIBS
11628 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11629 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11630 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11632 cat >>confdefs.h
<<\_ACEOF
11636 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11637 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11638 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11639 echo $ECHO_N "(cached) $ECHO_C" >&6
11641 ac_check_lib_save_LIBS
=$LIBS
11642 LIBS
="-lXau $X_LIBS $LIBS"
11643 cat >conftest.
$ac_ext <<_ACEOF
11646 cat confdefs.h
>>conftest.
$ac_ext
11647 cat >>conftest.
$ac_ext <<_ACEOF
11648 /* end confdefs.h. */
11650 /* Override any GCC internal prototype to avoid an error.
11651 Use char because int might match the return type of a GCC
11652 builtin and then its argument prototype would still apply. */
11656 char XauGetBestAuthByAddr ();
11660 return XauGetBestAuthByAddr ();
11665 rm -f conftest.
$ac_objext conftest
$ac_exeext
11666 if { (ac_try
="$ac_link"
11667 case "(($ac_try" in
11668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11669 *) ac_try_echo=$ac_try;;
11671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11672 (eval "$ac_link") 2>conftest.er1
11674 grep -v '^ *+' conftest.er1 >conftest.err
11676 cat conftest.err >&5
11677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11678 (exit $ac_status); } && {
11679 test -z "$ac_c_werror_flag" ||
11680 test ! -s conftest.err
11681 } && test -s conftest$ac_exeext &&
11682 $as_test_x conftest$ac_exeext; then
11683 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11685 echo "$as_me: failed program was:" >&5
11686 sed 's/^/| /' conftest.$ac_ext >&5
11688 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11692 conftest$ac_exeext conftest.$ac_ext
11693 LIBS=$ac_check_lib_save_LIBS
11695 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11696 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11697 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11698 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11700 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11711 CPPFLAGS="$ac_save_CPPFLAGS"
11718 if test "x$XLIB" = "x"; then
11721 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11722 without X support, which probably isn't what you want. You will need to install
11723 development packages of Xlib/Xfree86 at the very least.
11724 Use the --without-x option if you really want this." >&5
11725 echo "$as_me: error: X development files not found. Wine will be built
11726 without X support, which probably isn't what you want. You will need to install
11727 development packages of Xlib/Xfree86 at the very least.
11728 Use the --without-x option if you really want this." >&2;}
11729 { (exit 1); exit 1; }; } ;;
11743 if test "x$with_xml" != "xno"
11745 ac_save_CPPFLAGS="$CPPFLAGS"
11746 if test "$PKG_CONFIG" != "false"
11748 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
11749 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
11751 ac_xml_libs="`xml2-config
--libs 2>/dev
/null
`"
11752 ac_xml_cflags="`xml2-config
--cflags 2>/dev
/null
`"
11754 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11756 for ac_header in libxml/parser.h
11758 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11759 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11760 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11762 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11763 echo $ECHO_N "(cached) $ECHO_C" >&6
11765 ac_res=`eval echo '${'$as_ac_Header'}'`
11766 { echo "$as_me:$LINENO: result: $ac_res" >&5
11767 echo "${ECHO_T}$ac_res" >&6; }
11769 # Is the header compilable?
11770 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11771 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11772 cat >conftest.$ac_ext <<_ACEOF
11775 cat confdefs.h >>conftest.$ac_ext
11776 cat >>conftest.$ac_ext <<_ACEOF
11777 /* end confdefs.h. */
11778 $ac_includes_default
11779 #include <$ac_header>
11781 rm -f conftest.$ac_objext
11782 if { (ac_try="$ac_compile"
11783 case "(($ac_try" in
11784 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11785 *) ac_try_echo
=$ac_try;;
11787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11788 (eval "$ac_compile") 2>conftest.er1
11790 grep -v '^ *+' conftest.er1
>conftest.err
11792 cat conftest.err
>&5
11793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794 (exit $ac_status); } && {
11795 test -z "$ac_c_werror_flag" ||
11796 test ! -s conftest.err
11797 } && test -s conftest.
$ac_objext; then
11798 ac_header_compiler
=yes
11800 echo "$as_me: failed program was:" >&5
11801 sed 's/^/| /' conftest.
$ac_ext >&5
11803 ac_header_compiler
=no
11806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11807 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11808 echo "${ECHO_T}$ac_header_compiler" >&6; }
11810 # Is the header present?
11811 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11812 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11813 cat >conftest.
$ac_ext <<_ACEOF
11816 cat confdefs.h
>>conftest.
$ac_ext
11817 cat >>conftest.
$ac_ext <<_ACEOF
11818 /* end confdefs.h. */
11819 #include <$ac_header>
11821 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11822 case "(($ac_try" in
11823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11824 *) ac_try_echo=$ac_try;;
11826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11827 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11829 grep -v '^ *+' conftest.er1 >conftest.err
11831 cat conftest.err >&5
11832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 (exit $ac_status); } >/dev/null && {
11834 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11835 test ! -s conftest.err
11837 ac_header_preproc=yes
11839 echo "$as_me: failed program was:" >&5
11840 sed 's/^/| /' conftest.$ac_ext >&5
11842 ac_header_preproc=no
11845 rm -f conftest.err conftest.$ac_ext
11846 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11847 echo "${ECHO_T}$ac_header_preproc" >&6; }
11849 # So? What about this header?
11850 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11852 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11853 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11855 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11856 ac_header_preproc=yes
11859 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11860 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11861 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11862 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11863 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11864 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11865 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11866 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11867 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11868 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11869 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11870 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11872 ## ------------------------------------ ##
11873 ## Report this to wine-devel@winehq.org ##
11874 ## ------------------------------------ ##
11876 ) | sed "s/^/$as_me: WARNING: /" >&2
11879 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11881 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11882 echo $ECHO_N "(cached) $ECHO_C" >&6
11884 eval "$as_ac_Header=\$ac_header_preproc"
11886 ac_res=`eval echo '${'$as_ac_Header'}'`
11887 { echo "$as_me:$LINENO: result: $ac_res" >&5
11888 echo "${ECHO_T}$ac_res" >&6; }
11891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11892 cat >>confdefs.h <<_ACEOF
11893 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11895 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11896 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11897 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11898 echo $ECHO_N "(cached) $ECHO_C" >&6
11900 ac_check_lib_save_LIBS=$LIBS
11901 LIBS="-lxml2 $ac_xml_libs $LIBS"
11902 cat >conftest.$ac_ext <<_ACEOF
11905 cat confdefs.h >>conftest.$ac_ext
11906 cat >>conftest.$ac_ext <<_ACEOF
11907 /* end confdefs.h. */
11909 /* Override any GCC internal prototype to avoid an error.
11910 Use char because int might match the return type of a GCC
11911 builtin and then its argument prototype would still apply. */
11915 char xmlParseMemory ();
11919 return xmlParseMemory ();
11924 rm -f conftest.$ac_objext conftest$ac_exeext
11925 if { (ac_try="$ac_link"
11926 case "(($ac_try" in
11927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11928 *) ac_try_echo
=$ac_try;;
11930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11931 (eval "$ac_link") 2>conftest.er1
11933 grep -v '^ *+' conftest.er1
>conftest.err
11935 cat conftest.err
>&5
11936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11937 (exit $ac_status); } && {
11938 test -z "$ac_c_werror_flag" ||
11939 test ! -s conftest.err
11940 } && test -s conftest
$ac_exeext &&
11941 $as_test_x conftest
$ac_exeext; then
11942 ac_cv_lib_xml2_xmlParseMemory
=yes
11944 echo "$as_me: failed program was:" >&5
11945 sed 's/^/| /' conftest.
$ac_ext >&5
11947 ac_cv_lib_xml2_xmlParseMemory
=no
11950 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11951 conftest
$ac_exeext conftest.
$ac_ext
11952 LIBS
=$ac_check_lib_save_LIBS
11954 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11955 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11956 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11958 cat >>confdefs.h
<<\_ACEOF
11959 #define HAVE_LIBXML2 1
11962 XML2LIBS
="$ac_xml_libs"
11963 XML2INCL
="$ac_xml_cflags"
11966 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11967 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11968 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11969 echo $ECHO_N "(cached) $ECHO_C" >&6
11971 ac_check_lib_save_LIBS
=$LIBS
11972 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11973 cat >conftest.
$ac_ext <<_ACEOF
11976 cat confdefs.h
>>conftest.
$ac_ext
11977 cat >>conftest.
$ac_ext <<_ACEOF
11978 /* end confdefs.h. */
11980 /* Override any GCC internal prototype to avoid an error.
11981 Use char because int might match the return type of a GCC
11982 builtin and then its argument prototype would still apply. */
11986 char xmlReadMemory ();
11990 return xmlReadMemory ();
11995 rm -f conftest.
$ac_objext conftest
$ac_exeext
11996 if { (ac_try
="$ac_link"
11997 case "(($ac_try" in
11998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11999 *) ac_try_echo=$ac_try;;
12001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12002 (eval "$ac_link") 2>conftest.er1
12004 grep -v '^ *+' conftest.er1 >conftest.err
12006 cat conftest.err >&5
12007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12008 (exit $ac_status); } && {
12009 test -z "$ac_c_werror_flag" ||
12010 test ! -s conftest.err
12011 } && test -s conftest$ac_exeext &&
12012 $as_test_x conftest$ac_exeext; then
12013 ac_cv_lib_xml2_xmlReadMemory=yes
12015 echo "$as_me: failed program was:" >&5
12016 sed 's/^/| /' conftest.$ac_ext >&5
12018 ac_cv_lib_xml2_xmlReadMemory=no
12021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12022 conftest$ac_exeext conftest.$ac_ext
12023 LIBS=$ac_check_lib_save_LIBS
12025 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12026 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12027 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
12029 cat >>confdefs.h <<\_ACEOF
12030 #define HAVE_XMLREADMEMORY 1
12035 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
12036 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
12037 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
12038 echo $ECHO_N "(cached) $ECHO_C" >&6
12040 ac_check_lib_save_LIBS=$LIBS
12041 LIBS="-lxml2 $ac_xml_libs $LIBS"
12042 cat >conftest.$ac_ext <<_ACEOF
12045 cat confdefs.h >>conftest.$ac_ext
12046 cat >>conftest.$ac_ext <<_ACEOF
12047 /* end confdefs.h. */
12049 /* Override any GCC internal prototype to avoid an error.
12050 Use char because int might match the return type of a GCC
12051 builtin and then its argument prototype would still apply. */
12055 char xmlNewDocPI ();
12059 return xmlNewDocPI ();
12064 rm -f conftest.$ac_objext conftest$ac_exeext
12065 if { (ac_try="$ac_link"
12066 case "(($ac_try" in
12067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12068 *) ac_try_echo
=$ac_try;;
12070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12071 (eval "$ac_link") 2>conftest.er1
12073 grep -v '^ *+' conftest.er1
>conftest.err
12075 cat conftest.err
>&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); } && {
12078 test -z "$ac_c_werror_flag" ||
12079 test ! -s conftest.err
12080 } && test -s conftest
$ac_exeext &&
12081 $as_test_x conftest
$ac_exeext; then
12082 ac_cv_lib_xml2_xmlNewDocPI
=yes
12084 echo "$as_me: failed program was:" >&5
12085 sed 's/^/| /' conftest.
$ac_ext >&5
12087 ac_cv_lib_xml2_xmlNewDocPI
=no
12090 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12091 conftest
$ac_exeext conftest.
$ac_ext
12092 LIBS
=$ac_check_lib_save_LIBS
12094 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12095 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12096 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
12098 cat >>confdefs.h
<<\_ACEOF
12099 #define HAVE_XMLNEWDOCPI 1
12109 CPPFLAGS
="$ac_save_CPPFLAGS"
12111 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
12112 case "x$with_xml" in
12113 x
) wine_warnings
="$wine_warnings|libxml2 development files not found, XML won't be supported." ;;
12115 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
12116 This is an error since --with-xml was requested." >&5
12117 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
12118 This is an error since --with-xml was requested." >&2;}
12119 { (exit 1); exit 1; }; } ;;
12124 if test "x$with_xslt" != "xno"
12126 if test "$PKG_CONFIG" != "false"
12128 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
12129 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
12131 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
12132 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
12134 ac_save_CPPFLAGS
="$CPPFLAGS"
12135 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
12138 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
12140 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12141 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12143 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12144 echo $ECHO_N "(cached) $ECHO_C" >&6
12146 cat >conftest.
$ac_ext <<_ACEOF
12149 cat confdefs.h
>>conftest.
$ac_ext
12150 cat >>conftest.
$ac_ext <<_ACEOF
12151 /* end confdefs.h. */
12152 #ifdef HAVE_LIBXSLT_PATTERN_H
12153 # include <libxslt/pattern.h>
12156 #include <$ac_header>
12158 rm -f conftest.
$ac_objext
12159 if { (ac_try
="$ac_compile"
12160 case "(($ac_try" in
12161 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12162 *) ac_try_echo=$ac_try;;
12164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12165 (eval "$ac_compile") 2>conftest.er1
12167 grep -v '^ *+' conftest.er1 >conftest.err
12169 cat conftest.err >&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); } && {
12172 test -z "$ac_c_werror_flag" ||
12173 test ! -s conftest.err
12174 } && test -s conftest.$ac_objext; then
12175 eval "$as_ac_Header=yes"
12177 echo "$as_me: failed program was:" >&5
12178 sed 's/^/| /' conftest.$ac_ext >&5
12180 eval "$as_ac_Header=no"
12183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12185 ac_res=`eval echo '${'$as_ac_Header'}'`
12186 { echo "$as_me:$LINENO: result: $ac_res" >&5
12187 echo "${ECHO_T}$ac_res" >&6; }
12188 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12189 cat >>confdefs.h <<_ACEOF
12190 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12197 CPPFLAGS="$ac_save_CPPFLAGS"
12198 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12200 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12201 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12202 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12203 echo $ECHO_N "(cached) $ECHO_C" >&6
12205 ac_check_lib_save_LIBS=$LIBS
12206 LIBS="-lxslt $ac_xslt_libs $LIBS"
12207 cat >conftest.$ac_ext <<_ACEOF
12210 cat confdefs.h >>conftest.$ac_ext
12211 cat >>conftest.$ac_ext <<_ACEOF
12212 /* end confdefs.h. */
12214 /* Override any GCC internal prototype to avoid an error.
12215 Use char because int might match the return type of a GCC
12216 builtin and then its argument prototype would still apply. */
12220 char xsltCompilePattern ();
12224 return xsltCompilePattern ();
12229 rm -f conftest.$ac_objext conftest$ac_exeext
12230 if { (ac_try="$ac_link"
12231 case "(($ac_try" in
12232 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12233 *) ac_try_echo
=$ac_try;;
12235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12236 (eval "$ac_link") 2>conftest.er1
12238 grep -v '^ *+' conftest.er1
>conftest.err
12240 cat conftest.err
>&5
12241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12242 (exit $ac_status); } && {
12243 test -z "$ac_c_werror_flag" ||
12244 test ! -s conftest.err
12245 } && test -s conftest
$ac_exeext &&
12246 $as_test_x conftest
$ac_exeext; then
12247 ac_cv_lib_xslt_xsltCompilePattern
=yes
12249 echo "$as_me: failed program was:" >&5
12250 sed 's/^/| /' conftest.
$ac_ext >&5
12252 ac_cv_lib_xslt_xsltCompilePattern
=no
12255 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12256 conftest
$ac_exeext conftest.
$ac_ext
12257 LIBS
=$ac_check_lib_save_LIBS
12259 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12260 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12261 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12263 cat >>confdefs.h
<<\_ACEOF
12264 #define HAVE_LIBXSLT 1
12267 XSLTLIBS
="$ac_xslt_libs"
12268 XSLTINCL
="$ac_xslt_cflags"
12269 ac_save_LIBS
="$LIBS"
12270 LIBS
="$LIBS $ac_xslt_libs"
12272 for ac_func
in xsltInit
12274 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12275 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12277 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12278 echo $ECHO_N "(cached) $ECHO_C" >&6
12280 cat >conftest.
$ac_ext <<_ACEOF
12283 cat confdefs.h
>>conftest.
$ac_ext
12284 cat >>conftest.
$ac_ext <<_ACEOF
12285 /* end confdefs.h. */
12286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12288 #define $ac_func innocuous_$ac_func
12290 /* System header to define __stub macros and hopefully few prototypes,
12291 which can conflict with char $ac_func (); below.
12292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12293 <limits.h> exists even on freestanding compilers. */
12296 # include <limits.h>
12298 # include <assert.h>
12303 /* Override any GCC internal prototype to avoid an error.
12304 Use char because int might match the return type of a GCC
12305 builtin and then its argument prototype would still apply. */
12310 /* The GNU C library defines this for functions which it implements
12311 to always fail with ENOSYS. Some functions are actually named
12312 something starting with __ and the normal name is an alias. */
12313 #if defined __stub_$ac_func || defined __stub___$ac_func
12320 return $ac_func ();
12325 rm -f conftest.
$ac_objext conftest
$ac_exeext
12326 if { (ac_try
="$ac_link"
12327 case "(($ac_try" in
12328 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12329 *) ac_try_echo=$ac_try;;
12331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12332 (eval "$ac_link") 2>conftest.er1
12334 grep -v '^ *+' conftest.er1 >conftest.err
12336 cat conftest.err >&5
12337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 (exit $ac_status); } && {
12339 test -z "$ac_c_werror_flag" ||
12340 test ! -s conftest.err
12341 } && test -s conftest$ac_exeext &&
12342 $as_test_x conftest$ac_exeext; then
12343 eval "$as_ac_var=yes"
12345 echo "$as_me: failed program was:" >&5
12346 sed 's/^/| /' conftest.$ac_ext >&5
12348 eval "$as_ac_var=no"
12351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12352 conftest$ac_exeext conftest.$ac_ext
12354 ac_res=`eval echo '${'$as_ac_var'}'`
12355 { echo "$as_me:$LINENO: result: $ac_res" >&5
12356 echo "${ECHO_T}$ac_res" >&6; }
12357 if test `eval echo '${'$as_ac_var'}'` = yes; then
12358 cat >>confdefs.h <<_ACEOF
12359 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12365 LIBS="$ac_save_LIBS"
12370 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12371 case "x$with_xslt" in
12372 x) wine_warnings="$wine_warnings|libxslt development files not found, xslt won't be supported." ;;
12374 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12375 This is an error since --with-xslt was requested." >&5
12376 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12377 This is an error since --with-xslt was requested." >&2;}
12378 { (exit 1); exit 1; }; } ;;
12385 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12387 ac_save_CPPFLAGS="$CPPFLAGS"
12388 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
12389 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
12390 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12393 for ac_header in dbus/dbus.h hal/libhal.h
12395 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12397 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12399 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12400 echo $ECHO_N "(cached) $ECHO_C" >&6
12402 ac_res=`eval echo '${'$as_ac_Header'}'`
12403 { echo "$as_me:$LINENO: result: $ac_res" >&5
12404 echo "${ECHO_T}$ac_res" >&6; }
12406 # Is the header compilable?
12407 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12408 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12409 cat >conftest.$ac_ext <<_ACEOF
12412 cat confdefs.h >>conftest.$ac_ext
12413 cat >>conftest.$ac_ext <<_ACEOF
12414 /* end confdefs.h. */
12415 $ac_includes_default
12416 #include <$ac_header>
12418 rm -f conftest.$ac_objext
12419 if { (ac_try="$ac_compile"
12420 case "(($ac_try" in
12421 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12422 *) ac_try_echo
=$ac_try;;
12424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12425 (eval "$ac_compile") 2>conftest.er1
12427 grep -v '^ *+' conftest.er1
>conftest.err
12429 cat conftest.err
>&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); } && {
12432 test -z "$ac_c_werror_flag" ||
12433 test ! -s conftest.err
12434 } && test -s conftest.
$ac_objext; then
12435 ac_header_compiler
=yes
12437 echo "$as_me: failed program was:" >&5
12438 sed 's/^/| /' conftest.
$ac_ext >&5
12440 ac_header_compiler
=no
12443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12444 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12445 echo "${ECHO_T}$ac_header_compiler" >&6; }
12447 # Is the header present?
12448 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12449 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12450 cat >conftest.
$ac_ext <<_ACEOF
12453 cat confdefs.h
>>conftest.
$ac_ext
12454 cat >>conftest.
$ac_ext <<_ACEOF
12455 /* end confdefs.h. */
12456 #include <$ac_header>
12458 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12459 case "(($ac_try" in
12460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12461 *) ac_try_echo=$ac_try;;
12463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12464 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12466 grep -v '^ *+' conftest.er1 >conftest.err
12468 cat conftest.err >&5
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470 (exit $ac_status); } >/dev/null && {
12471 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12472 test ! -s conftest.err
12474 ac_header_preproc=yes
12476 echo "$as_me: failed program was:" >&5
12477 sed 's/^/| /' conftest.$ac_ext >&5
12479 ac_header_preproc=no
12482 rm -f conftest.err conftest.$ac_ext
12483 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12484 echo "${ECHO_T}$ac_header_preproc" >&6; }
12486 # So? What about this header?
12487 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12489 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12490 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12492 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12493 ac_header_preproc=yes
12496 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12497 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12498 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12499 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12500 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12501 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12502 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12503 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12505 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12506 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12507 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12509 ## ------------------------------------ ##
12510 ## Report this to wine-devel@winehq.org ##
12511 ## ------------------------------------ ##
12513 ) | sed "s/^/$as_me: WARNING: /" >&2
12516 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12518 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12519 echo $ECHO_N "(cached) $ECHO_C" >&6
12521 eval "$as_ac_Header=\$ac_header_preproc"
12523 ac_res=`eval echo '${'$as_ac_Header'}'`
12524 { echo "$as_me:$LINENO: result: $ac_res" >&5
12525 echo "${ECHO_T}$ac_res" >&6; }
12528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12529 cat >>confdefs.h <<_ACEOF
12530 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12537 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12539 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12540 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12541 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12542 echo $ECHO_N "(cached) $ECHO_C" >&6
12544 ac_check_lib_save_LIBS=$LIBS
12545 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12546 cat >conftest.$ac_ext <<_ACEOF
12549 cat confdefs.h >>conftest.$ac_ext
12550 cat >>conftest.$ac_ext <<_ACEOF
12551 /* end confdefs.h. */
12553 /* Override any GCC internal prototype to avoid an error.
12554 Use char because int might match the return type of a GCC
12555 builtin and then its argument prototype would still apply. */
12559 char dbus_connection_close ();
12563 return dbus_connection_close ();
12568 rm -f conftest.$ac_objext conftest$ac_exeext
12569 if { (ac_try="$ac_link"
12570 case "(($ac_try" in
12571 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12572 *) ac_try_echo
=$ac_try;;
12574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12575 (eval "$ac_link") 2>conftest.er1
12577 grep -v '^ *+' conftest.er1
>conftest.err
12579 cat conftest.err
>&5
12580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12581 (exit $ac_status); } && {
12582 test -z "$ac_c_werror_flag" ||
12583 test ! -s conftest.err
12584 } && test -s conftest
$ac_exeext &&
12585 $as_test_x conftest
$ac_exeext; then
12586 ac_cv_lib_dbus_1_dbus_connection_close
=yes
12588 echo "$as_me: failed program was:" >&5
12589 sed 's/^/| /' conftest.
$ac_ext >&5
12591 ac_cv_lib_dbus_1_dbus_connection_close
=no
12594 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12595 conftest
$ac_exeext conftest.
$ac_ext
12596 LIBS
=$ac_check_lib_save_LIBS
12598 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12599 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12600 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12601 { echo "$as_me:$LINENO: checking for -lhal" >&5
12602 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12603 if test "${ac_cv_lib_soname_hal+set}" = set; then
12604 echo $ECHO_N "(cached) $ECHO_C" >&6
12606 ac_check_soname_save_LIBS
=$LIBS
12607 LIBS
="-lhal $ac_hal_libs $LIBS"
12608 cat >conftest.
$ac_ext <<_ACEOF
12611 cat confdefs.h
>>conftest.
$ac_ext
12612 cat >>conftest.
$ac_ext <<_ACEOF
12613 /* end confdefs.h. */
12615 /* Override any GCC internal prototype to avoid an error.
12616 Use char because int might match the return type of a GCC
12617 builtin and then its argument prototype would still apply. */
12621 char libhal_ctx_new ();
12625 return libhal_ctx_new ();
12630 rm -f conftest.
$ac_objext conftest
$ac_exeext
12631 if { (ac_try
="$ac_link"
12632 case "(($ac_try" in
12633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12634 *) ac_try_echo=$ac_try;;
12636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12637 (eval "$ac_link") 2>conftest.er1
12639 grep -v '^ *+' conftest.er1 >conftest.err
12641 cat conftest.err >&5
12642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); } && {
12644 test -z "$ac_c_werror_flag" ||
12645 test ! -s conftest.err
12646 } && test -s conftest$ac_exeext &&
12647 $as_test_x conftest$ac_exeext; then
12650 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'` ;;
12651 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libhal\\.$LIBEXT" |
sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12654 echo "$as_me: failed program was:" >&5
12655 sed 's/^/| /' conftest.$ac_ext >&5
12660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12661 conftest$ac_exeext conftest.$ac_ext
12662 LIBS=$ac_check_soname_save_LIBS
12664 if test "x$ac_cv_lib_soname_hal" = "x"; then
12665 { echo "$as_me:$LINENO: result: not found" >&5
12666 echo "${ECHO_T}not found" >&6; }
12669 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12670 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12672 cat >>confdefs.h <<_ACEOF
12673 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12676 HALINCL="$ac_hal_cflags"
12682 CPPFLAGS="$ac_save_CPPFLAGS"
12684 if test "x$ac_cv_lib_soname_hal" = "x"; then
12685 case "x$with_hal" in
12686 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12688 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12689 This is an error since --with-hal was requested." >&5
12690 echo "$as_me: error: libhal development files not found, no dynamic device support.
12691 This is an error since --with-hal was requested." >&2;}
12692 { (exit 1); exit 1; }; } ;;
12698 if test "$ac_cv_header_ncurses_h" = "yes"
12700 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12701 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12702 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12703 echo $ECHO_N "(cached) $ECHO_C" >&6
12705 ac_check_soname_save_LIBS=$LIBS
12706 LIBS="-lncurses $LIBS"
12707 cat >conftest.$ac_ext <<_ACEOF
12710 cat confdefs.h >>conftest.$ac_ext
12711 cat >>conftest.$ac_ext <<_ACEOF
12712 /* end confdefs.h. */
12714 /* Override any GCC internal prototype to avoid an error.
12715 Use char because int might match the return type of a GCC
12716 builtin and then its argument prototype would still apply. */
12729 rm -f conftest.$ac_objext conftest$ac_exeext
12730 if { (ac_try="$ac_link"
12731 case "(($ac_try" in
12732 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12733 *) ac_try_echo
=$ac_try;;
12735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12736 (eval "$ac_link") 2>conftest.er1
12738 grep -v '^ *+' conftest.er1
>conftest.err
12740 cat conftest.err
>&5
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); } && {
12743 test -z "$ac_c_werror_flag" ||
12744 test ! -s conftest.err
12745 } && test -s conftest
$ac_exeext &&
12746 $as_test_x conftest
$ac_exeext; then
12749 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'` ;;
12750 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12753 echo "$as_me: failed program was:" >&5
12754 sed 's/^/| /' conftest.
$ac_ext >&5
12759 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12760 conftest
$ac_exeext conftest.
$ac_ext
12761 LIBS
=$ac_check_soname_save_LIBS
12763 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12764 { echo "$as_me:$LINENO: result: not found" >&5
12765 echo "${ECHO_T}not found" >&6; }
12768 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12769 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12771 cat >>confdefs.h
<<_ACEOF
12772 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12775 CURSESLIBS
="-lncurses"
12778 elif test "$ac_cv_header_curses_h" = "yes"
12780 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12781 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12782 if test "${ac_cv_lib_soname_curses+set}" = set; then
12783 echo $ECHO_N "(cached) $ECHO_C" >&6
12785 ac_check_soname_save_LIBS
=$LIBS
12786 LIBS
="-lcurses $LIBS"
12787 cat >conftest.
$ac_ext <<_ACEOF
12790 cat confdefs.h
>>conftest.
$ac_ext
12791 cat >>conftest.
$ac_ext <<_ACEOF
12792 /* end confdefs.h. */
12794 /* Override any GCC internal prototype to avoid an error.
12795 Use char because int might match the return type of a GCC
12796 builtin and then its argument prototype would still apply. */
12809 rm -f conftest.
$ac_objext conftest
$ac_exeext
12810 if { (ac_try
="$ac_link"
12811 case "(($ac_try" in
12812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12813 *) ac_try_echo=$ac_try;;
12815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12816 (eval "$ac_link") 2>conftest.er1
12818 grep -v '^ *+' conftest.er1 >conftest.err
12820 cat conftest.err >&5
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); } && {
12823 test -z "$ac_c_werror_flag" ||
12824 test ! -s conftest.err
12825 } && test -s conftest$ac_exeext &&
12826 $as_test_x conftest$ac_exeext; then
12829 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'` ;;
12830 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcurses\\.$LIBEXT" |
sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12833 echo "$as_me: failed program was:" >&5
12834 sed 's/^/| /' conftest.$ac_ext >&5
12839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12840 conftest$ac_exeext conftest.$ac_ext
12841 LIBS=$ac_check_soname_save_LIBS
12843 if test "x$ac_cv_lib_soname_curses" = "x"; then
12844 { echo "$as_me:$LINENO: result: not found" >&5
12845 echo "${ECHO_T}not found" >&6; }
12848 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12849 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12851 cat >>confdefs.h <<_ACEOF
12852 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12855 CURSESLIBS="-lcurses"
12859 ac_save_LIBS="$LIBS"
12860 LIBS="$LIBS $CURSESLIBS"
12862 for ac_func in mousemask
12864 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12865 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12867 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12868 echo $ECHO_N "(cached) $ECHO_C" >&6
12870 cat >conftest.$ac_ext <<_ACEOF
12873 cat confdefs.h >>conftest.$ac_ext
12874 cat >>conftest.$ac_ext <<_ACEOF
12875 /* end confdefs.h. */
12876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12878 #define $ac_func innocuous_$ac_func
12880 /* System header to define __stub macros and hopefully few prototypes,
12881 which can conflict with char $ac_func (); below.
12882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12883 <limits.h> exists even on freestanding compilers. */
12886 # include <limits.h>
12888 # include <assert.h>
12893 /* Override any GCC internal prototype to avoid an error.
12894 Use char because int might match the return type of a GCC
12895 builtin and then its argument prototype would still apply. */
12900 /* The GNU C library defines this for functions which it implements
12901 to always fail with ENOSYS. Some functions are actually named
12902 something starting with __ and the normal name is an alias. */
12903 #if defined __stub_$ac_func || defined __stub___$ac_func
12910 return $ac_func ();
12915 rm -f conftest.$ac_objext conftest$ac_exeext
12916 if { (ac_try="$ac_link"
12917 case "(($ac_try" in
12918 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12919 *) ac_try_echo
=$ac_try;;
12921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12922 (eval "$ac_link") 2>conftest.er1
12924 grep -v '^ *+' conftest.er1
>conftest.err
12926 cat conftest.err
>&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); } && {
12929 test -z "$ac_c_werror_flag" ||
12930 test ! -s conftest.err
12931 } && test -s conftest
$ac_exeext &&
12932 $as_test_x conftest
$ac_exeext; then
12933 eval "$as_ac_var=yes"
12935 echo "$as_me: failed program was:" >&5
12936 sed 's/^/| /' conftest.
$ac_ext >&5
12938 eval "$as_ac_var=no"
12941 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12942 conftest
$ac_exeext conftest.
$ac_ext
12944 ac_res
=`eval echo '${'$as_ac_var'}'`
12945 { echo "$as_me:$LINENO: result: $ac_res" >&5
12946 echo "${ECHO_T}$ac_res" >&6; }
12947 if test `eval echo '${'$as_ac_var'}'` = yes; then
12948 cat >>confdefs.h
<<_ACEOF
12949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12955 LIBS
="$ac_save_LIBS"
12956 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12957 case "x$with_curses" in
12958 x
) wine_notices
="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12960 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12961 This is an error since --with-curses was requested." >&5
12962 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12963 This is an error since --with-curses was requested." >&2;}
12964 { (exit 1); exit 1; }; } ;;
12969 # Extract the first word of "sane-config", so it can be a program name with args.
12970 set dummy sane-config
; ac_word
=$2
12971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12973 if test "${ac_cv_prog_sane_devel+set}" = set; then
12974 echo $ECHO_N "(cached) $ECHO_C" >&6
12976 if test -n "$sane_devel"; then
12977 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
12979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12980 for as_dir
in $PATH
12983 test -z "$as_dir" && as_dir
=.
12984 for ac_exec_ext
in '' $ac_executable_extensions; do
12985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12986 ac_cv_prog_sane_devel
="sane-config"
12987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12994 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
12997 sane_devel
=$ac_cv_prog_sane_devel
12998 if test -n "$sane_devel"; then
12999 { echo "$as_me:$LINENO: result: $sane_devel" >&5
13000 echo "${ECHO_T}$sane_devel" >&6; }
13002 { echo "$as_me:$LINENO: result: no" >&5
13003 echo "${ECHO_T}no" >&6; }
13007 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
13009 ac_sane_incl
="`$sane_devel --cflags`"
13010 ac_save_CPPFLAGS
="$CPPFLAGS"
13011 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
13012 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13013 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13014 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13015 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13016 echo $ECHO_N "(cached) $ECHO_C" >&6
13018 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13019 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13021 # Is the header compilable?
13022 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
13023 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
13024 cat >conftest.
$ac_ext <<_ACEOF
13027 cat confdefs.h
>>conftest.
$ac_ext
13028 cat >>conftest.
$ac_ext <<_ACEOF
13029 /* end confdefs.h. */
13030 $ac_includes_default
13031 #include <sane/sane.h>
13033 rm -f conftest.
$ac_objext
13034 if { (ac_try
="$ac_compile"
13035 case "(($ac_try" in
13036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13037 *) ac_try_echo=$ac_try;;
13039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13040 (eval "$ac_compile") 2>conftest.er1
13042 grep -v '^ *+' conftest.er1 >conftest.err
13044 cat conftest.err >&5
13045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13046 (exit $ac_status); } && {
13047 test -z "$ac_c_werror_flag" ||
13048 test ! -s conftest.err
13049 } && test -s conftest.$ac_objext; then
13050 ac_header_compiler=yes
13052 echo "$as_me: failed program was:" >&5
13053 sed 's/^/| /' conftest.$ac_ext >&5
13055 ac_header_compiler=no
13058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13059 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13060 echo "${ECHO_T}$ac_header_compiler" >&6; }
13062 # Is the header present?
13063 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
13064 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
13065 cat >conftest.$ac_ext <<_ACEOF
13068 cat confdefs.h >>conftest.$ac_ext
13069 cat >>conftest.$ac_ext <<_ACEOF
13070 /* end confdefs.h. */
13071 #include <sane/sane.h>
13073 if { (ac_try="$ac_cpp conftest.$ac_ext"
13074 case "(($ac_try" in
13075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13076 *) ac_try_echo
=$ac_try;;
13078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13079 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13081 grep -v '^ *+' conftest.er1
>conftest.err
13083 cat conftest.err
>&5
13084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13085 (exit $ac_status); } >/dev
/null
&& {
13086 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13087 test ! -s conftest.err
13089 ac_header_preproc
=yes
13091 echo "$as_me: failed program was:" >&5
13092 sed 's/^/| /' conftest.
$ac_ext >&5
13094 ac_header_preproc
=no
13097 rm -f conftest.err conftest.
$ac_ext
13098 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13099 echo "${ECHO_T}$ac_header_preproc" >&6; }
13101 # So? What about this header?
13102 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13104 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
13105 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13106 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
13107 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
13108 ac_header_preproc
=yes
13111 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
13112 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
13113 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
13114 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
13115 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
13116 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
13117 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
13118 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
13119 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
13120 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
13121 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
13122 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
13124 ## ------------------------------------ ##
13125 ## Report this to wine-devel@winehq.org ##
13126 ## ------------------------------------ ##
13128 ) |
sed "s/^/$as_me: WARNING: /" >&2
13131 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13132 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13133 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13134 echo $ECHO_N "(cached) $ECHO_C" >&6
13136 ac_cv_header_sane_sane_h
=$ac_header_preproc
13138 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13139 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13142 if test $ac_cv_header_sane_sane_h = yes; then
13143 { echo "$as_me:$LINENO: checking for -lsane" >&5
13144 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
13145 if test "${ac_cv_lib_soname_sane+set}" = set; then
13146 echo $ECHO_N "(cached) $ECHO_C" >&6
13148 ac_check_soname_save_LIBS
=$LIBS
13149 LIBS
="-lsane $LIBS"
13150 cat >conftest.
$ac_ext <<_ACEOF
13153 cat confdefs.h
>>conftest.
$ac_ext
13154 cat >>conftest.
$ac_ext <<_ACEOF
13155 /* end confdefs.h. */
13157 /* Override any GCC internal prototype to avoid an error.
13158 Use char because int might match the return type of a GCC
13159 builtin and then its argument prototype would still apply. */
13167 return sane_init ();
13172 rm -f conftest.
$ac_objext conftest
$ac_exeext
13173 if { (ac_try
="$ac_link"
13174 case "(($ac_try" in
13175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13176 *) ac_try_echo=$ac_try;;
13178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13179 (eval "$ac_link") 2>conftest.er1
13181 grep -v '^ *+' conftest.er1 >conftest.err
13183 cat conftest.err >&5
13184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13185 (exit $ac_status); } && {
13186 test -z "$ac_c_werror_flag" ||
13187 test ! -s conftest.err
13188 } && test -s conftest$ac_exeext &&
13189 $as_test_x conftest$ac_exeext; then
13192 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'` ;;
13193 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libsane\\.$LIBEXT" |
sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13196 echo "$as_me: failed program was:" >&5
13197 sed 's/^/| /' conftest.$ac_ext >&5
13202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13203 conftest$ac_exeext conftest.$ac_ext
13204 LIBS=$ac_check_soname_save_LIBS
13206 if test "x$ac_cv_lib_soname_sane" = "x"; then
13207 { echo "$as_me:$LINENO: result: not found" >&5
13208 echo "${ECHO_T}not found" >&6; }
13211 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13212 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13214 cat >>confdefs.h <<_ACEOF
13215 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13218 SANEINCL="$ac_sane_incl"
13225 CPPFLAGS="$ac_save_CPPFLAGS"
13227 if test "x$ac_cv_lib_soname_sane" = "x"; then
13228 case "x$with_sane" in
13229 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13231 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13232 This is an error since --with-sane was requested." >&5
13233 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13234 This is an error since --with-sane was requested." >&2;}
13235 { (exit 1); exit 1; }; } ;;
13240 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13241 set dummy gphoto2-config; ac_word=$2
13242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13244 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13245 echo $ECHO_N "(cached) $ECHO_C" >&6
13247 if test -n "$gphoto2_devel"; then
13248 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13251 for as_dir in $PATH
13254 test -z "$as_dir" && as_dir=.
13255 for ac_exec_ext in '' $ac_executable_extensions; do
13256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13257 ac_cv_prog_gphoto2_devel="gphoto2-config"
13258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13265 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13268 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13269 if test -n "$gphoto2_devel"; then
13270 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13271 echo "${ECHO_T}$gphoto2_devel" >&6; }
13273 { echo "$as_me:$LINENO: result: no" >&5
13274 echo "${ECHO_T}no" >&6; }
13278 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13279 set dummy gphoto2-port-config; ac_word=$2
13280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13282 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13283 echo $ECHO_N "(cached) $ECHO_C" >&6
13285 if test -n "$gphoto2port_devel"; then
13286 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13289 for as_dir in $PATH
13292 test -z "$as_dir" && as_dir=.
13293 for ac_exec_ext in '' $ac_executable_extensions; do
13294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13295 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13303 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13306 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13307 if test -n "$gphoto2port_devel"; then
13308 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13309 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13311 { echo "$as_me:$LINENO: result: no" >&5
13312 echo "${ECHO_T}no" >&6; }
13316 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13318 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13320 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13323 -L/usr/lib|-L/usr/lib64) ;;
13324 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13327 ac_save_CPPFLAGS="$CPPFLAGS"
13328 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13329 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13330 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13331 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13332 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13333 echo $ECHO_N "(cached) $ECHO_C" >&6
13335 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13336 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13338 # Is the header compilable?
13339 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13340 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13341 cat >conftest.$ac_ext <<_ACEOF
13344 cat confdefs.h >>conftest.$ac_ext
13345 cat >>conftest.$ac_ext <<_ACEOF
13346 /* end confdefs.h. */
13347 $ac_includes_default
13348 #include <gphoto2-camera.h>
13350 rm -f conftest.$ac_objext
13351 if { (ac_try="$ac_compile"
13352 case "(($ac_try" in
13353 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13354 *) ac_try_echo
=$ac_try;;
13356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13357 (eval "$ac_compile") 2>conftest.er1
13359 grep -v '^ *+' conftest.er1
>conftest.err
13361 cat conftest.err
>&5
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); } && {
13364 test -z "$ac_c_werror_flag" ||
13365 test ! -s conftest.err
13366 } && test -s conftest.
$ac_objext; then
13367 ac_header_compiler
=yes
13369 echo "$as_me: failed program was:" >&5
13370 sed 's/^/| /' conftest.
$ac_ext >&5
13372 ac_header_compiler
=no
13375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13376 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13377 echo "${ECHO_T}$ac_header_compiler" >&6; }
13379 # Is the header present?
13380 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13381 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13382 cat >conftest.
$ac_ext <<_ACEOF
13385 cat confdefs.h
>>conftest.
$ac_ext
13386 cat >>conftest.
$ac_ext <<_ACEOF
13387 /* end confdefs.h. */
13388 #include <gphoto2-camera.h>
13390 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13391 case "(($ac_try" in
13392 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13393 *) ac_try_echo=$ac_try;;
13395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13396 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13398 grep -v '^ *+' conftest.er1 >conftest.err
13400 cat conftest.err >&5
13401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13402 (exit $ac_status); } >/dev/null && {
13403 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13404 test ! -s conftest.err
13406 ac_header_preproc=yes
13408 echo "$as_me: failed program was:" >&5
13409 sed 's/^/| /' conftest.$ac_ext >&5
13411 ac_header_preproc=no
13414 rm -f conftest.err conftest.$ac_ext
13415 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13416 echo "${ECHO_T}$ac_header_preproc" >&6; }
13418 # So? What about this header?
13419 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13421 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13422 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13423 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13424 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13425 ac_header_preproc=yes
13428 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13429 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13430 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13431 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13432 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13433 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13434 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13435 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13436 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13437 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13438 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13439 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13441 ## ------------------------------------ ##
13442 ## Report this to wine-devel@winehq.org ##
13443 ## ------------------------------------ ##
13445 ) | sed "s/^/$as_me: WARNING: /" >&2
13448 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13449 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13450 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13451 echo $ECHO_N "(cached) $ECHO_C" >&6
13453 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13455 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13456 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13459 if test $ac_cv_header_gphoto2_camera_h = yes; then
13460 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13461 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13462 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13463 echo $ECHO_N "(cached) $ECHO_C" >&6
13465 ac_check_lib_save_LIBS=$LIBS
13466 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13467 cat >conftest.$ac_ext <<_ACEOF
13470 cat confdefs.h >>conftest.$ac_ext
13471 cat >>conftest.$ac_ext <<_ACEOF
13472 /* end confdefs.h. */
13474 /* Override any GCC internal prototype to avoid an error.
13475 Use char because int might match the return type of a GCC
13476 builtin and then its argument prototype would still apply. */
13480 char gp_camera_new ();
13484 return gp_camera_new ();
13489 rm -f conftest.$ac_objext conftest$ac_exeext
13490 if { (ac_try="$ac_link"
13491 case "(($ac_try" in
13492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13493 *) ac_try_echo
=$ac_try;;
13495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13496 (eval "$ac_link") 2>conftest.er1
13498 grep -v '^ *+' conftest.er1
>conftest.err
13500 cat conftest.err
>&5
13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13502 (exit $ac_status); } && {
13503 test -z "$ac_c_werror_flag" ||
13504 test ! -s conftest.err
13505 } && test -s conftest
$ac_exeext &&
13506 $as_test_x conftest
$ac_exeext; then
13507 ac_cv_lib_gphoto2_gp_camera_new
=yes
13509 echo "$as_me: failed program was:" >&5
13510 sed 's/^/| /' conftest.
$ac_ext >&5
13512 ac_cv_lib_gphoto2_gp_camera_new
=no
13515 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13516 conftest
$ac_exeext conftest.
$ac_ext
13517 LIBS
=$ac_check_lib_save_LIBS
13519 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13520 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13521 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13523 cat >>confdefs.h
<<\_ACEOF
13524 #define HAVE_GPHOTO2 1
13527 GPHOTO2LIBS
="$ac_gphoto2_libs"
13529 GPHOTO2INCL
="$ac_gphoto2_incl"
13536 CPPFLAGS
="$ac_save_CPPFLAGS"
13538 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13539 case "x$with_gphoto" in
13540 x
) wine_notices
="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13542 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13543 This is an error since --with-gphoto was requested." >&5
13544 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13545 This is an error since --with-gphoto was requested." >&2;}
13546 { (exit 1); exit 1; }; } ;;
13554 if test "$ac_cv_header_resolv_h" = "yes"
13556 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13557 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13558 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13559 echo $ECHO_N "(cached) $ECHO_C" >&6
13561 ac_check_lib_save_LIBS
=$LIBS
13562 LIBS
="-lresolv $LIBS"
13563 cat >conftest.
$ac_ext <<_ACEOF
13566 cat confdefs.h
>>conftest.
$ac_ext
13567 cat >>conftest.
$ac_ext <<_ACEOF
13568 /* end confdefs.h. */
13570 /* Override any GCC internal prototype to avoid an error.
13571 Use char because int might match the return type of a GCC
13572 builtin and then its argument prototype would still apply. */
13580 return res_query ();
13585 rm -f conftest.
$ac_objext conftest
$ac_exeext
13586 if { (ac_try
="$ac_link"
13587 case "(($ac_try" in
13588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13589 *) ac_try_echo=$ac_try;;
13591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13592 (eval "$ac_link") 2>conftest.er1
13594 grep -v '^ *+' conftest.er1 >conftest.err
13596 cat conftest.err >&5
13597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13598 (exit $ac_status); } && {
13599 test -z "$ac_c_werror_flag" ||
13600 test ! -s conftest.err
13601 } && test -s conftest$ac_exeext &&
13602 $as_test_x conftest$ac_exeext; then
13603 ac_cv_lib_resolv_res_query=yes
13605 echo "$as_me: failed program was:" >&5
13606 sed 's/^/| /' conftest.$ac_ext >&5
13608 ac_cv_lib_resolv_res_query=no
13611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13612 conftest$ac_exeext conftest.$ac_ext
13613 LIBS=$ac_check_lib_save_LIBS
13615 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13616 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13617 if test $ac_cv_lib_resolv_res_query = yes; then
13619 cat >>confdefs.h <<\_ACEOF
13620 #define HAVE_RESOLV 1
13623 RESOLVLIBS="-lresolv"
13630 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13632 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13633 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13634 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13635 echo $ECHO_N "(cached) $ECHO_C" >&6
13637 ac_check_lib_save_LIBS=$LIBS
13638 LIBS="-llcms $LIBS"
13639 cat >conftest.$ac_ext <<_ACEOF
13642 cat confdefs.h >>conftest.$ac_ext
13643 cat >>conftest.$ac_ext <<_ACEOF
13644 /* end confdefs.h. */
13646 /* Override any GCC internal prototype to avoid an error.
13647 Use char because int might match the return type of a GCC
13648 builtin and then its argument prototype would still apply. */
13652 char cmsOpenProfileFromFile ();
13656 return cmsOpenProfileFromFile ();
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_lib_lcms_cmsOpenProfileFromFile
=yes
13681 echo "$as_me: failed program was:" >&5
13682 sed 's/^/| /' conftest.
$ac_ext >&5
13684 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
13687 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13688 conftest
$ac_exeext conftest.
$ac_ext
13689 LIBS
=$ac_check_lib_save_LIBS
13691 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13692 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13693 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13695 cat >>confdefs.h
<<\_ACEOF
13696 #define HAVE_LCMS 1
13703 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13704 case "x$with_cms" in
13705 x
) wine_notices
="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13707 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13708 This is an error since --with-cms was requested." >&5
13709 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13710 This is an error since --with-cms was requested." >&2;}
13711 { (exit 1); exit 1; }; } ;;
13718 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13720 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13721 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13722 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13723 echo $ECHO_N "(cached) $ECHO_C" >&6
13725 ac_check_lib_save_LIBS
=$LIBS
13726 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13727 cat >conftest.
$ac_ext <<_ACEOF
13730 cat confdefs.h
>>conftest.
$ac_ext
13731 cat >>conftest.
$ac_ext <<_ACEOF
13732 /* end confdefs.h. */
13734 /* Override any GCC internal prototype to avoid an error.
13735 Use char because int might match the return type of a GCC
13736 builtin and then its argument prototype would still apply. */
13740 char ldap_initialize ();
13744 return ldap_initialize ();
13749 rm -f conftest.
$ac_objext conftest
$ac_exeext
13750 if { (ac_try
="$ac_link"
13751 case "(($ac_try" in
13752 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13753 *) ac_try_echo=$ac_try;;
13755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13756 (eval "$ac_link") 2>conftest.er1
13758 grep -v '^ *+' conftest.er1 >conftest.err
13760 cat conftest.err >&5
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); } && {
13763 test -z "$ac_c_werror_flag" ||
13764 test ! -s conftest.err
13765 } && test -s conftest$ac_exeext &&
13766 $as_test_x conftest$ac_exeext; then
13767 ac_cv_lib_ldap_r_ldap_initialize=yes
13769 echo "$as_me: failed program was:" >&5
13770 sed 's/^/| /' conftest.$ac_ext >&5
13772 ac_cv_lib_ldap_r_ldap_initialize=no
13775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13776 conftest$ac_exeext conftest.$ac_ext
13777 LIBS=$ac_check_lib_save_LIBS
13779 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13780 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13781 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13782 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13783 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13784 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13785 echo $ECHO_N "(cached) $ECHO_C" >&6
13787 ac_check_lib_save_LIBS=$LIBS
13788 LIBS="-llber $LIBPTHREAD $LIBS"
13789 cat >conftest.$ac_ext <<_ACEOF
13792 cat confdefs.h >>conftest.$ac_ext
13793 cat >>conftest.$ac_ext <<_ACEOF
13794 /* end confdefs.h. */
13796 /* Override any GCC internal prototype to avoid an error.
13797 Use char because int might match the return type of a GCC
13798 builtin and then its argument prototype would still apply. */
13806 return ber_init ();
13811 rm -f conftest.$ac_objext conftest$ac_exeext
13812 if { (ac_try="$ac_link"
13813 case "(($ac_try" in
13814 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13815 *) ac_try_echo
=$ac_try;;
13817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13818 (eval "$ac_link") 2>conftest.er1
13820 grep -v '^ *+' conftest.er1
>conftest.err
13822 cat conftest.err
>&5
13823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13824 (exit $ac_status); } && {
13825 test -z "$ac_c_werror_flag" ||
13826 test ! -s conftest.err
13827 } && test -s conftest
$ac_exeext &&
13828 $as_test_x conftest
$ac_exeext; then
13829 ac_cv_lib_lber_ber_init
=yes
13831 echo "$as_me: failed program was:" >&5
13832 sed 's/^/| /' conftest.
$ac_ext >&5
13834 ac_cv_lib_lber_ber_init
=no
13837 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13838 conftest
$ac_exeext conftest.
$ac_ext
13839 LIBS
=$ac_check_lib_save_LIBS
13841 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13842 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13843 if test $ac_cv_lib_lber_ber_init = yes; then
13845 cat >>confdefs.h
<<\_ACEOF
13846 #define HAVE_LDAP 1
13849 LDAPLIBS
="-lldap_r -llber"
13854 ac_wine_check_funcs_save_LIBS
="$LIBS"
13855 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13865 ldap_count_references \
13866 ldap_first_reference \
13867 ldap_next_reference \
13868 ldap_parse_reference \
13869 ldap_parse_sort_control \
13870 ldap_parse_sortresponse_control \
13871 ldap_parse_vlv_control \
13872 ldap_parse_vlvresponse_control
13874 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13875 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13877 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13878 echo $ECHO_N "(cached) $ECHO_C" >&6
13880 cat >conftest.
$ac_ext <<_ACEOF
13883 cat confdefs.h
>>conftest.
$ac_ext
13884 cat >>conftest.
$ac_ext <<_ACEOF
13885 /* end confdefs.h. */
13886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13888 #define $ac_func innocuous_$ac_func
13890 /* System header to define __stub macros and hopefully few prototypes,
13891 which can conflict with char $ac_func (); below.
13892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13893 <limits.h> exists even on freestanding compilers. */
13896 # include <limits.h>
13898 # include <assert.h>
13903 /* Override any GCC internal prototype to avoid an error.
13904 Use char because int might match the return type of a GCC
13905 builtin and then its argument prototype would still apply. */
13910 /* The GNU C library defines this for functions which it implements
13911 to always fail with ENOSYS. Some functions are actually named
13912 something starting with __ and the normal name is an alias. */
13913 #if defined __stub_$ac_func || defined __stub___$ac_func
13920 return $ac_func ();
13925 rm -f conftest.
$ac_objext conftest
$ac_exeext
13926 if { (ac_try
="$ac_link"
13927 case "(($ac_try" in
13928 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13929 *) ac_try_echo=$ac_try;;
13931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13932 (eval "$ac_link") 2>conftest.er1
13934 grep -v '^ *+' conftest.er1 >conftest.err
13936 cat conftest.err >&5
13937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13938 (exit $ac_status); } && {
13939 test -z "$ac_c_werror_flag" ||
13940 test ! -s conftest.err
13941 } && test -s conftest$ac_exeext &&
13942 $as_test_x conftest$ac_exeext; then
13943 eval "$as_ac_var=yes"
13945 echo "$as_me: failed program was:" >&5
13946 sed 's/^/| /' conftest.$ac_ext >&5
13948 eval "$as_ac_var=no"
13951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13952 conftest$ac_exeext conftest.$ac_ext
13954 ac_res=`eval echo '${'$as_ac_var'}'`
13955 { echo "$as_me:$LINENO: result: $ac_res" >&5
13956 echo "${ECHO_T}$ac_res" >&6; }
13957 if test `eval echo '${'$as_ac_var'}'` = yes; then
13958 cat >>confdefs.h <<_ACEOF
13959 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13965 LIBS="$ac_wine_check_funcs_save_LIBS"
13967 if test "x$LDAPLIBS" = "x"; then
13968 case "x$with_ldap" in
13969 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13971 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13972 This is an error since --with-ldap was requested." >&5
13973 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13974 This is an error since --with-ldap was requested." >&2;}
13975 { (exit 1); exit 1; }; } ;;
13980 for ac_prog in freetype-config freetype2-config
13982 # Extract the first word of "$ac_prog", so it can be a program name with args.
13983 set dummy $ac_prog; ac_word=$2
13984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13986 if test "${ac_cv_prog_ft_devel+set}" = set; then
13987 echo $ECHO_N "(cached) $ECHO_C" >&6
13989 if test -n "$ft_devel"; then
13990 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13993 for as_dir in $PATH
13996 test -z "$as_dir" && as_dir=.
13997 for ac_exec_ext in '' $ac_executable_extensions; do
13998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13999 ac_cv_prog_ft_devel="$ac_prog"
14000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14009 ft_devel=$ac_cv_prog_ft_devel
14010 if test -n "$ft_devel"; then
14011 { echo "$as_me:$LINENO: result: $ft_devel" >&5
14012 echo "${ECHO_T}$ft_devel" >&6; }
14014 { echo "$as_me:$LINENO: result: no" >&5
14015 echo "${ECHO_T}no" >&6; }
14019 test -n "$ft_devel" && break
14021 test -n "$ft_devel" || ft_devel="false"
14023 if test "$ft_devel" != "false" -a "x$with_freetype" != "xno"
14025 ac_freetype_libs=`$ft_devel --libs`
14026 ac_freetype_incl=`$ft_devel --cflags`
14027 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
14028 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
14029 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14030 echo $ECHO_N "(cached) $ECHO_C" >&6
14032 ac_check_soname_save_LIBS=$LIBS
14033 LIBS="-lfreetype $ac_freetype_libs $LIBS"
14034 cat >conftest.$ac_ext <<_ACEOF
14037 cat confdefs.h >>conftest.$ac_ext
14038 cat >>conftest.$ac_ext <<_ACEOF
14039 /* end confdefs.h. */
14041 /* Override any GCC internal prototype to avoid an error.
14042 Use char because int might match the return type of a GCC
14043 builtin and then its argument prototype would still apply. */
14047 char FT_Init_FreeType ();
14051 return FT_Init_FreeType ();
14056 rm -f conftest.$ac_objext conftest$ac_exeext
14057 if { (ac_try="$ac_link"
14058 case "(($ac_try" in
14059 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14060 *) ac_try_echo
=$ac_try;;
14062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14063 (eval "$ac_link") 2>conftest.er1
14065 grep -v '^ *+' conftest.er1
>conftest.err
14067 cat conftest.err
>&5
14068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14069 (exit $ac_status); } && {
14070 test -z "$ac_c_werror_flag" ||
14071 test ! -s conftest.err
14072 } && test -s conftest
$ac_exeext &&
14073 $as_test_x conftest
$ac_exeext; then
14076 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'` ;;
14077 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14080 echo "$as_me: failed program was:" >&5
14081 sed 's/^/| /' conftest.
$ac_ext >&5
14086 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14087 conftest
$ac_exeext conftest.
$ac_ext
14088 LIBS
=$ac_check_soname_save_LIBS
14090 if test "x$ac_cv_lib_soname_freetype" = "x"; then
14091 { echo "$as_me:$LINENO: result: not found" >&5
14092 echo "${ECHO_T}not found" >&6; }
14095 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14096 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14098 cat >>confdefs.h
<<_ACEOF
14099 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14105 if test "$ft_lib" = "yes"
14107 ac_save_CPPFLAGS
="$CPPFLAGS"
14108 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
14121 for ac_header
in ft2build.h \
14122 freetype
/freetype.h \
14123 freetype
/ftglyph.h \
14124 freetype
/fttypes.h \
14125 freetype
/tttables.h \
14126 freetype
/ftnames.h \
14127 freetype
/ftsnames.h \
14128 freetype
/ttnameid.h \
14129 freetype
/ftoutln.h \
14130 freetype
/ftwinfnt.h \
14131 freetype
/ftmodapi.h \
14132 freetype
/internal
/sfnt.h
14134 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14135 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14137 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14138 echo $ECHO_N "(cached) $ECHO_C" >&6
14140 cat >conftest.
$ac_ext <<_ACEOF
14143 cat confdefs.h
>>conftest.
$ac_ext
14144 cat >>conftest.
$ac_ext <<_ACEOF
14145 /* end confdefs.h. */
14146 #ifdef HAVE_FT2BUILD_H
14147 # include <ft2build.h>
14150 #include <$ac_header>
14152 rm -f conftest.
$ac_objext
14153 if { (ac_try
="$ac_compile"
14154 case "(($ac_try" in
14155 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14156 *) ac_try_echo=$ac_try;;
14158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14159 (eval "$ac_compile") 2>conftest.er1
14161 grep -v '^ *+' conftest.er1 >conftest.err
14163 cat conftest.err >&5
14164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14165 (exit $ac_status); } && {
14166 test -z "$ac_c_werror_flag" ||
14167 test ! -s conftest.err
14168 } && test -s conftest.$ac_objext; then
14169 eval "$as_ac_Header=yes"
14171 echo "$as_me: failed program was:" >&5
14172 sed 's/^/| /' conftest.$ac_ext >&5
14174 eval "$as_ac_Header=no"
14177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14179 ac_res=`eval echo '${'$as_ac_Header'}'`
14180 { echo "$as_me:$LINENO: result: $ac_res" >&5
14181 echo "${ECHO_T}$ac_res" >&6; }
14182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14183 cat >>confdefs.h <<_ACEOF
14184 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
14191 cat >conftest.$ac_ext <<_ACEOF
14194 cat confdefs.h >>conftest.$ac_ext
14195 cat >>conftest.$ac_ext <<_ACEOF
14196 /* end confdefs.h. */
14197 #include <ft2build.h>
14198 #include <freetype/fttrigon.h>
14200 if { (ac_try="$ac_cpp conftest.$ac_ext"
14201 case "(($ac_try" in
14202 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14203 *) ac_try_echo
=$ac_try;;
14205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14206 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14208 grep -v '^ *+' conftest.er1
>conftest.err
14210 cat conftest.err
>&5
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); } >/dev
/null
&& {
14213 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14214 test ! -s conftest.err
14217 cat >>confdefs.h
<<\_ACEOF
14218 #define HAVE_FREETYPE_FTTRIGON_H 1
14221 wine_cv_fttrigon
=yes
14223 echo "$as_me: failed program was:" >&5
14224 sed 's/^/| /' conftest.
$ac_ext >&5
14226 wine_cv_fttrigon
=no
14229 rm -f conftest.err conftest.
$ac_ext
14230 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
14231 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
14232 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
14233 echo $ECHO_N "(cached) $ECHO_C" >&6
14235 cat >conftest.
$ac_ext <<_ACEOF
14238 cat confdefs.h
>>conftest.
$ac_ext
14239 cat >>conftest.
$ac_ext <<_ACEOF
14240 /* end confdefs.h. */
14241 #include <freetype/ftmodapi.h>
14243 typedef FT_TrueTypeEngineType ac__type_new_;
14247 if ((ac__type_new_ *) 0)
14249 if (sizeof (ac__type_new_))
14255 rm -f conftest.
$ac_objext
14256 if { (ac_try
="$ac_compile"
14257 case "(($ac_try" in
14258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14259 *) ac_try_echo=$ac_try;;
14261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14262 (eval "$ac_compile") 2>conftest.er1
14264 grep -v '^ *+' conftest.er1 >conftest.err
14266 cat conftest.err >&5
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268 (exit $ac_status); } && {
14269 test -z "$ac_c_werror_flag" ||
14270 test ! -s conftest.err
14271 } && test -s conftest.$ac_objext; then
14272 ac_cv_type_FT_TrueTypeEngineType=yes
14274 echo "$as_me: failed program was:" >&5
14275 sed 's/^/| /' conftest.$ac_ext >&5
14277 ac_cv_type_FT_TrueTypeEngineType=no
14280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14282 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14283 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14284 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14286 cat >>confdefs.h <<_ACEOF
14287 #define HAVE_FT_TRUETYPEENGINETYPE 1
14293 ac_save_CFLAGS="$CFLAGS"
14294 CFLAGS="$CFLAGS $ac_freetype_libs"
14296 for ac_func in FT_Load_Sfnt_Table
14298 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
14299 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14301 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14302 echo $ECHO_N "(cached) $ECHO_C" >&6
14304 cat >conftest.$ac_ext <<_ACEOF
14307 cat confdefs.h >>conftest.$ac_ext
14308 cat >>conftest.$ac_ext <<_ACEOF
14309 /* end confdefs.h. */
14310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14312 #define $ac_func innocuous_$ac_func
14314 /* System header to define __stub macros and hopefully few prototypes,
14315 which can conflict with char $ac_func (); below.
14316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14317 <limits.h> exists even on freestanding compilers. */
14320 # include <limits.h>
14322 # include <assert.h>
14327 /* Override any GCC internal prototype to avoid an error.
14328 Use char because int might match the return type of a GCC
14329 builtin and then its argument prototype would still apply. */
14334 /* The GNU C library defines this for functions which it implements
14335 to always fail with ENOSYS. Some functions are actually named
14336 something starting with __ and the normal name is an alias. */
14337 #if defined __stub_$ac_func || defined __stub___$ac_func
14344 return $ac_func ();
14349 rm -f conftest.$ac_objext conftest$ac_exeext
14350 if { (ac_try="$ac_link"
14351 case "(($ac_try" in
14352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14353 *) ac_try_echo
=$ac_try;;
14355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14356 (eval "$ac_link") 2>conftest.er1
14358 grep -v '^ *+' conftest.er1
>conftest.err
14360 cat conftest.err
>&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); } && {
14363 test -z "$ac_c_werror_flag" ||
14364 test ! -s conftest.err
14365 } && test -s conftest
$ac_exeext &&
14366 $as_test_x conftest
$ac_exeext; then
14367 eval "$as_ac_var=yes"
14369 echo "$as_me: failed program was:" >&5
14370 sed 's/^/| /' conftest.
$ac_ext >&5
14372 eval "$as_ac_var=no"
14375 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14376 conftest
$ac_exeext conftest.
$ac_ext
14378 ac_res
=`eval echo '${'$as_ac_var'}'`
14379 { echo "$as_me:$LINENO: result: $ac_res" >&5
14380 echo "${ECHO_T}$ac_res" >&6; }
14381 if test `eval echo '${'$as_ac_var'}'` = yes; then
14382 cat >>confdefs.h
<<_ACEOF
14383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14389 CFLAGS
="$ac_save_CFLAGS"
14390 CPPFLAGS
="$ac_save_CPPFLAGS"
14391 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14394 cat >>confdefs.h
<<\_ACEOF
14395 #define HAVE_FREETYPE 1
14398 FREETYPELIBS
="$ac_freetype_libs"
14400 FREETYPEINCL
="$ac_freetype_incl"
14402 FONTSSUBDIRS
="fonts"
14407 if test "x$FREETYPELIBS" = "x"; then
14408 case "x$with_freetype" in
14410 *) { { echo "$as_me:$LINENO: error: FreeType development files not found.
14411 Fonts will not be built. Dialog text may be invisible or unaligned.
14412 Use the --without-freetype option if you really want this." >&5
14413 echo "$as_me: error: FreeType development files not found.
14414 Fonts will not be built. Dialog text may be invisible or unaligned.
14415 Use the --without-freetype option if you really want this." >&2;}
14416 { (exit 1); exit 1; }; } ;;
14421 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14422 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14423 if test "${ac_cv_c_ppdev+set}" = set; then
14424 echo $ECHO_N "(cached) $ECHO_C" >&6
14426 cat >conftest.
$ac_ext <<_ACEOF
14429 cat confdefs.h
>>conftest.
$ac_ext
14430 cat >>conftest.
$ac_ext <<_ACEOF
14431 /* end confdefs.h. */
14432 #include <linux/ppdev.h>
14436 ioctl (1,PPCLAIM,0)
14441 rm -f conftest.
$ac_objext
14442 if { (ac_try
="$ac_compile"
14443 case "(($ac_try" in
14444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14445 *) ac_try_echo=$ac_try;;
14447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14448 (eval "$ac_compile") 2>conftest.er1
14450 grep -v '^ *+' conftest.er1 >conftest.err
14452 cat conftest.err >&5
14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454 (exit $ac_status); } && {
14455 test -z "$ac_c_werror_flag" ||
14456 test ! -s conftest.err
14457 } && test -s conftest.$ac_objext; then
14458 ac_cv_c_ppdev="yes"
14460 echo "$as_me: failed program was:" >&5
14461 sed 's/^/| /' conftest.$ac_ext >&5
14466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14468 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14469 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14470 if test "$ac_cv_c_ppdev" = "yes"
14473 cat >>confdefs.h <<\_ACEOF
14474 #define HAVE_PPDEV 1
14479 { echo "$as_me:$LINENO: checking for va_copy" >&5
14480 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14481 if test "${ac_cv_c_va_copy+set}" = set; then
14482 echo $ECHO_N "(cached) $ECHO_C" >&6
14484 cat >conftest.$ac_ext <<_ACEOF
14487 cat confdefs.h >>conftest.$ac_ext
14488 cat >>conftest.$ac_ext <<_ACEOF
14489 /* end confdefs.h. */
14490 #include <stdarg.h>
14494 va_list ap1, ap2; va_copy(ap1,ap2);
14499 rm -f conftest.$ac_objext conftest$ac_exeext
14500 if { (ac_try="$ac_link"
14501 case "(($ac_try" in
14502 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14503 *) ac_try_echo
=$ac_try;;
14505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14506 (eval "$ac_link") 2>conftest.er1
14508 grep -v '^ *+' conftest.er1
>conftest.err
14510 cat conftest.err
>&5
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); } && {
14513 test -z "$ac_c_werror_flag" ||
14514 test ! -s conftest.err
14515 } && test -s conftest
$ac_exeext &&
14516 $as_test_x conftest
$ac_exeext; then
14517 ac_cv_c_va_copy
="yes"
14519 echo "$as_me: failed program was:" >&5
14520 sed 's/^/| /' conftest.
$ac_ext >&5
14522 ac_cv_c_va_copy
="no"
14525 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14526 conftest
$ac_exeext conftest.
$ac_ext
14529 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14530 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14531 if test "$ac_cv_c_va_copy" = "yes"
14534 cat >>confdefs.h
<<\_ACEOF
14535 #define HAVE_VA_COPY 1
14539 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14540 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14541 if test "${ac_cv_c___va_copy+set}" = set; then
14542 echo $ECHO_N "(cached) $ECHO_C" >&6
14544 cat >conftest.
$ac_ext <<_ACEOF
14547 cat confdefs.h
>>conftest.
$ac_ext
14548 cat >>conftest.
$ac_ext <<_ACEOF
14549 /* end confdefs.h. */
14550 #include <stdarg.h>
14554 va_list ap1, ap2; __va_copy(ap1,ap2);
14559 rm -f conftest.
$ac_objext conftest
$ac_exeext
14560 if { (ac_try
="$ac_link"
14561 case "(($ac_try" in
14562 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14563 *) ac_try_echo=$ac_try;;
14565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14566 (eval "$ac_link") 2>conftest.er1
14568 grep -v '^ *+' conftest.er1 >conftest.err
14570 cat conftest.err >&5
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); } && {
14573 test -z "$ac_c_werror_flag" ||
14574 test ! -s conftest.err
14575 } && test -s conftest$ac_exeext &&
14576 $as_test_x conftest$ac_exeext; then
14577 ac_cv_c___va_copy="yes"
14579 echo "$as_me: failed program was:" >&5
14580 sed 's/^/| /' conftest.$ac_ext >&5
14582 ac_cv_c___va_copy="no"
14585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14586 conftest$ac_exeext conftest.$ac_ext
14589 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14590 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14591 if test "$ac_cv_c___va_copy" = "yes"
14594 cat >>confdefs.h <<\_ACEOF
14595 #define HAVE___VA_COPY 1
14600 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14601 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14602 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14603 echo $ECHO_N "(cached) $ECHO_C" >&6
14605 cat >conftest.$ac_ext <<_ACEOF
14608 cat confdefs.h >>conftest.$ac_ext
14609 cat >>conftest.$ac_ext <<_ACEOF
14610 /* end confdefs.h. */
14611 #define _GNU_SOURCE
14612 #include <pthread.h>
14614 typedef pthread_rwlock_t ac__type_new_;
14618 if ((ac__type_new_ *) 0)
14620 if (sizeof (ac__type_new_))
14626 rm -f conftest.$ac_objext
14627 if { (ac_try="$ac_compile"
14628 case "(($ac_try" in
14629 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14630 *) ac_try_echo
=$ac_try;;
14632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14633 (eval "$ac_compile") 2>conftest.er1
14635 grep -v '^ *+' conftest.er1
>conftest.err
14637 cat conftest.err
>&5
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); } && {
14640 test -z "$ac_c_werror_flag" ||
14641 test ! -s conftest.err
14642 } && test -s conftest.
$ac_objext; then
14643 ac_cv_type_pthread_rwlock_t
=yes
14645 echo "$as_me: failed program was:" >&5
14646 sed 's/^/| /' conftest.
$ac_ext >&5
14648 ac_cv_type_pthread_rwlock_t
=no
14651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14653 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14654 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14655 if test $ac_cv_type_pthread_rwlock_t = yes; then
14657 cat >>confdefs.h
<<_ACEOF
14658 #define HAVE_PTHREAD_RWLOCK_T 1
14663 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14664 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14665 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14666 echo $ECHO_N "(cached) $ECHO_C" >&6
14668 cat >conftest.
$ac_ext <<_ACEOF
14671 cat confdefs.h
>>conftest.
$ac_ext
14672 cat >>conftest.
$ac_ext <<_ACEOF
14673 /* end confdefs.h. */
14674 #define _GNU_SOURCE
14675 #include <pthread.h>
14677 typedef pthread_rwlockattr_t ac__type_new_;
14681 if ((ac__type_new_ *) 0)
14683 if (sizeof (ac__type_new_))
14689 rm -f conftest.
$ac_objext
14690 if { (ac_try
="$ac_compile"
14691 case "(($ac_try" in
14692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14693 *) ac_try_echo=$ac_try;;
14695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14696 (eval "$ac_compile") 2>conftest.er1
14698 grep -v '^ *+' conftest.er1 >conftest.err
14700 cat conftest.err >&5
14701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 (exit $ac_status); } && {
14703 test -z "$ac_c_werror_flag" ||
14704 test ! -s conftest.err
14705 } && test -s conftest.$ac_objext; then
14706 ac_cv_type_pthread_rwlockattr_t=yes
14708 echo "$as_me: failed program was:" >&5
14709 sed 's/^/| /' conftest.$ac_ext >&5
14711 ac_cv_type_pthread_rwlockattr_t=no
14714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14716 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14717 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14718 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14720 cat >>confdefs.h <<_ACEOF
14721 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14728 ac_wine_check_funcs_save_LIBS="$LIBS"
14729 LIBS="$LIBS $LIBPTHREAD"
14735 pthread_attr_get_np \
14736 pthread_getattr_np \
14737 pthread_get_stackaddr_np \
14738 pthread_get_stacksize_np
14740 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
14741 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14743 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14744 echo $ECHO_N "(cached) $ECHO_C" >&6
14746 cat >conftest.$ac_ext <<_ACEOF
14749 cat confdefs.h >>conftest.$ac_ext
14750 cat >>conftest.$ac_ext <<_ACEOF
14751 /* end confdefs.h. */
14752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14754 #define $ac_func innocuous_$ac_func
14756 /* System header to define __stub macros and hopefully few prototypes,
14757 which can conflict with char $ac_func (); below.
14758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14759 <limits.h> exists even on freestanding compilers. */
14762 # include <limits.h>
14764 # include <assert.h>
14769 /* Override any GCC internal prototype to avoid an error.
14770 Use char because int might match the return type of a GCC
14771 builtin and then its argument prototype would still apply. */
14776 /* The GNU C library defines this for functions which it implements
14777 to always fail with ENOSYS. Some functions are actually named
14778 something starting with __ and the normal name is an alias. */
14779 #if defined __stub_$ac_func || defined __stub___$ac_func
14786 return $ac_func ();
14791 rm -f conftest.$ac_objext conftest$ac_exeext
14792 if { (ac_try="$ac_link"
14793 case "(($ac_try" in
14794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14795 *) ac_try_echo
=$ac_try;;
14797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14798 (eval "$ac_link") 2>conftest.er1
14800 grep -v '^ *+' conftest.er1
>conftest.err
14802 cat conftest.err
>&5
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); } && {
14805 test -z "$ac_c_werror_flag" ||
14806 test ! -s conftest.err
14807 } && test -s conftest
$ac_exeext &&
14808 $as_test_x conftest
$ac_exeext; then
14809 eval "$as_ac_var=yes"
14811 echo "$as_me: failed program was:" >&5
14812 sed 's/^/| /' conftest.
$ac_ext >&5
14814 eval "$as_ac_var=no"
14817 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14818 conftest
$ac_exeext conftest.
$ac_ext
14820 ac_res
=`eval echo '${'$as_ac_var'}'`
14821 { echo "$as_me:$LINENO: result: $ac_res" >&5
14822 echo "${ECHO_T}$ac_res" >&6; }
14823 if test `eval echo '${'$as_ac_var'}'` = yes; then
14824 cat >>confdefs.h
<<_ACEOF
14825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14831 LIBS
="$ac_wine_check_funcs_save_LIBS"
14833 # Extract the first word of "esd-config", so it can be a program name with args.
14834 set dummy esd-config
; ac_word
=$2
14835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14837 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14838 echo $ECHO_N "(cached) $ECHO_C" >&6
14842 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
14845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14846 for as_dir
in $PATH
14849 test -z "$as_dir" && as_dir
=.
14850 for ac_exec_ext
in '' $ac_executable_extensions; do
14851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14852 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
14853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14863 ESDCONFIG
=$ac_cv_path_ESDCONFIG
14864 if test -n "$ESDCONFIG"; then
14865 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14866 echo "${ECHO_T}$ESDCONFIG" >&6; }
14868 { echo "$as_me:$LINENO: result: no" >&5
14869 echo "${ECHO_T}no" >&6; }
14873 if test "x$with_esd" != xno
-a "x$ESDCONFIG" != x
-a "x$ESDCONFIG" != x
'"$ESDCONFIG"';
14876 for i
in `$ESDCONFIG --cflags`
14879 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
14882 ESD_LIBS
=`$ESDCONFIG --libs`
14883 save_CFLAGS
="$CFLAGS"
14884 CFLAGS
="$CFLAGS $ESD_CFLAGS"
14885 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14886 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14887 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14888 echo $ECHO_N "(cached) $ECHO_C" >&6
14890 ac_check_lib_save_LIBS
=$LIBS
14892 cat >conftest.
$ac_ext <<_ACEOF
14895 cat confdefs.h
>>conftest.
$ac_ext
14896 cat >>conftest.
$ac_ext <<_ACEOF
14897 /* end confdefs.h. */
14899 /* Override any GCC internal prototype to avoid an error.
14900 Use char because int might match the return type of a GCC
14901 builtin and then its argument prototype would still apply. */
14905 char esd_open_sound ();
14909 return esd_open_sound ();
14914 rm -f conftest.
$ac_objext conftest
$ac_exeext
14915 if { (ac_try
="$ac_link"
14916 case "(($ac_try" in
14917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14918 *) ac_try_echo=$ac_try;;
14920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14921 (eval "$ac_link") 2>conftest.er1
14923 grep -v '^ *+' conftest.er1 >conftest.err
14925 cat conftest.err >&5
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); } && {
14928 test -z "$ac_c_werror_flag" ||
14929 test ! -s conftest.err
14930 } && test -s conftest$ac_exeext &&
14931 $as_test_x conftest$ac_exeext; then
14932 ac_cv_lib_esd_esd_open_sound=yes
14934 echo "$as_me: failed program was:" >&5
14935 sed 's/^/| /' conftest.$ac_ext >&5
14937 ac_cv_lib_esd_esd_open_sound=no
14940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14941 conftest$ac_exeext conftest.$ac_ext
14942 LIBS=$ac_check_lib_save_LIBS
14944 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14945 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14946 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14949 ESDINCL=$ESD_CFLAGS
14952 cat >>confdefs.h <<\_ACEOF
14958 CFLAGS="$save_CFLAGS"
14963 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14965 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14966 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14967 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14968 echo $ECHO_N "(cached) $ECHO_C" >&6
14970 ac_check_lib_save_LIBS=$LIBS
14971 LIBS="-lasound $LIBS"
14972 cat >conftest.$ac_ext <<_ACEOF
14975 cat confdefs.h >>conftest.$ac_ext
14976 cat >>conftest.$ac_ext <<_ACEOF
14977 /* end confdefs.h. */
14979 /* Override any GCC internal prototype to avoid an error.
14980 Use char because int might match the return type of a GCC
14981 builtin and then its argument prototype would still apply. */
14985 char snd_pcm_hw_params_get_access ();
14989 return snd_pcm_hw_params_get_access ();
14994 rm -f conftest.$ac_objext conftest$ac_exeext
14995 if { (ac_try="$ac_link"
14996 case "(($ac_try" in
14997 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14998 *) ac_try_echo
=$ac_try;;
15000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15001 (eval "$ac_link") 2>conftest.er1
15003 grep -v '^ *+' conftest.er1
>conftest.err
15005 cat conftest.err
>&5
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); } && {
15008 test -z "$ac_c_werror_flag" ||
15009 test ! -s conftest.err
15010 } && test -s conftest
$ac_exeext &&
15011 $as_test_x conftest
$ac_exeext; then
15012 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
15014 echo "$as_me: failed program was:" >&5
15015 sed 's/^/| /' conftest.
$ac_ext >&5
15017 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
15020 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15021 conftest
$ac_exeext conftest.
$ac_ext
15022 LIBS
=$ac_check_lib_save_LIBS
15024 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
15025 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
15026 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
15027 cat >conftest.
$ac_ext <<_ACEOF
15030 cat confdefs.h
>>conftest.
$ac_ext
15031 cat >>conftest.
$ac_ext <<_ACEOF
15032 /* end confdefs.h. */
15033 #ifdef HAVE_ALSA_ASOUNDLIB_H
15034 #include <alsa/asoundlib.h>
15035 #elif defined(HAVE_SYS_ASOUNDLIB_H)
15036 #include <sys/asoundlib.h>
15041 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
15046 rm -f conftest.
$ac_objext
15047 if { (ac_try
="$ac_compile"
15048 case "(($ac_try" in
15049 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15050 *) ac_try_echo=$ac_try;;
15052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15053 (eval "$ac_compile") 2>conftest.er1
15055 grep -v '^ *+' conftest.er1 >conftest.err
15057 cat conftest.err >&5
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); } && {
15060 test -z "$ac_c_werror_flag" ||
15061 test ! -s conftest.err
15062 } && test -s conftest.$ac_objext; then
15064 cat >>confdefs.h <<\_ACEOF
15065 #define HAVE_ALSA 1
15068 ALSALIBS="-lasound"
15070 echo "$as_me: failed program was:" >&5
15071 sed 's/^/| /' conftest.$ac_ext >&5
15076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15083 if test "$ac_cv_header_libaudioio_h" = "yes"
15085 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
15086 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
15087 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
15088 echo $ECHO_N "(cached) $ECHO_C" >&6
15090 ac_check_lib_save_LIBS=$LIBS
15091 LIBS="-laudioio $LIBS"
15092 cat >conftest.$ac_ext <<_ACEOF
15095 cat confdefs.h >>conftest.$ac_ext
15096 cat >>conftest.$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15099 /* Override any GCC internal prototype to avoid an error.
15100 Use char because int might match the return type of a GCC
15101 builtin and then its argument prototype would still apply. */
15105 char AudioIOGetVersion ();
15109 return AudioIOGetVersion ();
15114 rm -f conftest.$ac_objext conftest$ac_exeext
15115 if { (ac_try="$ac_link"
15116 case "(($ac_try" in
15117 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15118 *) ac_try_echo
=$ac_try;;
15120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15121 (eval "$ac_link") 2>conftest.er1
15123 grep -v '^ *+' conftest.er1
>conftest.err
15125 cat conftest.err
>&5
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); } && {
15128 test -z "$ac_c_werror_flag" ||
15129 test ! -s conftest.err
15130 } && test -s conftest
$ac_exeext &&
15131 $as_test_x conftest
$ac_exeext; then
15132 ac_cv_lib_audioio_AudioIOGetVersion
=yes
15134 echo "$as_me: failed program was:" >&5
15135 sed 's/^/| /' conftest.
$ac_ext >&5
15137 ac_cv_lib_audioio_AudioIOGetVersion
=no
15140 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15141 conftest
$ac_exeext conftest.
$ac_ext
15142 LIBS
=$ac_check_lib_save_LIBS
15144 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
15145 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
15146 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
15147 AUDIOIOLIBS
="-laudioio"
15149 cat >>confdefs.h
<<\_ACEOF
15150 #define HAVE_LIBAUDIOIO 1
15158 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15160 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
15161 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
15162 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15163 echo $ECHO_N "(cached) $ECHO_C" >&6
15165 ac_check_soname_save_LIBS
=$LIBS
15166 LIBS
="-lcapi20 $LIBS"
15167 cat >conftest.
$ac_ext <<_ACEOF
15170 cat confdefs.h
>>conftest.
$ac_ext
15171 cat >>conftest.
$ac_ext <<_ACEOF
15172 /* end confdefs.h. */
15174 /* Override any GCC internal prototype to avoid an error.
15175 Use char because int might match the return type of a GCC
15176 builtin and then its argument prototype would still apply. */
15180 char capi20_register ();
15184 return capi20_register ();
15189 rm -f conftest.
$ac_objext conftest
$ac_exeext
15190 if { (ac_try
="$ac_link"
15191 case "(($ac_try" in
15192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15193 *) ac_try_echo=$ac_try;;
15195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15196 (eval "$ac_link") 2>conftest.er1
15198 grep -v '^ *+' conftest.er1 >conftest.err
15200 cat conftest.err >&5
15201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15202 (exit $ac_status); } && {
15203 test -z "$ac_c_werror_flag" ||
15204 test ! -s conftest.err
15205 } && test -s conftest$ac_exeext &&
15206 $as_test_x conftest$ac_exeext; then
15209 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'` ;;
15210 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcapi20\\.$LIBEXT" |
sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15213 echo "$as_me: failed program was:" >&5
15214 sed 's/^/| /' conftest.$ac_ext >&5
15219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15220 conftest$ac_exeext conftest.$ac_ext
15221 LIBS=$ac_check_soname_save_LIBS
15223 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15224 { echo "$as_me:$LINENO: result: not found" >&5
15225 echo "${ECHO_T}not found" >&6; }
15228 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15229 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15231 cat >>confdefs.h <<_ACEOF
15232 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15239 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15240 case "x$with_capi" in
15241 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15243 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15244 This is an error since --with-capi was requested." >&5
15245 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15246 This is an error since --with-capi was requested." >&2;}
15247 { (exit 1); exit 1; }; } ;;
15252 if test "$ac_cv_header_cups_cups_h" = "yes"
15254 { echo "$as_me:$LINENO: checking for -lcups" >&5
15255 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15256 if test "${ac_cv_lib_soname_cups+set}" = set; then
15257 echo $ECHO_N "(cached) $ECHO_C" >&6
15259 ac_check_soname_save_LIBS=$LIBS
15260 LIBS="-lcups $LIBS"
15261 cat >conftest.$ac_ext <<_ACEOF
15264 cat confdefs.h >>conftest.$ac_ext
15265 cat >>conftest.$ac_ext <<_ACEOF
15266 /* end confdefs.h. */
15268 /* Override any GCC internal prototype to avoid an error.
15269 Use char because int might match the return type of a GCC
15270 builtin and then its argument prototype would still apply. */
15274 char cupsGetDefault ();
15278 return cupsGetDefault ();
15283 rm -f conftest.$ac_objext conftest$ac_exeext
15284 if { (ac_try="$ac_link"
15285 case "(($ac_try" in
15286 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15287 *) ac_try_echo
=$ac_try;;
15289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15290 (eval "$ac_link") 2>conftest.er1
15292 grep -v '^ *+' conftest.er1
>conftest.err
15294 cat conftest.err
>&5
15295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15296 (exit $ac_status); } && {
15297 test -z "$ac_c_werror_flag" ||
15298 test ! -s conftest.err
15299 } && test -s conftest
$ac_exeext &&
15300 $as_test_x conftest
$ac_exeext; then
15303 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'` ;;
15304 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15307 echo "$as_me: failed program was:" >&5
15308 sed 's/^/| /' conftest.
$ac_ext >&5
15313 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15314 conftest
$ac_exeext conftest.
$ac_ext
15315 LIBS
=$ac_check_soname_save_LIBS
15317 if test "x$ac_cv_lib_soname_cups" = "x"; then
15318 { echo "$as_me:$LINENO: result: not found" >&5
15319 echo "${ECHO_T}not found" >&6; }
15322 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15323 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15325 cat >>confdefs.h
<<_ACEOF
15326 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15333 if test "x$ac_cv_lib_soname_cups" = "x"; then
15334 case "x$with_cups" in
15335 x
) wine_notices
="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15337 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15338 This is an error since --with-cups was requested." >&5
15339 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15340 This is an error since --with-cups was requested." >&2;}
15341 { (exit 1); exit 1; }; } ;;
15346 if test "$ac_cv_header_jack_jack_h" = "yes"
15348 { echo "$as_me:$LINENO: checking for -ljack" >&5
15349 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15350 if test "${ac_cv_lib_soname_jack+set}" = set; then
15351 echo $ECHO_N "(cached) $ECHO_C" >&6
15353 ac_check_soname_save_LIBS
=$LIBS
15354 LIBS
="-ljack $LIBS"
15355 cat >conftest.
$ac_ext <<_ACEOF
15358 cat confdefs.h
>>conftest.
$ac_ext
15359 cat >>conftest.
$ac_ext <<_ACEOF
15360 /* end confdefs.h. */
15362 /* Override any GCC internal prototype to avoid an error.
15363 Use char because int might match the return type of a GCC
15364 builtin and then its argument prototype would still apply. */
15368 char jack_client_new ();
15372 return jack_client_new ();
15377 rm -f conftest.
$ac_objext conftest
$ac_exeext
15378 if { (ac_try
="$ac_link"
15379 case "(($ac_try" in
15380 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15381 *) ac_try_echo=$ac_try;;
15383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15384 (eval "$ac_link") 2>conftest.er1
15386 grep -v '^ *+' conftest.er1 >conftest.err
15388 cat conftest.err >&5
15389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15390 (exit $ac_status); } && {
15391 test -z "$ac_c_werror_flag" ||
15392 test ! -s conftest.err
15393 } && test -s conftest$ac_exeext &&
15394 $as_test_x conftest$ac_exeext; then
15397 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'` ;;
15398 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjack\\.$LIBEXT" |
sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15401 echo "$as_me: failed program was:" >&5
15402 sed 's/^/| /' conftest.$ac_ext >&5
15407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15408 conftest$ac_exeext conftest.$ac_ext
15409 LIBS=$ac_check_soname_save_LIBS
15411 if test "x$ac_cv_lib_soname_jack" = "x"; then
15412 { echo "$as_me:$LINENO: result: not found" >&5
15413 echo "${ECHO_T}not found" >&6; }
15416 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15417 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15419 cat >>confdefs.h <<_ACEOF
15420 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15428 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15430 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15431 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15432 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15433 echo $ECHO_N "(cached) $ECHO_C" >&6
15435 ac_check_soname_save_LIBS=$LIBS
15436 LIBS="-lfontconfig $LIBS"
15437 cat >conftest.$ac_ext <<_ACEOF
15440 cat confdefs.h >>conftest.$ac_ext
15441 cat >>conftest.$ac_ext <<_ACEOF
15442 /* end confdefs.h. */
15444 /* Override any GCC internal prototype to avoid an error.
15445 Use char because int might match the return type of a GCC
15446 builtin and then its argument prototype would still apply. */
15459 rm -f conftest.$ac_objext conftest$ac_exeext
15460 if { (ac_try="$ac_link"
15461 case "(($ac_try" in
15462 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15463 *) ac_try_echo
=$ac_try;;
15465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15466 (eval "$ac_link") 2>conftest.er1
15468 grep -v '^ *+' conftest.er1
>conftest.err
15470 cat conftest.err
>&5
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); } && {
15473 test -z "$ac_c_werror_flag" ||
15474 test ! -s conftest.err
15475 } && test -s conftest
$ac_exeext &&
15476 $as_test_x conftest
$ac_exeext; then
15479 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'` ;;
15480 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15483 echo "$as_me: failed program was:" >&5
15484 sed 's/^/| /' conftest.
$ac_ext >&5
15489 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15490 conftest
$ac_exeext conftest.
$ac_ext
15491 LIBS
=$ac_check_soname_save_LIBS
15493 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15494 { echo "$as_me:$LINENO: result: not found" >&5
15495 echo "${ECHO_T}not found" >&6; }
15498 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15499 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15501 cat >>confdefs.h
<<_ACEOF
15502 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15508 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15510 ac_save_CPPFLAGS
="$CPPFLAGS"
15511 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
15512 $as_unset ac_cv_header_fontconfig_fontconfig_h
15514 for ac_header
in fontconfig
/fontconfig.h
15516 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15517 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15518 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15520 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15521 echo $ECHO_N "(cached) $ECHO_C" >&6
15523 ac_res
=`eval echo '${'$as_ac_Header'}'`
15524 { echo "$as_me:$LINENO: result: $ac_res" >&5
15525 echo "${ECHO_T}$ac_res" >&6; }
15527 # Is the header compilable?
15528 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15529 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15530 cat >conftest.
$ac_ext <<_ACEOF
15533 cat confdefs.h
>>conftest.
$ac_ext
15534 cat >>conftest.
$ac_ext <<_ACEOF
15535 /* end confdefs.h. */
15536 $ac_includes_default
15537 #include <$ac_header>
15539 rm -f conftest.
$ac_objext
15540 if { (ac_try
="$ac_compile"
15541 case "(($ac_try" in
15542 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15543 *) ac_try_echo=$ac_try;;
15545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15546 (eval "$ac_compile") 2>conftest.er1
15548 grep -v '^ *+' conftest.er1 >conftest.err
15550 cat conftest.err >&5
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 (exit $ac_status); } && {
15553 test -z "$ac_c_werror_flag" ||
15554 test ! -s conftest.err
15555 } && test -s conftest.$ac_objext; then
15556 ac_header_compiler=yes
15558 echo "$as_me: failed program was:" >&5
15559 sed 's/^/| /' conftest.$ac_ext >&5
15561 ac_header_compiler=no
15564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15565 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15566 echo "${ECHO_T}$ac_header_compiler" >&6; }
15568 # Is the header present?
15569 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15570 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15571 cat >conftest.$ac_ext <<_ACEOF
15574 cat confdefs.h >>conftest.$ac_ext
15575 cat >>conftest.$ac_ext <<_ACEOF
15576 /* end confdefs.h. */
15577 #include <$ac_header>
15579 if { (ac_try="$ac_cpp conftest.$ac_ext"
15580 case "(($ac_try" in
15581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15582 *) ac_try_echo
=$ac_try;;
15584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15587 grep -v '^ *+' conftest.er1
>conftest.err
15589 cat conftest.err
>&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); } >/dev
/null
&& {
15592 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15593 test ! -s conftest.err
15595 ac_header_preproc
=yes
15597 echo "$as_me: failed program was:" >&5
15598 sed 's/^/| /' conftest.
$ac_ext >&5
15600 ac_header_preproc
=no
15603 rm -f conftest.err conftest.
$ac_ext
15604 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15605 echo "${ECHO_T}$ac_header_preproc" >&6; }
15607 # So? What about this header?
15608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15610 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15611 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15613 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15614 ac_header_preproc
=yes
15617 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15618 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15619 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15620 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15621 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15622 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15623 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15624 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15627 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15628 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15630 ## ------------------------------------ ##
15631 ## Report this to wine-devel@winehq.org ##
15632 ## ------------------------------------ ##
15634 ) |
sed "s/^/$as_me: WARNING: /" >&2
15637 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15639 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15640 echo $ECHO_N "(cached) $ECHO_C" >&6
15642 eval "$as_ac_Header=\$ac_header_preproc"
15644 ac_res
=`eval echo '${'$as_ac_Header'}'`
15645 { echo "$as_me:$LINENO: result: $ac_res" >&5
15646 echo "${ECHO_T}$ac_res" >&6; }
15649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15650 cat >>confdefs.h
<<_ACEOF
15651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15658 CPPFLAGS
="$ac_save_CPPFLAGS"
15659 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15661 FONTCONFIGINCL
="$X_CFLAGS"
15663 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15664 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15665 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15666 echo $ECHO_N "(cached) $ECHO_C" >&6
15668 ac_check_soname_save_LIBS
=$LIBS
15669 LIBS
="-lfontconfig $X_LIBS $LIBS"
15670 cat >conftest.
$ac_ext <<_ACEOF
15673 cat confdefs.h
>>conftest.
$ac_ext
15674 cat >>conftest.
$ac_ext <<_ACEOF
15675 /* end confdefs.h. */
15677 /* Override any GCC internal prototype to avoid an error.
15678 Use char because int might match the return type of a GCC
15679 builtin and then its argument prototype would still apply. */
15692 rm -f conftest.
$ac_objext conftest
$ac_exeext
15693 if { (ac_try
="$ac_link"
15694 case "(($ac_try" in
15695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15696 *) ac_try_echo=$ac_try;;
15698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15699 (eval "$ac_link") 2>conftest.er1
15701 grep -v '^ *+' conftest.er1 >conftest.err
15703 cat conftest.err >&5
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); } && {
15706 test -z "$ac_c_werror_flag" ||
15707 test ! -s conftest.err
15708 } && test -s conftest$ac_exeext &&
15709 $as_test_x conftest$ac_exeext; then
15712 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'` ;;
15713 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfontconfig\\.$LIBEXT" |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15716 echo "$as_me: failed program was:" >&5
15717 sed 's/^/| /' conftest.$ac_ext >&5
15722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15723 conftest$ac_exeext conftest.$ac_ext
15724 LIBS=$ac_check_soname_save_LIBS
15726 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15727 { echo "$as_me:$LINENO: result: not found" >&5
15728 echo "${ECHO_T}not found" >&6; }
15731 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15732 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15734 cat >>confdefs.h <<_ACEOF
15735 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15743 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15744 case "x$with_fontconfig" in
15745 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15747 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15748 This is an error since --with-fontconfig was requested." >&5
15749 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15750 This is an error since --with-fontconfig was requested." >&2;}
15751 { (exit 1); exit 1; }; } ;;
15756 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15758 { echo "$as_me:$LINENO: checking for -lssl" >&5
15759 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15760 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15761 echo $ECHO_N "(cached) $ECHO_C" >&6
15763 ac_check_soname_save_LIBS=$LIBS
15765 cat >conftest.$ac_ext <<_ACEOF
15768 cat confdefs.h >>conftest.$ac_ext
15769 cat >>conftest.$ac_ext <<_ACEOF
15770 /* end confdefs.h. */
15772 /* Override any GCC internal prototype to avoid an error.
15773 Use char because int might match the return type of a GCC
15774 builtin and then its argument prototype would still apply. */
15778 char SSL_library_init ();
15782 return SSL_library_init ();
15787 rm -f conftest.$ac_objext conftest$ac_exeext
15788 if { (ac_try="$ac_link"
15789 case "(($ac_try" in
15790 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15791 *) ac_try_echo
=$ac_try;;
15793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15794 (eval "$ac_link") 2>conftest.er1
15796 grep -v '^ *+' conftest.er1
>conftest.err
15798 cat conftest.err
>&5
15799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); } && {
15801 test -z "$ac_c_werror_flag" ||
15802 test ! -s conftest.err
15803 } && test -s conftest
$ac_exeext &&
15804 $as_test_x conftest
$ac_exeext; then
15807 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'` ;;
15808 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15811 echo "$as_me: failed program was:" >&5
15812 sed 's/^/| /' conftest.
$ac_ext >&5
15817 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15818 conftest
$ac_exeext conftest.
$ac_ext
15819 LIBS
=$ac_check_soname_save_LIBS
15821 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15822 { echo "$as_me:$LINENO: result: not found" >&5
15823 echo "${ECHO_T}not found" >&6; }
15826 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15827 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15829 cat >>confdefs.h
<<_ACEOF
15830 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15836 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15837 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15838 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15839 echo $ECHO_N "(cached) $ECHO_C" >&6
15841 ac_check_soname_save_LIBS
=$LIBS
15842 LIBS
="-lcrypto $LIBS"
15843 cat >conftest.
$ac_ext <<_ACEOF
15846 cat confdefs.h
>>conftest.
$ac_ext
15847 cat >>conftest.
$ac_ext <<_ACEOF
15848 /* end confdefs.h. */
15850 /* Override any GCC internal prototype to avoid an error.
15851 Use char because int might match the return type of a GCC
15852 builtin and then its argument prototype would still apply. */
15856 char BIO_new_socket ();
15860 return BIO_new_socket ();
15865 rm -f conftest.
$ac_objext conftest
$ac_exeext
15866 if { (ac_try
="$ac_link"
15867 case "(($ac_try" in
15868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15869 *) ac_try_echo=$ac_try;;
15871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15872 (eval "$ac_link") 2>conftest.er1
15874 grep -v '^ *+' conftest.er1 >conftest.err
15876 cat conftest.err >&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); } && {
15879 test -z "$ac_c_werror_flag" ||
15880 test ! -s conftest.err
15881 } && test -s conftest$ac_exeext &&
15882 $as_test_x conftest$ac_exeext; then
15885 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'` ;;
15886 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcrypto\\.$LIBEXT" |
sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15889 echo "$as_me: failed program was:" >&5
15890 sed 's/^/| /' conftest.$ac_ext >&5
15895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15896 conftest$ac_exeext conftest.$ac_ext
15897 LIBS=$ac_check_soname_save_LIBS
15899 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15900 { echo "$as_me:$LINENO: result: not found" >&5
15901 echo "${ECHO_T}not found" >&6; }
15904 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15905 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15907 cat >>confdefs.h <<_ACEOF
15908 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15915 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
15916 case "x$with_openssl" in
15917 x) wine_warnings="$wine_warnings|OpenSSL development files not found, SSL won't be supported." ;;
15919 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15920 This is an error since --with-openssl was requested." >&5
15921 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15922 This is an error since --with-openssl was requested." >&2;}
15923 { (exit 1); exit 1; }; } ;;
15928 if test "$ac_cv_header_jpeglib_h" = "yes"
15930 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15931 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15932 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15933 echo $ECHO_N "(cached) $ECHO_C" >&6
15935 ac_check_soname_save_LIBS=$LIBS
15936 LIBS="-ljpeg $LIBS"
15937 cat >conftest.$ac_ext <<_ACEOF
15940 cat confdefs.h >>conftest.$ac_ext
15941 cat >>conftest.$ac_ext <<_ACEOF
15942 /* end confdefs.h. */
15944 /* Override any GCC internal prototype to avoid an error.
15945 Use char because int might match the return type of a GCC
15946 builtin and then its argument prototype would still apply. */
15950 char jpeg_start_decompress ();
15954 return jpeg_start_decompress ();
15959 rm -f conftest.$ac_objext conftest$ac_exeext
15960 if { (ac_try="$ac_link"
15961 case "(($ac_try" in
15962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15963 *) ac_try_echo
=$ac_try;;
15965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15966 (eval "$ac_link") 2>conftest.er1
15968 grep -v '^ *+' conftest.er1
>conftest.err
15970 cat conftest.err
>&5
15971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15972 (exit $ac_status); } && {
15973 test -z "$ac_c_werror_flag" ||
15974 test ! -s conftest.err
15975 } && test -s conftest
$ac_exeext &&
15976 $as_test_x conftest
$ac_exeext; then
15979 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'` ;;
15980 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15983 echo "$as_me: failed program was:" >&5
15984 sed 's/^/| /' conftest.
$ac_ext >&5
15989 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15990 conftest
$ac_exeext conftest.
$ac_ext
15991 LIBS
=$ac_check_soname_save_LIBS
15993 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15994 { echo "$as_me:$LINENO: result: not found" >&5
15995 echo "${ECHO_T}not found" >&6; }
15998 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15999 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
16001 cat >>confdefs.h
<<_ACEOF
16002 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16009 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
16010 case "x$with_jpeg" in
16011 x
) wine_warnings
="$wine_warnings|libjpeg development files not found, JPEG won't be supported." ;;
16013 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
16014 This is an error since --with-jpeg was requested." >&5
16015 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
16016 This is an error since --with-jpeg was requested." >&2;}
16017 { (exit 1); exit 1; }; } ;;
16022 if test "$ac_cv_header_png_h" = "yes"
16024 { echo "$as_me:$LINENO: checking for -lpng" >&5
16025 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
16026 if test "${ac_cv_lib_soname_png+set}" = set; then
16027 echo $ECHO_N "(cached) $ECHO_C" >&6
16029 ac_check_soname_save_LIBS
=$LIBS
16031 cat >conftest.
$ac_ext <<_ACEOF
16034 cat confdefs.h
>>conftest.
$ac_ext
16035 cat >>conftest.
$ac_ext <<_ACEOF
16036 /* end confdefs.h. */
16038 /* Override any GCC internal prototype to avoid an error.
16039 Use char because int might match the return type of a GCC
16040 builtin and then its argument prototype would still apply. */
16044 char png_create_read_struct ();
16048 return png_create_read_struct ();
16053 rm -f conftest.
$ac_objext conftest
$ac_exeext
16054 if { (ac_try
="$ac_link"
16055 case "(($ac_try" in
16056 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16057 *) ac_try_echo=$ac_try;;
16059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16060 (eval "$ac_link") 2>conftest.er1
16062 grep -v '^ *+' conftest.er1 >conftest.err
16064 cat conftest.err >&5
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); } && {
16067 test -z "$ac_c_werror_flag" ||
16068 test ! -s conftest.err
16069 } && test -s conftest$ac_exeext &&
16070 $as_test_x conftest$ac_exeext; then
16073 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'` ;;
16074 *) 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'` ;;
16077 echo "$as_me: failed program was:" >&5
16078 sed 's/^/| /' conftest.$ac_ext >&5
16083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16084 conftest$ac_exeext conftest.$ac_ext
16085 LIBS=$ac_check_soname_save_LIBS
16087 if test "x$ac_cv_lib_soname_png" = "x"; then
16088 { echo "$as_me:$LINENO: result: not found" >&5
16089 echo "${ECHO_T}not found" >&6; }
16092 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
16093 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
16095 cat >>confdefs.h <<_ACEOF
16096 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16103 if test "x$ac_cv_lib_soname_png" = "x"; then
16104 case "x$with_png" in
16105 x) wine_warnings="$wine_warnings|libpng development files not found, PNG won't be supported." ;;
16107 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
16108 This is an error since --with-png was requested." >&5
16109 echo "$as_me: error: libpng development files not found, PNG won't be supported.
16110 This is an error since --with-png was requested." >&2;}
16111 { (exit 1); exit 1; }; } ;;
16116 { echo "$as_me:$LINENO: checking for -lodbc" >&5
16117 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
16118 if test "${ac_cv_lib_soname_odbc+set}" = set; then
16119 echo $ECHO_N "(cached) $ECHO_C" >&6
16121 ac_check_soname_save_LIBS=$LIBS
16122 LIBS="-lodbc $LIBS"
16123 cat >conftest.$ac_ext <<_ACEOF
16126 cat confdefs.h >>conftest.$ac_ext
16127 cat >>conftest.$ac_ext <<_ACEOF
16128 /* end confdefs.h. */
16130 /* Override any GCC internal prototype to avoid an error.
16131 Use char because int might match the return type of a GCC
16132 builtin and then its argument prototype would still apply. */
16136 char SQLConnect ();
16140 return SQLConnect ();
16145 rm -f conftest.$ac_objext conftest$ac_exeext
16146 if { (ac_try="$ac_link"
16147 case "(($ac_try" in
16148 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16149 *) ac_try_echo
=$ac_try;;
16151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16152 (eval "$ac_link") 2>conftest.er1
16154 grep -v '^ *+' conftest.er1
>conftest.err
16156 cat conftest.err
>&5
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); } && {
16159 test -z "$ac_c_werror_flag" ||
16160 test ! -s conftest.err
16161 } && test -s conftest
$ac_exeext &&
16162 $as_test_x conftest
$ac_exeext; then
16165 dylib
) ac_cv_lib_soname_odbc
=`otool -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16166 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16169 echo "$as_me: failed program was:" >&5
16170 sed 's/^/| /' conftest.
$ac_ext >&5
16175 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16176 conftest
$ac_exeext conftest.
$ac_ext
16177 LIBS
=$ac_check_soname_save_LIBS
16179 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16180 { echo "$as_me:$LINENO: result: not found" >&5
16181 echo "${ECHO_T}not found" >&6; }
16182 cat >>confdefs.h
<<_ACEOF
16183 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16187 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16188 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16190 cat >>confdefs.h
<<_ACEOF
16191 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16198 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16199 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16200 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16201 "$ac_cv_header_soundcard_h" != "yes" -a \
16202 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16204 wine_warnings
="$wine_warnings|No sound system was found. Windows applications will be silent."
16210 if test "x${GCC}" = "xyes"
16212 EXTRACFLAGS
="-Wall -pipe"
16214 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16215 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16216 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16217 echo $ECHO_N "(cached) $ECHO_C" >&6
16219 if test "$cross_compiling" = yes; then
16220 ac_cv_c_gcc_strength_bug
="yes"
16222 cat >conftest.
$ac_ext <<_ACEOF
16225 cat confdefs.h
>>conftest.
$ac_ext
16226 cat >>conftest.
$ac_ext <<_ACEOF
16227 /* end confdefs.h. */
16228 int L[4] = {0,1,2,3};
16232 static int Array[3];
16233 unsigned int B = 3;
16235 for(i=0; i<B; i++) Array[i] = i - 3;
16236 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16238 exit( Array[1] != -2 || L[2] != 3)
16243 rm -f conftest
$ac_exeext
16244 if { (ac_try
="$ac_link"
16245 case "(($ac_try" in
16246 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16247 *) ac_try_echo=$ac_try;;
16249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16250 (eval "$ac_link") 2>&5
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16254 { (case "(($ac_try" in
16255 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16256 *) ac_try_echo
=$ac_try;;
16258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16259 (eval "$ac_try") 2>&5
16261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16262 (exit $ac_status); }; }; then
16263 ac_cv_c_gcc_strength_bug
="no"
16265 echo "$as_me: program exited with status $ac_status" >&5
16266 echo "$as_me: failed program was:" >&5
16267 sed 's/^/| /' conftest.
$ac_ext >&5
16269 ( exit $ac_status )
16270 ac_cv_c_gcc_strength_bug
="yes"
16272 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16277 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16278 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16279 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16281 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
16285 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16286 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16287 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16288 echo $ECHO_N "(cached) $ECHO_C" >&6
16290 ac_wine_try_cflags_saved
=$CFLAGS
16291 CFLAGS
="$CFLAGS -fshort-wchar"
16292 cat >conftest.
$ac_ext <<_ACEOF
16295 cat confdefs.h
>>conftest.
$ac_ext
16296 cat >>conftest.
$ac_ext <<_ACEOF
16297 /* end confdefs.h. */
16307 rm -f conftest.
$ac_objext conftest
$ac_exeext
16308 if { (ac_try
="$ac_link"
16309 case "(($ac_try" in
16310 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16311 *) ac_try_echo=$ac_try;;
16313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16314 (eval "$ac_link") 2>conftest.er1
16316 grep -v '^ *+' conftest.er1 >conftest.err
16318 cat conftest.err >&5
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); } && {
16321 test -z "$ac_c_werror_flag" ||
16322 test ! -s conftest.err
16323 } && test -s conftest$ac_exeext &&
16324 $as_test_x conftest$ac_exeext; then
16325 ac_cv_cflags__fshort_wchar=yes
16327 echo "$as_me: failed program was:" >&5
16328 sed 's/^/| /' conftest.$ac_ext >&5
16330 ac_cv_cflags__fshort_wchar=no
16333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16334 conftest$ac_exeext conftest.$ac_ext
16335 CFLAGS=$ac_wine_try_cflags_saved
16337 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16338 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16339 if test $ac_cv_cflags__fshort_wchar = yes; then
16341 cat >>confdefs.h <<\_ACEOF
16342 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16347 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16348 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16349 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16350 echo $ECHO_N "(cached) $ECHO_C" >&6
16352 ac_wine_try_cflags_saved=$CFLAGS
16353 CFLAGS="$CFLAGS -fno-strict-aliasing"
16354 cat >conftest.$ac_ext <<_ACEOF
16357 cat confdefs.h >>conftest.$ac_ext
16358 cat >>conftest.$ac_ext <<_ACEOF
16359 /* end confdefs.h. */
16369 rm -f conftest.$ac_objext conftest$ac_exeext
16370 if { (ac_try="$ac_link"
16371 case "(($ac_try" in
16372 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16373 *) ac_try_echo
=$ac_try;;
16375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16376 (eval "$ac_link") 2>conftest.er1
16378 grep -v '^ *+' conftest.er1
>conftest.err
16380 cat conftest.err
>&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); } && {
16383 test -z "$ac_c_werror_flag" ||
16384 test ! -s conftest.err
16385 } && test -s conftest
$ac_exeext &&
16386 $as_test_x conftest
$ac_exeext; then
16387 ac_cv_cflags__fno_strict_aliasing
=yes
16389 echo "$as_me: failed program was:" >&5
16390 sed 's/^/| /' conftest.
$ac_ext >&5
16392 ac_cv_cflags__fno_strict_aliasing
=no
16395 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16396 conftest
$ac_exeext conftest.
$ac_ext
16397 CFLAGS
=$ac_wine_try_cflags_saved
16399 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16400 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16401 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16402 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
16405 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16406 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16407 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16408 echo $ECHO_N "(cached) $ECHO_C" >&6
16410 ac_wine_try_cflags_saved
=$CFLAGS
16411 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
16412 cat >conftest.
$ac_ext <<_ACEOF
16415 cat confdefs.h
>>conftest.
$ac_ext
16416 cat >>conftest.
$ac_ext <<_ACEOF
16417 /* end confdefs.h. */
16427 rm -f conftest.
$ac_objext conftest
$ac_exeext
16428 if { (ac_try
="$ac_link"
16429 case "(($ac_try" in
16430 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16431 *) ac_try_echo=$ac_try;;
16433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16434 (eval "$ac_link") 2>conftest.er1
16436 grep -v '^ *+' conftest.er1 >conftest.err
16438 cat conftest.err >&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); } && {
16441 test -z "$ac_c_werror_flag" ||
16442 test ! -s conftest.err
16443 } && test -s conftest$ac_exeext &&
16444 $as_test_x conftest$ac_exeext; then
16445 ac_cv_cflags__Wdeclaration_after_statement=yes
16447 echo "$as_me: failed program was:" >&5
16448 sed 's/^/| /' conftest.$ac_ext >&5
16450 ac_cv_cflags__Wdeclaration_after_statement=no
16453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16454 conftest$ac_exeext conftest.$ac_ext
16455 CFLAGS=$ac_wine_try_cflags_saved
16457 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16458 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16459 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16460 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16463 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16464 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16465 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16466 echo $ECHO_N "(cached) $ECHO_C" >&6
16468 ac_wine_try_cflags_saved=$CFLAGS
16469 CFLAGS="$CFLAGS -Wwrite-strings"
16470 cat >conftest.$ac_ext <<_ACEOF
16473 cat confdefs.h >>conftest.$ac_ext
16474 cat >>conftest.$ac_ext <<_ACEOF
16475 /* end confdefs.h. */
16485 rm -f conftest.$ac_objext conftest$ac_exeext
16486 if { (ac_try="$ac_link"
16487 case "(($ac_try" in
16488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16489 *) ac_try_echo
=$ac_try;;
16491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16492 (eval "$ac_link") 2>conftest.er1
16494 grep -v '^ *+' conftest.er1
>conftest.err
16496 cat conftest.err
>&5
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); } && {
16499 test -z "$ac_c_werror_flag" ||
16500 test ! -s conftest.err
16501 } && test -s conftest
$ac_exeext &&
16502 $as_test_x conftest
$ac_exeext; then
16503 ac_cv_cflags__Wwrite_strings
=yes
16505 echo "$as_me: failed program was:" >&5
16506 sed 's/^/| /' conftest.
$ac_ext >&5
16508 ac_cv_cflags__Wwrite_strings
=no
16511 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16512 conftest
$ac_exeext conftest.
$ac_ext
16513 CFLAGS
=$ac_wine_try_cflags_saved
16515 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16516 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16517 if test $ac_cv_cflags__Wwrite_strings = yes; then
16518 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
16521 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16522 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16523 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16524 echo $ECHO_N "(cached) $ECHO_C" >&6
16526 ac_wine_try_cflags_saved
=$CFLAGS
16527 CFLAGS
="$CFLAGS -Wtype-limits"
16528 cat >conftest.
$ac_ext <<_ACEOF
16531 cat confdefs.h
>>conftest.
$ac_ext
16532 cat >>conftest.
$ac_ext <<_ACEOF
16533 /* end confdefs.h. */
16543 rm -f conftest.
$ac_objext conftest
$ac_exeext
16544 if { (ac_try
="$ac_link"
16545 case "(($ac_try" in
16546 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16547 *) ac_try_echo=$ac_try;;
16549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16550 (eval "$ac_link") 2>conftest.er1
16552 grep -v '^ *+' conftest.er1 >conftest.err
16554 cat conftest.err >&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); } && {
16557 test -z "$ac_c_werror_flag" ||
16558 test ! -s conftest.err
16559 } && test -s conftest$ac_exeext &&
16560 $as_test_x conftest$ac_exeext; then
16561 ac_cv_cflags__Wtype_limits=yes
16563 echo "$as_me: failed program was:" >&5
16564 sed 's/^/| /' conftest.$ac_ext >&5
16566 ac_cv_cflags__Wtype_limits=no
16569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16570 conftest$ac_exeext conftest.$ac_ext
16571 CFLAGS=$ac_wine_try_cflags_saved
16573 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16574 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16575 if test $ac_cv_cflags__Wtype_limits = yes; then
16576 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16580 saved_CFLAGS="$CFLAGS"
16581 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16582 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16583 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16584 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16585 echo $ECHO_N "(cached) $ECHO_C" >&6
16587 cat >conftest.$ac_ext <<_ACEOF
16590 cat confdefs.h >>conftest.$ac_ext
16591 cat >>conftest.$ac_ext <<_ACEOF
16592 /* end confdefs.h. */
16593 #include <string.h>
16602 rm -f conftest.$ac_objext
16603 if { (ac_try="$ac_compile"
16604 case "(($ac_try" in
16605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16606 *) ac_try_echo
=$ac_try;;
16608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16609 (eval "$ac_compile") 2>conftest.er1
16611 grep -v '^ *+' conftest.er1
>conftest.err
16613 cat conftest.err
>&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); } && {
16616 test -z "$ac_c_werror_flag" ||
16617 test ! -s conftest.err
16618 } && test -s conftest.
$ac_objext; then
16619 ac_cv_c_string_h_warnings
=no
16621 echo "$as_me: failed program was:" >&5
16622 sed 's/^/| /' conftest.
$ac_ext >&5
16624 ac_cv_c_string_h_warnings
=yes
16627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16629 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16630 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16631 CFLAGS
="$saved_CFLAGS"
16632 if test "$ac_cv_c_string_h_warnings" = "no"
16634 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
16639 saved_CFLAGS
="$CFLAGS"
16640 CFLAGS
="$CFLAGS -Werror"
16641 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16642 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16643 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16644 echo $ECHO_N "(cached) $ECHO_C" >&6
16646 cat >conftest.
$ac_ext <<_ACEOF
16649 cat confdefs.h
>>conftest.
$ac_ext
16650 cat >>conftest.
$ac_ext <<_ACEOF
16651 /* end confdefs.h. */
16656 int iswlower(unsigned short);
16661 rm -f conftest.
$ac_objext
16662 if { (ac_try
="$ac_compile"
16663 case "(($ac_try" in
16664 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16665 *) ac_try_echo=$ac_try;;
16667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16668 (eval "$ac_compile") 2>conftest.er1
16670 grep -v '^ *+' conftest.er1 >conftest.err
16672 cat conftest.err >&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); } && {
16675 test -z "$ac_c_werror_flag" ||
16676 test ! -s conftest.err
16677 } && test -s conftest.$ac_objext; then
16678 ac_cv_c_builtin_wchar_ctype=no
16680 echo "$as_me: failed program was:" >&5
16681 sed 's/^/| /' conftest.$ac_ext >&5
16683 ac_cv_c_builtin_wchar_ctype=yes
16686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16688 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16689 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16690 CFLAGS="$saved_CFLAGS"
16691 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16693 BUILTINFLAG="-fno-builtin"
16698 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16699 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16700 if test "${ac_cv_asm_func_def+set}" = set; then
16701 echo $ECHO_N "(cached) $ECHO_C" >&6
16703 cat >conftest.$ac_ext <<_ACEOF
16706 cat confdefs.h >>conftest.$ac_ext
16707 cat >>conftest.$ac_ext <<_ACEOF
16708 /* end confdefs.h. */
16713 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16718 rm -f conftest.$ac_objext conftest$ac_exeext
16719 if { (ac_try="$ac_link"
16720 case "(($ac_try" in
16721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16722 *) ac_try_echo
=$ac_try;;
16724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16725 (eval "$ac_link") 2>conftest.er1
16727 grep -v '^ *+' conftest.er1
>conftest.err
16729 cat conftest.err
>&5
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); } && {
16732 test -z "$ac_c_werror_flag" ||
16733 test ! -s conftest.err
16734 } && test -s conftest
$ac_exeext &&
16735 $as_test_x conftest
$ac_exeext; then
16736 ac_cv_asm_func_def
=".def"
16738 echo "$as_me: failed program was:" >&5
16739 sed 's/^/| /' conftest.
$ac_ext >&5
16741 cat >conftest.
$ac_ext <<_ACEOF
16744 cat confdefs.h
>>conftest.
$ac_ext
16745 cat >>conftest.
$ac_ext <<_ACEOF
16746 /* end confdefs.h. */
16751 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16756 rm -f conftest.
$ac_objext conftest
$ac_exeext
16757 if { (ac_try
="$ac_link"
16758 case "(($ac_try" in
16759 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16760 *) ac_try_echo=$ac_try;;
16762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16763 (eval "$ac_link") 2>conftest.er1
16765 grep -v '^ *+' conftest.er1 >conftest.err
16767 cat conftest.err >&5
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); } && {
16770 test -z "$ac_c_werror_flag" ||
16771 test ! -s conftest.err
16772 } && test -s conftest$ac_exeext &&
16773 $as_test_x conftest$ac_exeext; then
16774 ac_cv_asm_func_def=".type @function"
16776 echo "$as_me: failed program was:" >&5
16777 sed 's/^/| /' conftest.$ac_ext >&5
16779 cat >conftest.$ac_ext <<_ACEOF
16782 cat confdefs.h >>conftest.$ac_ext
16783 cat >>conftest.$ac_ext <<_ACEOF
16784 /* end confdefs.h. */
16789 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16794 rm -f conftest.$ac_objext conftest$ac_exeext
16795 if { (ac_try="$ac_link"
16796 case "(($ac_try" in
16797 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16798 *) ac_try_echo
=$ac_try;;
16800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16801 (eval "$ac_link") 2>conftest.er1
16803 grep -v '^ *+' conftest.er1
>conftest.err
16805 cat conftest.err
>&5
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); } && {
16808 test -z "$ac_c_werror_flag" ||
16809 test ! -s conftest.err
16810 } && test -s conftest
$ac_exeext &&
16811 $as_test_x conftest
$ac_exeext; then
16812 ac_cv_asm_func_def
=".type 2"
16814 echo "$as_me: failed program was:" >&5
16815 sed 's/^/| /' conftest.
$ac_ext >&5
16817 ac_cv_asm_func_def
="unknown"
16820 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16821 conftest
$ac_exeext conftest.
$ac_ext
16824 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16825 conftest
$ac_exeext conftest.
$ac_ext
16828 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16829 conftest
$ac_exeext conftest.
$ac_ext
16831 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16832 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16836 case "$ac_cv_asm_func_def" in
16838 cat >>confdefs.h
<<\_ACEOF
16839 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16843 cat >>confdefs.h
<<\_ACEOF
16844 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16848 cat >>confdefs.h
<<\_ACEOF
16849 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16853 cat >>confdefs.h
<<\_ACEOF
16854 #define __ASM_FUNC(name) ""
16860 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16861 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16862 if test "${ac_cv_c_extern_prefix+set}" = set; then
16863 echo $ECHO_N "(cached) $ECHO_C" >&6
16865 cat >conftest.
$ac_ext <<_ACEOF
16868 cat confdefs.h
>>conftest.
$ac_ext
16869 cat >>conftest.
$ac_ext <<_ACEOF
16870 /* end confdefs.h. */
16871 extern int ac_test;
16875 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16880 rm -f conftest.
$ac_objext conftest
$ac_exeext
16881 if { (ac_try
="$ac_link"
16882 case "(($ac_try" in
16883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16884 *) ac_try_echo=$ac_try;;
16886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16887 (eval "$ac_link") 2>conftest.er1
16889 grep -v '^ *+' conftest.er1 >conftest.err
16891 cat conftest.err >&5
16892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16893 (exit $ac_status); } && {
16894 test -z "$ac_c_werror_flag" ||
16895 test ! -s conftest.err
16896 } && test -s conftest$ac_exeext &&
16897 $as_test_x conftest$ac_exeext; then
16898 ac_cv_c_extern_prefix="yes"
16900 echo "$as_me: failed program was:" >&5
16901 sed 's/^/| /' conftest.$ac_ext >&5
16903 ac_cv_c_extern_prefix="no"
16906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16907 conftest$ac_exeext conftest.$ac_ext
16909 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16910 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16914 if test "$ac_cv_c_extern_prefix" = "yes"
16916 cat >>confdefs.h <<\_ACEOF
16917 #define __ASM_NAME(name) "_" name
16921 cat >>confdefs.h <<\_ACEOF
16922 #define __ASM_NAME(name) name
16932 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16936 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16938 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16942 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16950 SOCKETLIBS="-lws2_32"
16955 MAIN_BINARY="wine-pthread"
16959 linux* | k*bsd*-gnu)
16960 MAIN_BINARY="wine-glibc"
16962 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16965 MAIN_BINARY="wine-freebsd"
16967 EXTRA_BINARIES="wine-pthread"
17115 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
17116 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17118 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17119 echo $ECHO_N "(cached) $ECHO_C" >&6
17121 cat >conftest.$ac_ext <<_ACEOF
17124 cat confdefs.h >>conftest.$ac_ext
17125 cat >>conftest.$ac_ext <<_ACEOF
17126 /* end confdefs.h. */
17127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17129 #define $ac_func innocuous_$ac_func
17131 /* System header to define __stub macros and hopefully few prototypes,
17132 which can conflict with char $ac_func (); below.
17133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17134 <limits.h> exists even on freestanding compilers. */
17137 # include <limits.h>
17139 # include <assert.h>
17144 /* Override any GCC internal prototype to avoid an error.
17145 Use char because int might match the return type of a GCC
17146 builtin and then its argument prototype would still apply. */
17151 /* The GNU C library defines this for functions which it implements
17152 to always fail with ENOSYS. Some functions are actually named
17153 something starting with __ and the normal name is an alias. */
17154 #if defined __stub_$ac_func || defined __stub___$ac_func
17161 return $ac_func ();
17166 rm -f conftest.$ac_objext conftest$ac_exeext
17167 if { (ac_try="$ac_link"
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_link") 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_exeext &&
17183 $as_test_x conftest
$ac_exeext; then
17184 eval "$as_ac_var=yes"
17186 echo "$as_me: failed program was:" >&5
17187 sed 's/^/| /' conftest.
$ac_ext >&5
17189 eval "$as_ac_var=no"
17192 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17193 conftest
$ac_exeext conftest.
$ac_ext
17195 ac_res
=`eval echo '${'$as_ac_var'}'`
17196 { echo "$as_me:$LINENO: result: $ac_res" >&5
17197 echo "${ECHO_T}$ac_res" >&6; }
17198 if test `eval echo '${'$as_ac_var'}'` = yes; then
17199 cat >>confdefs.h
<<_ACEOF
17200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17207 if test "$ac_cv_func_dlopen" = no
17209 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17210 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17211 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17212 echo $ECHO_N "(cached) $ECHO_C" >&6
17214 ac_check_lib_save_LIBS
=$LIBS
17216 cat >conftest.
$ac_ext <<_ACEOF
17219 cat confdefs.h
>>conftest.
$ac_ext
17220 cat >>conftest.
$ac_ext <<_ACEOF
17221 /* end confdefs.h. */
17223 /* Override any GCC internal prototype to avoid an error.
17224 Use char because int might match the return type of a GCC
17225 builtin and then its argument prototype would still apply. */
17238 rm -f conftest.
$ac_objext conftest
$ac_exeext
17239 if { (ac_try
="$ac_link"
17240 case "(($ac_try" in
17241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17242 *) ac_try_echo=$ac_try;;
17244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17245 (eval "$ac_link") 2>conftest.er1
17247 grep -v '^ *+' conftest.er1 >conftest.err
17249 cat conftest.err >&5
17250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17251 (exit $ac_status); } && {
17252 test -z "$ac_c_werror_flag" ||
17253 test ! -s conftest.err
17254 } && test -s conftest$ac_exeext &&
17255 $as_test_x conftest$ac_exeext; then
17256 ac_cv_lib_dl_dlopen=yes
17258 echo "$as_me: failed program was:" >&5
17259 sed 's/^/| /' conftest.$ac_ext >&5
17261 ac_cv_lib_dl_dlopen=no
17264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17265 conftest$ac_exeext conftest.$ac_ext
17266 LIBS=$ac_check_lib_save_LIBS
17268 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17269 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17270 if test $ac_cv_lib_dl_dlopen = yes; then
17271 cat >>confdefs.h <<\_ACEOF
17272 #define HAVE_DLOPEN 1
17279 ac_wine_check_funcs_save_LIBS="$LIBS"
17280 LIBS="$LIBS $LIBDL"
17282 for ac_func in dladdr
17284 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
17285 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17287 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17288 echo $ECHO_N "(cached) $ECHO_C" >&6
17290 cat >conftest.$ac_ext <<_ACEOF
17293 cat confdefs.h >>conftest.$ac_ext
17294 cat >>conftest.$ac_ext <<_ACEOF
17295 /* end confdefs.h. */
17296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17298 #define $ac_func innocuous_$ac_func
17300 /* System header to define __stub macros and hopefully few prototypes,
17301 which can conflict with char $ac_func (); below.
17302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17303 <limits.h> exists even on freestanding compilers. */
17306 # include <limits.h>
17308 # include <assert.h>
17313 /* Override any GCC internal prototype to avoid an error.
17314 Use char because int might match the return type of a GCC
17315 builtin and then its argument prototype would still apply. */
17320 /* The GNU C library defines this for functions which it implements
17321 to always fail with ENOSYS. Some functions are actually named
17322 something starting with __ and the normal name is an alias. */
17323 #if defined __stub_$ac_func || defined __stub___$ac_func
17330 return $ac_func ();
17335 rm -f conftest.$ac_objext conftest$ac_exeext
17336 if { (ac_try="$ac_link"
17337 case "(($ac_try" in
17338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17339 *) ac_try_echo
=$ac_try;;
17341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17342 (eval "$ac_link") 2>conftest.er1
17344 grep -v '^ *+' conftest.er1
>conftest.err
17346 cat conftest.err
>&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); } && {
17349 test -z "$ac_c_werror_flag" ||
17350 test ! -s conftest.err
17351 } && test -s conftest
$ac_exeext &&
17352 $as_test_x conftest
$ac_exeext; then
17353 eval "$as_ac_var=yes"
17355 echo "$as_me: failed program was:" >&5
17356 sed 's/^/| /' conftest.
$ac_ext >&5
17358 eval "$as_ac_var=no"
17361 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17362 conftest
$ac_exeext conftest.
$ac_ext
17364 ac_res
=`eval echo '${'$as_ac_var'}'`
17365 { echo "$as_me:$LINENO: result: $ac_res" >&5
17366 echo "${ECHO_T}$ac_res" >&6; }
17367 if test `eval echo '${'$as_ac_var'}'` = yes; then
17368 cat >>confdefs.h
<<_ACEOF
17369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17375 LIBS
="$ac_wine_check_funcs_save_LIBS"
17377 if test "$ac_cv_func_poll" = no
17379 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17380 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17381 if test "${ac_cv_lib_poll_poll+set}" = set; then
17382 echo $ECHO_N "(cached) $ECHO_C" >&6
17384 ac_check_lib_save_LIBS
=$LIBS
17385 LIBS
="-lpoll $LIBS"
17386 cat >conftest.
$ac_ext <<_ACEOF
17389 cat confdefs.h
>>conftest.
$ac_ext
17390 cat >>conftest.
$ac_ext <<_ACEOF
17391 /* end confdefs.h. */
17393 /* Override any GCC internal prototype to avoid an error.
17394 Use char because int might match the return type of a GCC
17395 builtin and then its argument prototype would still apply. */
17408 rm -f conftest.
$ac_objext conftest
$ac_exeext
17409 if { (ac_try
="$ac_link"
17410 case "(($ac_try" in
17411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17412 *) ac_try_echo=$ac_try;;
17414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17415 (eval "$ac_link") 2>conftest.er1
17417 grep -v '^ *+' conftest.er1 >conftest.err
17419 cat conftest.err >&5
17420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421 (exit $ac_status); } && {
17422 test -z "$ac_c_werror_flag" ||
17423 test ! -s conftest.err
17424 } && test -s conftest$ac_exeext &&
17425 $as_test_x conftest$ac_exeext; then
17426 ac_cv_lib_poll_poll=yes
17428 echo "$as_me: failed program was:" >&5
17429 sed 's/^/| /' conftest.$ac_ext >&5
17431 ac_cv_lib_poll_poll=no
17434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17435 conftest$ac_exeext conftest.$ac_ext
17436 LIBS=$ac_check_lib_save_LIBS
17438 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17439 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17440 if test $ac_cv_lib_poll_poll = yes; then
17441 cat >>confdefs.h <<\_ACEOF
17442 #define HAVE_POLL 1
17450 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17451 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17452 if test "${ac_cv_search_gethostbyname+set}" = set; then
17453 echo $ECHO_N "(cached) $ECHO_C" >&6
17455 ac_func_search_save_LIBS=$LIBS
17456 cat >conftest.$ac_ext <<_ACEOF
17459 cat confdefs.h >>conftest.$ac_ext
17460 cat >>conftest.$ac_ext <<_ACEOF
17461 /* end confdefs.h. */
17463 /* Override any GCC internal prototype to avoid an error.
17464 Use char because int might match the return type of a GCC
17465 builtin and then its argument prototype would still apply. */
17469 char gethostbyname ();
17473 return gethostbyname ();
17478 for ac_lib in '' nsl; do
17479 if test -z "$ac_lib"; then
17480 ac_res="none required"
17483 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17485 rm -f conftest.$ac_objext conftest$ac_exeext
17486 if { (ac_try="$ac_link"
17487 case "(($ac_try" in
17488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17489 *) ac_try_echo
=$ac_try;;
17491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17492 (eval "$ac_link") 2>conftest.er1
17494 grep -v '^ *+' conftest.er1
>conftest.err
17496 cat conftest.err
>&5
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); } && {
17499 test -z "$ac_c_werror_flag" ||
17500 test ! -s conftest.err
17501 } && test -s conftest
$ac_exeext &&
17502 $as_test_x conftest
$ac_exeext; then
17503 ac_cv_search_gethostbyname
=$ac_res
17505 echo "$as_me: failed program was:" >&5
17506 sed 's/^/| /' conftest.
$ac_ext >&5
17511 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17513 if test "${ac_cv_search_gethostbyname+set}" = set; then
17517 if test "${ac_cv_search_gethostbyname+set}" = set; then
17520 ac_cv_search_gethostbyname
=no
17522 rm conftest.
$ac_ext
17523 LIBS
=$ac_func_search_save_LIBS
17525 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17526 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17527 ac_res
=$ac_cv_search_gethostbyname
17528 if test "$ac_res" != no
; then
17529 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17534 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17535 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17536 if test "${ac_cv_search_connect+set}" = set; then
17537 echo $ECHO_N "(cached) $ECHO_C" >&6
17539 ac_func_search_save_LIBS
=$LIBS
17540 cat >conftest.
$ac_ext <<_ACEOF
17543 cat confdefs.h
>>conftest.
$ac_ext
17544 cat >>conftest.
$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17547 /* Override any GCC internal prototype to avoid an error.
17548 Use char because int might match the return type of a GCC
17549 builtin and then its argument prototype would still apply. */
17562 for ac_lib
in '' socket
; do
17563 if test -z "$ac_lib"; then
17564 ac_res
="none required"
17567 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17569 rm -f conftest.
$ac_objext conftest
$ac_exeext
17570 if { (ac_try
="$ac_link"
17571 case "(($ac_try" in
17572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17573 *) ac_try_echo=$ac_try;;
17575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17576 (eval "$ac_link") 2>conftest.er1
17578 grep -v '^ *+' conftest.er1 >conftest.err
17580 cat conftest.err >&5
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); } && {
17583 test -z "$ac_c_werror_flag" ||
17584 test ! -s conftest.err
17585 } && test -s conftest$ac_exeext &&
17586 $as_test_x conftest$ac_exeext; then
17587 ac_cv_search_connect=$ac_res
17589 echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.$ac_ext >&5
17595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17597 if test "${ac_cv_search_connect+set}" = set; then
17601 if test "${ac_cv_search_connect+set}" = set; then
17604 ac_cv_search_connect=no
17606 rm conftest.$ac_ext
17607 LIBS=$ac_func_search_save_LIBS
17609 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17610 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17611 ac_res=$ac_cv_search_connect
17612 if test "$ac_res" != no; then
17613 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17618 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17619 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17620 if test "${ac_cv_search_inet_aton+set}" = set; then
17621 echo $ECHO_N "(cached) $ECHO_C" >&6
17623 ac_func_search_save_LIBS=$LIBS
17624 cat >conftest.$ac_ext <<_ACEOF
17627 cat confdefs.h >>conftest.$ac_ext
17628 cat >>conftest.$ac_ext <<_ACEOF
17629 /* end confdefs.h. */
17631 /* Override any GCC internal prototype to avoid an error.
17632 Use char because int might match the return type of a GCC
17633 builtin and then its argument prototype would still apply. */
17641 return inet_aton ();
17646 for ac_lib in '' resolv; do
17647 if test -z "$ac_lib"; then
17648 ac_res="none required"
17651 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17653 rm -f conftest.$ac_objext conftest$ac_exeext
17654 if { (ac_try="$ac_link"
17655 case "(($ac_try" in
17656 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17657 *) ac_try_echo
=$ac_try;;
17659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17660 (eval "$ac_link") 2>conftest.er1
17662 grep -v '^ *+' conftest.er1
>conftest.err
17664 cat conftest.err
>&5
17665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17666 (exit $ac_status); } && {
17667 test -z "$ac_c_werror_flag" ||
17668 test ! -s conftest.err
17669 } && test -s conftest
$ac_exeext &&
17670 $as_test_x conftest
$ac_exeext; then
17671 ac_cv_search_inet_aton
=$ac_res
17673 echo "$as_me: failed program was:" >&5
17674 sed 's/^/| /' conftest.
$ac_ext >&5
17679 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17681 if test "${ac_cv_search_inet_aton+set}" = set; then
17685 if test "${ac_cv_search_inet_aton+set}" = set; then
17688 ac_cv_search_inet_aton
=no
17690 rm conftest.
$ac_ext
17691 LIBS
=$ac_func_search_save_LIBS
17693 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17694 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17695 ac_res
=$ac_cv_search_inet_aton
17696 if test "$ac_res" != no
; then
17697 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17721 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17722 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17724 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17725 echo $ECHO_N "(cached) $ECHO_C" >&6
17727 cat >conftest.
$ac_ext <<_ACEOF
17730 cat confdefs.h
>>conftest.
$ac_ext
17731 cat >>conftest.
$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17735 #define $ac_func innocuous_$ac_func
17737 /* System header to define __stub macros and hopefully few prototypes,
17738 which can conflict with char $ac_func (); below.
17739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17740 <limits.h> exists even on freestanding compilers. */
17743 # include <limits.h>
17745 # include <assert.h>
17750 /* Override any GCC internal prototype to avoid an error.
17751 Use char because int might match the return type of a GCC
17752 builtin and then its argument prototype would still apply. */
17757 /* The GNU C library defines this for functions which it implements
17758 to always fail with ENOSYS. Some functions are actually named
17759 something starting with __ and the normal name is an alias. */
17760 #if defined __stub_$ac_func || defined __stub___$ac_func
17767 return $ac_func ();
17772 rm -f conftest.
$ac_objext conftest
$ac_exeext
17773 if { (ac_try
="$ac_link"
17774 case "(($ac_try" in
17775 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17776 *) ac_try_echo=$ac_try;;
17778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17779 (eval "$ac_link") 2>conftest.er1
17781 grep -v '^ *+' conftest.er1 >conftest.err
17783 cat conftest.err >&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); } && {
17786 test -z "$ac_c_werror_flag" ||
17787 test ! -s conftest.err
17788 } && test -s conftest$ac_exeext &&
17789 $as_test_x conftest$ac_exeext; then
17790 eval "$as_ac_var=yes"
17792 echo "$as_me: failed program was:" >&5
17793 sed 's/^/| /' conftest.$ac_ext >&5
17795 eval "$as_ac_var=no"
17798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17799 conftest$ac_exeext conftest.$ac_ext
17801 ac_res=`eval echo '${'$as_ac_var'}'`
17802 { echo "$as_me:$LINENO: result: $ac_res" >&5
17803 echo "${ECHO_T}$ac_res" >&6; }
17804 if test `eval echo '${'$as_ac_var'}'` = yes; then
17805 cat >>confdefs.h <<_ACEOF
17806 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
17814 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17815 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17816 if test "${ac_cv_c_const+set}" = set; then
17817 echo $ECHO_N "(cached) $ECHO_C" >&6
17819 cat >conftest.$ac_ext <<_ACEOF
17822 cat confdefs.h >>conftest.$ac_ext
17823 cat >>conftest.$ac_ext <<_ACEOF
17824 /* end confdefs.h. */
17829 /* FIXME: Include the comments suggested by Paul. */
17830 #ifndef __cplusplus
17831 /* Ultrix mips cc rejects this. */
17832 typedef int charset[2];
17834 /* SunOS 4.1.1 cc rejects this. */
17835 char const *const *pcpcc;
17837 /* NEC SVR4.0.2 mips cc rejects this. */
17838 struct point {int x, y;};
17839 static struct point const zero = {0,0};
17840 /* AIX XL C 1.02.0.0 rejects this.
17841 It does not let you subtract one const X* pointer from another in
17842 an arm of an if-expression whose if-part is not a constant
17844 const char *g = "string";
17845 pcpcc = &g + (g ? g-g : 0);
17846 /* HPUX 7.0 cc rejects these. */
17848 ppc = (char**) pcpcc;
17849 pcpcc = (char const *const *) ppc;
17850 { /* SCO 3.2v4 cc rejects this. */
17852 char const *s = 0 ? (char *) 0 : (char const *) 0;
17857 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17858 int x[] = {25, 17};
17859 const int *foo = &x[0];
17862 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17863 typedef const int *iptr;
17867 { /* AIX XL C 1.02.0.0 rejects this saying
17868 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17869 struct s { int j; const int *ap[3]; };
17870 struct s *b; b->j = 5;
17872 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17873 const int foo = 10;
17874 if (!foo) return 0;
17876 return !cs[0] && !zero.x;
17883 rm -f conftest.$ac_objext
17884 if { (ac_try="$ac_compile"
17885 case "(($ac_try" in
17886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17887 *) ac_try_echo
=$ac_try;;
17889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17890 (eval "$ac_compile") 2>conftest.er1
17892 grep -v '^ *+' conftest.er1
>conftest.err
17894 cat conftest.err
>&5
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); } && {
17897 test -z "$ac_c_werror_flag" ||
17898 test ! -s conftest.err
17899 } && test -s conftest.
$ac_objext; then
17902 echo "$as_me: failed program was:" >&5
17903 sed 's/^/| /' conftest.
$ac_ext >&5
17908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17910 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17911 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17912 if test $ac_cv_c_const = no
; then
17914 cat >>confdefs.h
<<\_ACEOF
17920 { echo "$as_me:$LINENO: checking for inline" >&5
17921 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17922 if test "${ac_cv_c_inline+set}" = set; then
17923 echo $ECHO_N "(cached) $ECHO_C" >&6
17926 for ac_kw
in inline __inline__ __inline
; do
17927 cat >conftest.
$ac_ext <<_ACEOF
17930 cat confdefs.h
>>conftest.
$ac_ext
17931 cat >>conftest.
$ac_ext <<_ACEOF
17932 /* end confdefs.h. */
17933 #ifndef __cplusplus
17935 static $ac_kw foo_t static_foo () {return 0; }
17936 $ac_kw foo_t foo () {return 0; }
17940 rm -f conftest.
$ac_objext
17941 if { (ac_try
="$ac_compile"
17942 case "(($ac_try" in
17943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17944 *) ac_try_echo=$ac_try;;
17946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17947 (eval "$ac_compile") 2>conftest.er1
17949 grep -v '^ *+' conftest.er1 >conftest.err
17951 cat conftest.err >&5
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); } && {
17954 test -z "$ac_c_werror_flag" ||
17955 test ! -s conftest.err
17956 } && test -s conftest.$ac_objext; then
17957 ac_cv_c_inline=$ac_kw
17959 echo "$as_me: failed program was:" >&5
17960 sed 's/^/| /' conftest.$ac_ext >&5
17965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17966 test "$ac_cv_c_inline" != no && break
17970 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17971 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17974 case $ac_cv_c_inline in
17977 case $ac_cv_c_inline in
17979 *) ac_val=$ac_cv_c_inline;;
17981 cat >>confdefs.h <<_ACEOF
17982 #ifndef __cplusplus
17983 #define inline $ac_val
17989 { echo "$as_me:$LINENO: checking for mode_t" >&5
17990 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17991 if test "${ac_cv_type_mode_t+set}" = set; then
17992 echo $ECHO_N "(cached) $ECHO_C" >&6
17994 cat >conftest.$ac_ext <<_ACEOF
17997 cat confdefs.h >>conftest.$ac_ext
17998 cat >>conftest.$ac_ext <<_ACEOF
17999 /* end confdefs.h. */
18000 $ac_includes_default
18001 typedef mode_t ac__type_new_;
18005 if ((ac__type_new_ *) 0)
18007 if (sizeof (ac__type_new_))
18013 rm -f conftest.$ac_objext
18014 if { (ac_try="$ac_compile"
18015 case "(($ac_try" in
18016 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18017 *) ac_try_echo
=$ac_try;;
18019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18020 (eval "$ac_compile") 2>conftest.er1
18022 grep -v '^ *+' conftest.er1
>conftest.err
18024 cat conftest.err
>&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } && {
18027 test -z "$ac_c_werror_flag" ||
18028 test ! -s conftest.err
18029 } && test -s conftest.
$ac_objext; then
18030 ac_cv_type_mode_t
=yes
18032 echo "$as_me: failed program was:" >&5
18033 sed 's/^/| /' conftest.
$ac_ext >&5
18035 ac_cv_type_mode_t
=no
18038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18040 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
18041 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
18042 if test $ac_cv_type_mode_t = yes; then
18044 cat >>confdefs.h
<<_ACEOF
18045 #define HAVE_MODE_T 1
18050 { echo "$as_me:$LINENO: checking for off_t" >&5
18051 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
18052 if test "${ac_cv_type_off_t+set}" = set; then
18053 echo $ECHO_N "(cached) $ECHO_C" >&6
18055 cat >conftest.
$ac_ext <<_ACEOF
18058 cat confdefs.h
>>conftest.
$ac_ext
18059 cat >>conftest.
$ac_ext <<_ACEOF
18060 /* end confdefs.h. */
18061 $ac_includes_default
18062 typedef off_t ac__type_new_;
18066 if ((ac__type_new_ *) 0)
18068 if (sizeof (ac__type_new_))
18074 rm -f conftest.
$ac_objext
18075 if { (ac_try
="$ac_compile"
18076 case "(($ac_try" in
18077 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18078 *) ac_try_echo=$ac_try;;
18080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18081 (eval "$ac_compile") 2>conftest.er1
18083 grep -v '^ *+' conftest.er1 >conftest.err
18085 cat conftest.err >&5
18086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18087 (exit $ac_status); } && {
18088 test -z "$ac_c_werror_flag" ||
18089 test ! -s conftest.err
18090 } && test -s conftest.$ac_objext; then
18091 ac_cv_type_off_t=yes
18093 echo "$as_me: failed program was:" >&5
18094 sed 's/^/| /' conftest.$ac_ext >&5
18096 ac_cv_type_off_t=no
18099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18101 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
18102 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
18103 if test $ac_cv_type_off_t = yes; then
18105 cat >>confdefs.h <<_ACEOF
18106 #define HAVE_OFF_T 1
18111 { echo "$as_me:$LINENO: checking for pid_t" >&5
18112 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
18113 if test "${ac_cv_type_pid_t+set}" = set; then
18114 echo $ECHO_N "(cached) $ECHO_C" >&6
18116 cat >conftest.$ac_ext <<_ACEOF
18119 cat confdefs.h >>conftest.$ac_ext
18120 cat >>conftest.$ac_ext <<_ACEOF
18121 /* end confdefs.h. */
18122 $ac_includes_default
18123 typedef pid_t ac__type_new_;
18127 if ((ac__type_new_ *) 0)
18129 if (sizeof (ac__type_new_))
18135 rm -f conftest.$ac_objext
18136 if { (ac_try="$ac_compile"
18137 case "(($ac_try" in
18138 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18139 *) ac_try_echo
=$ac_try;;
18141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18142 (eval "$ac_compile") 2>conftest.er1
18144 grep -v '^ *+' conftest.er1
>conftest.err
18146 cat conftest.err
>&5
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); } && {
18149 test -z "$ac_c_werror_flag" ||
18150 test ! -s conftest.err
18151 } && test -s conftest.
$ac_objext; then
18152 ac_cv_type_pid_t
=yes
18154 echo "$as_me: failed program was:" >&5
18155 sed 's/^/| /' conftest.
$ac_ext >&5
18157 ac_cv_type_pid_t
=no
18160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18162 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18163 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18164 if test $ac_cv_type_pid_t = yes; then
18166 cat >>confdefs.h
<<_ACEOF
18167 #define HAVE_PID_T 1
18172 { echo "$as_me:$LINENO: checking for size_t" >&5
18173 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18174 if test "${ac_cv_type_size_t+set}" = set; then
18175 echo $ECHO_N "(cached) $ECHO_C" >&6
18177 cat >conftest.
$ac_ext <<_ACEOF
18180 cat confdefs.h
>>conftest.
$ac_ext
18181 cat >>conftest.
$ac_ext <<_ACEOF
18182 /* end confdefs.h. */
18183 $ac_includes_default
18184 typedef size_t ac__type_new_;
18188 if ((ac__type_new_ *) 0)
18190 if (sizeof (ac__type_new_))
18196 rm -f conftest.
$ac_objext
18197 if { (ac_try
="$ac_compile"
18198 case "(($ac_try" in
18199 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18200 *) ac_try_echo=$ac_try;;
18202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18203 (eval "$ac_compile") 2>conftest.er1
18205 grep -v '^ *+' conftest.er1 >conftest.err
18207 cat conftest.err >&5
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); } && {
18210 test -z "$ac_c_werror_flag" ||
18211 test ! -s conftest.err
18212 } && test -s conftest.$ac_objext; then
18213 ac_cv_type_size_t=yes
18215 echo "$as_me: failed program was:" >&5
18216 sed 's/^/| /' conftest.$ac_ext >&5
18218 ac_cv_type_size_t=no
18221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18223 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18224 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18225 if test $ac_cv_type_size_t = yes; then
18227 cat >>confdefs.h <<_ACEOF
18228 #define HAVE_SIZE_T 1
18233 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18234 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18235 if test "${ac_cv_type_ssize_t+set}" = set; then
18236 echo $ECHO_N "(cached) $ECHO_C" >&6
18238 cat >conftest.$ac_ext <<_ACEOF
18241 cat confdefs.h >>conftest.$ac_ext
18242 cat >>conftest.$ac_ext <<_ACEOF
18243 /* end confdefs.h. */
18244 $ac_includes_default
18245 typedef ssize_t ac__type_new_;
18249 if ((ac__type_new_ *) 0)
18251 if (sizeof (ac__type_new_))
18257 rm -f conftest.$ac_objext
18258 if { (ac_try="$ac_compile"
18259 case "(($ac_try" in
18260 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18261 *) ac_try_echo
=$ac_try;;
18263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18264 (eval "$ac_compile") 2>conftest.er1
18266 grep -v '^ *+' conftest.er1
>conftest.err
18268 cat conftest.err
>&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); } && {
18271 test -z "$ac_c_werror_flag" ||
18272 test ! -s conftest.err
18273 } && test -s conftest.
$ac_objext; then
18274 ac_cv_type_ssize_t
=yes
18276 echo "$as_me: failed program was:" >&5
18277 sed 's/^/| /' conftest.
$ac_ext >&5
18279 ac_cv_type_ssize_t
=no
18282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18284 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18285 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18286 if test $ac_cv_type_ssize_t = yes; then
18288 cat >>confdefs.h
<<_ACEOF
18289 #define HAVE_SSIZE_T 1
18294 { echo "$as_me:$LINENO: checking for long long" >&5
18295 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18296 if test "${ac_cv_type_long_long+set}" = set; then
18297 echo $ECHO_N "(cached) $ECHO_C" >&6
18299 cat >conftest.
$ac_ext <<_ACEOF
18302 cat confdefs.h
>>conftest.
$ac_ext
18303 cat >>conftest.
$ac_ext <<_ACEOF
18304 /* end confdefs.h. */
18305 $ac_includes_default
18306 typedef long long ac__type_new_;
18310 if ((ac__type_new_ *) 0)
18312 if (sizeof (ac__type_new_))
18318 rm -f conftest.
$ac_objext
18319 if { (ac_try
="$ac_compile"
18320 case "(($ac_try" in
18321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18322 *) ac_try_echo=$ac_try;;
18324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18325 (eval "$ac_compile") 2>conftest.er1
18327 grep -v '^ *+' conftest.er1 >conftest.err
18329 cat conftest.err >&5
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); } && {
18332 test -z "$ac_c_werror_flag" ||
18333 test ! -s conftest.err
18334 } && test -s conftest.$ac_objext; then
18335 ac_cv_type_long_long=yes
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.$ac_ext >&5
18340 ac_cv_type_long_long=no
18343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18345 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18346 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18347 if test $ac_cv_type_long_long = yes; then
18349 cat >>confdefs.h <<_ACEOF
18350 #define HAVE_LONG_LONG 1
18355 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18356 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18357 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18358 echo $ECHO_N "(cached) $ECHO_C" >&6
18360 cat >conftest.$ac_ext <<_ACEOF
18363 cat confdefs.h >>conftest.$ac_ext
18364 cat >>conftest.$ac_ext <<_ACEOF
18365 /* end confdefs.h. */
18366 $ac_includes_default
18367 typedef fsblkcnt_t ac__type_new_;
18371 if ((ac__type_new_ *) 0)
18373 if (sizeof (ac__type_new_))
18379 rm -f conftest.$ac_objext
18380 if { (ac_try="$ac_compile"
18381 case "(($ac_try" in
18382 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18383 *) ac_try_echo
=$ac_try;;
18385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18386 (eval "$ac_compile") 2>conftest.er1
18388 grep -v '^ *+' conftest.er1
>conftest.err
18390 cat conftest.err
>&5
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); } && {
18393 test -z "$ac_c_werror_flag" ||
18394 test ! -s conftest.err
18395 } && test -s conftest.
$ac_objext; then
18396 ac_cv_type_fsblkcnt_t
=yes
18398 echo "$as_me: failed program was:" >&5
18399 sed 's/^/| /' conftest.
$ac_ext >&5
18401 ac_cv_type_fsblkcnt_t
=no
18404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18406 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18407 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18408 if test $ac_cv_type_fsblkcnt_t = yes; then
18410 cat >>confdefs.h
<<_ACEOF
18411 #define HAVE_FSBLKCNT_T 1
18416 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18417 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18418 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18419 echo $ECHO_N "(cached) $ECHO_C" >&6
18421 cat >conftest.
$ac_ext <<_ACEOF
18424 cat confdefs.h
>>conftest.
$ac_ext
18425 cat >>conftest.
$ac_ext <<_ACEOF
18426 /* end confdefs.h. */
18427 $ac_includes_default
18428 typedef fsfilcnt_t ac__type_new_;
18432 if ((ac__type_new_ *) 0)
18434 if (sizeof (ac__type_new_))
18440 rm -f conftest.
$ac_objext
18441 if { (ac_try
="$ac_compile"
18442 case "(($ac_try" in
18443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18444 *) ac_try_echo=$ac_try;;
18446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18447 (eval "$ac_compile") 2>conftest.er1
18449 grep -v '^ *+' conftest.er1 >conftest.err
18451 cat conftest.err >&5
18452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18453 (exit $ac_status); } && {
18454 test -z "$ac_c_werror_flag" ||
18455 test ! -s conftest.err
18456 } && test -s conftest.$ac_objext; then
18457 ac_cv_type_fsfilcnt_t=yes
18459 echo "$as_me: failed program was:" >&5
18460 sed 's/^/| /' conftest.$ac_ext >&5
18462 ac_cv_type_fsfilcnt_t=no
18465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18467 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18468 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18469 if test $ac_cv_type_fsfilcnt_t = yes; then
18471 cat >>confdefs.h <<_ACEOF
18472 #define HAVE_FSFILCNT_T 1
18478 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18479 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18480 if test "${ac_cv_type_sigset_t+set}" = set; then
18481 echo $ECHO_N "(cached) $ECHO_C" >&6
18483 cat >conftest.$ac_ext <<_ACEOF
18486 cat confdefs.h >>conftest.$ac_ext
18487 cat >>conftest.$ac_ext <<_ACEOF
18488 /* end confdefs.h. */
18489 #include <signal.h>
18491 typedef sigset_t ac__type_new_;
18495 if ((ac__type_new_ *) 0)
18497 if (sizeof (ac__type_new_))
18503 rm -f conftest.$ac_objext
18504 if { (ac_try="$ac_compile"
18505 case "(($ac_try" in
18506 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18507 *) ac_try_echo
=$ac_try;;
18509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18510 (eval "$ac_compile") 2>conftest.er1
18512 grep -v '^ *+' conftest.er1
>conftest.err
18514 cat conftest.err
>&5
18515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516 (exit $ac_status); } && {
18517 test -z "$ac_c_werror_flag" ||
18518 test ! -s conftest.err
18519 } && test -s conftest.
$ac_objext; then
18520 ac_cv_type_sigset_t
=yes
18522 echo "$as_me: failed program was:" >&5
18523 sed 's/^/| /' conftest.
$ac_ext >&5
18525 ac_cv_type_sigset_t
=no
18528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18530 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18531 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18532 if test $ac_cv_type_sigset_t = yes; then
18534 cat >>confdefs.h
<<_ACEOF
18535 #define HAVE_SIGSET_T 1
18541 { echo "$as_me:$LINENO: checking for request_sense" >&5
18542 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18543 if test "${ac_cv_type_request_sense+set}" = set; then
18544 echo $ECHO_N "(cached) $ECHO_C" >&6
18546 cat >conftest.
$ac_ext <<_ACEOF
18549 cat confdefs.h
>>conftest.
$ac_ext
18550 cat >>conftest.
$ac_ext <<_ACEOF
18551 /* end confdefs.h. */
18552 #include <linux/cdrom.h>
18554 typedef request_sense ac__type_new_;
18558 if ((ac__type_new_ *) 0)
18560 if (sizeof (ac__type_new_))
18566 rm -f conftest.
$ac_objext
18567 if { (ac_try
="$ac_compile"
18568 case "(($ac_try" in
18569 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18570 *) ac_try_echo=$ac_try;;
18572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18573 (eval "$ac_compile") 2>conftest.er1
18575 grep -v '^ *+' conftest.er1 >conftest.err
18577 cat conftest.err >&5
18578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18579 (exit $ac_status); } && {
18580 test -z "$ac_c_werror_flag" ||
18581 test ! -s conftest.err
18582 } && test -s conftest.$ac_objext; then
18583 ac_cv_type_request_sense=yes
18585 echo "$as_me: failed program was:" >&5
18586 sed 's/^/| /' conftest.$ac_ext >&5
18588 ac_cv_type_request_sense=no
18591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18593 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18594 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18595 if test $ac_cv_type_request_sense = yes; then
18597 cat >>confdefs.h <<_ACEOF
18598 #define HAVE_REQUEST_SENSE 1
18605 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18606 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18607 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18608 echo $ECHO_N "(cached) $ECHO_C" >&6
18610 cat >conftest.$ac_ext <<_ACEOF
18613 cat confdefs.h >>conftest.$ac_ext
18614 cat >>conftest.$ac_ext <<_ACEOF
18615 /* end confdefs.h. */
18616 #ifdef HAVE_LINUX_INPUT_H
18617 #include <linux/input.h>
18623 static struct ff_effect ac_aggr;
18624 if (ac_aggr.direction)
18630 rm -f conftest.$ac_objext
18631 if { (ac_try="$ac_compile"
18632 case "(($ac_try" in
18633 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18634 *) ac_try_echo
=$ac_try;;
18636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18637 (eval "$ac_compile") 2>conftest.er1
18639 grep -v '^ *+' conftest.er1
>conftest.err
18641 cat conftest.err
>&5
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); } && {
18644 test -z "$ac_c_werror_flag" ||
18645 test ! -s conftest.err
18646 } && test -s conftest.
$ac_objext; then
18647 ac_cv_member_struct_ff_effect_direction
=yes
18649 echo "$as_me: failed program was:" >&5
18650 sed 's/^/| /' conftest.
$ac_ext >&5
18652 cat >conftest.
$ac_ext <<_ACEOF
18655 cat confdefs.h
>>conftest.
$ac_ext
18656 cat >>conftest.
$ac_ext <<_ACEOF
18657 /* end confdefs.h. */
18658 #ifdef HAVE_LINUX_INPUT_H
18659 #include <linux/input.h>
18665 static struct ff_effect ac_aggr;
18666 if (sizeof ac_aggr.direction)
18672 rm -f conftest.
$ac_objext
18673 if { (ac_try
="$ac_compile"
18674 case "(($ac_try" in
18675 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18676 *) ac_try_echo=$ac_try;;
18678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18679 (eval "$ac_compile") 2>conftest.er1
18681 grep -v '^ *+' conftest.er1 >conftest.err
18683 cat conftest.err >&5
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); } && {
18686 test -z "$ac_c_werror_flag" ||
18687 test ! -s conftest.err
18688 } && test -s conftest.$ac_objext; then
18689 ac_cv_member_struct_ff_effect_direction=yes
18691 echo "$as_me: failed program was:" >&5
18692 sed 's/^/| /' conftest.$ac_ext >&5
18694 ac_cv_member_struct_ff_effect_direction=no
18697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18702 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18703 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18704 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18706 cat >>confdefs.h <<_ACEOF
18707 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18714 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18715 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18716 if test "${wine_cv_have_sigaddset+set}" = set; then
18717 echo $ECHO_N "(cached) $ECHO_C" >&6
18719 cat >conftest.$ac_ext <<_ACEOF
18722 cat confdefs.h >>conftest.$ac_ext
18723 cat >>conftest.$ac_ext <<_ACEOF
18724 /* end confdefs.h. */
18725 #include <signal.h>
18729 sigset_t set; sigaddset(&set,SIGTERM);
18734 rm -f conftest.$ac_objext conftest$ac_exeext
18735 if { (ac_try="$ac_link"
18736 case "(($ac_try" in
18737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18738 *) ac_try_echo
=$ac_try;;
18740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18741 (eval "$ac_link") 2>conftest.er1
18743 grep -v '^ *+' conftest.er1
>conftest.err
18745 cat conftest.err
>&5
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); } && {
18748 test -z "$ac_c_werror_flag" ||
18749 test ! -s conftest.err
18750 } && test -s conftest
$ac_exeext &&
18751 $as_test_x conftest
$ac_exeext; then
18752 wine_cv_have_sigaddset
=yes
18754 echo "$as_me: failed program was:" >&5
18755 sed 's/^/| /' conftest.
$ac_ext >&5
18757 wine_cv_have_sigaddset
=no
18760 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18761 conftest
$ac_exeext conftest.
$ac_ext
18763 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18764 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18765 if test "$wine_cv_have_sigaddset" = "yes"
18768 cat >>confdefs.h
<<\_ACEOF
18769 #define HAVE_SIGADDSET 1
18775 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18776 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18777 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18778 echo $ECHO_N "(cached) $ECHO_C" >&6
18780 cat >conftest.
$ac_ext <<_ACEOF
18783 cat confdefs.h
>>conftest.
$ac_ext
18784 cat >>conftest.
$ac_ext <<_ACEOF
18785 /* end confdefs.h. */
18793 struct hostent *result;
18800 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18801 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18807 rm -f conftest.
$ac_objext conftest
$ac_exeext
18808 if { (ac_try
="$ac_link"
18809 case "(($ac_try" in
18810 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18811 *) ac_try_echo=$ac_try;;
18813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18814 (eval "$ac_link") 2>conftest.er1
18816 grep -v '^ *+' conftest.er1 >conftest.err
18818 cat conftest.err >&5
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); } && {
18821 test -z "$ac_c_werror_flag" ||
18822 test ! -s conftest.err
18823 } && test -s conftest$ac_exeext &&
18824 $as_test_x conftest$ac_exeext; then
18825 wine_cv_linux_gethostbyname_r_6=yes
18827 echo "$as_me: failed program was:" >&5
18828 sed 's/^/| /' conftest.$ac_ext >&5
18830 wine_cv_linux_gethostbyname_r_6=no
18834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18835 conftest$ac_exeext conftest.$ac_ext
18838 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18839 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18840 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18843 cat >>confdefs.h <<\_ACEOF
18844 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18849 if test "$ac_cv_header_linux_joystick_h" = "yes"
18851 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18852 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18853 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18854 echo $ECHO_N "(cached) $ECHO_C" >&6
18856 cat >conftest.$ac_ext <<_ACEOF
18859 cat confdefs.h >>conftest.$ac_ext
18860 cat >>conftest.$ac_ext <<_ACEOF
18861 /* end confdefs.h. */
18863 #include <sys/ioctl.h>
18864 #include <sys/types.h>
18865 #include <linux/joystick.h>
18867 struct js_event blub;
18868 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18869 #error "no 2.2 header"
18880 rm -f conftest.$ac_objext
18881 if { (ac_try="$ac_compile"
18882 case "(($ac_try" in
18883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18884 *) ac_try_echo
=$ac_try;;
18886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18887 (eval "$ac_compile") 2>conftest.er1
18889 grep -v '^ *+' conftest.er1
>conftest.err
18891 cat conftest.err
>&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); } && {
18894 test -z "$ac_c_werror_flag" ||
18895 test ! -s conftest.err
18896 } && test -s conftest.
$ac_objext; then
18897 wine_cv_linux_joystick_22_api
=yes
18899 echo "$as_me: failed program was:" >&5
18900 sed 's/^/| /' conftest.
$ac_ext >&5
18902 wine_cv_linux_joystick_22_api
=no
18905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18908 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18909 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18910 if test "$wine_cv_linux_joystick_22_api" = "yes"
18913 cat >>confdefs.h
<<\_ACEOF
18914 #define HAVE_LINUX_22_JOYSTICK_API 1
18921 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18922 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18923 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18926 cat >conftest.
$ac_ext <<_ACEOF
18929 cat confdefs.h
>>conftest.
$ac_ext
18930 cat >>conftest.
$ac_ext <<_ACEOF
18931 /* end confdefs.h. */
18932 #include <sys/types.h>
18933 #ifdef HAVE_SYS_PARAM_H
18934 # include <sys/param.h>
18936 #ifdef HAVE_SYS_MOUNT_H
18937 # include <sys/mount.h>
18939 #ifdef HAVE_SYS_VFS_H
18940 # include <sys/vfs.h>
18942 #ifdef HAVE_SYS_STATFS_H
18943 # include <sys/statfs.h>
18949 static struct statfs ac_aggr;
18950 if (ac_aggr.f_bfree)
18956 rm -f conftest.
$ac_objext
18957 if { (ac_try
="$ac_compile"
18958 case "(($ac_try" in
18959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18960 *) ac_try_echo=$ac_try;;
18962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18963 (eval "$ac_compile") 2>conftest.er1
18965 grep -v '^ *+' conftest.er1 >conftest.err
18967 cat conftest.err >&5
18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969 (exit $ac_status); } && {
18970 test -z "$ac_c_werror_flag" ||
18971 test ! -s conftest.err
18972 } && test -s conftest.$ac_objext; then
18973 ac_cv_member_struct_statfs_f_bfree=yes
18975 echo "$as_me: failed program was:" >&5
18976 sed 's/^/| /' conftest.$ac_ext >&5
18978 cat >conftest.$ac_ext <<_ACEOF
18981 cat confdefs.h >>conftest.$ac_ext
18982 cat >>conftest.$ac_ext <<_ACEOF
18983 /* end confdefs.h. */
18984 #include <sys/types.h>
18985 #ifdef HAVE_SYS_PARAM_H
18986 # include <sys/param.h>
18988 #ifdef HAVE_SYS_MOUNT_H
18989 # include <sys/mount.h>
18991 #ifdef HAVE_SYS_VFS_H
18992 # include <sys/vfs.h>
18994 #ifdef HAVE_SYS_STATFS_H
18995 # include <sys/statfs.h>
19001 static struct statfs ac_aggr;
19002 if (sizeof ac_aggr.f_bfree)
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_statfs_f_bfree
=yes
19027 echo "$as_me: failed program was:" >&5
19028 sed 's/^/| /' conftest.
$ac_ext >&5
19030 ac_cv_member_struct_statfs_f_bfree
=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_statfs_f_bfree" >&5
19039 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
19040 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
19042 cat >>confdefs.h
<<_ACEOF
19043 #define HAVE_STRUCT_STATFS_F_BFREE 1
19048 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
19049 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
19050 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
19051 echo $ECHO_N "(cached) $ECHO_C" >&6
19053 cat >conftest.
$ac_ext <<_ACEOF
19056 cat confdefs.h
>>conftest.
$ac_ext
19057 cat >>conftest.
$ac_ext <<_ACEOF
19058 /* end confdefs.h. */
19059 #include <sys/types.h>
19060 #ifdef HAVE_SYS_PARAM_H
19061 # include <sys/param.h>
19063 #ifdef HAVE_SYS_MOUNT_H
19064 # include <sys/mount.h>
19066 #ifdef HAVE_SYS_VFS_H
19067 # include <sys/vfs.h>
19069 #ifdef HAVE_SYS_STATFS_H
19070 # include <sys/statfs.h>
19076 static struct statfs ac_aggr;
19077 if (ac_aggr.f_bavail)
19083 rm -f conftest.
$ac_objext
19084 if { (ac_try
="$ac_compile"
19085 case "(($ac_try" in
19086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19087 *) ac_try_echo=$ac_try;;
19089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19090 (eval "$ac_compile") 2>conftest.er1
19092 grep -v '^ *+' conftest.er1 >conftest.err
19094 cat conftest.err >&5
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); } && {
19097 test -z "$ac_c_werror_flag" ||
19098 test ! -s conftest.err
19099 } && test -s conftest.$ac_objext; then
19100 ac_cv_member_struct_statfs_f_bavail=yes
19102 echo "$as_me: failed program was:" >&5
19103 sed 's/^/| /' conftest.$ac_ext >&5
19105 cat >conftest.$ac_ext <<_ACEOF
19108 cat confdefs.h >>conftest.$ac_ext
19109 cat >>conftest.$ac_ext <<_ACEOF
19110 /* end confdefs.h. */
19111 #include <sys/types.h>
19112 #ifdef HAVE_SYS_PARAM_H
19113 # include <sys/param.h>
19115 #ifdef HAVE_SYS_MOUNT_H
19116 # include <sys/mount.h>
19118 #ifdef HAVE_SYS_VFS_H
19119 # include <sys/vfs.h>
19121 #ifdef HAVE_SYS_STATFS_H
19122 # include <sys/statfs.h>
19128 static struct statfs ac_aggr;
19129 if (sizeof ac_aggr.f_bavail)
19135 rm -f conftest.$ac_objext
19136 if { (ac_try="$ac_compile"
19137 case "(($ac_try" in
19138 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19139 *) ac_try_echo
=$ac_try;;
19141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19142 (eval "$ac_compile") 2>conftest.er1
19144 grep -v '^ *+' conftest.er1
>conftest.err
19146 cat conftest.err
>&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } && {
19149 test -z "$ac_c_werror_flag" ||
19150 test ! -s conftest.err
19151 } && test -s conftest.
$ac_objext; then
19152 ac_cv_member_struct_statfs_f_bavail
=yes
19154 echo "$as_me: failed program was:" >&5
19155 sed 's/^/| /' conftest.
$ac_ext >&5
19157 ac_cv_member_struct_statfs_f_bavail
=no
19160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19165 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19166 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19167 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19169 cat >>confdefs.h
<<_ACEOF
19170 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19175 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19176 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19177 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19178 echo $ECHO_N "(cached) $ECHO_C" >&6
19180 cat >conftest.
$ac_ext <<_ACEOF
19183 cat confdefs.h
>>conftest.
$ac_ext
19184 cat >>conftest.
$ac_ext <<_ACEOF
19185 /* end confdefs.h. */
19186 #include <sys/types.h>
19187 #ifdef HAVE_SYS_PARAM_H
19188 # include <sys/param.h>
19190 #ifdef HAVE_SYS_MOUNT_H
19191 # include <sys/mount.h>
19193 #ifdef HAVE_SYS_VFS_H
19194 # include <sys/vfs.h>
19196 #ifdef HAVE_SYS_STATFS_H
19197 # include <sys/statfs.h>
19203 static struct statfs ac_aggr;
19204 if (ac_aggr.f_frsize)
19210 rm -f conftest.
$ac_objext
19211 if { (ac_try
="$ac_compile"
19212 case "(($ac_try" in
19213 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19214 *) ac_try_echo=$ac_try;;
19216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19217 (eval "$ac_compile") 2>conftest.er1
19219 grep -v '^ *+' conftest.er1 >conftest.err
19221 cat conftest.err >&5
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); } && {
19224 test -z "$ac_c_werror_flag" ||
19225 test ! -s conftest.err
19226 } && test -s conftest.$ac_objext; then
19227 ac_cv_member_struct_statfs_f_frsize=yes
19229 echo "$as_me: failed program was:" >&5
19230 sed 's/^/| /' conftest.$ac_ext >&5
19232 cat >conftest.$ac_ext <<_ACEOF
19235 cat confdefs.h >>conftest.$ac_ext
19236 cat >>conftest.$ac_ext <<_ACEOF
19237 /* end confdefs.h. */
19238 #include <sys/types.h>
19239 #ifdef HAVE_SYS_PARAM_H
19240 # include <sys/param.h>
19242 #ifdef HAVE_SYS_MOUNT_H
19243 # include <sys/mount.h>
19245 #ifdef HAVE_SYS_VFS_H
19246 # include <sys/vfs.h>
19248 #ifdef HAVE_SYS_STATFS_H
19249 # include <sys/statfs.h>
19255 static struct statfs ac_aggr;
19256 if (sizeof ac_aggr.f_frsize)
19262 rm -f conftest.$ac_objext
19263 if { (ac_try="$ac_compile"
19264 case "(($ac_try" in
19265 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19266 *) ac_try_echo
=$ac_try;;
19268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19269 (eval "$ac_compile") 2>conftest.er1
19271 grep -v '^ *+' conftest.er1
>conftest.err
19273 cat conftest.err
>&5
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); } && {
19276 test -z "$ac_c_werror_flag" ||
19277 test ! -s conftest.err
19278 } && test -s conftest.
$ac_objext; then
19279 ac_cv_member_struct_statfs_f_frsize
=yes
19281 echo "$as_me: failed program was:" >&5
19282 sed 's/^/| /' conftest.
$ac_ext >&5
19284 ac_cv_member_struct_statfs_f_frsize
=no
19287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19292 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19293 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19294 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19296 cat >>confdefs.h
<<_ACEOF
19297 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19302 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19303 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19304 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19305 echo $ECHO_N "(cached) $ECHO_C" >&6
19307 cat >conftest.
$ac_ext <<_ACEOF
19310 cat confdefs.h
>>conftest.
$ac_ext
19311 cat >>conftest.
$ac_ext <<_ACEOF
19312 /* end confdefs.h. */
19313 #include <sys/types.h>
19314 #ifdef HAVE_SYS_PARAM_H
19315 # include <sys/param.h>
19317 #ifdef HAVE_SYS_MOUNT_H
19318 # include <sys/mount.h>
19320 #ifdef HAVE_SYS_VFS_H
19321 # include <sys/vfs.h>
19323 #ifdef HAVE_SYS_STATFS_H
19324 # include <sys/statfs.h>
19330 static struct statfs ac_aggr;
19331 if (ac_aggr.f_ffree)
19337 rm -f conftest.
$ac_objext
19338 if { (ac_try
="$ac_compile"
19339 case "(($ac_try" in
19340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19341 *) ac_try_echo=$ac_try;;
19343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19344 (eval "$ac_compile") 2>conftest.er1
19346 grep -v '^ *+' conftest.er1 >conftest.err
19348 cat conftest.err >&5
19349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19350 (exit $ac_status); } && {
19351 test -z "$ac_c_werror_flag" ||
19352 test ! -s conftest.err
19353 } && test -s conftest.$ac_objext; then
19354 ac_cv_member_struct_statfs_f_ffree=yes
19356 echo "$as_me: failed program was:" >&5
19357 sed 's/^/| /' conftest.$ac_ext >&5
19359 cat >conftest.$ac_ext <<_ACEOF
19362 cat confdefs.h >>conftest.$ac_ext
19363 cat >>conftest.$ac_ext <<_ACEOF
19364 /* end confdefs.h. */
19365 #include <sys/types.h>
19366 #ifdef HAVE_SYS_PARAM_H
19367 # include <sys/param.h>
19369 #ifdef HAVE_SYS_MOUNT_H
19370 # include <sys/mount.h>
19372 #ifdef HAVE_SYS_VFS_H
19373 # include <sys/vfs.h>
19375 #ifdef HAVE_SYS_STATFS_H
19376 # include <sys/statfs.h>
19382 static struct statfs ac_aggr;
19383 if (sizeof ac_aggr.f_ffree)
19389 rm -f conftest.$ac_objext
19390 if { (ac_try="$ac_compile"
19391 case "(($ac_try" in
19392 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19393 *) ac_try_echo
=$ac_try;;
19395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19396 (eval "$ac_compile") 2>conftest.er1
19398 grep -v '^ *+' conftest.er1
>conftest.err
19400 cat conftest.err
>&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } && {
19403 test -z "$ac_c_werror_flag" ||
19404 test ! -s conftest.err
19405 } && test -s conftest.
$ac_objext; then
19406 ac_cv_member_struct_statfs_f_ffree
=yes
19408 echo "$as_me: failed program was:" >&5
19409 sed 's/^/| /' conftest.
$ac_ext >&5
19411 ac_cv_member_struct_statfs_f_ffree
=no
19414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19419 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19420 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19421 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19423 cat >>confdefs.h
<<_ACEOF
19424 #define HAVE_STRUCT_STATFS_F_FFREE 1
19429 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19430 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19431 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19432 echo $ECHO_N "(cached) $ECHO_C" >&6
19434 cat >conftest.
$ac_ext <<_ACEOF
19437 cat confdefs.h
>>conftest.
$ac_ext
19438 cat >>conftest.
$ac_ext <<_ACEOF
19439 /* end confdefs.h. */
19440 #include <sys/types.h>
19441 #ifdef HAVE_SYS_PARAM_H
19442 # include <sys/param.h>
19444 #ifdef HAVE_SYS_MOUNT_H
19445 # include <sys/mount.h>
19447 #ifdef HAVE_SYS_VFS_H
19448 # include <sys/vfs.h>
19450 #ifdef HAVE_SYS_STATFS_H
19451 # include <sys/statfs.h>
19457 static struct statfs ac_aggr;
19458 if (ac_aggr.f_favail)
19464 rm -f conftest.
$ac_objext
19465 if { (ac_try
="$ac_compile"
19466 case "(($ac_try" in
19467 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19468 *) ac_try_echo=$ac_try;;
19470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19471 (eval "$ac_compile") 2>conftest.er1
19473 grep -v '^ *+' conftest.er1 >conftest.err
19475 cat conftest.err >&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); } && {
19478 test -z "$ac_c_werror_flag" ||
19479 test ! -s conftest.err
19480 } && test -s conftest.$ac_objext; then
19481 ac_cv_member_struct_statfs_f_favail=yes
19483 echo "$as_me: failed program was:" >&5
19484 sed 's/^/| /' conftest.$ac_ext >&5
19486 cat >conftest.$ac_ext <<_ACEOF
19489 cat confdefs.h >>conftest.$ac_ext
19490 cat >>conftest.$ac_ext <<_ACEOF
19491 /* end confdefs.h. */
19492 #include <sys/types.h>
19493 #ifdef HAVE_SYS_PARAM_H
19494 # include <sys/param.h>
19496 #ifdef HAVE_SYS_MOUNT_H
19497 # include <sys/mount.h>
19499 #ifdef HAVE_SYS_VFS_H
19500 # include <sys/vfs.h>
19502 #ifdef HAVE_SYS_STATFS_H
19503 # include <sys/statfs.h>
19509 static struct statfs ac_aggr;
19510 if (sizeof ac_aggr.f_favail)
19516 rm -f conftest.$ac_objext
19517 if { (ac_try="$ac_compile"
19518 case "(($ac_try" in
19519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19520 *) ac_try_echo
=$ac_try;;
19522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19523 (eval "$ac_compile") 2>conftest.er1
19525 grep -v '^ *+' conftest.er1
>conftest.err
19527 cat conftest.err
>&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); } && {
19530 test -z "$ac_c_werror_flag" ||
19531 test ! -s conftest.err
19532 } && test -s conftest.
$ac_objext; then
19533 ac_cv_member_struct_statfs_f_favail
=yes
19535 echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.
$ac_ext >&5
19538 ac_cv_member_struct_statfs_f_favail
=no
19541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19546 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19547 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19548 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19550 cat >>confdefs.h
<<_ACEOF
19551 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19556 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19557 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19558 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19559 echo $ECHO_N "(cached) $ECHO_C" >&6
19561 cat >conftest.
$ac_ext <<_ACEOF
19564 cat confdefs.h
>>conftest.
$ac_ext
19565 cat >>conftest.
$ac_ext <<_ACEOF
19566 /* end confdefs.h. */
19567 #include <sys/types.h>
19568 #ifdef HAVE_SYS_PARAM_H
19569 # include <sys/param.h>
19571 #ifdef HAVE_SYS_MOUNT_H
19572 # include <sys/mount.h>
19574 #ifdef HAVE_SYS_VFS_H
19575 # include <sys/vfs.h>
19577 #ifdef HAVE_SYS_STATFS_H
19578 # include <sys/statfs.h>
19584 static struct statfs ac_aggr;
19585 if (ac_aggr.f_namelen)
19591 rm -f conftest.
$ac_objext
19592 if { (ac_try
="$ac_compile"
19593 case "(($ac_try" in
19594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19595 *) ac_try_echo=$ac_try;;
19597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19598 (eval "$ac_compile") 2>conftest.er1
19600 grep -v '^ *+' conftest.er1 >conftest.err
19602 cat conftest.err >&5
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); } && {
19605 test -z "$ac_c_werror_flag" ||
19606 test ! -s conftest.err
19607 } && test -s conftest.$ac_objext; then
19608 ac_cv_member_struct_statfs_f_namelen=yes
19610 echo "$as_me: failed program was:" >&5
19611 sed 's/^/| /' conftest.$ac_ext >&5
19613 cat >conftest.$ac_ext <<_ACEOF
19616 cat confdefs.h >>conftest.$ac_ext
19617 cat >>conftest.$ac_ext <<_ACEOF
19618 /* end confdefs.h. */
19619 #include <sys/types.h>
19620 #ifdef HAVE_SYS_PARAM_H
19621 # include <sys/param.h>
19623 #ifdef HAVE_SYS_MOUNT_H
19624 # include <sys/mount.h>
19626 #ifdef HAVE_SYS_VFS_H
19627 # include <sys/vfs.h>
19629 #ifdef HAVE_SYS_STATFS_H
19630 # include <sys/statfs.h>
19636 static struct statfs ac_aggr;
19637 if (sizeof ac_aggr.f_namelen)
19643 rm -f conftest.$ac_objext
19644 if { (ac_try="$ac_compile"
19645 case "(($ac_try" in
19646 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19647 *) ac_try_echo
=$ac_try;;
19649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19650 (eval "$ac_compile") 2>conftest.er1
19652 grep -v '^ *+' conftest.er1
>conftest.err
19654 cat conftest.err
>&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); } && {
19657 test -z "$ac_c_werror_flag" ||
19658 test ! -s conftest.err
19659 } && test -s conftest.
$ac_objext; then
19660 ac_cv_member_struct_statfs_f_namelen
=yes
19662 echo "$as_me: failed program was:" >&5
19663 sed 's/^/| /' conftest.
$ac_ext >&5
19665 ac_cv_member_struct_statfs_f_namelen
=no
19668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19673 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19674 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19675 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19677 cat >>confdefs.h
<<_ACEOF
19678 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19685 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19686 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19687 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19688 echo $ECHO_N "(cached) $ECHO_C" >&6
19690 cat >conftest.
$ac_ext <<_ACEOF
19693 cat confdefs.h
>>conftest.
$ac_ext
19694 cat >>conftest.
$ac_ext <<_ACEOF
19695 /* end confdefs.h. */
19696 #ifdef HAVE_SYS_STATVFS_H
19697 #include <sys/statvfs.h>
19703 static struct statvfs ac_aggr;
19704 if (ac_aggr.f_blocks)
19710 rm -f conftest.
$ac_objext
19711 if { (ac_try
="$ac_compile"
19712 case "(($ac_try" in
19713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19714 *) ac_try_echo=$ac_try;;
19716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19717 (eval "$ac_compile") 2>conftest.er1
19719 grep -v '^ *+' conftest.er1 >conftest.err
19721 cat conftest.err >&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); } && {
19724 test -z "$ac_c_werror_flag" ||
19725 test ! -s conftest.err
19726 } && test -s conftest.$ac_objext; then
19727 ac_cv_member_struct_statvfs_f_blocks=yes
19729 echo "$as_me: failed program was:" >&5
19730 sed 's/^/| /' conftest.$ac_ext >&5
19732 cat >conftest.$ac_ext <<_ACEOF
19735 cat confdefs.h >>conftest.$ac_ext
19736 cat >>conftest.$ac_ext <<_ACEOF
19737 /* end confdefs.h. */
19738 #ifdef HAVE_SYS_STATVFS_H
19739 #include <sys/statvfs.h>
19745 static struct statvfs ac_aggr;
19746 if (sizeof ac_aggr.f_blocks)
19752 rm -f conftest.$ac_objext
19753 if { (ac_try="$ac_compile"
19754 case "(($ac_try" in
19755 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19756 *) ac_try_echo
=$ac_try;;
19758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19759 (eval "$ac_compile") 2>conftest.er1
19761 grep -v '^ *+' conftest.er1
>conftest.err
19763 cat conftest.err
>&5
19764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19765 (exit $ac_status); } && {
19766 test -z "$ac_c_werror_flag" ||
19767 test ! -s conftest.err
19768 } && test -s conftest.
$ac_objext; then
19769 ac_cv_member_struct_statvfs_f_blocks
=yes
19771 echo "$as_me: failed program was:" >&5
19772 sed 's/^/| /' conftest.
$ac_ext >&5
19774 ac_cv_member_struct_statvfs_f_blocks
=no
19777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19782 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19783 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19784 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19786 cat >>confdefs.h
<<_ACEOF
19787 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19794 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19795 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19796 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19797 echo $ECHO_N "(cached) $ECHO_C" >&6
19799 cat >conftest.
$ac_ext <<_ACEOF
19802 cat confdefs.h
>>conftest.
$ac_ext
19803 cat >>conftest.
$ac_ext <<_ACEOF
19804 /* end confdefs.h. */
19805 #include <sys/types.h>
19806 #ifdef HAVE_SYS_SOCKET_H
19807 # include <sys/socket.h>
19809 #ifdef HAVE_SYS_UN_H
19810 # include <sys/un.h>
19816 static struct msghdr ac_aggr;
19817 if (ac_aggr.msg_accrights)
19823 rm -f conftest.
$ac_objext
19824 if { (ac_try
="$ac_compile"
19825 case "(($ac_try" in
19826 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19827 *) ac_try_echo=$ac_try;;
19829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19830 (eval "$ac_compile") 2>conftest.er1
19832 grep -v '^ *+' conftest.er1 >conftest.err
19834 cat conftest.err >&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); } && {
19837 test -z "$ac_c_werror_flag" ||
19838 test ! -s conftest.err
19839 } && test -s conftest.$ac_objext; then
19840 ac_cv_member_struct_msghdr_msg_accrights=yes
19842 echo "$as_me: failed program was:" >&5
19843 sed 's/^/| /' conftest.$ac_ext >&5
19845 cat >conftest.$ac_ext <<_ACEOF
19848 cat confdefs.h >>conftest.$ac_ext
19849 cat >>conftest.$ac_ext <<_ACEOF
19850 /* end confdefs.h. */
19851 #include <sys/types.h>
19852 #ifdef HAVE_SYS_SOCKET_H
19853 # include <sys/socket.h>
19855 #ifdef HAVE_SYS_UN_H
19856 # include <sys/un.h>
19862 static struct msghdr ac_aggr;
19863 if (sizeof ac_aggr.msg_accrights)
19869 rm -f conftest.$ac_objext
19870 if { (ac_try="$ac_compile"
19871 case "(($ac_try" in
19872 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19873 *) ac_try_echo
=$ac_try;;
19875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19876 (eval "$ac_compile") 2>conftest.er1
19878 grep -v '^ *+' conftest.er1
>conftest.err
19880 cat conftest.err
>&5
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); } && {
19883 test -z "$ac_c_werror_flag" ||
19884 test ! -s conftest.err
19885 } && test -s conftest.
$ac_objext; then
19886 ac_cv_member_struct_msghdr_msg_accrights
=yes
19888 echo "$as_me: failed program was:" >&5
19889 sed 's/^/| /' conftest.
$ac_ext >&5
19891 ac_cv_member_struct_msghdr_msg_accrights
=no
19894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19897 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19899 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19900 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19901 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19903 cat >>confdefs.h
<<_ACEOF
19904 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19909 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19910 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19911 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19912 echo $ECHO_N "(cached) $ECHO_C" >&6
19914 cat >conftest.
$ac_ext <<_ACEOF
19917 cat confdefs.h
>>conftest.
$ac_ext
19918 cat >>conftest.
$ac_ext <<_ACEOF
19919 /* end confdefs.h. */
19920 #include <sys/types.h>
19921 #ifdef HAVE_SYS_SOCKET_H
19922 # include <sys/socket.h>
19924 #ifdef HAVE_SYS_UN_H
19925 # include <sys/un.h>
19931 static struct sockaddr ac_aggr;
19932 if (ac_aggr.sa_len)
19938 rm -f conftest.
$ac_objext
19939 if { (ac_try
="$ac_compile"
19940 case "(($ac_try" in
19941 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19942 *) ac_try_echo=$ac_try;;
19944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19945 (eval "$ac_compile") 2>conftest.er1
19947 grep -v '^ *+' conftest.er1 >conftest.err
19949 cat conftest.err >&5
19950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19951 (exit $ac_status); } && {
19952 test -z "$ac_c_werror_flag" ||
19953 test ! -s conftest.err
19954 } && test -s conftest.$ac_objext; then
19955 ac_cv_member_struct_sockaddr_sa_len=yes
19957 echo "$as_me: failed program was:" >&5
19958 sed 's/^/| /' conftest.$ac_ext >&5
19960 cat >conftest.$ac_ext <<_ACEOF
19963 cat confdefs.h >>conftest.$ac_ext
19964 cat >>conftest.$ac_ext <<_ACEOF
19965 /* end confdefs.h. */
19966 #include <sys/types.h>
19967 #ifdef HAVE_SYS_SOCKET_H
19968 # include <sys/socket.h>
19970 #ifdef HAVE_SYS_UN_H
19971 # include <sys/un.h>
19977 static struct sockaddr ac_aggr;
19978 if (sizeof ac_aggr.sa_len)
19984 rm -f conftest.$ac_objext
19985 if { (ac_try="$ac_compile"
19986 case "(($ac_try" in
19987 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19988 *) ac_try_echo
=$ac_try;;
19990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19991 (eval "$ac_compile") 2>conftest.er1
19993 grep -v '^ *+' conftest.er1
>conftest.err
19995 cat conftest.err
>&5
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); } && {
19998 test -z "$ac_c_werror_flag" ||
19999 test ! -s conftest.err
20000 } && test -s conftest.
$ac_objext; then
20001 ac_cv_member_struct_sockaddr_sa_len
=yes
20003 echo "$as_me: failed program was:" >&5
20004 sed 's/^/| /' conftest.
$ac_ext >&5
20006 ac_cv_member_struct_sockaddr_sa_len
=no
20009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20014 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
20015 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
20016 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
20018 cat >>confdefs.h
<<_ACEOF
20019 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
20024 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
20025 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
20026 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
20027 echo $ECHO_N "(cached) $ECHO_C" >&6
20029 cat >conftest.
$ac_ext <<_ACEOF
20032 cat confdefs.h
>>conftest.
$ac_ext
20033 cat >>conftest.
$ac_ext <<_ACEOF
20034 /* end confdefs.h. */
20035 #include <sys/types.h>
20036 #ifdef HAVE_SYS_SOCKET_H
20037 # include <sys/socket.h>
20039 #ifdef HAVE_SYS_UN_H
20040 # include <sys/un.h>
20046 static struct sockaddr_un ac_aggr;
20047 if (ac_aggr.sun_len)
20053 rm -f conftest.
$ac_objext
20054 if { (ac_try
="$ac_compile"
20055 case "(($ac_try" in
20056 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20057 *) ac_try_echo=$ac_try;;
20059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20060 (eval "$ac_compile") 2>conftest.er1
20062 grep -v '^ *+' conftest.er1 >conftest.err
20064 cat conftest.err >&5
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); } && {
20067 test -z "$ac_c_werror_flag" ||
20068 test ! -s conftest.err
20069 } && test -s conftest.$ac_objext; then
20070 ac_cv_member_struct_sockaddr_un_sun_len=yes
20072 echo "$as_me: failed program was:" >&5
20073 sed 's/^/| /' conftest.$ac_ext >&5
20075 cat >conftest.$ac_ext <<_ACEOF
20078 cat confdefs.h >>conftest.$ac_ext
20079 cat >>conftest.$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20081 #include <sys/types.h>
20082 #ifdef HAVE_SYS_SOCKET_H
20083 # include <sys/socket.h>
20085 #ifdef HAVE_SYS_UN_H
20086 # include <sys/un.h>
20092 static struct sockaddr_un ac_aggr;
20093 if (sizeof ac_aggr.sun_len)
20099 rm -f conftest.$ac_objext
20100 if { (ac_try="$ac_compile"
20101 case "(($ac_try" in
20102 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20103 *) ac_try_echo
=$ac_try;;
20105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20106 (eval "$ac_compile") 2>conftest.er1
20108 grep -v '^ *+' conftest.er1
>conftest.err
20110 cat conftest.err
>&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } && {
20113 test -z "$ac_c_werror_flag" ||
20114 test ! -s conftest.err
20115 } && test -s conftest.
$ac_objext; then
20116 ac_cv_member_struct_sockaddr_un_sun_len
=yes
20118 echo "$as_me: failed program was:" >&5
20119 sed 's/^/| /' conftest.
$ac_ext >&5
20121 ac_cv_member_struct_sockaddr_un_sun_len
=no
20124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20129 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20130 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20131 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20133 cat >>confdefs.h
<<_ACEOF
20134 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20141 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20142 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20143 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20144 echo $ECHO_N "(cached) $ECHO_C" >&6
20146 cat >conftest.
$ac_ext <<_ACEOF
20149 cat confdefs.h
>>conftest.
$ac_ext
20150 cat >>conftest.
$ac_ext <<_ACEOF
20151 /* end confdefs.h. */
20152 #include <sys/types.h>
20153 #ifdef HAVE_SCSI_SG_H
20154 #include <scsi/sg.h>
20160 static scsireq_t ac_aggr;
20167 rm -f conftest.
$ac_objext
20168 if { (ac_try
="$ac_compile"
20169 case "(($ac_try" in
20170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20171 *) ac_try_echo=$ac_try;;
20173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20174 (eval "$ac_compile") 2>conftest.er1
20176 grep -v '^ *+' conftest.er1 >conftest.err
20178 cat conftest.err >&5
20179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20180 (exit $ac_status); } && {
20181 test -z "$ac_c_werror_flag" ||
20182 test ! -s conftest.err
20183 } && test -s conftest.$ac_objext; then
20184 ac_cv_member_scsireq_t_cmd=yes
20186 echo "$as_me: failed program was:" >&5
20187 sed 's/^/| /' conftest.$ac_ext >&5
20189 cat >conftest.$ac_ext <<_ACEOF
20192 cat confdefs.h >>conftest.$ac_ext
20193 cat >>conftest.$ac_ext <<_ACEOF
20194 /* end confdefs.h. */
20195 #include <sys/types.h>
20196 #ifdef HAVE_SCSI_SG_H
20197 #include <scsi/sg.h>
20203 static scsireq_t ac_aggr;
20204 if (sizeof ac_aggr.cmd)
20210 rm -f conftest.$ac_objext
20211 if { (ac_try="$ac_compile"
20212 case "(($ac_try" in
20213 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20214 *) ac_try_echo
=$ac_try;;
20216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20217 (eval "$ac_compile") 2>conftest.er1
20219 grep -v '^ *+' conftest.er1
>conftest.err
20221 cat conftest.err
>&5
20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20223 (exit $ac_status); } && {
20224 test -z "$ac_c_werror_flag" ||
20225 test ! -s conftest.err
20226 } && test -s conftest.
$ac_objext; then
20227 ac_cv_member_scsireq_t_cmd
=yes
20229 echo "$as_me: failed program was:" >&5
20230 sed 's/^/| /' conftest.
$ac_ext >&5
20232 ac_cv_member_scsireq_t_cmd
=no
20235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20240 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20241 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20242 if test $ac_cv_member_scsireq_t_cmd = yes; then
20244 cat >>confdefs.h
<<_ACEOF
20245 #define HAVE_SCSIREQ_T_CMD 1
20250 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20251 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20252 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20253 echo $ECHO_N "(cached) $ECHO_C" >&6
20255 cat >conftest.
$ac_ext <<_ACEOF
20258 cat confdefs.h
>>conftest.
$ac_ext
20259 cat >>conftest.
$ac_ext <<_ACEOF
20260 /* end confdefs.h. */
20261 #include <sys/types.h>
20262 #ifdef HAVE_SCSI_SG_H
20263 #include <scsi/sg.h>
20269 static sg_io_hdr_t ac_aggr;
20270 if (ac_aggr.interface_id)
20276 rm -f conftest.
$ac_objext
20277 if { (ac_try
="$ac_compile"
20278 case "(($ac_try" in
20279 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20280 *) ac_try_echo=$ac_try;;
20282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20283 (eval "$ac_compile") 2>conftest.er1
20285 grep -v '^ *+' conftest.er1 >conftest.err
20287 cat conftest.err >&5
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); } && {
20290 test -z "$ac_c_werror_flag" ||
20291 test ! -s conftest.err
20292 } && test -s conftest.$ac_objext; then
20293 ac_cv_member_sg_io_hdr_t_interface_id=yes
20295 echo "$as_me: failed program was:" >&5
20296 sed 's/^/| /' conftest.$ac_ext >&5
20298 cat >conftest.$ac_ext <<_ACEOF
20301 cat confdefs.h >>conftest.$ac_ext
20302 cat >>conftest.$ac_ext <<_ACEOF
20303 /* end confdefs.h. */
20304 #include <sys/types.h>
20305 #ifdef HAVE_SCSI_SG_H
20306 #include <scsi/sg.h>
20312 static sg_io_hdr_t ac_aggr;
20313 if (sizeof ac_aggr.interface_id)
20319 rm -f conftest.$ac_objext
20320 if { (ac_try="$ac_compile"
20321 case "(($ac_try" in
20322 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20323 *) ac_try_echo
=$ac_try;;
20325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20326 (eval "$ac_compile") 2>conftest.er1
20328 grep -v '^ *+' conftest.er1
>conftest.err
20330 cat conftest.err
>&5
20331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20332 (exit $ac_status); } && {
20333 test -z "$ac_c_werror_flag" ||
20334 test ! -s conftest.err
20335 } && test -s conftest.
$ac_objext; then
20336 ac_cv_member_sg_io_hdr_t_interface_id
=yes
20338 echo "$as_me: failed program was:" >&5
20339 sed 's/^/| /' conftest.
$ac_ext >&5
20341 ac_cv_member_sg_io_hdr_t_interface_id
=no
20344 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20349 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20350 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20351 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20353 cat >>confdefs.h
<<_ACEOF
20354 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20361 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20362 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20363 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20364 echo $ECHO_N "(cached) $ECHO_C" >&6
20366 cat >conftest.
$ac_ext <<_ACEOF
20369 cat confdefs.h
>>conftest.
$ac_ext
20370 cat >>conftest.
$ac_ext <<_ACEOF
20371 /* end confdefs.h. */
20372 #include <signal.h>
20377 static siginfo_t ac_aggr;
20384 rm -f conftest.
$ac_objext
20385 if { (ac_try
="$ac_compile"
20386 case "(($ac_try" in
20387 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20388 *) ac_try_echo=$ac_try;;
20390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20391 (eval "$ac_compile") 2>conftest.er1
20393 grep -v '^ *+' conftest.er1 >conftest.err
20395 cat conftest.err >&5
20396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397 (exit $ac_status); } && {
20398 test -z "$ac_c_werror_flag" ||
20399 test ! -s conftest.err
20400 } && test -s conftest.$ac_objext; then
20401 ac_cv_member_siginfo_t_si_fd=yes
20403 echo "$as_me: failed program was:" >&5
20404 sed 's/^/| /' conftest.$ac_ext >&5
20406 cat >conftest.$ac_ext <<_ACEOF
20409 cat confdefs.h >>conftest.$ac_ext
20410 cat >>conftest.$ac_ext <<_ACEOF
20411 /* end confdefs.h. */
20412 #include <signal.h>
20417 static siginfo_t ac_aggr;
20418 if (sizeof ac_aggr.si_fd)
20424 rm -f conftest.$ac_objext
20425 if { (ac_try="$ac_compile"
20426 case "(($ac_try" in
20427 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20428 *) ac_try_echo
=$ac_try;;
20430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20431 (eval "$ac_compile") 2>conftest.er1
20433 grep -v '^ *+' conftest.er1
>conftest.err
20435 cat conftest.err
>&5
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); } && {
20438 test -z "$ac_c_werror_flag" ||
20439 test ! -s conftest.err
20440 } && test -s conftest.
$ac_objext; then
20441 ac_cv_member_siginfo_t_si_fd
=yes
20443 echo "$as_me: failed program was:" >&5
20444 sed 's/^/| /' conftest.
$ac_ext >&5
20446 ac_cv_member_siginfo_t_si_fd
=no
20449 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20454 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20455 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20456 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20458 cat >>confdefs.h
<<_ACEOF
20459 #define HAVE_SIGINFO_T_SI_FD 1
20466 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20467 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20468 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20469 echo $ECHO_N "(cached) $ECHO_C" >&6
20471 cat >conftest.
$ac_ext <<_ACEOF
20474 cat confdefs.h
>>conftest.
$ac_ext
20475 cat >>conftest.
$ac_ext <<_ACEOF
20476 /* end confdefs.h. */
20477 #include <sys/types.h>
20478 #ifdef HAVE_SYS_MTIO_H
20479 #include <sys/mtio.h>
20485 static struct mtget ac_aggr;
20486 if (ac_aggr.mt_blksiz)
20492 rm -f conftest.
$ac_objext
20493 if { (ac_try
="$ac_compile"
20494 case "(($ac_try" in
20495 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20496 *) ac_try_echo=$ac_try;;
20498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20499 (eval "$ac_compile") 2>conftest.er1
20501 grep -v '^ *+' conftest.er1 >conftest.err
20503 cat conftest.err >&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); } && {
20506 test -z "$ac_c_werror_flag" ||
20507 test ! -s conftest.err
20508 } && test -s conftest.$ac_objext; then
20509 ac_cv_member_struct_mtget_mt_blksiz=yes
20511 echo "$as_me: failed program was:" >&5
20512 sed 's/^/| /' conftest.$ac_ext >&5
20514 cat >conftest.$ac_ext <<_ACEOF
20517 cat confdefs.h >>conftest.$ac_ext
20518 cat >>conftest.$ac_ext <<_ACEOF
20519 /* end confdefs.h. */
20520 #include <sys/types.h>
20521 #ifdef HAVE_SYS_MTIO_H
20522 #include <sys/mtio.h>
20528 static struct mtget ac_aggr;
20529 if (sizeof ac_aggr.mt_blksiz)
20535 rm -f conftest.$ac_objext
20536 if { (ac_try="$ac_compile"
20537 case "(($ac_try" in
20538 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20539 *) ac_try_echo
=$ac_try;;
20541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20542 (eval "$ac_compile") 2>conftest.er1
20544 grep -v '^ *+' conftest.er1
>conftest.err
20546 cat conftest.err
>&5
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); } && {
20549 test -z "$ac_c_werror_flag" ||
20550 test ! -s conftest.err
20551 } && test -s conftest.
$ac_objext; then
20552 ac_cv_member_struct_mtget_mt_blksiz
=yes
20554 echo "$as_me: failed program was:" >&5
20555 sed 's/^/| /' conftest.
$ac_ext >&5
20557 ac_cv_member_struct_mtget_mt_blksiz
=no
20560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20565 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20566 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20567 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20569 cat >>confdefs.h
<<_ACEOF
20570 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20575 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20576 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20577 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20578 echo $ECHO_N "(cached) $ECHO_C" >&6
20580 cat >conftest.
$ac_ext <<_ACEOF
20583 cat confdefs.h
>>conftest.
$ac_ext
20584 cat >>conftest.
$ac_ext <<_ACEOF
20585 /* end confdefs.h. */
20586 #include <sys/types.h>
20587 #ifdef HAVE_SYS_MTIO_H
20588 #include <sys/mtio.h>
20594 static struct mtget ac_aggr;
20595 if (ac_aggr.mt_gstat)
20601 rm -f conftest.
$ac_objext
20602 if { (ac_try
="$ac_compile"
20603 case "(($ac_try" in
20604 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20605 *) ac_try_echo=$ac_try;;
20607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20608 (eval "$ac_compile") 2>conftest.er1
20610 grep -v '^ *+' conftest.er1 >conftest.err
20612 cat conftest.err >&5
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); } && {
20615 test -z "$ac_c_werror_flag" ||
20616 test ! -s conftest.err
20617 } && test -s conftest.$ac_objext; then
20618 ac_cv_member_struct_mtget_mt_gstat=yes
20620 echo "$as_me: failed program was:" >&5
20621 sed 's/^/| /' conftest.$ac_ext >&5
20623 cat >conftest.$ac_ext <<_ACEOF
20626 cat confdefs.h >>conftest.$ac_ext
20627 cat >>conftest.$ac_ext <<_ACEOF
20628 /* end confdefs.h. */
20629 #include <sys/types.h>
20630 #ifdef HAVE_SYS_MTIO_H
20631 #include <sys/mtio.h>
20637 static struct mtget ac_aggr;
20638 if (sizeof ac_aggr.mt_gstat)
20644 rm -f conftest.$ac_objext
20645 if { (ac_try="$ac_compile"
20646 case "(($ac_try" in
20647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20648 *) ac_try_echo
=$ac_try;;
20650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20651 (eval "$ac_compile") 2>conftest.er1
20653 grep -v '^ *+' conftest.er1
>conftest.err
20655 cat conftest.err
>&5
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); } && {
20658 test -z "$ac_c_werror_flag" ||
20659 test ! -s conftest.err
20660 } && test -s conftest.
$ac_objext; then
20661 ac_cv_member_struct_mtget_mt_gstat
=yes
20663 echo "$as_me: failed program was:" >&5
20664 sed 's/^/| /' conftest.
$ac_ext >&5
20666 ac_cv_member_struct_mtget_mt_gstat
=no
20669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20674 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20675 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20676 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20678 cat >>confdefs.h
<<_ACEOF
20679 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20684 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20685 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20686 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20687 echo $ECHO_N "(cached) $ECHO_C" >&6
20689 cat >conftest.
$ac_ext <<_ACEOF
20692 cat confdefs.h
>>conftest.
$ac_ext
20693 cat >>conftest.
$ac_ext <<_ACEOF
20694 /* end confdefs.h. */
20695 #include <sys/types.h>
20696 #ifdef HAVE_SYS_MTIO_H
20697 #include <sys/mtio.h>
20703 static struct mtget ac_aggr;
20704 if (ac_aggr.mt_blkno)
20710 rm -f conftest.
$ac_objext
20711 if { (ac_try
="$ac_compile"
20712 case "(($ac_try" in
20713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20714 *) ac_try_echo=$ac_try;;
20716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20717 (eval "$ac_compile") 2>conftest.er1
20719 grep -v '^ *+' conftest.er1 >conftest.err
20721 cat conftest.err >&5
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); } && {
20724 test -z "$ac_c_werror_flag" ||
20725 test ! -s conftest.err
20726 } && test -s conftest.$ac_objext; then
20727 ac_cv_member_struct_mtget_mt_blkno=yes
20729 echo "$as_me: failed program was:" >&5
20730 sed 's/^/| /' conftest.$ac_ext >&5
20732 cat >conftest.$ac_ext <<_ACEOF
20735 cat confdefs.h >>conftest.$ac_ext
20736 cat >>conftest.$ac_ext <<_ACEOF
20737 /* end confdefs.h. */
20738 #include <sys/types.h>
20739 #ifdef HAVE_SYS_MTIO_H
20740 #include <sys/mtio.h>
20746 static struct mtget ac_aggr;
20747 if (sizeof ac_aggr.mt_blkno)
20753 rm -f conftest.$ac_objext
20754 if { (ac_try="$ac_compile"
20755 case "(($ac_try" in
20756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20757 *) ac_try_echo
=$ac_try;;
20759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20760 (eval "$ac_compile") 2>conftest.er1
20762 grep -v '^ *+' conftest.er1
>conftest.err
20764 cat conftest.err
>&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); } && {
20767 test -z "$ac_c_werror_flag" ||
20768 test ! -s conftest.err
20769 } && test -s conftest.
$ac_objext; then
20770 ac_cv_member_struct_mtget_mt_blkno
=yes
20772 echo "$as_me: failed program was:" >&5
20773 sed 's/^/| /' conftest.
$ac_ext >&5
20775 ac_cv_member_struct_mtget_mt_blkno
=no
20778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20783 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20784 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20785 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20787 cat >>confdefs.h
<<_ACEOF
20788 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20795 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20796 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20797 if test "${ac_cv_member_struct_option_name+set}" = set; then
20798 echo $ECHO_N "(cached) $ECHO_C" >&6
20800 cat >conftest.
$ac_ext <<_ACEOF
20803 cat confdefs.h
>>conftest.
$ac_ext
20804 cat >>conftest.
$ac_ext <<_ACEOF
20805 /* end confdefs.h. */
20806 #ifdef HAVE_GETOPT_H
20807 #include <getopt.h>
20813 static struct option ac_aggr;
20820 rm -f conftest.
$ac_objext
20821 if { (ac_try
="$ac_compile"
20822 case "(($ac_try" in
20823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20824 *) ac_try_echo=$ac_try;;
20826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20827 (eval "$ac_compile") 2>conftest.er1
20829 grep -v '^ *+' conftest.er1 >conftest.err
20831 cat conftest.err >&5
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); } && {
20834 test -z "$ac_c_werror_flag" ||
20835 test ! -s conftest.err
20836 } && test -s conftest.$ac_objext; then
20837 ac_cv_member_struct_option_name=yes
20839 echo "$as_me: failed program was:" >&5
20840 sed 's/^/| /' conftest.$ac_ext >&5
20842 cat >conftest.$ac_ext <<_ACEOF
20845 cat confdefs.h >>conftest.$ac_ext
20846 cat >>conftest.$ac_ext <<_ACEOF
20847 /* end confdefs.h. */
20848 #ifdef HAVE_GETOPT_H
20849 #include <getopt.h>
20855 static struct option ac_aggr;
20856 if (sizeof ac_aggr.name)
20862 rm -f conftest.$ac_objext
20863 if { (ac_try="$ac_compile"
20864 case "(($ac_try" in
20865 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20866 *) ac_try_echo
=$ac_try;;
20868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20869 (eval "$ac_compile") 2>conftest.er1
20871 grep -v '^ *+' conftest.er1
>conftest.err
20873 cat conftest.err
>&5
20874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20875 (exit $ac_status); } && {
20876 test -z "$ac_c_werror_flag" ||
20877 test ! -s conftest.err
20878 } && test -s conftest.
$ac_objext; then
20879 ac_cv_member_struct_option_name
=yes
20881 echo "$as_me: failed program was:" >&5
20882 sed 's/^/| /' conftest.
$ac_ext >&5
20884 ac_cv_member_struct_option_name
=no
20887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20892 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20893 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20894 if test $ac_cv_member_struct_option_name = yes; then
20896 cat >>confdefs.h
<<_ACEOF
20897 #define HAVE_STRUCT_OPTION_NAME 1
20904 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20905 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20906 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20907 echo $ECHO_N "(cached) $ECHO_C" >&6
20909 cat >conftest.
$ac_ext <<_ACEOF
20912 cat confdefs.h
>>conftest.
$ac_ext
20913 cat >>conftest.
$ac_ext <<_ACEOF
20914 /* end confdefs.h. */
20915 $ac_includes_default
20919 static struct stat ac_aggr;
20920 if (ac_aggr.st_blocks)
20926 rm -f conftest.
$ac_objext
20927 if { (ac_try
="$ac_compile"
20928 case "(($ac_try" in
20929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20930 *) ac_try_echo=$ac_try;;
20932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20933 (eval "$ac_compile") 2>conftest.er1
20935 grep -v '^ *+' conftest.er1 >conftest.err
20937 cat conftest.err >&5
20938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20939 (exit $ac_status); } && {
20940 test -z "$ac_c_werror_flag" ||
20941 test ! -s conftest.err
20942 } && test -s conftest.$ac_objext; then
20943 ac_cv_member_struct_stat_st_blocks=yes
20945 echo "$as_me: failed program was:" >&5
20946 sed 's/^/| /' conftest.$ac_ext >&5
20948 cat >conftest.$ac_ext <<_ACEOF
20951 cat confdefs.h >>conftest.$ac_ext
20952 cat >>conftest.$ac_ext <<_ACEOF
20953 /* end confdefs.h. */
20954 $ac_includes_default
20958 static struct stat ac_aggr;
20959 if (sizeof ac_aggr.st_blocks)
20965 rm -f conftest.$ac_objext
20966 if { (ac_try="$ac_compile"
20967 case "(($ac_try" in
20968 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20969 *) ac_try_echo
=$ac_try;;
20971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20972 (eval "$ac_compile") 2>conftest.er1
20974 grep -v '^ *+' conftest.er1
>conftest.err
20976 cat conftest.err
>&5
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); } && {
20979 test -z "$ac_c_werror_flag" ||
20980 test ! -s conftest.err
20981 } && test -s conftest.
$ac_objext; then
20982 ac_cv_member_struct_stat_st_blocks
=yes
20984 echo "$as_me: failed program was:" >&5
20985 sed 's/^/| /' conftest.
$ac_ext >&5
20987 ac_cv_member_struct_stat_st_blocks
=no
20990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20995 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20996 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20997 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20999 cat >>confdefs.h
<<_ACEOF
21000 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
21007 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
21008 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
21009 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
21010 echo $ECHO_N "(cached) $ECHO_C" >&6
21012 cat >conftest.
$ac_ext <<_ACEOF
21015 cat confdefs.h
>>conftest.
$ac_ext
21016 cat >>conftest.
$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21018 #ifdef HAVE_SYS_TYPES_H
21019 #include <sys/types.h>
21021 #ifdef HAVE_NETINET_IN_H
21022 #include <netinet/in.h>
21028 static struct sockaddr_in6 ac_aggr;
21029 if (ac_aggr.sin6_scope_id)
21035 rm -f conftest.
$ac_objext
21036 if { (ac_try
="$ac_compile"
21037 case "(($ac_try" in
21038 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21039 *) ac_try_echo=$ac_try;;
21041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21042 (eval "$ac_compile") 2>conftest.er1
21044 grep -v '^ *+' conftest.er1 >conftest.err
21046 cat conftest.err >&5
21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048 (exit $ac_status); } && {
21049 test -z "$ac_c_werror_flag" ||
21050 test ! -s conftest.err
21051 } && test -s conftest.$ac_objext; then
21052 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21054 echo "$as_me: failed program was:" >&5
21055 sed 's/^/| /' conftest.$ac_ext >&5
21057 cat >conftest.$ac_ext <<_ACEOF
21060 cat confdefs.h >>conftest.$ac_ext
21061 cat >>conftest.$ac_ext <<_ACEOF
21062 /* end confdefs.h. */
21063 #ifdef HAVE_SYS_TYPES_H
21064 #include <sys/types.h>
21066 #ifdef HAVE_NETINET_IN_H
21067 #include <netinet/in.h>
21073 static struct sockaddr_in6 ac_aggr;
21074 if (sizeof ac_aggr.sin6_scope_id)
21080 rm -f conftest.$ac_objext
21081 if { (ac_try="$ac_compile"
21082 case "(($ac_try" in
21083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21084 *) ac_try_echo
=$ac_try;;
21086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21087 (eval "$ac_compile") 2>conftest.er1
21089 grep -v '^ *+' conftest.er1
>conftest.err
21091 cat conftest.err
>&5
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); } && {
21094 test -z "$ac_c_werror_flag" ||
21095 test ! -s conftest.err
21096 } && test -s conftest.
$ac_objext; then
21097 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
21099 echo "$as_me: failed program was:" >&5
21100 sed 's/^/| /' conftest.
$ac_ext >&5
21102 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
21105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21110 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
21111 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
21112 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
21114 cat >>confdefs.h
<<_ACEOF
21115 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
21122 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
21123 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
21124 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
21125 echo $ECHO_N "(cached) $ECHO_C" >&6
21127 cat >conftest.
$ac_ext <<_ACEOF
21130 cat confdefs.h
>>conftest.
$ac_ext
21131 cat >>conftest.
$ac_ext <<_ACEOF
21132 /* end confdefs.h. */
21133 #ifdef HAVE_SYS_TYPES_H
21134 #include <sys/types.h>
21136 #ifdef HAVE_NETINET_IN_H
21137 # include <netinet/in.h>
21139 #ifdef HAVE_ARPA_NAMESER_H
21140 # include <arpa/nameser.h>
21146 static ns_msg ac_aggr;
21147 if (ac_aggr._msg_ptr)
21153 rm -f conftest.
$ac_objext
21154 if { (ac_try
="$ac_compile"
21155 case "(($ac_try" in
21156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21157 *) ac_try_echo=$ac_try;;
21159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21160 (eval "$ac_compile") 2>conftest.er1
21162 grep -v '^ *+' conftest.er1 >conftest.err
21164 cat conftest.err >&5
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); } && {
21167 test -z "$ac_c_werror_flag" ||
21168 test ! -s conftest.err
21169 } && test -s conftest.$ac_objext; then
21170 ac_cv_member_ns_msg__msg_ptr=yes
21172 echo "$as_me: failed program was:" >&5
21173 sed 's/^/| /' conftest.$ac_ext >&5
21175 cat >conftest.$ac_ext <<_ACEOF
21178 cat confdefs.h >>conftest.$ac_ext
21179 cat >>conftest.$ac_ext <<_ACEOF
21180 /* end confdefs.h. */
21181 #ifdef HAVE_SYS_TYPES_H
21182 #include <sys/types.h>
21184 #ifdef HAVE_NETINET_IN_H
21185 # include <netinet/in.h>
21187 #ifdef HAVE_ARPA_NAMESER_H
21188 # include <arpa/nameser.h>
21194 static ns_msg ac_aggr;
21195 if (sizeof ac_aggr._msg_ptr)
21201 rm -f conftest.$ac_objext
21202 if { (ac_try="$ac_compile"
21203 case "(($ac_try" in
21204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21205 *) ac_try_echo
=$ac_try;;
21207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21208 (eval "$ac_compile") 2>conftest.er1
21210 grep -v '^ *+' conftest.er1
>conftest.err
21212 cat conftest.err
>&5
21213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214 (exit $ac_status); } && {
21215 test -z "$ac_c_werror_flag" ||
21216 test ! -s conftest.err
21217 } && test -s conftest.
$ac_objext; then
21218 ac_cv_member_ns_msg__msg_ptr
=yes
21220 echo "$as_me: failed program was:" >&5
21221 sed 's/^/| /' conftest.
$ac_ext >&5
21223 ac_cv_member_ns_msg__msg_ptr
=no
21226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21231 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21232 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21233 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21235 cat >>confdefs.h
<<_ACEOF
21236 #define HAVE_NS_MSG__MSG_PTR 1
21243 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21244 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21245 if test "${ac_cv_have_timezone+set}" = set; then
21246 echo $ECHO_N "(cached) $ECHO_C" >&6
21248 cat >conftest.
$ac_ext <<_ACEOF
21251 cat confdefs.h
>>conftest.
$ac_ext
21252 cat >>conftest.
$ac_ext <<_ACEOF
21253 /* end confdefs.h. */
21263 rm -f conftest.
$ac_objext conftest
$ac_exeext
21264 if { (ac_try
="$ac_link"
21265 case "(($ac_try" in
21266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21267 *) ac_try_echo=$ac_try;;
21269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21270 (eval "$ac_link") 2>conftest.er1
21272 grep -v '^ *+' conftest.er1 >conftest.err
21274 cat conftest.err >&5
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); } && {
21277 test -z "$ac_c_werror_flag" ||
21278 test ! -s conftest.err
21279 } && test -s conftest$ac_exeext &&
21280 $as_test_x conftest$ac_exeext; then
21281 ac_cv_have_timezone="yes"
21283 echo "$as_me: failed program was:" >&5
21284 sed 's/^/| /' conftest.$ac_ext >&5
21286 ac_cv_have_timezone="no"
21289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21290 conftest$ac_exeext conftest.$ac_ext
21292 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21293 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21294 if test "$ac_cv_have_timezone" = "yes"
21297 cat >>confdefs.h <<\_ACEOF
21298 #define HAVE_TIMEZONE 1
21302 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21303 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21304 if test "${ac_cv_have_daylight+set}" = set; then
21305 echo $ECHO_N "(cached) $ECHO_C" >&6
21307 cat >conftest.$ac_ext <<_ACEOF
21310 cat confdefs.h >>conftest.$ac_ext
21311 cat >>conftest.$ac_ext <<_ACEOF
21312 /* end confdefs.h. */
21322 rm -f conftest.$ac_objext conftest$ac_exeext
21323 if { (ac_try="$ac_link"
21324 case "(($ac_try" in
21325 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21326 *) ac_try_echo
=$ac_try;;
21328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21329 (eval "$ac_link") 2>conftest.er1
21331 grep -v '^ *+' conftest.er1
>conftest.err
21333 cat conftest.err
>&5
21334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21335 (exit $ac_status); } && {
21336 test -z "$ac_c_werror_flag" ||
21337 test ! -s conftest.err
21338 } && test -s conftest
$ac_exeext &&
21339 $as_test_x conftest
$ac_exeext; then
21340 ac_cv_have_daylight
="yes"
21342 echo "$as_me: failed program was:" >&5
21343 sed 's/^/| /' conftest.
$ac_ext >&5
21345 ac_cv_have_daylight
="no"
21348 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21349 conftest
$ac_exeext conftest.
$ac_ext
21351 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21352 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21353 if test "$ac_cv_have_daylight" = "yes"
21356 cat >>confdefs.h
<<\_ACEOF
21357 #define HAVE_DAYLIGHT 1
21362 { echo "$as_me:$LINENO: checking for isinf" >&5
21363 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21364 if test "${ac_cv_have_isinf+set}" = set; then
21365 echo $ECHO_N "(cached) $ECHO_C" >&6
21367 cat >conftest.
$ac_ext <<_ACEOF
21370 cat confdefs.h
>>conftest.
$ac_ext
21371 cat >>conftest.
$ac_ext <<_ACEOF
21372 /* end confdefs.h. */
21377 float f = 0.0; int i=isinf(f)
21382 rm -f conftest.
$ac_objext conftest
$ac_exeext
21383 if { (ac_try
="$ac_link"
21384 case "(($ac_try" in
21385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21386 *) ac_try_echo=$ac_try;;
21388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21389 (eval "$ac_link") 2>conftest.er1
21391 grep -v '^ *+' conftest.er1 >conftest.err
21393 cat conftest.err >&5
21394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395 (exit $ac_status); } && {
21396 test -z "$ac_c_werror_flag" ||
21397 test ! -s conftest.err
21398 } && test -s conftest$ac_exeext &&
21399 $as_test_x conftest$ac_exeext; then
21400 ac_cv_have_isinf="yes"
21402 echo "$as_me: failed program was:" >&5
21403 sed 's/^/| /' conftest.$ac_ext >&5
21405 ac_cv_have_isinf="no"
21408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21409 conftest$ac_exeext conftest.$ac_ext
21411 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21412 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21413 if test "$ac_cv_have_isinf" = "yes"
21416 cat >>confdefs.h <<\_ACEOF
21417 #define HAVE_ISINF 1
21424 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21425 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21426 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21427 echo $ECHO_N "(cached) $ECHO_C" >&6
21429 cat >conftest.$ac_ext <<_ACEOF
21432 cat confdefs.h >>conftest.$ac_ext
21433 cat >>conftest.$ac_ext <<_ACEOF
21434 /* end confdefs.h. */
21439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21440 $EGREP "yes" >/dev/null 2>&1; then
21441 ac_cv_cpp_def___i386__=yes
21443 ac_cv_cpp_def___i386__=no
21448 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21449 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21450 if test $ac_cv_cpp_def___i386__ = yes; then
21451 CFLAGS="$CFLAGS -D__i386__"
21452 LINTFLAGS="$LINTFLAGS -D__i386__"
21455 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21456 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21457 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21458 echo $ECHO_N "(cached) $ECHO_C" >&6
21460 cat >conftest.$ac_ext <<_ACEOF
21463 cat confdefs.h >>conftest.$ac_ext
21464 cat >>conftest.$ac_ext <<_ACEOF
21465 /* end confdefs.h. */
21470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21471 $EGREP "yes" >/dev/null 2>&1; then
21472 ac_cv_cpp_def___x86_64__=yes
21474 ac_cv_cpp_def___x86_64__=no
21479 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21480 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21481 if test $ac_cv_cpp_def___x86_64__ = yes; then
21482 CFLAGS="$CFLAGS -D__x86_64__"
21483 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21486 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21487 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21488 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21489 echo $ECHO_N "(cached) $ECHO_C" >&6
21491 cat >conftest.$ac_ext <<_ACEOF
21494 cat confdefs.h >>conftest.$ac_ext
21495 cat >>conftest.$ac_ext <<_ACEOF
21496 /* end confdefs.h. */
21501 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21502 $EGREP "yes" >/dev/null 2>&1; then
21503 ac_cv_cpp_def___ALPHA__=yes
21505 ac_cv_cpp_def___ALPHA__=no
21510 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21511 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21512 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21513 CFLAGS="$CFLAGS -D__ALPHA__"
21514 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21517 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21518 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21519 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21520 echo $ECHO_N "(cached) $ECHO_C" >&6
21522 cat >conftest.$ac_ext <<_ACEOF
21525 cat confdefs.h >>conftest.$ac_ext
21526 cat >>conftest.$ac_ext <<_ACEOF
21527 /* end confdefs.h. */
21532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21533 $EGREP "yes" >/dev/null 2>&1; then
21534 ac_cv_cpp_def___sparc__=yes
21536 ac_cv_cpp_def___sparc__=no
21541 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21542 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21543 if test $ac_cv_cpp_def___sparc__ = yes; then
21544 CFLAGS="$CFLAGS -D__sparc__"
21545 LINTFLAGS="$LINTFLAGS -D__sparc__"
21548 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21549 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21550 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21551 echo $ECHO_N "(cached) $ECHO_C" >&6
21553 cat >conftest.$ac_ext <<_ACEOF
21556 cat confdefs.h >>conftest.$ac_ext
21557 cat >>conftest.$ac_ext <<_ACEOF
21558 /* end confdefs.h. */
21559 #ifndef __powerpc__
21563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21564 $EGREP "yes" >/dev/null 2>&1; then
21565 ac_cv_cpp_def___powerpc__=yes
21567 ac_cv_cpp_def___powerpc__=no
21572 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21573 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21574 if test $ac_cv_cpp_def___powerpc__ = yes; then
21575 CFLAGS="$CFLAGS -D__powerpc__"
21576 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21581 case $host_vendor in
21582 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21583 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21584 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21585 echo $ECHO_N "(cached) $ECHO_C" >&6
21587 cat >conftest.$ac_ext <<_ACEOF
21590 cat confdefs.h >>conftest.$ac_ext
21591 cat >>conftest.$ac_ext <<_ACEOF
21592 /* end confdefs.h. */
21597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21598 $EGREP "yes" >/dev/null 2>&1; then
21599 ac_cv_cpp_def___sun__=yes
21601 ac_cv_cpp_def___sun__=no
21606 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21607 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21608 if test $ac_cv_cpp_def___sun__ = yes; then
21609 CFLAGS="$CFLAGS -D__sun__"
21610 LINTFLAGS="$LINTFLAGS -D__sun__"
21616 DEPENDENCIES="### Dependencies:
21621 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21623 \$(OBJS): \$(IDL_GEN_HEADERS)
21624 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21625 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21626 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21627 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21633 ac_config_commands="$ac_config_commands include/stamp-h"
21636 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21638 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21640 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21642 ac_config_commands="$ac_config_commands dlls/user32/resources"
21644 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21646 ac_config_commands="$ac_config_commands include/wine"
21649 MAKE_RULES=Make.rules
21652 MAKE_DLL_RULES=dlls/Makedll.rules
21655 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21658 MAKE_TEST_RULES=dlls/Maketest.rules
21661 MAKE_PROG_RULES=programs/Makeprog.rules
21664 ac_config_files="$ac_config_files Make.rules"
21666 ac_config_files="$ac_config_files dlls/Makedll.rules"
21668 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21670 ac_config_files="$ac_config_files dlls/Maketest.rules"
21672 ac_config_files="$ac_config_files programs/Makeprog.rules"
21674 ac_config_files="$ac_config_files Makefile"
21676 ac_config_files="$ac_config_files dlls/Makefile"
21678 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21680 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21682 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21684 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21686 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21688 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21690 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21692 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21694 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21696 ac_config_files="$ac_config_files dlls/atl/Makefile"
21698 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21700 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21702 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21704 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21706 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21708 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21710 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21712 ac_config_files="$ac_config_files dlls/cards/Makefile"
21714 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21716 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21718 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21720 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21722 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21724 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21726 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21728 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21730 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21732 ac_config_files="$ac_config_files dlls/credui/Makefile"
21734 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21736 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21738 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21740 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21742 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21744 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21746 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21748 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21750 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21752 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21754 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21756 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21758 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21760 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21762 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21764 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21766 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21768 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21770 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21772 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21774 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21776 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21778 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21780 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21782 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21784 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21786 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21788 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21790 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21792 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21794 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21796 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21798 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21800 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21802 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21804 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21806 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21808 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21810 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21812 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21814 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21816 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21818 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21820 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21822 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21824 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21826 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21828 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21830 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21832 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21834 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21836 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21838 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21840 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21842 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21844 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21846 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21848 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21850 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21852 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21854 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21856 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21858 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21860 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21862 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21864 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21866 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21868 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21870 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21872 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21874 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21876 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21878 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21880 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21882 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21884 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
21886 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21888 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21890 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21892 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21894 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21896 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21898 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21900 ac_config_files="$ac_config_files dlls/hal/Makefile"
21902 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21904 ac_config_files="$ac_config_files dlls/hid/Makefile"
21906 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21908 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21910 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21912 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21914 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21916 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21918 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21920 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21922 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21924 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21926 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21928 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21930 ac_config_files="$ac_config_files dlls/inetmib1/Makefile"
21932 ac_config_files="$ac_config_files dlls/inetmib1/tests/Makefile"
21934 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21936 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21938 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21940 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21942 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21944 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21946 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21948 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21950 ac_config_files="$ac_config_files dlls/itss/Makefile"
21952 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21954 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21956 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
21958 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21960 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21962 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21964 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21966 ac_config_files="$ac_config_files dlls/localui/Makefile"
21968 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21970 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21972 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21974 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21976 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21978 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21980 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21982 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21984 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21986 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21988 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21990 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21992 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21994 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21996 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21998 ac_config_files="$ac_config_files dlls/mpr/Makefile"
22000 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
22002 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
22004 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
22006 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
22008 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
22010 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
22012 ac_config_files="$ac_config_files dlls/mscms/Makefile"
22014 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
22016 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
22018 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
22020 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
22022 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
22024 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
22026 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
22028 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
22030 ac_config_files="$ac_config_files dlls/msi/Makefile"
22032 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
22034 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
22036 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
22038 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
22040 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
22042 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
22044 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
22046 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
22048 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
22050 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
22052 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
22054 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
22056 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
22058 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
22060 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
22062 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
22064 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
22066 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
22068 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
22070 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
22072 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
22074 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
22076 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
22078 ac_config_files="$ac_config_files dlls/newdev/Makefile"
22080 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
22082 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
22084 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
22086 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
22088 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
22090 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
22092 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
22094 ac_config_files="$ac_config_files dlls/objsel/Makefile"
22096 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
22098 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
22100 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
22102 ac_config_files="$ac_config_files dlls/ole32/Makefile"
22104 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
22106 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
22108 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
22110 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
22112 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
22114 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
22116 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
22118 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
22120 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
22122 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
22124 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
22126 ac_config_files="$ac_config_files dlls/pdh/Makefile"
22128 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
22130 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
22132 ac_config_files="$ac_config_files dlls/printui/Makefile"
22134 ac_config_files="$ac_config_files dlls/propsys/Makefile"
22136 ac_config_files="$ac_config_files dlls/psapi/Makefile"
22138 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
22140 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
22142 ac_config_files="$ac_config_files dlls/qcap/Makefile"
22144 ac_config_files="$ac_config_files dlls/qedit/Makefile"
22146 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
22148 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
22150 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
22152 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
22154 ac_config_files="$ac_config_files dlls/quartz/Makefile"
22156 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
22158 ac_config_files="$ac_config_files dlls/query/Makefile"
22160 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
22162 ac_config_files="$ac_config_files dlls/resutils/Makefile"
22164 ac_config_files="$ac_config_files dlls/riched20/Makefile"
22166 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
22168 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22170 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22172 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22174 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22176 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22178 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22180 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22182 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22184 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22186 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22188 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22190 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22192 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22194 ac_config_files="$ac_config_files dlls/security/Makefile"
22196 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22198 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22200 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22202 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22204 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22206 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22208 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22210 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22212 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22214 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22216 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22218 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22220 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22222 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22224 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22226 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22228 ac_config_files="$ac_config_files dlls/slc/Makefile"
22230 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22232 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22234 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22236 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22238 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22240 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22242 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22244 ac_config_files="$ac_config_files dlls/sti/Makefile"
22246 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22248 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22250 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22252 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22254 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22256 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22258 ac_config_files="$ac_config_files dlls/url/Makefile"
22260 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22262 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22264 ac_config_files="$ac_config_files dlls/user32/Makefile"
22266 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22268 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22270 ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
22272 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22274 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22276 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22278 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22280 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22282 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22284 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22286 ac_config_files="$ac_config_files dlls/version/Makefile"
22288 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22290 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22292 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22294 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22296 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22298 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22300 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22302 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22304 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22306 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22308 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22310 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22312 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22314 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22316 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22318 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22320 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22322 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22324 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22326 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22328 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22330 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22332 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22334 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22336 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22338 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22340 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22342 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22344 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22346 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22348 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22350 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22352 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22354 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22356 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22358 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22360 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22362 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22364 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22366 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22368 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22370 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22372 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22374 ac_config_files="$ac_config_files documentation/Makefile"
22376 ac_config_files="$ac_config_files fonts/Makefile"
22378 ac_config_files="$ac_config_files include/Makefile"
22380 ac_config_files="$ac_config_files libs/Makefile"
22382 ac_config_files="$ac_config_files libs/port/Makefile"
22384 ac_config_files="$ac_config_files libs/wine/Makefile"
22386 ac_config_files="$ac_config_files libs/wpp/Makefile"
22388 ac_config_files="$ac_config_files loader/Makefile"
22390 ac_config_files="$ac_config_files programs/Makefile"
22392 ac_config_files="$ac_config_files programs/clock/Makefile"
22394 ac_config_files="$ac_config_files programs/cmd/Makefile"
22396 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22398 ac_config_files="$ac_config_files programs/control/Makefile"
22400 ac_config_files="$ac_config_files programs/eject/Makefile"
22402 ac_config_files="$ac_config_files programs/expand/Makefile"
22404 ac_config_files="$ac_config_files programs/explorer/Makefile"
22406 ac_config_files="$ac_config_files programs/hh/Makefile"
22408 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22410 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22412 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22414 ac_config_files="$ac_config_files programs/net/Makefile"
22416 ac_config_files="$ac_config_files programs/notepad/Makefile"
22418 ac_config_files="$ac_config_files programs/oleview/Makefile"
22420 ac_config_files="$ac_config_files programs/progman/Makefile"
22422 ac_config_files="$ac_config_files programs/reg/Makefile"
22424 ac_config_files="$ac_config_files programs/regedit/Makefile"
22426 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22428 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22430 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22432 ac_config_files="$ac_config_files programs/secedit/Makefile"
22434 ac_config_files="$ac_config_files programs/services/Makefile"
22436 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22438 ac_config_files="$ac_config_files programs/start/Makefile"
22440 ac_config_files="$ac_config_files programs/svchost/Makefile"
22442 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22444 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22446 ac_config_files="$ac_config_files programs/view/Makefile"
22448 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22450 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22452 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22454 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22456 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22458 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22460 ac_config_files="$ac_config_files programs/winefile/Makefile"
22462 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22464 ac_config_files="$ac_config_files programs/winemine/Makefile"
22466 ac_config_files="$ac_config_files programs/winepath/Makefile"
22468 ac_config_files="$ac_config_files programs/winetest/Makefile"
22470 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22472 ac_config_files="$ac_config_files programs/winhlp32/Makefile"
22474 ac_config_files="$ac_config_files programs/winver/Makefile"
22476 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22478 ac_config_files="$ac_config_files programs/write/Makefile"
22480 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22482 ac_config_files="$ac_config_files server/Makefile"
22484 ac_config_files="$ac_config_files tools/Makefile"
22486 ac_config_files="$ac_config_files tools/widl/Makefile"
22488 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22490 ac_config_files="$ac_config_files tools/winedump/Makefile"
22492 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22494 ac_config_files="$ac_config_files tools/wmc/Makefile"
22496 ac_config_files="$ac_config_files tools/wrc/Makefile"
22499 cat >confcache <<\_ACEOF
22500 # This file is a shell script that caches the results of configure
22501 # tests run on this system so they can be shared between configure
22502 # scripts and configure runs, see configure's option --config-cache.
22503 # It is not useful on other systems. If it contains results you don't
22504 # want to keep, you may remove or edit it.
22506 # config.status only pays attention to the cache file if you give it
22507 # the --recheck option to rerun configure.
22509 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
22510 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22511 # following values.
22515 # The following way of writing the cache mishandles newlines in values,
22516 # but we know of no workaround that is simple, portable, and efficient.
22517 # So, we kill variables containing newlines.
22518 # Ultrix sh set writes to stderr and can't be redirected directly,
22519 # and sets the high bit in the cache file unless we assign to the vars.
22521 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22522 eval ac_val
=\$
$ac_var
22526 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22527 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22530 _ | IFS | as_nl
) ;; #(
22531 *) $as_unset $ac_var ;;
22537 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22538 *${as_nl}ac_space
=\
*)
22539 # `set' does not quote correctly, so add quotes (double-quote
22540 # substitution turns \\\\ into \\, and sed turns \\ into \).
22543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22546 # `set' quotes correctly as required by POSIX, so do not add quotes.
22547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22556 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22558 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22560 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22561 if test -w "$cache_file"; then
22562 test "x$cache_file" != "x/dev/null" &&
22563 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22564 echo "$as_me: updating cache $cache_file" >&6;}
22565 cat confcache
>$cache_file
22567 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22568 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22573 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22574 # Let make expand exec_prefix.
22575 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22577 DEFS
=-DHAVE_CONFIG_H
22581 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22582 # 1. Remove the extension, and $U if already installed.
22583 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22584 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22585 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22586 # will be set to the directory where LIBOBJS objects are built.
22587 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22588 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22590 LIBOBJS
=$ac_libobjs
22592 LTLIBOBJS
=$ac_ltlibobjs
22596 : ${CONFIG_STATUS=./config.status}
22597 ac_clean_files_save
=$ac_clean_files
22598 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22599 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22600 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22601 cat >$CONFIG_STATUS <<_ACEOF
22603 # Generated by $as_me.
22604 # Run this file to recreate the current configuration.
22605 # Compiler output produced by configure, useful for debugging
22606 # configure, is in config.log if it exists.
22609 ac_cs_recheck=false
22611 SHELL=\${CONFIG_SHELL-$SHELL}
22614 cat >>$CONFIG_STATUS <<\_ACEOF
22615 ## --------------------- ##
22616 ## M4sh Initialization. ##
22617 ## --------------------- ##
22619 # Be more Bourne compatible
22620 DUALCASE
=1; export DUALCASE
# for MKS sh
22621 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22624 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22625 # is contrary to our usage. Disable this feature.
22626 alias -g '${1+"$@"}'='"$@"'
22627 setopt NO_GLOB_SUBST
22629 case `(set -o) 2>/dev/null` in
22630 *posix
*) set -o posix
;;
22639 # Avoid depending upon Character Ranges.
22640 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22641 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22642 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22643 as_cr_digits
='0123456789'
22644 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22646 # The user is always right.
22647 if test "${PATH_SEPARATOR+set}" != set; then
22648 echo "#! /bin/sh" >conf$$.sh
22649 echo "exit 0" >>conf$$.sh
22651 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22659 # Support unset when possible.
22660 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22668 # We need space, tab and new line, in precisely that order. Quoting is
22669 # there to prevent editors from complaining about space-tab.
22670 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22671 # splitting by setting IFS to empty value.)
22676 # Find who we are. Look in the path if we contain no directory separator.
22678 *[\\/]* ) as_myself
=$0 ;;
22679 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22680 for as_dir
in $PATH
22683 test -z "$as_dir" && as_dir
=.
22684 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22690 # We did not find ourselves, most probably we were run as `sh COMMAND'
22691 # in which case we are not to be found in the path.
22692 if test "x$as_myself" = x
; then
22695 if test ! -f "$as_myself"; then
22696 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22697 { (exit 1); exit 1; }
22700 # Work around bugs in pre-3.0 UWIN ksh.
22701 for as_var
in ENV MAIL MAILPATH
22702 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22710 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22711 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22712 LC_TELEPHONE LC_TIME
22714 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22715 eval $as_var=C
; export $as_var
22717 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22721 # Required to use basename.
22722 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22723 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22729 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22730 as_basename
=basename
22736 # Name of the executable.
22737 as_me
=`$as_basename -- "$0" ||
22738 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22739 X"$0" : 'X\(//\)$' \| \
22740 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22742 sed '/^.*\/\([^/][^/]*\)\/*$/{
22761 as_lineno_1
=$LINENO
22762 as_lineno_2
=$LINENO
22763 test "x$as_lineno_1" != "x$as_lineno_2" &&
22764 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22766 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22767 # uniformly replaced by the line number. The first 'sed' inserts a
22768 # line-number line after each line using $LINENO; the second 'sed'
22769 # does the real work. The second script uses 'N' to pair each
22770 # line-number line with the line containing $LINENO, and appends
22771 # trailing '-' during substitution so that $LINENO is not a special
22772 # case at line end.
22773 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22774 # scripts with optimization help from Paolo Bonzini. Blame Lee
22775 # E. McMahon (1931-1989) for sed's syntax. :-)
22787 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22790 ' >$as_me.lineno
&&
22791 chmod +x
"$as_me.lineno" ||
22792 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22793 { (exit 1); exit 1; }; }
22795 # Don't try to exec as it changes $[0], causing all sort of problems
22796 # (the dirname of $[0] is not the place where we might find the
22797 # original and so on. Autoconf is especially sensitive to this).
22798 .
"./$as_me.lineno"
22799 # Exit status is that of the last command.
22804 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22810 ECHO_C
= ECHO_N
= ECHO_T
=
22811 case `echo -n x` in
22813 case `echo 'x\c'` in
22814 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22821 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22822 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22828 rm -f conf$$ conf$$.exe conf$$.
file
22829 if test -d conf$$.dir
; then
22830 rm -f conf$$.dir
/conf$$.
file
22836 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22838 # ... but there are two gotchas:
22839 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22840 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22841 # In both cases, we have to default to `cp -p'.
22842 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22844 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22849 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22850 rmdir conf$$.dir
2>/dev
/null
22852 if mkdir
-p .
2>/dev
/null
; then
22855 test -d .
/-p && rmdir .
/-p
22859 if test -x / >/dev
/null
2>&1; then
22860 as_test_x
='test -x'
22862 if ls -dL / >/dev
/null
2>&1; then
22869 if test -d "$1"; then
22875 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22876 ???[sx]*):;;*)false;;esac;fi
22880 as_executable_p
=$as_test_x
22882 # Sed expression to map a string onto a valid CPP name.
22883 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22885 # Sed expression to map a string onto a valid variable name.
22886 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22891 # Save the log message, to keep $[0] and so on meaningful, and to
22892 # report actual input values of CONFIG_FILES etc. instead of their
22893 # values after options handling.
22895 This file was extended by Wine $as_me 1.0, which was
22896 generated by GNU Autoconf 2.61. Invocation command line was
22898 CONFIG_FILES = $CONFIG_FILES
22899 CONFIG_HEADERS = $CONFIG_HEADERS
22900 CONFIG_LINKS = $CONFIG_LINKS
22901 CONFIG_COMMANDS = $CONFIG_COMMANDS
22904 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22909 cat >>$CONFIG_STATUS <<_ACEOF
22910 # Files that config.status was made for.
22911 config_files="$ac_config_files"
22912 config_headers="$ac_config_headers"
22913 config_commands="$ac_config_commands"
22917 cat >>$CONFIG_STATUS <<\_ACEOF
22919 \`$as_me' instantiates files from templates according to the
22920 current configuration.
22922 Usage: $0 [OPTIONS] [FILE]...
22924 -h, --help print this help, then exit
22925 -V, --version print version number and configuration settings, then exit
22926 -q, --quiet do not print progress messages
22927 -d, --debug don't remove temporary files
22928 --recheck update $as_me by reconfiguring in the same conditions
22929 --file=FILE[:TEMPLATE]
22930 instantiate the configuration file FILE
22931 --header=FILE[:TEMPLATE]
22932 instantiate the configuration header FILE
22934 Configuration files:
22937 Configuration headers:
22940 Configuration commands:
22943 Report bugs to <bug-autoconf@gnu.org>."
22946 cat >>$CONFIG_STATUS <<_ACEOF
22948 Wine config.status 1.0
22949 configured by $0, generated by GNU Autoconf 2.61,
22950 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22952 Copyright (C) 2006 Free Software Foundation, Inc.
22953 This config.status script is free software; the Free Software Foundation
22954 gives unlimited permission to copy, distribute and modify it."
22961 cat >>$CONFIG_STATUS <<\_ACEOF
22962 # If no file are specified by the user, then we need to provide default
22963 # value. By we need to know if files were specified by the user.
22969 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22970 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22981 # Handling of the options.
22982 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22984 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22985 echo "$ac_cs_version"; exit ;;
22986 --debug |
--debu |
--deb |
--de |
--d |
-d )
22988 --file |
--fil |
--fi |
--f )
22990 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22991 ac_need_defaults
=false
;;
22992 --header |
--heade |
--head |
--hea )
22994 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22995 ac_need_defaults
=false
;;
22997 # Conflict between --help and --header
22998 { echo "$as_me: error: ambiguous option: $1
22999 Try \`$0 --help' for more information." >&2
23000 { (exit 1); exit 1; }; };;
23001 --help |
--hel |
-h )
23002 echo "$ac_cs_usage"; exit ;;
23003 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23004 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23007 # This is an error.
23008 -*) { echo "$as_me: error: unrecognized option: $1
23009 Try \`$0 --help' for more information." >&2
23010 { (exit 1); exit 1; }; } ;;
23012 *) ac_config_targets
="$ac_config_targets $1"
23013 ac_need_defaults
=false
;;
23019 ac_configure_extra_args
=
23021 if $ac_cs_silent; then
23023 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23027 cat >>$CONFIG_STATUS <<_ACEOF
23028 if \$ac_cs_recheck; then
23029 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23030 CONFIG_SHELL=$SHELL
23031 export CONFIG_SHELL
23032 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23036 cat >>$CONFIG_STATUS <<\_ACEOF
23040 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23041 ## Running $as_me. ##
23047 cat >>$CONFIG_STATUS <<_ACEOF
23050 cat >>$CONFIG_STATUS <<\_ACEOF
23052 # Handling of arguments.
23053 for ac_config_target
in $ac_config_targets
23055 case $ac_config_target in
23056 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23057 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
23058 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
23059 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
23060 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
23061 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
23062 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
23063 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
23064 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
23065 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
23066 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
23067 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
23068 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
23069 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23070 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
23071 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
23072 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
23073 "dlls/actxprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
23074 "dlls/adsiid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/adsiid/Makefile" ;;
23075 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
23076 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
23077 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
23078 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
23079 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
23080 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
23081 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
23082 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
23083 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
23084 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
23085 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
23086 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
23087 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
23088 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
23089 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
23090 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
23091 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
23092 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
23093 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
23094 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
23095 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
23096 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
23097 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
23098 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
23099 "dlls/credui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
23100 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
23101 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
23102 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
23103 "dlls/cryptdlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
23104 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
23105 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
23106 "dlls/cryptnet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
23107 "dlls/cryptui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptui/Makefile" ;;
23108 "dlls/ctapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
23109 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
23110 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
23111 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
23112 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
23113 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
23114 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
23115 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
23116 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
23117 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
23118 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
23119 "dlls/d3dx8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
23120 "dlls/d3dx9_24/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
23121 "dlls/d3dx9_25/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
23122 "dlls/d3dx9_26/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
23123 "dlls/d3dx9_27/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
23124 "dlls/d3dx9_28/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
23125 "dlls/d3dx9_29/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
23126 "dlls/d3dx9_30/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
23127 "dlls/d3dx9_31/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
23128 "dlls/d3dx9_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
23129 "dlls/d3dx9_33/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
23130 "dlls/d3dx9_34/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
23131 "dlls/d3dx9_35/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
23132 "dlls/d3dx9_36/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
23133 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
23134 "dlls/d3dx9_37/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
23135 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
23136 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
23137 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
23138 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
23139 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
23140 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
23141 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
23142 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
23143 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
23144 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
23145 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
23146 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
23147 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
23148 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
23149 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
23150 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23151 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23152 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23153 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23154 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23155 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23156 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
23157 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23158 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23159 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23160 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23161 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23162 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23163 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
23164 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23165 "dlls/dssenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23166 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
23167 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23168 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23169 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23170 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23171 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23172 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23173 "dlls/fusion/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/fusion/Makefile" ;;
23174 "dlls/fusion/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23175 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23176 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23177 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23178 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23179 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
23180 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23181 "dlls/gpkcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23182 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
23183 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23184 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
23185 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
23186 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23187 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23188 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23189 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
23190 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23191 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23192 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23193 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
23194 "dlls/imm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23195 "dlls/inetcomm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23196 "dlls/inetcomm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23197 "dlls/inetmib1/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetmib1/Makefile" ;;
23198 "dlls/inetmib1/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetmib1/tests/Makefile" ;;
23199 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23200 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23201 "dlls/initpki/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/initpki/Makefile" ;;
23202 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23203 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
23204 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23205 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23206 "dlls/itircl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itircl/Makefile" ;;
23207 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
23208 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23209 "dlls/jscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/jscript/Makefile" ;;
23210 "dlls/jscript/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23211 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23212 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23213 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
23214 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23215 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
23216 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23217 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
23218 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23219 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23220 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23221 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23222 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23223 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23224 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23225 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
23226 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
23227 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23228 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23229 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23230 "dlls/mountmgr.sys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23231 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
23232 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23233 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23234 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23235 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23236 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23237 "dlls/mscat32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23238 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
23239 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23240 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23241 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23242 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23243 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23244 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23245 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23246 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23247 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
23248 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23249 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23250 "dlls/msimtf/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23251 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23252 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23253 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23254 "dlls/mssip32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23255 "dlls/msvcirt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23256 "dlls/msvcr71/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23257 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23258 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23259 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23260 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23261 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23262 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23263 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23264 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23265 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23266 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23267 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23268 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23269 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23270 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23271 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
23272 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23273 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23274 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23275 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23276 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23277 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23278 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23279 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
23280 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23281 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23282 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23283 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
23284 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23285 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23286 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23287 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23288 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23289 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23290 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23291 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23292 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23293 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23294 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23295 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
23296 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23297 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23298 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
23299 "dlls/propsys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/propsys/Makefile" ;;
23300 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
23301 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23302 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23303 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
23304 "dlls/qedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/Makefile" ;;
23305 "dlls/qedit/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23306 "dlls/qmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23307 "dlls/qmgr/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23308 "dlls/qmgrprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23309 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
23310 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23311 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
23312 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23313 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
23314 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
23315 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23316 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
23317 "dlls/riched32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23318 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23319 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23320 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23321 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23322 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23323 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23324 "dlls/sccbase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23325 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
23326 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23327 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
23328 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23329 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
23330 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23331 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
23332 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23333 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23334 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23335 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
23336 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23337 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23338 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23339 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23340 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
23341 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23342 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23343 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23344 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23345 "dlls/slbcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23346 "dlls/slc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slc/Makefile" ;;
23347 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23348 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23349 "dlls/softpub/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/softpub/Makefile" ;;
23350 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23351 "dlls/spoolss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23352 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23353 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23354 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
23355 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23356 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23357 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
23358 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23359 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23360 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
23361 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
23362 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23363 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23364 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
23365 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23366 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
23367 "dlls/userenv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23368 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
23369 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23370 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
23371 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23372 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23373 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23374 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23375 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
23376 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23377 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23378 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23379 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23380 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23381 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23382 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23383 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23384 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23385 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23386 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23387 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23388 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
23389 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23390 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23391 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23392 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23393 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23394 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23395 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23396 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23397 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23398 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
23399 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23400 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
23401 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23402 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
23403 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23404 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23405 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
23406 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23407 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23408 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23409 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23410 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23411 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23412 "dlls/wmi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wmi/Makefile" ;;
23413 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23414 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
23415 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23416 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23417 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23418 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23419 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
23420 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
23421 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
23422 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
23423 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
23424 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
23425 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
23426 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
23427 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
23428 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
23429 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
23430 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23431 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
23432 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
23433 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
23434 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
23435 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
23436 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
23437 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
23438 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
23439 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
23440 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
23441 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
23442 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
23443 "programs/reg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/reg/Makefile" ;;
23444 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
23445 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23446 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
23447 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
23448 "programs/secedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/secedit/Makefile" ;;
23449 "programs/services/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/services/Makefile" ;;
23450 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23451 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
23452 "programs/svchost/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/svchost/Makefile" ;;
23453 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23454 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23455 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
23456 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
23457 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23458 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
23459 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23460 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
23461 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
23462 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
23463 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23464 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
23465 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
23466 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
23467 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
23468 "programs/winhlp32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhlp32/Makefile" ;;
23469 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
23470 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
23471 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
23472 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
23473 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
23474 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
23475 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
23476 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
23477 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
23478 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
23479 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
23480 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
23482 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23483 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23484 { (exit 1); exit 1; }; };;
23489 # If the user did not use the arguments to specify the items to instantiate,
23490 # then the envvar interface is used. Set only those that are not.
23491 # We use the long form for the default assignment because of an extremely
23492 # bizarre bug on SunOS 4.1.3.
23493 if $ac_need_defaults; then
23494 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23495 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23496 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23499 # Have a temporary directory for convenience. Make it in the build tree
23500 # simply because there is no reason against having it here, and in addition,
23501 # creating and moving files from /tmp can sometimes cause problems.
23502 # Hook for its removal unless debugging.
23503 # Note that there is a small window in which the directory will not be cleaned:
23504 # after its creation but before its name has been assigned to `$tmp'.
23508 trap 'exit_status=$?
23509 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23511 trap '{ (exit 1); exit 1; }' 1 2 13 15
23513 # Create a (secure) tmp directory for tmp files.
23516 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23517 test -n "$tmp" && test -d "$tmp"
23520 tmp
=.
/conf$$
-$RANDOM
23521 (umask 077 && mkdir
"$tmp")
23524 echo "$me: cannot create a temporary directory in ." >&2
23525 { (exit 1); exit 1; }
23529 # Set up the sed scripts for CONFIG_FILES section.
23532 # No need to generate the scripts if there are no CONFIG_FILES.
23533 # This happens for instance when ./config.status config.h
23534 if test -n "$CONFIG_FILES"; then
23538 # Create sed commands to just substitute file output variables.
23540 # Remaining file output variables are in a fragment that also has non-file
23546 for ac_last_try
in false false false false false
:; do
23547 cat >conf$
$subs.
sed <<_ACEOF
23548 SHELL!$SHELL$ac_delim
23549 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23550 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23551 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23552 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23553 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23554 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23555 exec_prefix!$exec_prefix$ac_delim
23556 prefix!$prefix$ac_delim
23557 program_transform_name!$program_transform_name$ac_delim
23558 bindir!$bindir$ac_delim
23559 sbindir!$sbindir$ac_delim
23560 libexecdir!$libexecdir$ac_delim
23561 datarootdir!$datarootdir$ac_delim
23562 datadir!$datadir$ac_delim
23563 sysconfdir!$sysconfdir$ac_delim
23564 sharedstatedir!$sharedstatedir$ac_delim
23565 localstatedir!$localstatedir$ac_delim
23566 includedir!$includedir$ac_delim
23567 oldincludedir!$oldincludedir$ac_delim
23568 docdir!$docdir$ac_delim
23569 infodir!$infodir$ac_delim
23570 htmldir!$htmldir$ac_delim
23571 dvidir!$dvidir$ac_delim
23572 pdfdir!$pdfdir$ac_delim
23573 psdir!$psdir$ac_delim
23574 libdir!$libdir$ac_delim
23575 localedir!$localedir$ac_delim
23576 mandir!$mandir$ac_delim
23577 DEFS!$DEFS$ac_delim
23578 ECHO_C!$ECHO_C$ac_delim
23579 ECHO_N!$ECHO_N$ac_delim
23580 ECHO_T!$ECHO_T$ac_delim
23581 LIBS!$LIBS$ac_delim
23582 build_alias!$build_alias$ac_delim
23583 host_alias!$host_alias$ac_delim
23584 target_alias!$target_alias$ac_delim
23585 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23586 build!$build$ac_delim
23587 build_cpu!$build_cpu$ac_delim
23588 build_vendor!$build_vendor$ac_delim
23589 build_os!$build_os$ac_delim
23590 host!$host$ac_delim
23591 host_cpu!$host_cpu$ac_delim
23592 host_vendor!$host_vendor$ac_delim
23593 host_os!$host_os$ac_delim
23594 WIN16_FILES!$WIN16_FILES$ac_delim
23595 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23596 SET_MAKE!$SET_MAKE$ac_delim
23598 CFLAGS!$CFLAGS$ac_delim
23599 LDFLAGS!$LDFLAGS$ac_delim
23600 CPPFLAGS!$CPPFLAGS$ac_delim
23601 ac_ct_CC!$ac_ct_CC$ac_delim
23602 EXEEXT!$EXEEXT$ac_delim
23603 OBJEXT!$OBJEXT$ac_delim
23605 CXXFLAGS!$CXXFLAGS$ac_delim
23606 ac_ct_CXX!$ac_ct_CXX$ac_delim
23607 CPPBIN!$CPPBIN$ac_delim
23608 TOOLSDIR!$TOOLSDIR$ac_delim
23609 XMKMF!$XMKMF$ac_delim
23611 X_CFLAGS!$X_CFLAGS$ac_delim
23612 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23613 X_LIBS!$X_LIBS$ac_delim
23614 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23615 FLEX!$FLEX$ac_delim
23616 BISON!$BISON$ac_delim
23618 ac_ct_AS!$ac_ct_AS$ac_delim
23620 ac_ct_LD!$ac_ct_LD$ac_delim
23622 ac_ct_NM!$ac_ct_NM$ac_delim
23624 ac_ct_AR!$ac_ct_AR$ac_delim
23625 ARFLAGS!$ARFLAGS$ac_delim
23626 RANLIB!$RANLIB$ac_delim
23627 STRIP!$STRIP$ac_delim
23628 WINDRES!$WINDRES$ac_delim
23629 LN_S!$LN_S$ac_delim
23632 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23634 elif $ac_last_try; then
23635 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23636 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23637 { (exit 1); exit 1; }; }
23639 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23643 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23644 if test -n "$ac_eof"; then
23645 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23646 ac_eof
=`expr $ac_eof + 1`
23649 cat >>$CONFIG_STATUS <<_ACEOF
23650 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23651 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23652 /^[ ]*@MAKE_RULES@[ ]*$/{
23656 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23660 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23661 r $MAKE_IMPLIB_RULES
23664 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23668 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23674 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23675 s/^/s,@/; s/!/@,|#_!!_#|/
23678 s/'"$ac_delim"'$/,g/; t
23680 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23681 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23682 rm -f conf$
$subs.
sed
23683 cat >>$CONFIG_STATUS <<_ACEOF
23689 for ac_last_try
in false false false false false
:; do
23690 cat >conf$
$subs.
sed <<_ACEOF
23692 GREP!$GREP$ac_delim
23693 EGREP!$EGREP$ac_delim
23694 LDCONFIG!$LDCONFIG$ac_delim
23695 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23696 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23697 INSTALL_DATA!$INSTALL_DATA$ac_delim
23698 LINT!$LINT$ac_delim
23699 LINTFLAGS!$LINTFLAGS$ac_delim
23700 FONTFORGE!$FONTFORGE$ac_delim
23701 PKG_CONFIG!$PKG_CONFIG$ac_delim
23702 RSVG!$RSVG$ac_delim
23703 ICOTOOL!$ICOTOOL$ac_delim
23704 PRELINK!$PRELINK$ac_delim
23705 LIBPTHREAD!$LIBPTHREAD$ac_delim
23706 XLIB!$XLIB$ac_delim
23707 XFILES!$XFILES$ac_delim
23708 OPENGLFILES!$OPENGLFILES$ac_delim
23709 GLU32FILES!$GLU32FILES$ac_delim
23710 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23711 QUARTZFILES!$QUARTZFILES$ac_delim
23712 DLLEXT!$DLLEXT$ac_delim
23713 DLLFLAGS!$DLLFLAGS$ac_delim
23714 LDSHARED!$LDSHARED$ac_delim
23715 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23716 LIBEXT!$LIBEXT$ac_delim
23717 IMPLIBEXT!$IMPLIBEXT$ac_delim
23718 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23719 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23721 DLLTOOL!$DLLTOOL$ac_delim
23722 DLLWRAP!$DLLWRAP$ac_delim
23723 MINGWAR!$MINGWAR$ac_delim
23724 SECURITYLIB!$SECURITYLIB$ac_delim
23725 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23726 IOKITLIB!$IOKITLIB$ac_delim
23727 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23728 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23729 COREAUDIO!$COREAUDIO$ac_delim
23730 CARBONLIB!$CARBONLIB$ac_delim
23731 CROSSTEST!$CROSSTEST$ac_delim
23732 CROSSCC!$CROSSCC$ac_delim
23733 CROSSWINDRES!$CROSSWINDRES$ac_delim
23734 NASLIBS!$NASLIBS$ac_delim
23735 XML2LIBS!$XML2LIBS$ac_delim
23736 XML2INCL!$XML2INCL$ac_delim
23737 XSLTLIBS!$XSLTLIBS$ac_delim
23738 XSLTINCL!$XSLTINCL$ac_delim
23739 HALINCL!$HALINCL$ac_delim
23740 sane_devel!$sane_devel$ac_delim
23741 SANEINCL!$SANEINCL$ac_delim
23742 gphoto2_devel!$gphoto2_devel$ac_delim
23743 gphoto2port_devel!$gphoto2port_devel$ac_delim
23744 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23745 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23746 RESOLVLIBS!$RESOLVLIBS$ac_delim
23747 LCMSLIBS!$LCMSLIBS$ac_delim
23748 LDAPLIBS!$LDAPLIBS$ac_delim
23749 ft_devel!$ft_devel$ac_delim
23750 FREETYPELIBS!$FREETYPELIBS$ac_delim
23751 FREETYPEINCL!$FREETYPEINCL$ac_delim
23752 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23753 ESDCONFIG!$ESDCONFIG$ac_delim
23754 ESDLIBS!$ESDLIBS$ac_delim
23755 ESDINCL!$ESDINCL$ac_delim
23756 ALSALIBS!$ALSALIBS$ac_delim
23757 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23758 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23759 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23760 BUILTINFLAG!$BUILTINFLAG$ac_delim
23761 LDPATH!$LDPATH$ac_delim
23762 CRTLIBS!$CRTLIBS$ac_delim
23763 SOCKETLIBS!$SOCKETLIBS$ac_delim
23764 MAIN_BINARY!$MAIN_BINARY$ac_delim
23765 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23766 LIBDL!$LIBDL$ac_delim
23767 LIBPOLL!$LIBPOLL$ac_delim
23768 DEPENDENCIES!$DEPENDENCIES$ac_delim
23769 LIBOBJS!$LIBOBJS$ac_delim
23770 LTLIBOBJS!$LTLIBOBJS$ac_delim
23773 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 80; then
23775 elif $ac_last_try; then
23776 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23777 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23778 { (exit 1); exit 1; }; }
23780 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23784 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23785 if test -n "$ac_eof"; then
23786 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23787 ac_eof
=`expr $ac_eof + 1`
23790 cat >>$CONFIG_STATUS <<_ACEOF
23791 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23792 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23795 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23796 s/^/s,@/; s/!/@,|#_!!_#|/
23799 s/'"$ac_delim"'$/,g/; t
23801 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23802 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23803 rm -f conf$
$subs.
sed
23804 cat >>$CONFIG_STATUS <<_ACEOF
23811 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23812 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23813 # trailing colons and then remove the whole line if VPATH becomes empty
23814 # (actually we leave an empty line to preserve line numbers).
23815 if test "x$srcdir" = x.
; then
23816 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23817 s/:*\$(srcdir):*/:/
23818 s/:*\${srcdir}:*/:/
23820 s/^\([^=]*=[ ]*\):*/\1/
23826 cat >>$CONFIG_STATUS <<\_ACEOF
23827 fi # test -n "$CONFIG_FILES"
23830 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
23833 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23835 case $ac_mode$ac_tag in
23837 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23838 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23839 { (exit 1); exit 1; }; };;
23840 :[FH
]-) ac_tag
=-:-;;
23841 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23858 -) ac_f
="$tmp/stdin";;
23859 *) # Look for the file first in the build tree, then in the source tree
23860 # (if the path is not absolute). The absolute path cannot be DOS-style,
23861 # because $ac_f cannot contain `:'.
23865 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23867 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23868 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23869 { (exit 1); exit 1; }; };;
23871 ac_file_inputs
="$ac_file_inputs $ac_f"
23874 # Let's still pretend it is `configure' which instantiates (i.e., don't
23875 # use $as_me), people would be surprised to read:
23876 # /* config.h. Generated by config.status. */
23877 configure_input
="Generated from "`IFS=:
23878 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23879 if test x
"$ac_file" != x-
; then
23880 configure_input
="$ac_file. $configure_input"
23881 { echo "$as_me:$LINENO: creating $ac_file" >&5
23882 echo "$as_me: creating $ac_file" >&6;}
23886 *:-:* |
*:-) cat >"$tmp/stdin";;
23891 ac_dir
=`$as_dirname -- "$ac_file" ||
23892 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23893 X"$ac_file" : 'X\(//\)[^/]' \| \
23894 X"$ac_file" : 'X\(//\)$' \| \
23895 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23901 /^X\(\/\/\)[^/].*/{
23916 -*) as_dir
=.
/$as_dir;;
23918 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23922 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23923 *) as_qdir
=$as_dir;;
23925 as_dirs
="'$as_qdir' $as_dirs"
23926 as_dir
=`$as_dirname -- "$as_dir" ||
23927 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23928 X"$as_dir" : 'X\(//\)[^/]' \| \
23929 X"$as_dir" : 'X\(//\)$' \| \
23930 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23936 /^X\(\/\/\)[^/].*/{
23949 test -d "$as_dir" && break
23951 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23952 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23953 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23954 { (exit 1); exit 1; }; }; }
23958 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23960 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23961 # A ".." for each directory in $ac_dir_suffix.
23962 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23963 case $ac_top_builddir_sub in
23964 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23965 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23968 ac_abs_top_builddir
=$ac_pwd
23969 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23970 # for backward compatibility:
23971 ac_top_builddir
=$ac_top_build_prefix
23974 .
) # We are building in place.
23976 ac_top_srcdir
=$ac_top_builddir_sub
23977 ac_abs_top_srcdir
=$ac_pwd ;;
23978 [\\/]* | ?
:[\\/]* ) # Absolute name.
23979 ac_srcdir
=$srcdir$ac_dir_suffix;
23980 ac_top_srcdir
=$srcdir
23981 ac_abs_top_srcdir
=$srcdir ;;
23982 *) # Relative name.
23983 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23984 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23985 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23987 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23997 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23998 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
24002 cat >>$CONFIG_STATUS <<\_ACEOF
24003 # If the template does not know about datarootdir, expand it.
24004 # FIXME: This hack should be removed a few years after 2.60.
24005 ac_datarootdir_hack
=; ac_datarootdir_seen
=
24007 case `sed -n '/datarootdir/ {
24016 ' $ac_file_inputs` in
24017 *datarootdir
*) ac_datarootdir_seen
=yes;;
24018 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
24019 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24020 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24022 cat >>$CONFIG_STATUS <<_ACEOF
24023 ac_datarootdir_hack='
24024 s&@datadir@&$datadir&g
24025 s&@docdir@&$docdir&g
24026 s&@infodir@&$infodir&g
24027 s&@localedir@&$localedir&g
24028 s&@mandir@&$mandir&g
24029 s&\\\${datarootdir}&$datarootdir&g' ;;
24033 # Neutralize VPATH when `$srcdir' = `.'.
24034 # Shell code in configure.ac might set extrasub.
24035 # FIXME: do we really want to maintain this feature?
24036 cat >>$CONFIG_STATUS <<_ACEOF
24040 cat >>$CONFIG_STATUS <<\_ACEOF
24042 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24043 s
&@configure_input@
&$configure_input&;t t
24044 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
24045 s
&@srcdir@
&$ac_srcdir&;t t
24046 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
24047 s
&@top_srcdir@
&$ac_top_srcdir&;t t
24048 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
24049 s
&@builddir@
&$ac_builddir&;t t
24050 s
&@abs_builddir@
&$ac_abs_builddir&;t t
24051 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
24052 s
&@INSTALL@
&$ac_INSTALL&;t t
24053 $ac_datarootdir_hack
24054 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
24056 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24057 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
24058 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
24059 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
24060 which seems to be undefined. Please make sure it is defined." >&5
24061 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
24062 which seems to be undefined. Please make sure it is defined." >&2;}
24066 -) cat "$tmp/out"; rm -f "$tmp/out";;
24067 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24076 # Transform confdefs.h into a sed script `conftest.defines', that
24077 # substitutes the proper values into config.h.in to produce config.h.
24078 rm -f conftest.defines conftest.
tail
24079 # First, append a space to every undef/define line, to ease matching.
24080 echo 's/$/ /' >conftest.defines
24081 # Then, protect against being on the right side of a sed subst, or in
24082 # an unquoted here document, in config.status. If some macros were
24083 # called several times there might be several #defines for the same
24084 # symbol, which is useless. But do not sort them, since the last
24085 # AC_DEFINE must be honored.
24086 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
24087 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24088 # NAME is the cpp macro being defined, VALUE is the value it is being given.
24089 # PARAMS is the parameter list in the macro definition--in most cases, it's
24090 # just an empty string.
24091 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24092 ac_dB
='\\)[ (].*,\\1define\\2'
24100 s/^[ ]*#[ ]*define[ ][ ]*//
24105 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24106 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24107 ' >>conftest.defines
24109 # Remove the space that was appended to ease matching.
24110 # Then replace #undef with comments. This is necessary, for
24111 # example, in the case of _POSIX_SOURCE, which is predefined and required
24112 # on some systems where configure will not decide to define it.
24113 # (The regexp can be short, since the line contains either #define or #undef.)
24115 s,^[ #]*u.*,/* & */,' >>conftest.defines
24117 # Break up conftest.defines:
24118 ac_max_sed_lines
=50
24120 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24121 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24122 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24124 ac_in
='$ac_file_inputs'
24125 ac_out
='"$tmp/out1"'
24126 ac_nxt
='"$tmp/out2"'
24130 # Write a here document:
24131 cat >>$CONFIG_STATUS <<_ACEOF
24132 # First, check the format of the line:
24133 cat >"\$tmp/defines.sed" <<\\CEOF
24134 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24135 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24139 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
24141 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24142 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
24143 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
24144 grep . conftest.
tail >/dev
/null ||
break
24145 rm -f conftest.defines
24146 mv conftest.
tail conftest.defines
24148 rm -f conftest.defines conftest.
tail
24150 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24151 cat >>$CONFIG_STATUS <<\_ACEOF
24152 if test x
"$ac_file" != x-
; then
24153 echo "/* $configure_input */" >"$tmp/config.h"
24154 cat "$ac_result" >>"$tmp/config.h"
24155 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
24156 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24157 echo "$as_me: $ac_file is unchanged" >&6;}
24160 mv "$tmp/config.h" $ac_file
24163 echo "/* $configure_input */"
24169 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24170 echo "$as_me: executing $ac_file commands" >&6;}
24175 case $ac_file$ac_mode in
24176 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
24177 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24178 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
24179 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24180 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
24181 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24182 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
24183 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24184 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
24185 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24186 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
24187 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
24188 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
24194 { (exit 0); exit 0; }
24196 chmod +x
$CONFIG_STATUS
24197 ac_clean_files
=$ac_clean_files_save
24200 # configure is writing to config.log, and then calls config.status.
24201 # config.status does its own redirection, appending to config.log.
24202 # Unfortunately, on DOS this fails, as config.log is still kept open
24203 # by configure, so config.status won't be able to write to it; its
24204 # output is simply discarded. So we exec the FD to /dev/null,
24205 # effectively closing config.log, so it can be properly (re)opened and
24206 # appended to by config.status. When coming back to configure, we
24207 # need to make the FD available again.
24208 if test "$no_create" != yes; then
24210 ac_config_status_args
=
24211 test "$silent" = yes &&
24212 ac_config_status_args
="$ac_config_status_args --quiet"
24214 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24216 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24217 # would make configure fail if this is the last instruction.
24218 $ac_cs_success ||
{ (exit 1); exit 1; }
24222 if test "$no_create" = "yes"
24229 if test "x$wine_notices != "x
; then
24231 for msg
in $wine_notices; do
24232 if test -n "$msg"; then
24233 { echo "$as_me:$LINENO: $msg" >&5
24234 echo "$as_me: $msg" >&6;}
24238 for msg
in $wine_warnings; do
24239 if test -n "$msg"; then
24241 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24242 echo "$as_me: WARNING: $msg" >&2;}
24248 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.