2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.5.10.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.5.10'
584 PACKAGE_STRING
='Wine 1.5.10'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
690 APPLICATIONSERVICESLIB
779 program_transform_name
790 ac_subst_files
='MAKE_RULES
796 enable_option_checking
800 enable_maintainer_mode
849 ac_precious_vars
='build_alias
864 # Initialize some variables set by options.
866 ac_init_version
=false
867 ac_unrecognized_opts
=
869 # The variables have the same names as the options, with
870 # dashes changed to underlines.
878 program_transform_name
=s
,x
,x
,
886 # Installation directory options.
887 # These are left unexpanded so users can "make install exec_prefix=/foo"
888 # and all the variables that are supposed to be based on exec_prefix
889 # by default will actually change.
890 # Use braces instead of parens because sh, perl, etc. also accept them.
891 # (The list follows the same order as the GNU Coding Standards.)
892 bindir
='${exec_prefix}/bin'
893 sbindir
='${exec_prefix}/sbin'
894 libexecdir
='${exec_prefix}/libexec'
895 datarootdir
='${prefix}/share'
896 datadir
='${datarootdir}'
897 sysconfdir
='${prefix}/etc'
898 sharedstatedir
='${prefix}/com'
899 localstatedir
='${prefix}/var'
900 includedir
='${prefix}/include'
901 oldincludedir
='/usr/include'
902 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
903 infodir
='${datarootdir}/info'
908 libdir
='${exec_prefix}/lib'
909 localedir
='${datarootdir}/locale'
910 mandir
='${datarootdir}/man'
916 # If the previous option needs an argument, assign it.
917 if test -n "$ac_prev"; then
918 eval $ac_prev=\
$ac_option
924 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
929 # Accept the important Cygnus configure options, so we can diagnose typos.
931 case $ac_dashdash$ac_option in
935 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
937 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
940 -build |
--build |
--buil |
--bui |
--bu)
941 ac_prev
=build_alias
;;
942 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
943 build_alias
=$ac_optarg ;;
945 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
946 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
947 ac_prev
=cache_file
;;
948 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
949 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
950 cache_file
=$ac_optarg ;;
953 cache_file
=config.cache
;;
955 -datadir |
--datadir |
--datadi |
--datad)
957 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
958 datadir
=$ac_optarg ;;
960 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
961 |
--dataroo |
--dataro |
--datar)
962 ac_prev
=datarootdir
;;
963 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
964 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
965 datarootdir
=$ac_optarg ;;
967 -disable-* |
--disable-*)
968 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
969 # Reject names that are not valid shell variable names.
970 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
971 as_fn_error $?
"invalid feature name: $ac_useropt"
972 ac_useropt_orig
=$ac_useropt
973 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
974 case $ac_user_opts in
978 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
979 ac_unrecognized_sep
=', ';;
981 eval enable_
$ac_useropt=no
;;
983 -docdir |
--docdir |
--docdi |
--doc |
--do)
985 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
988 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
990 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
993 -enable-* |
--enable-*)
994 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
995 # Reject names that are not valid shell variable names.
996 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
997 as_fn_error $?
"invalid feature name: $ac_useropt"
998 ac_useropt_orig
=$ac_useropt
999 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1000 case $ac_user_opts in
1002 "enable_
$ac_useropt"
1004 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1005 ac_unrecognized_sep
=', ';;
1007 eval enable_
$ac_useropt=\
$ac_optarg ;;
1009 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1010 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1011 |
--exec |
--exe |
--ex)
1012 ac_prev
=exec_prefix
;;
1013 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1014 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1015 |
--exec=* |
--exe=* |
--ex=*)
1016 exec_prefix
=$ac_optarg ;;
1018 -gas |
--gas |
--ga |
--g)
1019 # Obsolete; use --with-gas.
1022 -help |
--help |
--hel |
--he |
-h)
1023 ac_init_help
=long
;;
1024 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1025 ac_init_help
=recursive
;;
1026 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1027 ac_init_help
=short
;;
1029 -host |
--host |
--hos |
--ho)
1030 ac_prev
=host_alias
;;
1031 -host=* |
--host=* |
--hos=* |
--ho=*)
1032 host_alias
=$ac_optarg ;;
1034 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1036 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1038 htmldir
=$ac_optarg ;;
1040 -includedir |
--includedir |
--includedi |
--included |
--include \
1041 |
--includ |
--inclu |
--incl |
--inc)
1042 ac_prev
=includedir
;;
1043 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1044 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1045 includedir
=$ac_optarg ;;
1047 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1049 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1050 infodir
=$ac_optarg ;;
1052 -libdir |
--libdir |
--libdi |
--libd)
1054 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1055 libdir
=$ac_optarg ;;
1057 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1058 |
--libexe |
--libex |
--libe)
1059 ac_prev
=libexecdir
;;
1060 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1061 |
--libexe=* |
--libex=* |
--libe=*)
1062 libexecdir
=$ac_optarg ;;
1064 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1065 ac_prev
=localedir
;;
1066 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1067 localedir
=$ac_optarg ;;
1069 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1070 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1071 ac_prev
=localstatedir
;;
1072 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1073 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1074 localstatedir
=$ac_optarg ;;
1076 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1078 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1079 mandir
=$ac_optarg ;;
1081 -nfp |
--nfp |
--nf)
1082 # Obsolete; use --without-fp.
1085 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1086 |
--no-cr |
--no-c |
-n)
1089 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1090 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1093 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1094 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1095 |
--oldin |
--oldi |
--old |
--ol |
--o)
1096 ac_prev
=oldincludedir
;;
1097 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1098 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1099 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1100 oldincludedir
=$ac_optarg ;;
1102 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1104 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1105 prefix
=$ac_optarg ;;
1107 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1108 |
--program-pre |
--program-pr |
--program-p)
1109 ac_prev
=program_prefix
;;
1110 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1111 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1112 program_prefix
=$ac_optarg ;;
1114 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1115 |
--program-suf |
--program-su |
--program-s)
1116 ac_prev
=program_suffix
;;
1117 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1118 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1119 program_suffix
=$ac_optarg ;;
1121 -program-transform-name |
--program-transform-name \
1122 |
--program-transform-nam |
--program-transform-na \
1123 |
--program-transform-n |
--program-transform- \
1124 |
--program-transform |
--program-transfor \
1125 |
--program-transfo |
--program-transf \
1126 |
--program-trans |
--program-tran \
1127 |
--progr-tra |
--program-tr |
--program-t)
1128 ac_prev
=program_transform_name
;;
1129 -program-transform-name=* |
--program-transform-name=* \
1130 |
--program-transform-nam=* |
--program-transform-na=* \
1131 |
--program-transform-n=* |
--program-transform-=* \
1132 |
--program-transform=* |
--program-transfor=* \
1133 |
--program-transfo=* |
--program-transf=* \
1134 |
--program-trans=* |
--program-tran=* \
1135 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1136 program_transform_name
=$ac_optarg ;;
1138 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1140 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1141 pdfdir
=$ac_optarg ;;
1143 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1145 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1148 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1149 |
-silent |
--silent |
--silen |
--sile |
--sil)
1152 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1154 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1156 sbindir
=$ac_optarg ;;
1158 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1159 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1160 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1162 ac_prev
=sharedstatedir
;;
1163 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1164 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1165 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1167 sharedstatedir
=$ac_optarg ;;
1169 -site |
--site |
--sit)
1171 -site=* |
--site=* |
--sit=*)
1174 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1176 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1177 srcdir
=$ac_optarg ;;
1179 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1180 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1181 ac_prev
=sysconfdir
;;
1182 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1183 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1184 sysconfdir
=$ac_optarg ;;
1186 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1187 ac_prev
=target_alias
;;
1188 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1189 target_alias
=$ac_optarg ;;
1191 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1194 -version |
--version |
--versio |
--versi |
--vers |
-V)
1195 ac_init_version
=: ;;
1198 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1199 # Reject names that are not valid shell variable names.
1200 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1201 as_fn_error $?
"invalid package name: $ac_useropt"
1202 ac_useropt_orig
=$ac_useropt
1203 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1204 case $ac_user_opts in
1208 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1209 ac_unrecognized_sep
=', ';;
1211 eval with_
$ac_useropt=\
$ac_optarg ;;
1213 -without-* |
--without-*)
1214 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1215 # Reject names that are not valid shell variable names.
1216 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1217 as_fn_error $?
"invalid package name: $ac_useropt"
1218 ac_useropt_orig
=$ac_useropt
1219 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1220 case $ac_user_opts in
1224 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1225 ac_unrecognized_sep
=', ';;
1227 eval with_
$ac_useropt=no
;;
1230 # Obsolete; use --with-x.
1233 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1234 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1235 ac_prev
=x_includes
;;
1236 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1237 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1238 x_includes
=$ac_optarg ;;
1240 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1241 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1242 ac_prev
=x_libraries
;;
1243 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1244 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1245 x_libraries
=$ac_optarg ;;
1247 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1248 Try \`$0 --help' for more information"
1252 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1253 # Reject names that are not valid shell variable names.
1254 case $ac_envvar in #(
1255 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1256 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1258 eval $ac_envvar=\
$ac_optarg
1259 export $ac_envvar ;;
1262 # FIXME: should be removed in autoconf 3.0.
1263 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1264 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1265 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1266 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1272 if test -n "$ac_prev"; then
1273 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1274 as_fn_error $?
"missing argument to $ac_option"
1277 if test -n "$ac_unrecognized_opts"; then
1278 case $enable_option_checking in
1280 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1281 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1285 # Check all directory arguments for consistency.
1286 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1287 datadir sysconfdir sharedstatedir localstatedir includedir \
1288 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1289 libdir localedir mandir
1291 eval ac_val
=\$
$ac_var
1292 # Remove trailing slashes.
1295 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1296 eval $ac_var=\
$ac_val;;
1298 # Be sure to have absolute directory names.
1300 [\\/$
]* | ?
:[\\/]* ) continue;;
1301 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1303 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1306 # There might be people who depend on the old broken behavior: `$host'
1307 # used to hold the argument of --host etc.
1308 # FIXME: To remove some day.
1311 target
=$target_alias
1313 # FIXME: To remove some day.
1314 if test "x$host_alias" != x
; then
1315 if test "x$build_alias" = x
; then
1316 cross_compiling
=maybe
1317 elif test "x$build_alias" != "x$host_alias"; then
1323 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1325 test "$silent" = yes && exec 6>/dev
/null
1328 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1329 ac_ls_di
=`ls -di .` &&
1330 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1331 as_fn_error $?
"working directory cannot be determined"
1332 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1333 as_fn_error $?
"pwd does not report name of working directory"
1336 # Find the source files, if location was not specified.
1337 if test -z "$srcdir"; then
1338 ac_srcdir_defaulted
=yes
1339 # Try the directory containing this script, then the parent directory.
1340 ac_confdir
=`$as_dirname -- "$as_myself" ||
1341 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1342 X"$as_myself" : 'X\(//\)[^/]' \| \
1343 X"$as_myself" : 'X\(//\)$' \| \
1344 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1345 $as_echo X"$as_myself" |
1346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1364 if test ! -r "$srcdir/$ac_unique_file"; then
1368 ac_srcdir_defaulted
=no
1370 if test ! -r "$srcdir/$ac_unique_file"; then
1371 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1372 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1374 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1376 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1378 # When building in place, set srcdir=.
1379 if test "$ac_abs_confdir" = "$ac_pwd"; then
1382 # Remove unnecessary trailing slashes from srcdir.
1383 # Double slashes in file names in object file debugging info
1384 # mess up M-x gdb in Emacs.
1386 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1388 for ac_var
in $ac_precious_vars; do
1389 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1390 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1391 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1392 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1396 # Report the --help message.
1398 if test "$ac_init_help" = "long"; then
1399 # Omit some internal or obsolete options to make the list less imposing.
1400 # This message is too long to be a string in the A/UX 3.1 sh.
1402 \`configure' configures Wine 1.5.10 to adapt to many kinds of systems.
1404 Usage: $0 [OPTION]... [VAR=VALUE]...
1406 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1407 VAR=VALUE. See below for descriptions of some of the useful variables.
1409 Defaults for the options are specified in brackets.
1412 -h, --help display this help and exit
1413 --help=short display options specific to this package
1414 --help=recursive display the short help of all the included packages
1415 -V, --version display version information and exit
1416 -q, --quiet, --silent do not print \`checking ...' messages
1417 --cache-file=FILE cache test results in FILE [disabled]
1418 -C, --config-cache alias for \`--cache-file=config.cache'
1419 -n, --no-create do not create output files
1420 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1422 Installation directories:
1423 --prefix=PREFIX install architecture-independent files in PREFIX
1424 [$ac_default_prefix]
1425 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1428 By default, \`make install' will install all the files in
1429 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1430 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1431 for instance \`--prefix=\$HOME'.
1433 For better control, use the options below.
1435 Fine tuning of the installation directories:
1436 --bindir=DIR user executables [EPREFIX/bin]
1437 --sbindir=DIR system admin executables [EPREFIX/sbin]
1438 --libexecdir=DIR program executables [EPREFIX/libexec]
1439 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1440 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1441 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1442 --libdir=DIR object code libraries [EPREFIX/lib]
1443 --includedir=DIR C header files [PREFIX/include]
1444 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1445 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1446 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1447 --infodir=DIR info documentation [DATAROOTDIR/info]
1448 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1449 --mandir=DIR man documentation [DATAROOTDIR/man]
1450 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1451 --htmldir=DIR html documentation [DOCDIR]
1452 --dvidir=DIR dvi documentation [DOCDIR]
1453 --pdfdir=DIR pdf documentation [DOCDIR]
1454 --psdir=DIR ps documentation [DOCDIR]
1460 --x-includes=DIR X include files are
in DIR
1461 --x-libraries=DIR X library files are
in DIR
1464 --build=BUILD configure
for building on BUILD
[guessed
]
1465 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1469 if test -n "$ac_init_help"; then
1470 case $ac_init_help in
1471 short | recursive
) echo "Configuration of Wine 1.5.10:";;
1476 --disable-option-checking ignore unrecognized
--enable/--with options
1477 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1478 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1479 --disable-win16 do not include Win16 support
1480 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1482 --disable-tests do not build the regression tests
1483 --enable-maintainer-mode
1484 enable maintainer-specific build rules
1485 --disable-largefile omit support for large files
1488 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1489 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1490 --without-alsa do not use the Alsa sound support
1491 --without-capi do not use CAPI (ISDN support)
1492 --without-cms do not use CMS (color management support)
1493 --without-coreaudio do not use the CoreAudio sound support
1494 --without-cups do not use CUPS
1495 --without-curses do not use (n)curses
1496 --without-dbus do not use DBus (dynamic device support)
1497 --without-fontconfig do not use fontconfig
1498 --without-freetype do not use the FreeType library
1499 --without-gettext do not use gettext
1500 --with-gettextpo use the GetTextPO library to rebuild po files
1501 --without-gphoto do not use gphoto (Digital Camera support)
1502 --without-glu do not use the GLU library
1503 --without-gnutls do not use GnuTLS (schannel support)
1504 --without-gsm do not use libgsm (GSM 06.10 codec support)
1505 --without-gstreamer do not use GStreamer (codecs support)
1506 --without-hal do not use HAL (dynamic device support)
1507 --without-jpeg do not use JPEG
1508 --without-ldap do not use LDAP
1509 --without-mpg123 do not use the mpg123 library
1510 --without-openal do not use OpenAL
1511 --without-opencl do not use OpenCL
1512 --without-opengl do not use OpenGL
1513 --without-openssl do not use OpenSSL
1514 --without-osmesa do not use the OSMesa library
1515 --without-oss do not use the OSS sound support
1516 --without-png do not use PNG
1517 --without-pthread do not use the pthread library
1518 --without-sane do not use SANE (scanner support)
1519 --without-tiff do not use TIFF
1520 --without-v4l do not use v4l1 (v4l support)
1521 --without-xcomposite do not use the Xcomposite extension
1522 --without-xcursor do not use the Xcursor extension
1523 --without-xinerama do not use Xinerama (multi-monitor support)
1524 --without-xinput do not use the Xinput extension
1525 --without-xinput2 do not use the Xinput 2 extension
1526 --without-xml do not use XML
1527 --without-xrandr do not use Xrandr (resolution changes)
1528 --without-xrender do not use the Xrender extension
1529 --without-xshape do not use the Xshape extension
1530 --without-xslt do not use XSLT
1531 --without-xxf86vm do not use XFree video mode extension
1532 --without-zlib do not use Zlib (data compression)
1533 --with-wine-tools=DIR use Wine tools from directory DIR
1534 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1535 --with-x use the X Window System
1537 Some influential environment variables:
1538 CC C compiler command
1539 CFLAGS C compiler flags
1540 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1541 nonstandard directory <lib dir>
1542 LIBS libraries to pass to the linker, e.g. -l<library>
1543 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1544 you have headers in a nonstandard directory <include dir>
1545 CXX C++ compiler command
1546 CXXFLAGS C++ compiler flags
1548 XMKMF Path to xmkmf, Makefile generator for X Window System
1550 Use these variables to override the choices made by `configure' or to
help
1551 it to
find libraries and programs with nonstandard names
/locations.
1553 Report bugs to
<wine-devel@winehq.org
>.
1554 Wine home page
: <http
://www.winehq.org
>.
1559 if test "$ac_init_help" = "recursive"; then
1560 # If there are subdirs, report their specific --help.
1561 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1562 test -d "$ac_dir" ||
1563 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1568 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1570 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1571 # A ".." for each directory in $ac_dir_suffix.
1572 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1573 case $ac_top_builddir_sub in
1574 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1575 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1578 ac_abs_top_builddir
=$ac_pwd
1579 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1580 # for backward compatibility:
1581 ac_top_builddir
=$ac_top_build_prefix
1584 .
) # We are building in place.
1586 ac_top_srcdir
=$ac_top_builddir_sub
1587 ac_abs_top_srcdir
=$ac_pwd ;;
1588 [\\/]* | ?
:[\\/]* ) # Absolute name.
1589 ac_srcdir
=$srcdir$ac_dir_suffix;
1590 ac_top_srcdir
=$srcdir
1591 ac_abs_top_srcdir
=$srcdir ;;
1593 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1594 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1595 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1597 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1599 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1600 # Check for guested configure.
1601 if test -f "$ac_srcdir/configure.gnu"; then
1603 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1604 elif test -f "$ac_srcdir/configure"; then
1606 $SHELL "$ac_srcdir/configure" --help=recursive
1608 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1610 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1614 test -n "$ac_init_help" && exit $ac_status
1615 if $ac_init_version; then
1617 Wine configure
1.5.10
1618 generated by GNU Autoconf
2.69
1620 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1621 This configure
script is free software
; the Free Software Foundation
1622 gives unlimited permission to copy
, distribute and modify it.
1627 ## ------------------------ ##
1628 ## Autoconf initialization. ##
1629 ## ------------------------ ##
1631 # ac_fn_c_try_compile LINENO
1632 # --------------------------
1633 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1634 ac_fn_c_try_compile
()
1636 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1637 rm -f conftest.
$ac_objext
1638 if { { ac_try
="$ac_compile"
1640 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1641 *) ac_try_echo=$ac_try;;
1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 $as_echo "$ac_try_echo"; } >&5
1645 (eval "$ac_compile") 2>conftest.err
1647 if test -s conftest.err; then
1648 grep -v '^ *+' conftest.err >conftest.er1
1649 cat conftest.er1 >&5
1650 mv -f conftest.er1 conftest.err
1652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1653 test $ac_status = 0; } && {
1654 test -z "$ac_c_werror_flag" ||
1655 test ! -s conftest.err
1656 } && test -s conftest.$ac_objext; then :
1659 $as_echo "$as_me: failed program was:" >&5
1660 sed 's/^/| /' conftest.$ac_ext >&5
1664 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665 as_fn_set_status $ac_retval
1667 } # ac_fn_c_try_compile
1669 # ac_fn_cxx_try_compile LINENO
1670 # ----------------------------
1671 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1672 ac_fn_cxx_try_compile ()
1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675 rm -f conftest.$ac_objext
1676 if { { ac_try="$ac_compile"
1678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1679 *) ac_try_echo
=$ac_try;;
1681 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682 $as_echo "$ac_try_echo"; } >&5
1683 (eval "$ac_compile") 2>conftest.err
1685 if test -s conftest.err
; then
1686 grep -v '^ *+' conftest.err
>conftest.er1
1687 cat conftest.er1
>&5
1688 mv -f conftest.er1 conftest.err
1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1691 test $ac_status = 0; } && {
1692 test -z "$ac_cxx_werror_flag" ||
1693 test ! -s conftest.err
1694 } && test -s conftest.
$ac_objext; then :
1697 $as_echo "$as_me: failed program was:" >&5
1698 sed 's/^/| /' conftest.
$ac_ext >&5
1702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703 as_fn_set_status
$ac_retval
1705 } # ac_fn_cxx_try_compile
1707 # ac_fn_c_try_link LINENO
1708 # -----------------------
1709 # Try to link conftest.$ac_ext, and return whether this succeeded.
1712 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1713 rm -f conftest.
$ac_objext conftest
$ac_exeext
1714 if { { ac_try
="$ac_link"
1716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1717 *) ac_try_echo=$ac_try;;
1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721 (eval "$ac_link") 2>conftest.err
1723 if test -s conftest.err; then
1724 grep -v '^ *+' conftest.err >conftest.er1
1725 cat conftest.er1 >&5
1726 mv -f conftest.er1 conftest.err
1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729 test $ac_status = 0; } && {
1730 test -z "$ac_c_werror_flag" ||
1731 test ! -s conftest.err
1732 } && test -s conftest$ac_exeext && {
1733 test "$cross_compiling" = yes ||
1734 test -x conftest$ac_exeext
1738 $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1743 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1744 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1745 # interfere with the next link command; also delete a directory that is
1746 # left behind by Apple's compiler. We do this before executing the actions.
1747 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749 as_fn_set_status $ac_retval
1751 } # ac_fn_c_try_link
1753 # ac_fn_c_try_cpp LINENO
1754 # ----------------------
1755 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 if { { ac_try="$ac_cpp conftest.$ac_ext"
1761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1762 *) ac_try_echo
=$ac_try;;
1764 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1768 if test -s conftest.err
; then
1769 grep -v '^ *+' conftest.err
>conftest.er1
1770 cat conftest.er1
>&5
1771 mv -f conftest.er1 conftest.err
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } > conftest.i
&& {
1775 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1776 test ! -s conftest.err
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.
$ac_ext >&5
1785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786 as_fn_set_status
$ac_retval
1790 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1791 # -------------------------------------------------------
1792 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1793 # the include files in INCLUDES and setting the cache variable VAR
1795 ac_fn_c_check_header_mongrel
()
1797 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1798 if eval \
${$3+:} false
; then :
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1800 $as_echo_n "checking for $2... " >&6; }
1801 if eval \
${$3+:} false
; then :
1802 $as_echo_n "(cached) " >&6
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1806 $as_echo "$ac_res" >&6; }
1808 # Is the header compilable?
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1810 $as_echo_n "checking $2 usability... " >&6; }
1811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1812 /* end confdefs.h. */
1816 if ac_fn_c_try_compile
"$LINENO"; then :
1817 ac_header_compiler
=yes
1819 ac_header_compiler
=no
1821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1823 $as_echo "$ac_header_compiler" >&6; }
1825 # Is the header present?
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1827 $as_echo_n "checking $2 presence... " >&6; }
1828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1829 /* end confdefs.h. */
1832 if ac_fn_c_try_cpp
"$LINENO"; then :
1833 ac_header_preproc
=yes
1835 ac_header_preproc
=no
1837 rm -f conftest.err conftest.i conftest.
$ac_ext
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1839 $as_echo "$ac_header_preproc" >&6; }
1841 # So? What about this header?
1842 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1845 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1847 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1851 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1853 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1855 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1857 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1859 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1860 ( $as_echo "## ------------------------------------ ##
1861 ## Report this to wine-devel@winehq.org ##
1862 ## ------------------------------------ ##"
1863 ) |
sed "s/^/$as_me: WARNING: /" >&2
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1867 $as_echo_n "checking for $2... " >&6; }
1868 if eval \
${$3+:} false
; then :
1869 $as_echo_n "(cached) " >&6
1871 eval "$3=\$ac_header_compiler"
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1877 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1879 } # ac_fn_c_check_header_mongrel
1881 # ac_fn_c_try_run LINENO
1882 # ----------------------
1883 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1884 # that executables *can* be run.
1887 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1888 if { { ac_try
="$ac_link"
1890 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1891 *) ac_try_echo=$ac_try;;
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895 (eval "$ac_link") 2>&5
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1899 { { case "(($ac_try" in
1900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1901 *) ac_try_echo
=$ac_try;;
1903 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904 $as_echo "$ac_try_echo"; } >&5
1905 (eval "$ac_try") 2>&5
1907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1908 test $ac_status = 0; }; }; then :
1911 $as_echo "$as_me: program exited with status $ac_status" >&5
1912 $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.
$ac_ext >&5
1915 ac_retval
=$ac_status
1917 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1918 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1919 as_fn_set_status
$ac_retval
1923 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1924 # -------------------------------------------------------
1925 # Tests whether HEADER exists and can be compiled using the include files in
1926 # INCLUDES, setting the cache variable VAR accordingly.
1927 ac_fn_c_check_header_compile
()
1929 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1931 $as_echo_n "checking for $2... " >&6; }
1932 if eval \
${$3+:} false
; then :
1933 $as_echo_n "(cached) " >&6
1935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1936 /* end confdefs.h. */
1940 if ac_fn_c_try_compile
"$LINENO"; then :
1945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1949 $as_echo "$ac_res" >&6; }
1950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1952 } # ac_fn_c_check_header_compile
1954 # ac_fn_c_check_func LINENO FUNC VAR
1955 # ----------------------------------
1956 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1957 ac_fn_c_check_func
()
1959 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1961 $as_echo_n "checking for $2... " >&6; }
1962 if eval \
${$3+:} false
; then :
1963 $as_echo_n "(cached) " >&6
1965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1966 /* end confdefs.h. */
1967 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1969 #define $2 innocuous_$2
1971 /* System header to define __stub macros and hopefully few prototypes,
1972 which can conflict with char $2 (); below.
1973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1974 <limits.h> exists even on freestanding compilers. */
1977 # include <limits.h>
1979 # include <assert.h>
1984 /* Override any GCC internal prototype to avoid an error.
1985 Use char because int might match the return type of a GCC
1986 builtin and then its argument prototype would still apply. */
1991 /* The GNU C library defines this for functions which it implements
1992 to always fail with ENOSYS. Some functions are actually named
1993 something starting with __ and the normal name is an alias. */
1994 #if defined __stub_$2 || defined __stub___$2
2006 if ac_fn_c_try_link
"$LINENO"; then :
2011 rm -f core conftest.err conftest.
$ac_objext \
2012 conftest
$ac_exeext conftest.
$ac_ext
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2016 $as_echo "$ac_res" >&6; }
2017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2019 } # ac_fn_c_check_func
2021 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2022 # ----------------------------------------------------
2023 # Tries to find if the field MEMBER exists in type AGGR, after including
2024 # INCLUDES, setting cache variable VAR accordingly.
2025 ac_fn_c_check_member
()
2027 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2029 $as_echo_n "checking for $2.$3... " >&6; }
2030 if eval \
${$4+:} false
; then :
2031 $as_echo_n "(cached) " >&6
2033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2034 /* end confdefs.h. */
2046 if ac_fn_c_try_compile
"$LINENO"; then :
2049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2050 /* end confdefs.h. */
2056 if (sizeof ac_aggr.$3)
2062 if ac_fn_c_try_compile
"$LINENO"; then :
2067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073 $as_echo "$ac_res" >&6; }
2074 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2076 } # ac_fn_c_check_member
2078 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2079 # -------------------------------------------
2080 # Tests whether TYPE exists after having included INCLUDES, setting cache
2081 # variable VAR accordingly.
2082 ac_fn_c_check_type
()
2084 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2086 $as_echo_n "checking for $2... " >&6; }
2087 if eval \
${$3+:} false
; then :
2088 $as_echo_n "(cached) " >&6
2091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2092 /* end confdefs.h. */
2103 if ac_fn_c_try_compile
"$LINENO"; then :
2104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h. */
2116 if ac_fn_c_try_compile
"$LINENO"; then :
2121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2127 $as_echo "$ac_res" >&6; }
2128 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2130 } # ac_fn_c_check_type
2131 cat >config.log
<<_ACEOF
2132 This file contains any messages produced by compilers while
2133 running configure, to aid debugging if configure makes a mistake.
2135 It was created by Wine $as_me 1.5.10, which was
2136 generated by GNU Autoconf 2.69. Invocation command line was
2148 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2149 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2150 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2151 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2152 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2154 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2155 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2157 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2158 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2159 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2160 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2161 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2162 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2163 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2171 test -z "$as_dir" && as_dir
=.
2172 $as_echo "PATH: $as_dir"
2188 # Keep a trace of the command line.
2189 # Strip out --no-create and --no-recursion so they do not pile up.
2190 # Strip out --silent because we don't want to record it for future runs.
2191 # Also quote any args containing shell meta-characters.
2192 # Make two passes to allow for proper duplicate-argument suppression.
2196 ac_must_keep_next
=false
2202 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2203 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2204 |
-silent |
--silent |
--silen |
--sile |
--sil)
2207 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2210 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2212 as_fn_append ac_configure_args1
" '$ac_arg'"
2213 if test $ac_must_keep_next = true
; then
2214 ac_must_keep_next
=false
# Got value, back to normal.
2217 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2218 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2219 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2220 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2221 case "$ac_configure_args0 " in
2222 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2225 -* ) ac_must_keep_next
=true
;;
2228 as_fn_append ac_configure_args
" '$ac_arg'"
2233 { ac_configure_args0
=; unset ac_configure_args0
;}
2234 { ac_configure_args1
=; unset ac_configure_args1
;}
2236 # When interrupted or exit'd, cleanup temporary files, and complete
2237 # config.log. We remove comments because anyway the quotes in there
2238 # would cause problems or look ugly.
2239 # WARNING: Use '\'' to represent an apostrophe within the trap.
2240 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2241 trap 'exit_status=$?
2242 # Save into config.log some information that might help in debugging.
2246 $as_echo "## ---------------- ##
2247 ## Cache variables. ##
2248 ## ---------------- ##"
2250 # The following way of writing the cache mishandles newlines in values,
2252 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2253 eval ac_val=\$$ac_var
2257 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2258 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2261 _ | IFS | as_nl) ;; #(
2262 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2263 *) { eval $ac_var=; unset $ac_var;} ;;
2268 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2269 *${as_nl}ac_space=\ *)
2271 "s/'\''/'\''\\\\'\'''\''/g;
2272 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2275 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2282 $as_echo "## ----------------- ##
2283 ## Output variables. ##
2284 ## ----------------- ##"
2286 for ac_var in $ac_subst_vars
2288 eval ac_val=\$$ac_var
2290 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2292 $as_echo "$ac_var='\''$ac_val'\''"
2296 if test -n "$ac_subst_files"; then
2297 $as_echo "## ------------------- ##
2298 ## File substitutions. ##
2299 ## ------------------- ##"
2301 for ac_var
in $ac_subst_files
2303 eval ac_val
=\$
$ac_var
2305 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2307 $as_echo "$ac_var='\''$ac_val'\''"
2312 if test -s confdefs.h; then
2313 $as_echo "## ----------- ##
2320 test "$ac_signal" != 0 &&
2321 $as_echo "$as_me: caught signal $ac_signal"
2322 $as_echo "$as_me: exit $exit_status"
2324 rm -f core *.core core.conftest.* &&
2325 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2328 for ac_signal
in 1 2 13 15; do
2329 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2333 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2334 rm -f -r conftest
* confdefs.h
2336 $as_echo "/* confdefs.h */" > confdefs.h
2338 # Predefined preprocessor variables.
2340 cat >>confdefs.h
<<_ACEOF
2341 #define PACKAGE_NAME "$PACKAGE_NAME"
2344 cat >>confdefs.h
<<_ACEOF
2345 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2348 cat >>confdefs.h
<<_ACEOF
2349 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2352 cat >>confdefs.h
<<_ACEOF
2353 #define PACKAGE_STRING "$PACKAGE_STRING"
2356 cat >>confdefs.h
<<_ACEOF
2357 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2360 cat >>confdefs.h
<<_ACEOF
2361 #define PACKAGE_URL "$PACKAGE_URL"
2365 # Let the site file select an alternate cache file if it wants to.
2366 # Prefer an explicitly selected file to automatically selected ones.
2369 if test -n "$CONFIG_SITE"; then
2370 # We do not want a PATH search for config.site.
2371 case $CONFIG_SITE in #((
2372 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2373 */*) ac_site_file1
=$CONFIG_SITE;;
2374 *) ac_site_file1
=.
/$CONFIG_SITE;;
2376 elif test "x$prefix" != xNONE
; then
2377 ac_site_file1
=$prefix/share
/config.site
2378 ac_site_file2
=$prefix/etc
/config.site
2380 ac_site_file1
=$ac_default_prefix/share
/config.site
2381 ac_site_file2
=$ac_default_prefix/etc
/config.site
2383 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2385 test "x$ac_site_file" = xNONE
&& continue
2386 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2388 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2389 sed 's/^/| /' "$ac_site_file" >&5
2391 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2393 as_fn_error $?
"failed to load site script $ac_site_file
2394 See \`config.log' for more details" "$LINENO" 5; }
2398 if test -r "$cache_file"; then
2399 # Some versions of bash will fail to source /dev/null (special files
2400 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2401 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2403 $as_echo "$as_me: loading cache $cache_file" >&6;}
2405 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2406 *) .
"./$cache_file";;
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2411 $as_echo "$as_me: creating cache $cache_file" >&6;}
2415 # Check that the precious variables saved in the cache have kept the same
2417 ac_cache_corrupted
=false
2418 for ac_var
in $ac_precious_vars; do
2419 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2420 eval ac_new_set
=\
$ac_env_${ac_var}_set
2421 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2422 eval ac_new_val
=\
$ac_env_${ac_var}_value
2423 case $ac_old_set,$ac_new_set in
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2426 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2427 ac_cache_corrupted
=: ;;
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2430 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2431 ac_cache_corrupted
=: ;;
2434 if test "x$ac_old_val" != "x$ac_new_val"; then
2435 # differences in whitespace do not lead to failure.
2436 ac_old_val_w
=`echo x $ac_old_val`
2437 ac_new_val_w
=`echo x $ac_new_val`
2438 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2440 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2441 ac_cache_corrupted
=:
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2444 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2445 eval $ac_var=\
$ac_old_val
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2448 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2450 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2453 # Pass precious variables to config.status.
2454 if test "$ac_new_set" = set; then
2456 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2457 *) ac_arg
=$ac_var=$ac_new_val ;;
2459 case " $ac_configure_args " in
2460 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2461 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2465 if $ac_cache_corrupted; then
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2469 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2470 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2472 ## -------------------- ##
2473 ## Main body of script. ##
2474 ## -------------------- ##
2477 ac_cpp
='$CPP $CPPFLAGS'
2478 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2479 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2480 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2484 ac_config_headers
="$ac_config_headers include/config.h"
2487 for ac_dir
in tools
"$srcdir"/tools
; do
2488 if test -f "$ac_dir/install-sh"; then
2490 ac_install_sh
="$ac_aux_dir/install-sh -c"
2492 elif test -f "$ac_dir/install.sh"; then
2494 ac_install_sh
="$ac_aux_dir/install.sh -c"
2496 elif test -f "$ac_dir/shtool"; then
2498 ac_install_sh
="$ac_aux_dir/shtool install -c"
2502 if test -z "$ac_aux_dir"; then
2503 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2506 # These three variables are undocumented and unsupported,
2507 # and are intended to be withdrawn in a future Autoconf release.
2508 # They can cause serious problems if a builder's source tree is in a directory
2509 # whose full name contains unusual characters.
2510 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2511 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2512 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2518 # Check whether --enable-win16 was given.
2519 if test "${enable_win16+set}" = set; then :
2520 enableval
=$enable_win16;
2523 # Check whether --enable-win64 was given.
2524 if test "${enable_win64+set}" = set; then :
2525 enableval
=$enable_win64;
2528 # Check whether --enable-tests was given.
2529 if test "${enable_tests+set}" = set; then :
2530 enableval
=$enable_tests;
2533 # Check whether --enable-maintainer-mode was given.
2534 if test "${enable_maintainer_mode+set}" = set; then :
2535 enableval
=$enable_maintainer_mode;
2540 # Check whether --with-alsa was given.
2541 if test "${with_alsa+set}" = set; then :
2542 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2546 # Check whether --with-capi was given.
2547 if test "${with_capi+set}" = set; then :
2548 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2552 # Check whether --with-cms was given.
2553 if test "${with_cms+set}" = set; then :
2554 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
2558 # Check whether --with-coreaudio was given.
2559 if test "${with_coreaudio+set}" = set; then :
2560 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2564 # Check whether --with-cups was given.
2565 if test "${with_cups+set}" = set; then :
2570 # Check whether --with-curses was given.
2571 if test "${with_curses+set}" = set; then :
2572 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2576 # Check whether --with-dbus was given.
2577 if test "${with_dbus+set}" = set; then :
2582 # Check whether --with-fontconfig was given.
2583 if test "${with_fontconfig+set}" = set; then :
2584 withval
=$with_fontconfig;
2588 # Check whether --with-freetype was given.
2589 if test "${with_freetype+set}" = set; then :
2590 withval
=$with_freetype;
2594 # Check whether --with-gettext was given.
2595 if test "${with_gettext+set}" = set; then :
2596 withval
=$with_gettext;
2600 # Check whether --with-gettextpo was given.
2601 if test "${with_gettextpo+set}" = set; then :
2602 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
2606 # Check whether --with-gphoto was given.
2607 if test "${with_gphoto+set}" = set; then :
2608 withval
=$with_gphoto;
2612 # Check whether --with-glu was given.
2613 if test "${with_glu+set}" = set; then :
2614 withval
=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h
=no
; fi
2618 # Check whether --with-gnutls was given.
2619 if test "${with_gnutls+set}" = set; then :
2620 withval
=$with_gnutls;
2624 # Check whether --with-gsm was given.
2625 if test "${with_gsm+set}" = set; then :
2626 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2630 # Check whether --with-gstreamer was given.
2631 if test "${with_gstreamer+set}" = set; then :
2632 withval
=$with_gstreamer;
2636 # Check whether --with-hal was given.
2637 if test "${with_hal+set}" = set; then :
2642 # Check whether --with-jpeg was given.
2643 if test "${with_jpeg+set}" = set; then :
2644 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2648 # Check whether --with-ldap was given.
2649 if test "${with_ldap+set}" = set; then :
2650 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2654 # Check whether --with-mpg123 was given.
2655 if test "${with_mpg123+set}" = set; then :
2656 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2660 # Check whether --with-openal was given.
2661 if test "${with_openal+set}" = set; then :
2662 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2666 # Check whether --with-opencl was given.
2667 if test "${with_opencl+set}" = set; then :
2668 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
2672 # Check whether --with-opengl was given.
2673 if test "${with_opengl+set}" = set; then :
2674 withval
=$with_opengl;
2678 # Check whether --with-openssl was given.
2679 if test "${with_openssl+set}" = set; then :
2680 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2684 # Check whether --with-osmesa was given.
2685 if test "${with_osmesa+set}" = set; then :
2686 withval
=$with_osmesa; if test "x$withval" = "xno"; then ac_cv_header_GL_osmesa_h
=no
; fi
2690 # Check whether --with-oss was given.
2691 if test "${with_oss+set}" = set; then :
2696 # Check whether --with-png was given.
2697 if test "${with_png+set}" = set; then :
2698 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2702 # Check whether --with-pthread was given.
2703 if test "${with_pthread+set}" = set; then :
2704 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2708 # Check whether --with-sane was given.
2709 if test "${with_sane+set}" = set; then :
2714 # Check whether --with-tiff was given.
2715 if test "${with_tiff+set}" = set; then :
2716 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2720 # Check whether --with-v4l was given.
2721 if test "${with_v4l+set}" = set; then :
2726 # Check whether --with-xcomposite was given.
2727 if test "${with_xcomposite+set}" = set; then :
2728 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2732 # Check whether --with-xcursor was given.
2733 if test "${with_xcursor+set}" = set; then :
2734 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2738 # Check whether --with-xinerama was given.
2739 if test "${with_xinerama+set}" = set; then :
2740 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2744 # Check whether --with-xinput was given.
2745 if test "${with_xinput+set}" = set; then :
2746 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2750 # Check whether --with-xinput2 was given.
2751 if test "${with_xinput2+set}" = set; then :
2752 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
2756 # Check whether --with-xml was given.
2757 if test "${with_xml+set}" = set; then :
2762 # Check whether --with-xrandr was given.
2763 if test "${with_xrandr+set}" = set; then :
2764 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2768 # Check whether --with-xrender was given.
2769 if test "${with_xrender+set}" = set; then :
2770 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2774 # Check whether --with-xshape was given.
2775 if test "${with_xshape+set}" = set; then :
2776 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2780 # Check whether --with-xslt was given.
2781 if test "${with_xslt+set}" = set; then :
2786 # Check whether --with-xxf86vm was given.
2787 if test "${with_xxf86vm+set}" = set; then :
2788 withval
=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h
=no
; ac_cv_header_X11_extensions_xf86vmproto_h
=no
; fi
2792 # Check whether --with-zlib was given.
2793 if test "${with_zlib+set}" = set; then :
2794 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
2799 # Check whether --with-wine-tools was given.
2800 if test "${with_wine_tools+set}" = set; then :
2801 withval
=$with_wine_tools;
2805 # Check whether --with-wine64 was given.
2806 if test "${with_wine64+set}" = set; then :
2807 withval
=$with_wine64;
2811 # Make sure we can run config.sub.
2812 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2813 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2816 $as_echo_n "checking build system type... " >&6; }
2817 if ${ac_cv_build+:} false
; then :
2818 $as_echo_n "(cached) " >&6
2820 ac_build_alias
=$build_alias
2821 test "x$ac_build_alias" = x
&&
2822 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2823 test "x$ac_build_alias" = x
&&
2824 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2825 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2826 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2830 $as_echo "$ac_cv_build" >&6; }
2831 case $ac_cv_build in
2833 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2836 ac_save_IFS
=$IFS; IFS
='-'
2842 # Remember, the first character of IFS is used to create $*,
2843 # except with old shells:
2846 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2850 $as_echo_n "checking host system type... " >&6; }
2851 if ${ac_cv_host+:} false
; then :
2852 $as_echo_n "(cached) " >&6
2854 if test "x$host_alias" = x
; then
2855 ac_cv_host
=$ac_cv_build
2857 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2858 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2863 $as_echo "$ac_cv_host" >&6; }
2866 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2869 ac_save_IFS
=$IFS; IFS
='-'
2875 # Remember, the first character of IFS is used to create $*,
2876 # except with old shells:
2879 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2885 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2886 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
2887 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2893 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2895 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2896 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2897 $as_echo_n "(cached) " >&6
2899 cat >conftest.
make <<\_ACEOF
2902 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2904 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2905 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2907 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2909 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2913 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2915 $as_echo "yes" >&6; }
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2919 $as_echo "no" >&6; }
2920 SET_MAKE
="MAKE=${MAKE-make}"
2924 ac_cpp
='$CPP $CPPFLAGS'
2925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2928 if test -n "$ac_tool_prefix"; then
2929 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2930 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2932 $as_echo_n "checking for $ac_word... " >&6; }
2933 if ${ac_cv_prog_CC+:} false
; then :
2934 $as_echo_n "(cached) " >&6
2936 if test -n "$CC"; then
2937 ac_cv_prog_CC
="$CC" # Let the user override the test.
2939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2943 test -z "$as_dir" && as_dir
=.
2944 for ac_exec_ext
in '' $ac_executable_extensions; do
2945 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2946 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2957 if test -n "$CC"; then
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2959 $as_echo "$CC" >&6; }
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2962 $as_echo "no" >&6; }
2967 if test -z "$ac_cv_prog_CC"; then
2969 # Extract the first word of "gcc", so it can be a program name with args.
2970 set dummy gcc
; ac_word
=$2
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2972 $as_echo_n "checking for $ac_word... " >&6; }
2973 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2974 $as_echo_n "(cached) " >&6
2976 if test -n "$ac_ct_CC"; then
2977 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2983 test -z "$as_dir" && as_dir
=.
2984 for ac_exec_ext
in '' $ac_executable_extensions; do
2985 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2986 ac_cv_prog_ac_ct_CC
="gcc"
2987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2996 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2997 if test -n "$ac_ct_CC"; then
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2999 $as_echo "$ac_ct_CC" >&6; }
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3002 $as_echo "no" >&6; }
3005 if test "x$ac_ct_CC" = x
; then
3008 case $cross_compiling:$ac_tool_warned in
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3012 ac_tool_warned
=yes ;;
3020 if test -z "$CC"; then
3021 if test -n "$ac_tool_prefix"; then
3022 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3023 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3025 $as_echo_n "checking for $ac_word... " >&6; }
3026 if ${ac_cv_prog_CC+:} false
; then :
3027 $as_echo_n "(cached) " >&6
3029 if test -n "$CC"; then
3030 ac_cv_prog_CC
="$CC" # Let the user override the test.
3032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3036 test -z "$as_dir" && as_dir
=.
3037 for ac_exec_ext
in '' $ac_executable_extensions; do
3038 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3039 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3050 if test -n "$CC"; then
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3052 $as_echo "$CC" >&6; }
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055 $as_echo "no" >&6; }
3061 if test -z "$CC"; then
3062 # Extract the first word of "cc", so it can be a program name with args.
3063 set dummy cc
; ac_word
=$2
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3065 $as_echo_n "checking for $ac_word... " >&6; }
3066 if ${ac_cv_prog_CC+:} false
; then :
3067 $as_echo_n "(cached) " >&6
3069 if test -n "$CC"; then
3070 ac_cv_prog_CC
="$CC" # Let the user override the test.
3073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3077 test -z "$as_dir" && as_dir
=.
3078 for ac_exec_ext
in '' $ac_executable_extensions; do
3079 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3080 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3081 ac_prog_rejected
=yes
3085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3092 if test $ac_prog_rejected = yes; then
3093 # We found a bogon in the path, so make sure we never use it.
3094 set dummy
$ac_cv_prog_CC
3096 if test $# != 0; then
3097 # We chose a different compiler from the bogus one.
3098 # However, it has the same basename, so the bogon will be chosen
3099 # first if we set CC to just the basename; use the full file name.
3101 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3107 if test -n "$CC"; then
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3109 $as_echo "$CC" >&6; }
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3112 $as_echo "no" >&6; }
3117 if test -z "$CC"; then
3118 if test -n "$ac_tool_prefix"; then
3119 for ac_prog
in cl.exe
3121 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3122 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124 $as_echo_n "checking for $ac_word... " >&6; }
3125 if ${ac_cv_prog_CC+:} false
; then :
3126 $as_echo_n "(cached) " >&6
3128 if test -n "$CC"; then
3129 ac_cv_prog_CC
="$CC" # Let the user override the test.
3131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3135 test -z "$as_dir" && as_dir
=.
3136 for ac_exec_ext
in '' $ac_executable_extensions; do
3137 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3138 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3149 if test -n "$CC"; then
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3151 $as_echo "$CC" >&6; }
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3154 $as_echo "no" >&6; }
3158 test -n "$CC" && break
3161 if test -z "$CC"; then
3163 for ac_prog
in cl.exe
3165 # Extract the first word of "$ac_prog", so it can be a program name with args.
3166 set dummy
$ac_prog; ac_word
=$2
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3168 $as_echo_n "checking for $ac_word... " >&6; }
3169 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3170 $as_echo_n "(cached) " >&6
3172 if test -n "$ac_ct_CC"; then
3173 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3179 test -z "$as_dir" && as_dir
=.
3180 for ac_exec_ext
in '' $ac_executable_extensions; do
3181 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3182 ac_cv_prog_ac_ct_CC
="$ac_prog"
3183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3192 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3193 if test -n "$ac_ct_CC"; then
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3195 $as_echo "$ac_ct_CC" >&6; }
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3198 $as_echo "no" >&6; }
3202 test -n "$ac_ct_CC" && break
3205 if test "x$ac_ct_CC" = x
; then
3208 case $cross_compiling:$ac_tool_warned in
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3212 ac_tool_warned
=yes ;;
3221 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3223 as_fn_error $?
"no acceptable C compiler found in \$PATH
3224 See \`config.log' for more details" "$LINENO" 5; }
3226 # Provide some information about the compiler.
3227 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3230 for ac_option
in --version -v -V -qversion; do
3231 { { ac_try
="$ac_compiler $ac_option >&5"
3233 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3234 *) ac_try_echo=$ac_try;;
3236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3237 $as_echo "$ac_try_echo"; } >&5
3238 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3240 if test -s conftest.err; then
3242 ... rest of stderr output deleted ...
3243 10q' conftest.err >conftest.er1
3244 cat conftest.er1 >&5
3246 rm -f conftest.er1 conftest.err
3247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3248 test $ac_status = 0; }
3251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3252 /* end confdefs.h. */
3262 ac_clean_files_save=$ac_clean_files
3263 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3264 # Try to create an executable without -o first, disregard a.out.
3265 # It will help us diagnose broken compilers, and finding out an intuition
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3268 $as_echo_n "checking whether the C compiler works... " >&6; }
3269 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3271 # The possible output files:
3272 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3275 for ac_file in $ac_files
3278 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3279 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3284 if { { ac_try="$ac_link_default"
3286 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3287 *) ac_try_echo
=$ac_try;;
3289 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3290 $as_echo "$ac_try_echo"; } >&5
3291 (eval "$ac_link_default") 2>&5
3293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3294 test $ac_status = 0; }; then :
3295 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3296 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3297 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3298 # so that the user can short-circuit this test for compilers unknown to
3300 for ac_file
in $ac_files ''
3302 test -f "$ac_file" ||
continue
3304 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3307 # We found the default executable, but exeext='' is most
3311 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3313 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3315 # We set ac_cv_exeext here because the later test for it is not
3316 # safe: cross compilers may not add the suffix if given an `-o'
3317 # argument, so we may need to know it at that point already.
3318 # Even if this section looks crufty: it has the advantage of
3325 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3330 if test -z "$ac_file"; then :
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3333 $as_echo "$as_me: failed program was:" >&5
3334 sed 's/^/| /' conftest.
$ac_ext >&5
3336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3338 as_fn_error
77 "C compiler cannot create executables
3339 See \`config.log' for more details" "$LINENO" 5; }
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3342 $as_echo "yes" >&6; }
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3345 $as_echo_n "checking for C compiler default output file name... " >&6; }
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3347 $as_echo "$ac_file" >&6; }
3348 ac_exeext
=$ac_cv_exeext
3350 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3351 ac_clean_files
=$ac_clean_files_save
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3353 $as_echo_n "checking for suffix of executables... " >&6; }
3354 if { { ac_try
="$ac_link"
3356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3357 *) ac_try_echo=$ac_try;;
3359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3360 $as_echo "$ac_try_echo"; } >&5
3361 (eval "$ac_link") 2>&5
3363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3364 test $ac_status = 0; }; then :
3365 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3366 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3367 # work properly (i.e., refer to `conftest.exe'), while it won't with
3369 for ac_file
in conftest.exe conftest conftest.
*; do
3370 test -f "$ac_file" ||
continue
3372 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3373 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3379 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3381 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3382 See \`config.log' for more details" "$LINENO" 5; }
3384 rm -f conftest conftest
$ac_cv_exeext
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3386 $as_echo "$ac_cv_exeext" >&6; }
3388 rm -f conftest.
$ac_ext
3389 EXEEXT
=$ac_cv_exeext
3391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3392 /* end confdefs.h. */
3397 FILE *f = fopen ("conftest.out", "w");
3398 return ferror (f) || fclose (f) != 0;
3404 ac_clean_files
="$ac_clean_files conftest.out"
3405 # Check that the compiler produces executables we can run. If not, either
3406 # the compiler is broken, or we cross compile.
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3408 $as_echo_n "checking whether we are cross compiling... " >&6; }
3409 if test "$cross_compiling" != yes; then
3410 { { ac_try
="$ac_link"
3412 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3413 *) ac_try_echo=$ac_try;;
3415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3416 $as_echo "$ac_try_echo"; } >&5
3417 (eval "$ac_link") 2>&5
3419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3420 test $ac_status = 0; }
3421 if { ac_try='./conftest$ac_cv_exeext'
3422 { { case "(($ac_try" in
3423 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3424 *) ac_try_echo
=$ac_try;;
3426 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3427 $as_echo "$ac_try_echo"; } >&5
3428 (eval "$ac_try") 2>&5
3430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3431 test $ac_status = 0; }; }; then
3434 if test "$cross_compiling" = maybe
; then
3437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3439 as_fn_error $?
"cannot run C compiled programs.
3440 If you meant to cross compile, use \`--host'.
3441 See \`config.log' for more details" "$LINENO" 5; }
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3446 $as_echo "$cross_compiling" >&6; }
3448 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3449 ac_clean_files
=$ac_clean_files_save
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3451 $as_echo_n "checking for suffix of object files... " >&6; }
3452 if ${ac_cv_objext+:} false
; then :
3453 $as_echo_n "(cached) " >&6
3455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3456 /* end confdefs.h. */
3466 rm -f conftest.o conftest.obj
3467 if { { ac_try
="$ac_compile"
3469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3470 *) ac_try_echo=$ac_try;;
3472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3473 $as_echo "$ac_try_echo"; } >&5
3474 (eval "$ac_compile") 2>&5
3476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3477 test $ac_status = 0; }; then :
3478 for ac_file in conftest.o conftest.obj conftest.*; do
3479 test -f "$ac_file" || continue;
3481 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3482 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3487 $as_echo "$as_me: failed program was:" >&5
3488 sed 's/^/| /' conftest.$ac_ext >&5
3490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3492 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3493 See \
`config.log' for more details" "$LINENO" 5; }
3495 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3498 $as_echo "$ac_cv_objext" >&6; }
3499 OBJEXT=$ac_cv_objext
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3502 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3503 if ${ac_cv_c_compiler_gnu+:} false; then :
3504 $as_echo_n "(cached) " >&6
3506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3507 /* end confdefs.h. */
3520 if ac_fn_c_try_compile "$LINENO"; then :
3525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3526 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3530 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3531 if test $ac_compiler_gnu = yes; then
3536 ac_test_CFLAGS=${CFLAGS+set}
3537 ac_save_CFLAGS=$CFLAGS
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3539 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3540 if ${ac_cv_prog_cc_g+:} false; then :
3541 $as_echo_n "(cached) " >&6
3543 ac_save_c_werror_flag=$ac_c_werror_flag
3544 ac_c_werror_flag=yes
3547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3548 /* end confdefs.h. */
3558 if ac_fn_c_try_compile "$LINENO"; then :
3562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3563 /* end confdefs.h. */
3573 if ac_fn_c_try_compile "$LINENO"; then :
3576 ac_c_werror_flag=$ac_save_c_werror_flag
3578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h. */
3589 if ac_fn_c_try_compile "$LINENO"; then :
3592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3597 ac_c_werror_flag=$ac_save_c_werror_flag
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3600 $as_echo "$ac_cv_prog_cc_g" >&6; }
3601 if test "$ac_test_CFLAGS" = set; then
3602 CFLAGS=$ac_save_CFLAGS
3603 elif test $ac_cv_prog_cc_g = yes; then
3604 if test "$GCC" = yes; then
3610 if test "$GCC" = yes; then
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3617 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3618 if ${ac_cv_prog_cc_c89+:} false; then :
3619 $as_echo_n "(cached) " >&6
3621 ac_cv_prog_cc_c89=no
3623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3624 /* end confdefs.h. */
3628 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3629 struct buf { int x; };
3630 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3631 static char *e (p, i)
3637 static char *f (char * (*g) (char **, int), char **p, ...)
3642 s = g (p, va_arg (v,int));
3647 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3648 function prototypes and stuff, but not '\xHH' hex character constants.
3649 These don't provoke an error unfortunately, instead are silently treated
3650 as 'x'. The following induces an error, until -std is added to get
3651 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3652 array size at least. It's necessary to write '\x00'==0 to get something
3653 that's true only with -std. */
3654 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3656 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3657 inside strings and character constants. */
3659 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3661 int test (int i, double x);
3662 struct s1 {int (*f) (int a);};
3663 struct s2 {int (*f) (double a);};
3664 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3670 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3675 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3676 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3678 CC="$ac_save_CC $ac_arg"
3679 if ac_fn_c_try_compile "$LINENO"; then :
3680 ac_cv_prog_cc_c89=$ac_arg
3682 rm -f core conftest.err conftest.$ac_objext
3683 test "x$ac_cv_prog_cc_c89" != "xno" && break
3685 rm -f conftest.$ac_ext
3690 case "x$ac_cv_prog_cc_c89" in
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3693 $as_echo "none needed" >&6; } ;;
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3696 $as_echo "unsupported" >&6; } ;;
3698 CC="$CC $ac_cv_prog_cc_c89"
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3700 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3702 if test "x$ac_cv_prog_cc_c89" != xno; then :
3707 ac_cpp='$CPP $CPPFLAGS'
3708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3713 ac_cpp='$CXXCPP $CPPFLAGS'
3714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3717 if test -z "$CXX"; then
3718 if test -n "$CCC"; then
3721 if test -n "$ac_tool_prefix"; then
3722 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3725 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3727 $as_echo_n "checking for $ac_word... " >&6; }
3728 if ${ac_cv_prog_CXX+:} false; then :
3729 $as_echo_n "(cached) " >&6
3731 if test -n "$CXX"; then
3732 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738 test -z "$as_dir" && as_dir=.
3739 for ac_exec_ext in '' $ac_executable_extensions; do
3740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3741 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3752 if test -n "$CXX"; then
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3754 $as_echo "$CXX" >&6; }
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3757 $as_echo "no" >&6; }
3761 test -n "$CXX" && break
3764 if test -z "$CXX"; then
3766 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3768 # Extract the first word of "$ac_prog", so it can be a program name with args.
3769 set dummy $ac_prog; ac_word=$2
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3771 $as_echo_n "checking for $ac_word... " >&6; }
3772 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3773 $as_echo_n "(cached) " >&6
3775 if test -n "$ac_ct_CXX"; then
3776 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3782 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3785 ac_cv_prog_ac_ct_CXX="$ac_prog"
3786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3795 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3796 if test -n "$ac_ct_CXX"; then
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3798 $as_echo "$ac_ct_CXX" >&6; }
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3801 $as_echo "no" >&6; }
3805 test -n "$ac_ct_CXX" && break
3808 if test "x$ac_ct_CXX" = x; then
3811 case $cross_compiling:$ac_tool_warned in
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3815 ac_tool_warned=yes ;;
3823 # Provide some information about the compiler.
3824 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3827 for ac_option in --version -v -V -qversion; do
3828 { { ac_try="$ac_compiler $ac_option >&5"
3830 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3831 *) ac_try_echo
=$ac_try;;
3833 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3834 $as_echo "$ac_try_echo"; } >&5
3835 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3837 if test -s conftest.err
; then
3839 ... rest of stderr output deleted ...
3840 10q' conftest.err
>conftest.er1
3841 cat conftest.er1
>&5
3843 rm -f conftest.er1 conftest.err
3844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3845 test $ac_status = 0; }
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3849 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3850 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3851 $as_echo_n "(cached) " >&6
3853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3854 /* end confdefs.h. */
3867 if ac_fn_cxx_try_compile
"$LINENO"; then :
3872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3873 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3877 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3878 if test $ac_compiler_gnu = yes; then
3883 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3884 ac_save_CXXFLAGS
=$CXXFLAGS
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3886 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3887 if ${ac_cv_prog_cxx_g+:} false
; then :
3888 $as_echo_n "(cached) " >&6
3890 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3891 ac_cxx_werror_flag
=yes
3894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3895 /* end confdefs.h. */
3905 if ac_fn_cxx_try_compile
"$LINENO"; then :
3906 ac_cv_prog_cxx_g
=yes
3909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3910 /* end confdefs.h. */
3920 if ac_fn_cxx_try_compile
"$LINENO"; then :
3923 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3926 /* end confdefs.h. */
3936 if ac_fn_cxx_try_compile
"$LINENO"; then :
3937 ac_cv_prog_cxx_g
=yes
3939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3944 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3947 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3948 if test "$ac_test_CXXFLAGS" = set; then
3949 CXXFLAGS
=$ac_save_CXXFLAGS
3950 elif test $ac_cv_prog_cxx_g = yes; then
3951 if test "$GXX" = yes; then
3957 if test "$GXX" = yes; then
3964 ac_cpp
='$CPP $CPPFLAGS'
3965 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3966 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3967 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3969 if test -n "$ac_tool_prefix"; then
3970 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3971 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3973 $as_echo_n "checking for $ac_word... " >&6; }
3974 if ${ac_cv_prog_CPPBIN+:} false
; then :
3975 $as_echo_n "(cached) " >&6
3977 if test -n "$CPPBIN"; then
3978 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
3980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3984 test -z "$as_dir" && as_dir
=.
3985 for ac_exec_ext
in '' $ac_executable_extensions; do
3986 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3987 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
3988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3997 CPPBIN
=$ac_cv_prog_CPPBIN
3998 if test -n "$CPPBIN"; then
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4000 $as_echo "$CPPBIN" >&6; }
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4003 $as_echo "no" >&6; }
4008 if test -z "$ac_cv_prog_CPPBIN"; then
4009 ac_ct_CPPBIN
=$CPPBIN
4010 # Extract the first word of "cpp", so it can be a program name with args.
4011 set dummy cpp
; ac_word
=$2
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4013 $as_echo_n "checking for $ac_word... " >&6; }
4014 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4015 $as_echo_n "(cached) " >&6
4017 if test -n "$ac_ct_CPPBIN"; then
4018 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4024 test -z "$as_dir" && as_dir
=.
4025 for ac_exec_ext
in '' $ac_executable_extensions; do
4026 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4027 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4037 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4038 if test -n "$ac_ct_CPPBIN"; then
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4040 $as_echo "$ac_ct_CPPBIN" >&6; }
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4043 $as_echo "no" >&6; }
4046 if test "x$ac_ct_CPPBIN" = x
; then
4049 case $cross_compiling:$ac_tool_warned in
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4053 ac_tool_warned
=yes ;;
4055 CPPBIN
=$ac_ct_CPPBIN
4058 CPPBIN
="$ac_cv_prog_CPPBIN"
4062 cat >>confdefs.h
<<_ACEOF
4063 #define EXEEXT "$ac_exeext"
4069 if test "x$enable_win64" = "xyes"
4074 notice_platform
="64-bit "
4081 notice_platform
="32-bit "
4084 enable_win16
=${enable_win16:-yes}
4086 with_fontconfig
=${with_fontconfig:-no}
4089 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4094 $as_echo_n "checking whether $CC works... " >&6; }
4096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4107 if ac_fn_c_try_link
"$LINENO"; then :
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4109 $as_echo "yes" >&6; }
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4112 $as_echo "no" >&6; }
4113 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4115 rm -f core conftest.err conftest.
$ac_objext \
4116 conftest
$ac_exeext conftest.
$ac_ext
4118 notice_platform
="32-bit "
4121 enable_win16
=${enable_win16:-yes}
4123 if test "x${GCC}" = "xyes"
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4126 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4128 /* end confdefs.h. */
4133 void func(__builtin_ms_va_list *args);
4138 if ac_fn_c_try_compile
"$LINENO"; then :
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4140 $as_echo "yes" >&6; }
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4143 $as_echo "no" >&6; }
4144 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4154 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4156 /* end confdefs.h. */
4157 int ac_test(int i) { return i; }
4161 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4166 if ac_fn_c_try_link
"$LINENO"; then :
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4168 $as_echo "yes" >&6; }
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4171 $as_echo "no" >&6; }
4172 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4174 rm -f core conftest.err conftest.
$ac_objext \
4175 conftest
$ac_exeext conftest.
$ac_ext
4176 CFLAGS
="$CFLAGS -marm"
4178 *-mingw32*|
*-cygwin*)
4179 enable_win16
=${enable_win16:-no}
4180 CFLAGS
="$CFLAGS -D_WIN32"
4183 enable_win16
=${enable_win16:-yes}
4187 enable_win16
=${enable_win16:-no}
4188 enable_win64
=${enable_win64:-no}
4190 enable_winetest
=${enable_winetest:-$enable_tests}
4192 if test -n "$with_wine64"
4194 if test "x$enable_win64" = "xyes"
4196 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4197 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4201 enable_fonts
=${enable_fonts:-no}
4202 enable_server
=${enable_server:-no}
4203 enable_tools
=${enable_tools:-no}
4204 elif test "x$enable_win64" = "xyes"
4206 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4210 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4211 if ${wine_cv_toolsdir+:} false
; then :
4212 $as_echo_n "(cached) " >&6
4214 wine_cv_toolsdir
="$with_wine_tools"
4215 if test -z "$with_wine_tools"; then
4216 if test "$cross_compiling" = "yes"; then
4217 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4218 elif test -n "$with_wine64"; then
4219 wine_cv_toolsdir
="$with_wine64"
4222 if test -z "$wine_cv_toolsdir"; then
4223 wine_cv_toolsdir
="\$(top_builddir)"
4224 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4225 case "$wine_cv_toolsdir" in
4227 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4230 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4234 $as_echo "$wine_cv_toolsdir" >&6; }
4235 TOOLSDIR
=$wine_cv_toolsdir
4237 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4239 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4245 # Extract the first word of "$ac_prog", so it can be a program name with args.
4246 set dummy
$ac_prog; ac_word
=$2
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4248 $as_echo_n "checking for $ac_word... " >&6; }
4249 if ${ac_cv_prog_FLEX+:} false
; then :
4250 $as_echo_n "(cached) " >&6
4252 if test -n "$FLEX"; then
4253 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4259 test -z "$as_dir" && as_dir
=.
4260 for ac_exec_ext
in '' $ac_executable_extensions; do
4261 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4262 ac_cv_prog_FLEX
="$ac_prog"
4263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4272 FLEX
=$ac_cv_prog_FLEX
4273 if test -n "$FLEX"; then
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4275 $as_echo "$FLEX" >&6; }
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4278 $as_echo "no" >&6; }
4282 test -n "$FLEX" && break
4284 test -n "$FLEX" || FLEX
="none"
4286 if test "$FLEX" = "none"
4288 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4291 $as_echo_n "checking whether flex is recent enough... " >&6; }
4292 cat >conftest.l
<<EOF
4294 #include "prediluvian.h"
4298 if $FLEX -t conftest.l
>/dev
/null
2>&5
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4301 $as_echo "yes" >&6; }
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4304 $as_echo "no" >&6; }
4305 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4308 for ac_prog
in bison
4310 # Extract the first word of "$ac_prog", so it can be a program name with args.
4311 set dummy
$ac_prog; ac_word
=$2
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4313 $as_echo_n "checking for $ac_word... " >&6; }
4314 if ${ac_cv_prog_BISON+:} false
; then :
4315 $as_echo_n "(cached) " >&6
4317 if test -n "$BISON"; then
4318 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4324 test -z "$as_dir" && as_dir
=.
4325 for ac_exec_ext
in '' $ac_executable_extensions; do
4326 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4327 ac_cv_prog_BISON
="$ac_prog"
4328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4337 BISON
=$ac_cv_prog_BISON
4338 if test -n "$BISON"; then
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4340 $as_echo "$BISON" >&6; }
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4343 $as_echo "no" >&6; }
4347 test -n "$BISON" && break
4349 test -n "$BISON" || BISON
="none"
4351 if test "$BISON" = "none"
4353 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4356 if test -n "$ac_tool_prefix"; then
4357 for ac_prog
in ar gar
4359 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4360 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4362 $as_echo_n "checking for $ac_word... " >&6; }
4363 if ${ac_cv_prog_AR+:} false
; then :
4364 $as_echo_n "(cached) " >&6
4366 if test -n "$AR"; then
4367 ac_cv_prog_AR
="$AR" # Let the user override the test.
4369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4373 test -z "$as_dir" && as_dir
=.
4374 for ac_exec_ext
in '' $ac_executable_extensions; do
4375 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4376 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4387 if test -n "$AR"; then
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4389 $as_echo "$AR" >&6; }
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4392 $as_echo "no" >&6; }
4396 test -n "$AR" && break
4399 if test -z "$AR"; then
4401 for ac_prog
in ar gar
4403 # Extract the first word of "$ac_prog", so it can be a program name with args.
4404 set dummy
$ac_prog; ac_word
=$2
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4406 $as_echo_n "checking for $ac_word... " >&6; }
4407 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4408 $as_echo_n "(cached) " >&6
4410 if test -n "$ac_ct_AR"; then
4411 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4417 test -z "$as_dir" && as_dir
=.
4418 for ac_exec_ext
in '' $ac_executable_extensions; do
4419 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4420 ac_cv_prog_ac_ct_AR
="$ac_prog"
4421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4430 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4431 if test -n "$ac_ct_AR"; then
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4433 $as_echo "$ac_ct_AR" >&6; }
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4436 $as_echo "no" >&6; }
4440 test -n "$ac_ct_AR" && break
4443 if test "x$ac_ct_AR" = x
; then
4446 case $cross_compiling:$ac_tool_warned in
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4450 ac_tool_warned
=yes ;;
4458 if test -n "$ac_tool_prefix"; then
4459 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4460 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4462 $as_echo_n "checking for $ac_word... " >&6; }
4463 if ${ac_cv_prog_RANLIB+:} false
; then :
4464 $as_echo_n "(cached) " >&6
4466 if test -n "$RANLIB"; then
4467 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4473 test -z "$as_dir" && as_dir
=.
4474 for ac_exec_ext
in '' $ac_executable_extensions; do
4475 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4476 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4486 RANLIB
=$ac_cv_prog_RANLIB
4487 if test -n "$RANLIB"; then
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4489 $as_echo "$RANLIB" >&6; }
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4492 $as_echo "no" >&6; }
4497 if test -z "$ac_cv_prog_RANLIB"; then
4498 ac_ct_RANLIB
=$RANLIB
4499 # Extract the first word of "ranlib", so it can be a program name with args.
4500 set dummy ranlib
; ac_word
=$2
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4502 $as_echo_n "checking for $ac_word... " >&6; }
4503 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4504 $as_echo_n "(cached) " >&6
4506 if test -n "$ac_ct_RANLIB"; then
4507 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4513 test -z "$as_dir" && as_dir
=.
4514 for ac_exec_ext
in '' $ac_executable_extensions; do
4515 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4516 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4526 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4527 if test -n "$ac_ct_RANLIB"; then
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4529 $as_echo "$ac_ct_RANLIB" >&6; }
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4532 $as_echo "no" >&6; }
4535 if test "x$ac_ct_RANLIB" = x
; then
4538 case $cross_compiling:$ac_tool_warned in
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4542 ac_tool_warned
=yes ;;
4544 RANLIB
=$ac_ct_RANLIB
4547 RANLIB
="$ac_cv_prog_RANLIB"
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4551 $as_echo_n "checking whether ln -s works... " >&6; }
4553 if test "$LN_S" = "ln -s"; then
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4555 $as_echo "yes" >&6; }
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4558 $as_echo "no, using $LN_S" >&6; }
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4562 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4563 if ${ac_cv_path_GREP+:} false
; then :
4564 $as_echo_n "(cached) " >&6
4566 if test -z "$GREP"; then
4567 ac_path_GREP_found
=false
4568 # Loop through the user's path and test for each of PROGNAME-LIST
4569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4570 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4573 test -z "$as_dir" && as_dir
=.
4574 for ac_prog
in grep ggrep
; do
4575 for ac_exec_ext
in '' $ac_executable_extensions; do
4576 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4577 as_fn_executable_p
"$ac_path_GREP" ||
continue
4578 # Check for GNU ac_path_GREP and select it if it is found.
4579 # Check for GNU $ac_path_GREP
4580 case `"$ac_path_GREP" --version 2>&1` in
4582 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4585 $as_echo_n 0123456789 >"conftest.in"
4588 cat "conftest.in" "conftest.in" >"conftest.tmp"
4589 mv "conftest.tmp" "conftest.in"
4590 cp "conftest.in" "conftest.nl"
4591 $as_echo 'GREP' >> "conftest.nl"
4592 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4593 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4594 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4595 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4596 # Best one so far, save it but keep looking for a better one
4597 ac_cv_path_GREP
="$ac_path_GREP"
4598 ac_path_GREP_max
=$ac_count
4600 # 10*(2^10) chars as input seems more than enough
4601 test $ac_count -gt 10 && break
4603 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4606 $ac_path_GREP_found && break 3
4611 if test -z "$ac_cv_path_GREP"; then
4612 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4615 ac_cv_path_GREP
=$GREP
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4620 $as_echo "$ac_cv_path_GREP" >&6; }
4621 GREP
="$ac_cv_path_GREP"
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4625 $as_echo_n "checking for egrep... " >&6; }
4626 if ${ac_cv_path_EGREP+:} false
; then :
4627 $as_echo_n "(cached) " >&6
4629 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4630 then ac_cv_path_EGREP
="$GREP -E"
4632 if test -z "$EGREP"; then
4633 ac_path_EGREP_found
=false
4634 # Loop through the user's path and test for each of PROGNAME-LIST
4635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4636 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4639 test -z "$as_dir" && as_dir
=.
4640 for ac_prog
in egrep; do
4641 for ac_exec_ext
in '' $ac_executable_extensions; do
4642 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4643 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4644 # Check for GNU ac_path_EGREP and select it if it is found.
4645 # Check for GNU $ac_path_EGREP
4646 case `"$ac_path_EGREP" --version 2>&1` in
4648 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4651 $as_echo_n 0123456789 >"conftest.in"
4654 cat "conftest.in" "conftest.in" >"conftest.tmp"
4655 mv "conftest.tmp" "conftest.in"
4656 cp "conftest.in" "conftest.nl"
4657 $as_echo 'EGREP' >> "conftest.nl"
4658 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4659 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4660 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4661 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4662 # Best one so far, save it but keep looking for a better one
4663 ac_cv_path_EGREP
="$ac_path_EGREP"
4664 ac_path_EGREP_max
=$ac_count
4666 # 10*(2^10) chars as input seems more than enough
4667 test $ac_count -gt 10 && break
4669 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4672 $ac_path_EGREP_found && break 3
4677 if test -z "$ac_cv_path_EGREP"; then
4678 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4681 ac_cv_path_EGREP
=$EGREP
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4687 $as_echo "$ac_cv_path_EGREP" >&6; }
4688 EGREP
="$ac_cv_path_EGREP"
4691 # Extract the first word of "ldconfig", so it can be a program name with args.
4692 set dummy ldconfig
; ac_word
=$2
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4694 $as_echo_n "checking for $ac_word... " >&6; }
4695 if ${ac_cv_path_LDCONFIG+:} false
; then :
4696 $as_echo_n "(cached) " >&6
4700 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4704 for as_dir
in /sbin
/usr
/sbin
$PATH
4707 test -z "$as_dir" && as_dir
=.
4708 for ac_exec_ext
in '' $ac_executable_extensions; do
4709 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4710 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4718 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4722 LDCONFIG
=$ac_cv_path_LDCONFIG
4723 if test -n "$LDCONFIG"; then
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4725 $as_echo "$LDCONFIG" >&6; }
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4728 $as_echo "no" >&6; }
4732 # Find a good install program. We prefer a C program (faster),
4733 # so one script is as good as another. But avoid the broken or
4734 # incompatible versions:
4735 # SysV /etc/install, /usr/sbin/install
4736 # SunOS /usr/etc/install
4737 # IRIX /sbin/install
4739 # AmigaOS /C/install, which installs bootblocks on floppy discs
4740 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4741 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4742 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4743 # OS/2's system install, which has a completely different semantic
4744 # ./install, which can be erroneously created by make from ./install.sh.
4745 # Reject install programs that cannot install multiple files.
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4747 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4748 if test -z "$INSTALL"; then
4749 if ${ac_cv_path_install+:} false
; then :
4750 $as_echo_n "(cached) " >&6
4752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4756 test -z "$as_dir" && as_dir
=.
4757 # Account for people who put trailing slashes in PATH elements.
4758 case $as_dir/ in #((
4759 .
/ | .
// |
/[cC
]/* | \
4760 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4761 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4764 # OSF1 and SCO ODT 3.0 have their own names for install.
4765 # Don't use installbsd from OSF since it installs stuff as root
4767 for ac_prog
in ginstall scoinst
install; do
4768 for ac_exec_ext
in '' $ac_executable_extensions; do
4769 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4770 if test $ac_prog = install &&
4771 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4772 # AIX install. It has an incompatible calling convention.
4774 elif test $ac_prog = install &&
4775 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4776 # program-specific install script used by HP pwplus--don't use.
4779 rm -rf conftest.one conftest.two conftest.dir
4780 echo one
> conftest.one
4781 echo two
> conftest.two
4783 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4784 test -s conftest.one
&& test -s conftest.two
&&
4785 test -s conftest.dir
/conftest.one
&&
4786 test -s conftest.dir
/conftest.two
4788 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4801 rm -rf conftest.one conftest.two conftest.dir
4804 if test "${ac_cv_path_install+set}" = set; then
4805 INSTALL
=$ac_cv_path_install
4807 # As a last resort, use the slow shell script. Don't cache a
4808 # value for INSTALL within a source directory, because that will
4809 # break other packages using the cache if that directory is
4810 # removed, or if the value is a relative name.
4811 INSTALL
=$ac_install_sh
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4815 $as_echo "$INSTALL" >&6; }
4817 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4818 # It thinks the first close brace ends the variable substitution.
4819 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4821 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4823 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4826 [\\/$
]* | ?
:[\\/]* ) ;;
4827 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4830 for ac_prog
in lclint lint
4832 # Extract the first word of "$ac_prog", so it can be a program name with args.
4833 set dummy
$ac_prog; ac_word
=$2
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4835 $as_echo_n "checking for $ac_word... " >&6; }
4836 if ${ac_cv_prog_LINT+:} false
; then :
4837 $as_echo_n "(cached) " >&6
4839 if test -n "$LINT"; then
4840 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4846 test -z "$as_dir" && as_dir
=.
4847 for ac_exec_ext
in '' $ac_executable_extensions; do
4848 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4849 ac_cv_prog_LINT
="$ac_prog"
4850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4859 LINT
=$ac_cv_prog_LINT
4860 if test -n "$LINT"; then
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4862 $as_echo "$LINT" >&6; }
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4865 $as_echo "no" >&6; }
4869 test -n "$LINT" && break
4872 if test "$LINT" = "lint"
4874 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4878 for ac_prog
in fontforge
4880 # Extract the first word of "$ac_prog", so it can be a program name with args.
4881 set dummy
$ac_prog; ac_word
=$2
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4883 $as_echo_n "checking for $ac_word... " >&6; }
4884 if ${ac_cv_prog_FONTFORGE+:} false
; then :
4885 $as_echo_n "(cached) " >&6
4887 if test -n "$FONTFORGE"; then
4888 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4894 test -z "$as_dir" && as_dir
=.
4895 for ac_exec_ext
in '' $ac_executable_extensions; do
4896 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4897 ac_cv_prog_FONTFORGE
="$ac_prog"
4898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4907 FONTFORGE
=$ac_cv_prog_FONTFORGE
4908 if test -n "$FONTFORGE"; then
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4910 $as_echo "$FONTFORGE" >&6; }
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4913 $as_echo "no" >&6; }
4917 test -n "$FONTFORGE" && break
4919 test -n "$FONTFORGE" || FONTFORGE
="false"
4921 for ac_prog
in pkg-config
4923 # Extract the first word of "$ac_prog", so it can be a program name with args.
4924 set dummy
$ac_prog; ac_word
=$2
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 $as_echo_n "checking for $ac_word... " >&6; }
4927 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
4928 $as_echo_n "(cached) " >&6
4930 if test -n "$PKG_CONFIG"; then
4931 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
4933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4937 test -z "$as_dir" && as_dir
=.
4938 for ac_exec_ext
in '' $ac_executable_extensions; do
4939 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4940 ac_cv_prog_PKG_CONFIG
="$ac_prog"
4941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4950 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
4951 if test -n "$PKG_CONFIG"; then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4953 $as_echo "$PKG_CONFIG" >&6; }
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 $as_echo "no" >&6; }
4960 test -n "$PKG_CONFIG" && break
4962 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
4966 # Extract the first word of "$ac_prog", so it can be a program name with args.
4967 set dummy
$ac_prog; ac_word
=$2
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4969 $as_echo_n "checking for $ac_word... " >&6; }
4970 if ${ac_cv_prog_RSVG+:} false
; then :
4971 $as_echo_n "(cached) " >&6
4973 if test -n "$RSVG"; then
4974 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
4976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4980 test -z "$as_dir" && as_dir
=.
4981 for ac_exec_ext
in '' $ac_executable_extensions; do
4982 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4983 ac_cv_prog_RSVG
="$ac_prog"
4984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4993 RSVG
=$ac_cv_prog_RSVG
4994 if test -n "$RSVG"; then
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
4996 $as_echo "$RSVG" >&6; }
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4999 $as_echo "no" >&6; }
5003 test -n "$RSVG" && break
5005 test -n "$RSVG" || RSVG
="false"
5007 for ac_prog
in convert
5009 # Extract the first word of "$ac_prog", so it can be a program name with args.
5010 set dummy
$ac_prog; ac_word
=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if ${ac_cv_prog_CONVERT+:} false
; then :
5014 $as_echo_n "(cached) " >&6
5016 if test -n "$CONVERT"; then
5017 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5023 test -z "$as_dir" && as_dir
=.
5024 for ac_exec_ext
in '' $ac_executable_extensions; do
5025 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5026 ac_cv_prog_CONVERT
="$ac_prog"
5027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5036 CONVERT
=$ac_cv_prog_CONVERT
5037 if test -n "$CONVERT"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5039 $as_echo "$CONVERT" >&6; }
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5046 test -n "$CONVERT" && break
5048 test -n "$CONVERT" || CONVERT
="false"
5050 for ac_prog
in icotool
5052 # Extract the first word of "$ac_prog", so it can be a program name with args.
5053 set dummy
$ac_prog; ac_word
=$2
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 $as_echo_n "checking for $ac_word... " >&6; }
5056 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5057 $as_echo_n "(cached) " >&6
5059 if test -n "$ICOTOOL"; then
5060 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5066 test -z "$as_dir" && as_dir
=.
5067 for ac_exec_ext
in '' $ac_executable_extensions; do
5068 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5069 ac_cv_prog_ICOTOOL
="$ac_prog"
5070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5079 ICOTOOL
=$ac_cv_prog_ICOTOOL
5080 if test -n "$ICOTOOL"; then
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5082 $as_echo "$ICOTOOL" >&6; }
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085 $as_echo "no" >&6; }
5089 test -n "$ICOTOOL" && break
5091 test -n "$ICOTOOL" || ICOTOOL
="false"
5093 for ac_prog
in msgfmt
5095 # Extract the first word of "$ac_prog", so it can be a program name with args.
5096 set dummy
$ac_prog; ac_word
=$2
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5098 $as_echo_n "checking for $ac_word... " >&6; }
5099 if ${ac_cv_prog_MSGFMT+:} false
; then :
5100 $as_echo_n "(cached) " >&6
5102 if test -n "$MSGFMT"; then
5103 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5109 test -z "$as_dir" && as_dir
=.
5110 for ac_exec_ext
in '' $ac_executable_extensions; do
5111 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5112 ac_cv_prog_MSGFMT
="$ac_prog"
5113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 MSGFMT
=$ac_cv_prog_MSGFMT
5123 if test -n "$MSGFMT"; then
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5125 $as_echo "$MSGFMT" >&6; }
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5128 $as_echo "no" >&6; }
5132 test -n "$MSGFMT" && break
5134 test -n "$MSGFMT" || MSGFMT
="false"
5137 if test "x$enable_maintainer_mode" != "xyes"
5142 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5143 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5145 if test "$CONVERT" = false
5147 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5150 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5151 convert_version
=`convert --version | head -n1`
5152 if test "x$convert_version" != "x"
5154 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5155 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5156 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5161 if test "$CONVERT" = false
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5164 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5165 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5168 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5172 if test "$ICOTOOL" = false
5174 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5177 $as_echo_n "checking for recent enough icotool... " >&6; }
5178 icotool_version
=`icotool --version | head -n1`
5179 if test "x$icotool_version" != "x"
5181 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5182 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5183 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5186 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5189 if test "$ICOTOOL" = false
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5192 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5193 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5196 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5202 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5205 test "x$with_gettext" != xno || MSGFMT
=false
5206 if test "$MSGFMT" != "false"
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5209 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5210 cat >conftest.po
<<EOF
5216 if $MSGFMT -o /dev
/null conftest.po
2>&5
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5219 $as_echo "yes" >&6; }
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5222 $as_echo "no" >&6; }
5226 if test "$MSGFMT" = false
; then :
5227 case "x$with_gettext" in
5228 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5230 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5231 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5237 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5238 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5239 $as_echo_n "(cached) " >&6
5241 ac_check_lib_save_LIBS
=$LIBS
5243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5246 /* Override any GCC internal prototype to avoid an error.
5247 Use char because int might match the return type of a GCC
5248 builtin and then its argument prototype would still apply. */
5252 char i386_set_ldt ();
5256 return i386_set_ldt ();
5261 if ac_fn_c_try_link
"$LINENO"; then :
5262 ac_cv_lib_i386_i386_set_ldt
=yes
5264 ac_cv_lib_i386_i386_set_ldt
=no
5266 rm -f core conftest.err conftest.
$ac_objext \
5267 conftest
$ac_exeext conftest.
$ac_ext
5268 LIBS
=$ac_check_lib_save_LIBS
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5271 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5272 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5273 cat >>confdefs.h
<<_ACEOF
5274 #define HAVE_LIBI386 1
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5282 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5283 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5284 $as_echo_n "(cached) " >&6
5286 ac_check_lib_save_LIBS
=$LIBS
5287 LIBS
="-lossaudio $LIBS"
5288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5289 /* end confdefs.h. */
5291 /* Override any GCC internal prototype to avoid an error.
5292 Use char because int might match the return type of a GCC
5293 builtin and then its argument prototype would still apply. */
5301 return _oss_ioctl ();
5306 if ac_fn_c_try_link
"$LINENO"; then :
5307 ac_cv_lib_ossaudio__oss_ioctl
=yes
5309 ac_cv_lib_ossaudio__oss_ioctl
=no
5311 rm -f core conftest.err conftest.
$ac_objext \
5312 conftest
$ac_exeext conftest.
$ac_ext
5313 LIBS
=$ac_check_lib_save_LIBS
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5316 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5317 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5318 cat >>confdefs.h
<<_ACEOF
5319 #define HAVE_LIBOSSAUDIO 1
5322 LIBS
="-lossaudio $LIBS"
5333 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
5335 # Check whether --enable-largefile was given.
5336 if test "${enable_largefile+set}" = set; then :
5337 enableval
=$enable_largefile;
5340 if test "$enable_largefile" != no
; then
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5343 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5344 if ${ac_cv_sys_largefile_CC+:} false
; then :
5345 $as_echo_n "(cached) " >&6
5347 ac_cv_sys_largefile_CC
=no
5348 if test "$GCC" != yes; then
5351 # IRIX 6.2 and later do not support large files by default,
5352 # so use the C compiler's -n32 option if that helps.
5353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5354 /* end confdefs.h. */
5355 #include <sys/types.h>
5356 /* Check that off_t can represent 2**63 - 1 correctly.
5357 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5358 since some C++ compilers masquerading as C compilers
5359 incorrectly reject 9223372036854775807. */
5360 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5361 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5362 && LARGE_OFF_T % 2147483647 == 1)
5372 if ac_fn_c_try_compile
"$LINENO"; then :
5375 rm -f core conftest.err conftest.
$ac_objext
5377 if ac_fn_c_try_compile
"$LINENO"; then :
5378 ac_cv_sys_largefile_CC
=' -n32'; break
5380 rm -f core conftest.err conftest.
$ac_objext
5384 rm -f conftest.
$ac_ext
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5388 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5389 if test "$ac_cv_sys_largefile_CC" != no
; then
5390 CC
=$CC$ac_cv_sys_largefile_CC
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5394 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5395 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5396 $as_echo_n "(cached) " >&6
5399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5400 /* end confdefs.h. */
5401 #include <sys/types.h>
5402 /* Check that off_t can represent 2**63 - 1 correctly.
5403 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5404 since some C++ compilers masquerading as C compilers
5405 incorrectly reject 9223372036854775807. */
5406 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5407 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5408 && LARGE_OFF_T % 2147483647 == 1)
5418 if ac_fn_c_try_compile
"$LINENO"; then :
5419 ac_cv_sys_file_offset_bits
=no
; break
5421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5423 /* end confdefs.h. */
5424 #define _FILE_OFFSET_BITS 64
5425 #include <sys/types.h>
5426 /* Check that off_t can represent 2**63 - 1 correctly.
5427 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5428 since some C++ compilers masquerading as C compilers
5429 incorrectly reject 9223372036854775807. */
5430 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5431 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5432 && LARGE_OFF_T % 2147483647 == 1)
5442 if ac_fn_c_try_compile
"$LINENO"; then :
5443 ac_cv_sys_file_offset_bits
=64; break
5445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5446 ac_cv_sys_file_offset_bits
=unknown
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5451 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5452 case $ac_cv_sys_file_offset_bits in #(
5455 cat >>confdefs.h
<<_ACEOF
5456 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5461 if test $ac_cv_sys_file_offset_bits = unknown
; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5463 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5464 if ${ac_cv_sys_large_files+:} false
; then :
5465 $as_echo_n "(cached) " >&6
5468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5469 /* end confdefs.h. */
5470 #include <sys/types.h>
5471 /* Check that off_t can represent 2**63 - 1 correctly.
5472 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5473 since some C++ compilers masquerading as C compilers
5474 incorrectly reject 9223372036854775807. */
5475 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5476 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5477 && LARGE_OFF_T % 2147483647 == 1)
5487 if ac_fn_c_try_compile
"$LINENO"; then :
5488 ac_cv_sys_large_files
=no
; break
5490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5492 /* end confdefs.h. */
5493 #define _LARGE_FILES 1
5494 #include <sys/types.h>
5495 /* Check that off_t can represent 2**63 - 1 correctly.
5496 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5497 since some C++ compilers masquerading as C compilers
5498 incorrectly reject 9223372036854775807. */
5499 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5500 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5501 && LARGE_OFF_T % 2147483647 == 1)
5511 if ac_fn_c_try_compile
"$LINENO"; then :
5512 ac_cv_sys_large_files
=1; break
5514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5515 ac_cv_sys_large_files
=unknown
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5520 $as_echo "$ac_cv_sys_large_files" >&6; }
5521 case $ac_cv_sys_large_files in #(
5524 cat >>confdefs.h
<<_ACEOF
5525 #define _LARGE_FILES $ac_cv_sys_large_files
5537 ac_cpp
='$CPP $CPPFLAGS'
5538 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5539 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5540 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5542 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5543 # On Suns, sometimes $CPP names a directory.
5544 if test -n "$CPP" && test -d "$CPP"; then
5547 if test -z "$CPP"; then
5548 if ${ac_cv_prog_CPP+:} false
; then :
5549 $as_echo_n "(cached) " >&6
5551 # Double quotes because CPP needs to be expanded
5552 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5555 for ac_c_preproc_warn_flag
in '' yes
5557 # Use a header file that comes with gcc, so configuring glibc
5558 # with a fresh cross-compiler works.
5559 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5560 # <limits.h> exists even on freestanding compilers.
5561 # On the NeXT, cc -E runs the code through the compiler's parser,
5562 # not just through cpp. "Syntax error" is here to catch this case.
5563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5564 /* end confdefs.h. */
5566 # include <limits.h>
5568 # include <assert.h>
5572 if ac_fn_c_try_cpp
"$LINENO"; then :
5575 # Broken: fails on valid input.
5578 rm -f conftest.err conftest.i conftest.
$ac_ext
5580 # OK, works on sane cases. Now check whether nonexistent headers
5581 # can be detected and how.
5582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5583 /* end confdefs.h. */
5584 #include <ac_nonexistent.h>
5586 if ac_fn_c_try_cpp
"$LINENO"; then :
5587 # Broken: success on invalid input.
5590 # Passes both tests.
5594 rm -f conftest.err conftest.i conftest.
$ac_ext
5597 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5598 rm -f conftest.i conftest.err conftest.
$ac_ext
5599 if $ac_preproc_ok; then :
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5612 $as_echo "$CPP" >&6; }
5614 for ac_c_preproc_warn_flag
in '' yes
5616 # Use a header file that comes with gcc, so configuring glibc
5617 # with a fresh cross-compiler works.
5618 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5619 # <limits.h> exists even on freestanding compilers.
5620 # On the NeXT, cc -E runs the code through the compiler's parser,
5621 # not just through cpp. "Syntax error" is here to catch this case.
5622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5623 /* end confdefs.h. */
5625 # include <limits.h>
5627 # include <assert.h>
5631 if ac_fn_c_try_cpp
"$LINENO"; then :
5634 # Broken: fails on valid input.
5637 rm -f conftest.err conftest.i conftest.
$ac_ext
5639 # OK, works on sane cases. Now check whether nonexistent headers
5640 # can be detected and how.
5641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5642 /* end confdefs.h. */
5643 #include <ac_nonexistent.h>
5645 if ac_fn_c_try_cpp
"$LINENO"; then :
5646 # Broken: success on invalid input.
5649 # Passes both tests.
5653 rm -f conftest.err conftest.i conftest.
$ac_ext
5656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5657 rm -f conftest.i conftest.err conftest.
$ac_ext
5658 if $ac_preproc_ok; then :
5661 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5663 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5664 See \`config.log' for more details" "$LINENO" 5; }
5668 ac_cpp
='$CPP $CPPFLAGS'
5669 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5670 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5671 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5675 $as_echo_n "checking for ANSI C header files... " >&6; }
5676 if ${ac_cv_header_stdc+:} false
; then :
5677 $as_echo_n "(cached) " >&6
5679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5680 /* end confdefs.h. */
5694 if ac_fn_c_try_compile
"$LINENO"; then :
5695 ac_cv_header_stdc
=yes
5697 ac_cv_header_stdc
=no
5699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5701 if test $ac_cv_header_stdc = yes; then
5702 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5704 /* end confdefs.h. */
5708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5709 $EGREP "memchr" >/dev
/null
2>&1; then :
5712 ac_cv_header_stdc
=no
5718 if test $ac_cv_header_stdc = yes; then
5719 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5721 /* end confdefs.h. */
5725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5726 $EGREP "free" >/dev
/null
2>&1; then :
5729 ac_cv_header_stdc
=no
5735 if test $ac_cv_header_stdc = yes; then
5736 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5737 if test "$cross_compiling" = yes; then :
5740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5741 /* end confdefs.h. */
5744 #if ((' ' & 0x0FF) == 0x020)
5745 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5746 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5748 # define ISLOWER(c) \
5749 (('a' <= (c) && (c) <= 'i') \
5750 || ('j' <= (c) && (c) <= 'r') \
5751 || ('s' <= (c) && (c) <= 'z'))
5752 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5755 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5760 for (i = 0; i < 256; i++)
5761 if (XOR (islower (i), ISLOWER (i))
5762 || toupper (i) != TOUPPER (i))
5767 if ac_fn_c_try_run
"$LINENO"; then :
5770 ac_cv_header_stdc
=no
5772 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5773 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5779 $as_echo "$ac_cv_header_stdc" >&6; }
5780 if test $ac_cv_header_stdc = yes; then
5782 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5786 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5787 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5788 inttypes.h stdint.h unistd.h
5790 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5791 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5793 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5794 cat >>confdefs.h
<<_ACEOF
5795 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5805 ApplicationServices
/ApplicationServices.h \
5806 AudioToolbox
/AudioConverter.h \
5807 AudioUnit
/AudioUnit.h \
5808 AudioUnit
/AudioComponent.h \
5811 CoreAudio
/CoreAudio.h \
5812 CoreServices
/CoreServices.h \
5813 DiskArbitration
/DiskArbitration.h \
5815 IOKit
/hid
/IOHIDLib.h \
5818 QuickTime
/ImageCompression.h \
5819 Security
/Security.h \
5833 fontconfig
/fontconfig.h \
5872 netinet
/in_systm.h \
5937 valgrind
/memcheck.h \
5938 valgrind
/valgrind.h \
5942 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5943 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5944 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5945 cat >>confdefs.h
<<_ACEOF
5946 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5954 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5955 if ${ac_cv_header_stat_broken+:} false
; then :
5956 $as_echo_n "(cached) " >&6
5958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5959 /* end confdefs.h. */
5960 #include <sys/types.h>
5961 #include <sys/stat.h>
5963 #if defined S_ISBLK && defined S_IFDIR
5964 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5967 #if defined S_ISBLK && defined S_IFCHR
5968 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5971 #if defined S_ISLNK && defined S_IFREG
5972 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5975 #if defined S_ISSOCK && defined S_IFREG
5976 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5980 if ac_fn_c_try_compile
"$LINENO"; then :
5981 ac_cv_header_stat_broken
=no
5983 ac_cv_header_stat_broken
=yes
5985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5988 $as_echo "$ac_cv_header_stat_broken" >&6; }
5989 if test $ac_cv_header_stat_broken = yes; then
5991 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5997 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
5999 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6000 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6001 #ifdef HAVE_SYS_PARAM_H
6002 # include <sys/param.h>
6005 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6006 cat >>confdefs.h
<<_ACEOF
6007 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6022 netinet
/if_ether.h \
6023 netinet
/if_inarp.h \
6031 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6032 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6033 #ifdef HAVE_SYS_SOCKET_H
6034 # include <sys/socket.h>
6036 #ifdef HAVE_SYS_SOCKETVAR_H
6037 # include <sys/socketvar.h>
6039 #ifdef HAVE_NET_ROUTE_H
6040 # include <net/route.h>
6042 #ifdef HAVE_NETINET_IN_H
6043 # include <netinet/in.h>
6045 #ifdef HAVE_NETINET_IN_SYSTM_H
6046 # include <netinet/in_systm.h>
6048 #ifdef HAVE_NET_IF_H
6049 # include <net/if.h>
6051 #ifdef HAVE_NETINET_IP_H
6052 # include <netinet/ip.h>
6055 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6056 cat >>confdefs.h
<<_ACEOF
6057 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6065 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6067 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6068 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6072 #ifdef HAVE_SYS_SOCKET_H
6073 # include <sys/socket.h>
6075 #ifdef HAVE_SYS_SOCKETVAR_H
6076 # include <sys/socketvar.h>
6078 #ifdef HAVE_SYS_TIMEOUT_H
6079 # include <sys/timeout.h>
6081 #ifdef HAVE_NETINET_IN_H
6082 # include <netinet/in.h>
6084 #ifdef HAVE_NETINET_IN_SYSTM_H
6085 # include <netinet/in_systm.h>
6087 #ifdef HAVE_NETINET_IP_H
6088 # include <netinet/ip.h>
6090 #ifdef HAVE_NETINET_IP_VAR_H
6091 # include <netinet/ip_var.h>
6093 #ifdef HAVE_NETINET_IP_ICMP_H
6094 # include <netinet/ip_icmp.h>
6096 #ifdef HAVE_NETINET_UDP_H
6097 # include <netinet/udp.h>
6099 #ifdef HAVE_NETINET_TCP_H
6100 # include <netinet/tcp.h>
6102 #ifdef HAVE_NETINET_TCP_TIMER_H
6103 #include <netinet/tcp_timer.h>
6106 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6107 cat >>confdefs.h
<<_ACEOF
6108 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6116 for ac_header
in linux
/ipx.h linux
/irda.h
6118 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6119 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6120 #ifdef HAVE_ASM_TYPES_H
6121 # include <asm/types.h>
6123 #ifdef HAVE_SYS_SOCKET_H
6124 # include <sys/socket.h>
6126 #ifdef HAVE_LINUX_TYPES_H
6127 # include <linux/types.h>
6130 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6131 cat >>confdefs.h
<<_ACEOF
6132 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6140 for ac_header
in mach-o
/dyld_images.h
6142 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6143 # include <stdbool.h>
6145 #ifdef HAVE_STDINT_H
6146 # include <stdint.h>
6149 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6150 cat >>confdefs.h
<<_ACEOF
6151 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6159 for ac_header
in resolv.h
6161 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6162 #ifdef HAVE_SYS_SOCKET_H
6163 # include <sys/socket.h>
6165 #ifdef HAVE_NETINET_IN_H
6166 # include <netinet/in.h>
6168 #ifdef HAVE_ARPA_NAMESER_H
6169 # include <arpa/nameser.h>
6172 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6173 cat >>confdefs.h
<<_ACEOF
6174 #define HAVE_RESOLV_H 1
6182 for ac_header
in ifaddrs.h
6184 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6186 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6187 cat >>confdefs.h
<<_ACEOF
6188 #define HAVE_IFADDRS_H 1
6196 for ac_header
in ucontext.h
6198 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6200 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6201 cat >>confdefs.h
<<_ACEOF
6202 #define HAVE_UCONTEXT_H 1
6210 for ac_header
in sys
/thr.h
6212 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6213 #ifdef HAVE_UCONTEXT_H
6214 #include <ucontext.h>
6217 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6218 cat >>confdefs.h
<<_ACEOF
6219 #define HAVE_SYS_THR_H 1
6227 for ac_header
in pthread_np.h
6229 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6230 #include <pthread.h>
6233 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6234 cat >>confdefs.h
<<_ACEOF
6235 #define HAVE_PTHREAD_NP_H 1
6243 for ac_header
in linux
/videodev.h linux
/videodev2.h
6245 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6246 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6247 #include <sys/time.h>
6249 #include <sys/types.h>
6250 #ifdef HAVE_ASM_TYPES_H
6251 #include <asm/types.h>
6254 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6255 cat >>confdefs.h
<<_ACEOF
6256 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6264 for ac_header
in linux
/capi.h
6266 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6268 if test "x$ac_cv_header_linux_capi_h" = xyes
; then :
6269 cat >>confdefs.h
<<_ACEOF
6270 #define HAVE_LINUX_CAPI_H 1
6281 DLLFLAGS
="-D_REENTRANT"
6295 STATIC_IMPLIBEXT
="def.a"
6296 # Extract the first word of "ldd", so it can be a program name with args.
6297 set dummy ldd
; ac_word
=$2
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6299 $as_echo_n "checking for $ac_word... " >&6; }
6300 if ${ac_cv_path_LDD+:} false
; then :
6301 $as_echo_n "(cached) " >&6
6305 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6309 as_dummy
="/sbin:/usr/sbin:$PATH"
6310 for as_dir
in $as_dummy
6313 test -z "$as_dir" && as_dir
=.
6314 for ac_exec_ext
in '' $ac_executable_extensions; do
6315 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6316 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6324 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6329 if test -n "$LDD"; then
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6331 $as_echo "$LDD" >&6; }
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6334 $as_echo "no" >&6; }
6341 if test -n "$ac_tool_prefix"; then
6342 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6343 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6345 $as_echo_n "checking for $ac_word... " >&6; }
6346 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6347 $as_echo_n "(cached) " >&6
6349 if test -n "$DLLTOOL"; then
6350 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6356 test -z "$as_dir" && as_dir
=.
6357 for ac_exec_ext
in '' $ac_executable_extensions; do
6358 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6359 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6369 DLLTOOL
=$ac_cv_prog_DLLTOOL
6370 if test -n "$DLLTOOL"; then
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6372 $as_echo "$DLLTOOL" >&6; }
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6375 $as_echo "no" >&6; }
6380 if test -z "$ac_cv_prog_DLLTOOL"; then
6381 ac_ct_DLLTOOL
=$DLLTOOL
6382 # Extract the first word of "dlltool", so it can be a program name with args.
6383 set dummy dlltool
; ac_word
=$2
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6385 $as_echo_n "checking for $ac_word... " >&6; }
6386 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6387 $as_echo_n "(cached) " >&6
6389 if test -n "$ac_ct_DLLTOOL"; then
6390 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6396 test -z "$as_dir" && as_dir
=.
6397 for ac_exec_ext
in '' $ac_executable_extensions; do
6398 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6399 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6409 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6410 if test -n "$ac_ct_DLLTOOL"; then
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6412 $as_echo "$ac_ct_DLLTOOL" >&6; }
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6415 $as_echo "no" >&6; }
6418 if test "x$ac_ct_DLLTOOL" = x
; then
6421 case $cross_compiling:$ac_tool_warned in
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6425 ac_tool_warned
=yes ;;
6427 DLLTOOL
=$ac_ct_DLLTOOL
6430 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6433 if test -n "$ac_tool_prefix"; then
6434 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6435 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6437 $as_echo_n "checking for $ac_word... " >&6; }
6438 if ${ac_cv_prog_DLLWRAP+:} false
; then :
6439 $as_echo_n "(cached) " >&6
6441 if test -n "$DLLWRAP"; then
6442 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
6444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6448 test -z "$as_dir" && as_dir
=.
6449 for ac_exec_ext
in '' $ac_executable_extensions; do
6450 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6451 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
6452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6461 DLLWRAP
=$ac_cv_prog_DLLWRAP
6462 if test -n "$DLLWRAP"; then
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6464 $as_echo "$DLLWRAP" >&6; }
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6467 $as_echo "no" >&6; }
6472 if test -z "$ac_cv_prog_DLLWRAP"; then
6473 ac_ct_DLLWRAP
=$DLLWRAP
6474 # Extract the first word of "dllwrap", so it can be a program name with args.
6475 set dummy dllwrap
; ac_word
=$2
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6477 $as_echo_n "checking for $ac_word... " >&6; }
6478 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false
; then :
6479 $as_echo_n "(cached) " >&6
6481 if test -n "$ac_ct_DLLWRAP"; then
6482 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
6484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6488 test -z "$as_dir" && as_dir
=.
6489 for ac_exec_ext
in '' $ac_executable_extensions; do
6490 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6491 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
6492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6501 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
6502 if test -n "$ac_ct_DLLWRAP"; then
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6504 $as_echo "$ac_ct_DLLWRAP" >&6; }
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6507 $as_echo "no" >&6; }
6510 if test "x$ac_ct_DLLWRAP" = x
; then
6513 case $cross_compiling:$ac_tool_warned in
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6516 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6517 ac_tool_warned
=yes ;;
6519 DLLWRAP
=$ac_ct_DLLWRAP
6522 DLLWRAP
="$ac_cv_prog_DLLWRAP"
6525 if test "$DLLWRAP" = "false"; then
6531 STATIC_IMPLIBEXT
="a"
6532 enable_iphlpapi
=${enable_iphlpapi:-no}
6533 enable_kernel32
=${enable_kernel32:-no}
6534 enable_msvcrt
=${enable_msvcrt:-no}
6535 enable_ntdll
=${enable_ntdll:-no}
6536 enable_ws2_32
=${enable_ws2_32:-no}
6537 enable_loader
=${enable_loader:-no}
6538 enable_server
=${enable_server:-no}
6539 with_x
=${with_x:-no}
6540 with_pthread
=${with_pthread:-no}
6545 DLLFLAGS
="$DLLFLAGS -fPIC"
6546 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6547 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6548 LDSHARED
="\$(CC) -dynamiclib"
6549 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6550 COREFOUNDATIONLIB
="-framework CoreFoundation"
6552 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6554 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
6556 CORESERVICESLIB
="-framework CoreServices"
6560 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6563 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6566 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6568 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6571 if test "$ac_cv_header_Security_Security_h" = "yes"
6573 SECURITYLIB
="-framework Security -framework CoreFoundation"
6575 ac_save_LIBS
="$LIBS"
6576 LIBS
="$LIBS $SECURITYLIB"
6577 for ac_func
in SSLCopyPeerCertificates
6579 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6580 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
6581 cat >>confdefs.h
<<_ACEOF
6582 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6588 LIBS
="$ac_save_LIBS"
6589 with_gnutls
=${with_gnutls:-no}
6591 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6593 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6595 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6598 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6601 ac_save_LIBS
="$LIBS"
6602 LIBS
="$LIBS $COREAUDIO"
6603 for ac_func
in AUGraphAddNode
6605 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6606 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
6607 cat >>confdefs.h
<<_ACEOF
6608 #define HAVE_AUGRAPHADDNODE 1
6614 LIBS
="$ac_save_LIBS"
6616 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6618 FRAMEWORK_OPENAL
="-framework OpenAL"
6621 cat >>confdefs.h
<<_ACEOF
6622 #define HAVE_OPENAL 1
6625 ac_cv_lib_openal
=yes
6627 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6629 LIBOPENCL
="-framework OpenCL"
6631 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
6633 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6635 ac_save_LIBS
="$LIBS"
6636 LIBS
="$LIBS $IOKITLIB"
6637 for ac_func
in IOHIDManagerCreate
6639 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6640 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
6641 cat >>confdefs.h
<<_ACEOF
6642 #define HAVE_IOHIDMANAGERCREATE 1
6648 LIBS
="$ac_save_LIBS"
6652 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6654 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6656 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6658 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
6660 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6662 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6664 CARBONLIB
="-framework Carbon"
6666 enable_winequartz_drv
=${enable_winequartz_drv:-yes}
6668 if test "x$enable_win16" = "xyes"
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6671 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6672 if test "$cross_compiling" = yes; then :
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6674 $as_echo "cross-compiling, assuming yes" >&6; }
6676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6677 /* end confdefs.h. */
6680 "good:\tnop;nop\n\t"
6681 ".globl _testfunc\n"
6682 "_testfunc:\tcallw good");
6683 extern void testfunc();
6687 unsigned short *p = (unsigned short *)testfunc;
6688 return p[0] != 0xe866 || p[1] != 0xfffa
6693 if ac_fn_c_try_run
"$LINENO"; then :
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6695 $as_echo "yes" >&6; }
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6698 $as_echo "no" >&6; }
6699 as_fn_error $?
"Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." "$LINENO" 5
6701 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6702 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6708 DLLFLAGS
="$DLLFLAGS -fPIC"
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6711 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6712 if ${ac_cv_c_dll_gnuelf+:} false
; then :
6713 $as_echo_n "(cached) " >&6
6715 ac_wine_try_cflags_saved
=$CFLAGS
6716 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6718 /* end confdefs.h. */
6721 if ac_fn_c_try_link
"$LINENO"; then :
6722 ac_cv_c_dll_gnuelf
="yes"
6724 ac_cv_c_dll_gnuelf
="no"
6726 rm -f core conftest.err conftest.
$ac_objext \
6727 conftest
$ac_exeext conftest.
$ac_ext
6728 CFLAGS
=$ac_wine_try_cflags_saved
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6731 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6732 if test "$ac_cv_c_dll_gnuelf" = "yes"
6734 LDSHARED
="\$(CC) -shared"
6735 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6737 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6738 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
6739 $as_echo_n "(cached) " >&6
6741 ac_wine_try_cflags_saved
=$CFLAGS
6742 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6744 /* end confdefs.h. */
6745 int main(int argc, char **argv) { return 0; }
6747 if ac_fn_c_try_link
"$LINENO"; then :
6748 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
6750 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
6752 rm -f core conftest.err conftest.
$ac_objext \
6753 conftest
$ac_exeext conftest.
$ac_ext
6754 CFLAGS
=$ac_wine_try_cflags_saved
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6757 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6758 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6759 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6762 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6763 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
6764 $as_echo_n "(cached) " >&6
6766 ac_wine_try_cflags_saved
=$CFLAGS
6767 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6769 /* end confdefs.h. */
6770 int main(int argc, char **argv) { return 0; }
6772 if ac_fn_c_try_link
"$LINENO"; then :
6773 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
6775 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
6777 rm -f core conftest.err conftest.
$ac_objext \
6778 conftest
$ac_exeext conftest.
$ac_ext
6779 CFLAGS
=$ac_wine_try_cflags_saved
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6782 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6783 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6784 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6789 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6790 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
6791 $as_echo_n "(cached) " >&6
6793 ac_wine_try_cflags_saved
=$CFLAGS
6794 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6796 /* end confdefs.h. */
6797 int main(int argc, char **argv) { return 0; }
6799 if ac_fn_c_try_link
"$LINENO"; then :
6800 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6802 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6804 rm -f core conftest.err conftest.
$ac_objext \
6805 conftest
$ac_exeext conftest.
$ac_ext
6806 CFLAGS
=$ac_wine_try_cflags_saved
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6809 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6810 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6811 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
6815 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6816 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
6817 $as_echo_n "(cached) " >&6
6819 ac_wine_try_cflags_saved
=$CFLAGS
6820 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6822 /* end confdefs.h. */
6823 int main(int argc, char **argv) { return 0; }
6825 if ac_fn_c_try_link
"$LINENO"; then :
6826 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6828 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6830 rm -f core conftest.err conftest.
$ac_objext \
6831 conftest
$ac_exeext conftest.
$ac_ext
6832 CFLAGS
=$ac_wine_try_cflags_saved
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6835 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6836 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6837 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6840 echo '{ global: *; };' >conftest.map
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6842 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6843 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
6844 $as_echo_n "(cached) " >&6
6846 ac_wine_try_cflags_saved
=$CFLAGS
6847 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6849 /* end confdefs.h. */
6850 int main(int argc, char **argv) { return 0; }
6852 if ac_fn_c_try_link
"$LINENO"; then :
6853 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
6855 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
6857 rm -f core conftest.err conftest.
$ac_objext \
6858 conftest
$ac_exeext conftest.
$ac_ext
6859 CFLAGS
=$ac_wine_try_cflags_saved
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
6862 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
6863 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
6864 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6869 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6870 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
6871 $as_echo_n "(cached) " >&6
6873 ac_wine_try_cflags_saved
=$CFLAGS
6874 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6876 /* end confdefs.h. */
6877 int main(int argc, char **argv) { return 0; }
6879 if ac_fn_c_try_link
"$LINENO"; then :
6880 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6882 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6884 rm -f core conftest.err conftest.
$ac_objext \
6885 conftest
$ac_exeext conftest.
$ac_ext
6886 CFLAGS
=$ac_wine_try_cflags_saved
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6889 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6890 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6891 LDEXECFLAGS
="-Wl,--export-dynamic"
6895 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6897 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6898 if eval \
${$as_ac_var+:} false
; then :
6899 $as_echo_n "(cached) " >&6
6901 ac_wine_try_cflags_saved
=$CFLAGS
6902 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6904 /* end confdefs.h. */
6905 int main(int argc, char **argv) { return 0; }
6907 if ac_fn_c_try_link
"$LINENO"; then :
6908 eval "$as_ac_var=yes"
6910 eval "$as_ac_var=no"
6912 rm -f core conftest.err conftest.
$ac_objext \
6913 conftest
$ac_exeext conftest.
$ac_ext
6914 CFLAGS
=$ac_wine_try_cflags_saved
6916 eval ac_res
=\$
$as_ac_var
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6918 $as_echo "$ac_res" >&6; }
6919 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6920 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6921 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6923 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6925 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6926 if eval \
${$as_ac_var+:} false
; then :
6927 $as_echo_n "(cached) " >&6
6929 ac_wine_try_cflags_saved
=$CFLAGS
6930 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6932 /* end confdefs.h. */
6933 int main(int argc, char **argv) { return 0; }
6935 if ac_fn_c_try_link
"$LINENO"; then :
6936 eval "$as_ac_var=yes"
6938 eval "$as_ac_var=no"
6940 rm -f core conftest.err conftest.
$ac_objext \
6941 conftest
$ac_exeext conftest.
$ac_ext
6942 CFLAGS
=$ac_wine_try_cflags_saved
6944 eval ac_res
=\$
$as_ac_var
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6946 $as_echo "$ac_res" >&6; }
6947 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6948 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6949 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6954 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6955 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
6956 $as_echo_n "(cached) " >&6
6958 ac_wine_try_cflags_saved
=$CFLAGS
6959 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
6960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6961 /* end confdefs.h. */
6962 int main(int argc, char **argv) { return 0; }
6964 if ac_fn_c_try_link
"$LINENO"; then :
6965 ac_cv_cflags__Wl___enable_new_dtags
=yes
6967 ac_cv_cflags__Wl___enable_new_dtags
=no
6969 rm -f core conftest.err conftest.
$ac_objext \
6970 conftest
$ac_exeext conftest.
$ac_ext
6971 CFLAGS
=$ac_wine_try_cflags_saved
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6974 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6975 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6976 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6980 *i
[3456789]86* | x86_64
)
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6982 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6983 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
6984 $as_echo_n "(cached) " >&6
6986 ac_wine_try_cflags_saved
=$CFLAGS
6987 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6989 /* end confdefs.h. */
6990 int main(int argc, char **argv) { return 0; }
6992 if ac_fn_c_try_link
"$LINENO"; then :
6993 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
6995 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
6997 rm -f core conftest.err conftest.
$ac_objext \
6998 conftest
$ac_exeext conftest.
$ac_ext
6999 CFLAGS
=$ac_wine_try_cflags_saved
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7002 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7003 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7005 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7006 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7010 # Extract the first word of "prelink", so it can be a program name with args.
7011 set dummy prelink
; ac_word
=$2
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7013 $as_echo_n "checking for $ac_word... " >&6; }
7014 if ${ac_cv_path_PRELINK+:} false
; then :
7015 $as_echo_n "(cached) " >&6
7019 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7023 for as_dir
in /sbin
/usr
/sbin
$PATH
7026 test -z "$as_dir" && as_dir
=.
7027 for ac_exec_ext
in '' $ac_executable_extensions; do
7028 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7029 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7037 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7041 PRELINK
=$ac_cv_path_PRELINK
7042 if test -n "$PRELINK"; then
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7044 $as_echo "$PRELINK" >&6; }
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7047 $as_echo "no" >&6; }
7051 if test "x$PRELINK" = xfalse
7053 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7060 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7061 if ${ac_cv_c_dll_unixware+:} false
; then :
7062 $as_echo_n "(cached) " >&6
7064 ac_wine_try_cflags_saved
=$CFLAGS
7065 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7067 /* end confdefs.h. */
7070 if ac_fn_c_try_link
"$LINENO"; then :
7071 ac_cv_c_dll_unixware
="yes"
7073 ac_cv_c_dll_unixware
="no"
7075 rm -f core conftest.err conftest.
$ac_objext \
7076 conftest
$ac_exeext conftest.
$ac_ext
7077 CFLAGS
=$ac_wine_try_cflags_saved
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7080 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7081 if test "$ac_cv_c_dll_unixware" = "yes"
7083 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7084 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7088 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7089 if ${ac_cv_c_dll_hpux+:} false
; then :
7090 $as_echo_n "(cached) " >&6
7092 ac_wine_try_cflags_saved
=$CFLAGS
7093 CFLAGS
="$CFLAGS -shared"
7094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7095 /* end confdefs.h. */
7098 if ac_fn_c_try_link
"$LINENO"; then :
7099 ac_cv_c_dll_hpux
="yes"
7101 ac_cv_c_dll_hpux
="no"
7103 rm -f core conftest.err conftest.
$ac_objext \
7104 conftest
$ac_exeext conftest.
$ac_ext
7105 CFLAGS
=$ac_wine_try_cflags_saved
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7108 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7109 if test "$ac_cv_c_dll_hpux" = "yes"
7113 LDDLLFLAGS
="-shared -fPIC"
7114 LDSHARED
="\$(CC) -shared"
7121 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
7122 enable_winequartz_drv
=${enable_winequartz_drv:-no}
7124 if test "$LIBEXT" = "a"; then
7125 as_fn_error $?
"could not find a way to build shared libraries.
7126 It is currently not possible to build Wine without shared library
7127 (.so) support to allow transparent switch between .so and .dll files.
7128 If you are using Linux, you will need a newer binutils.
7132 CROSSTEST_DISABLE
=\
#
7134 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7138 ac_prefix_list
="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc
7141 ac_prefix_list
="x86_64-pc-mingw32-gcc amd64-pc-mingw32-gcc x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-mingw32msvc-gcc amd64-mingw32msvc-gcc " ;;
7143 ac_prefix_list
="" ;;
7145 for ac_prog
in $ac_prefix_list
7147 # Extract the first word of "$ac_prog", so it can be a program name with args.
7148 set dummy
$ac_prog; ac_word
=$2
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7150 $as_echo_n "checking for $ac_word... " >&6; }
7151 if ${ac_cv_prog_CROSSCC+:} false
; then :
7152 $as_echo_n "(cached) " >&6
7154 if test -n "$CROSSCC"; then
7155 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7161 test -z "$as_dir" && as_dir
=.
7162 for ac_exec_ext
in '' $ac_executable_extensions; do
7163 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7164 ac_cv_prog_CROSSCC
="$ac_prog"
7165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7174 CROSSCC
=$ac_cv_prog_CROSSCC
7175 if test -n "$CROSSCC"; then
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7177 $as_echo "$CROSSCC" >&6; }
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7180 $as_echo "no" >&6; }
7184 test -n "$CROSSCC" && break
7186 test -n "$CROSSCC" || CROSSCC
="false"
7188 if test "$CROSSCC" != "false"
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7193 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7195 /* end confdefs.h. */
7205 if ac_fn_c_try_compile
"$LINENO"; then :
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7207 $as_echo "yes" >&6; }
7214 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7218 if test -n "$target"
7220 CROSSTEST_DISABLE
=""
7221 CROSSTARGET
="$target"
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7226 $as_echo "no" >&6; }
7228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7234 if test "$ac_cv_header_pthread_h" = "yes"
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7237 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7238 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
7239 $as_echo_n "(cached) " >&6
7241 ac_check_lib_save_LIBS
=$LIBS
7242 LIBS
="-lpthread $LIBS"
7243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7244 /* end confdefs.h. */
7246 /* Override any GCC internal prototype to avoid an error.
7247 Use char because int might match the return type of a GCC
7248 builtin and then its argument prototype would still apply. */
7252 char pthread_create ();
7256 return pthread_create ();
7261 if ac_fn_c_try_link
"$LINENO"; then :
7262 ac_cv_lib_pthread_pthread_create
=yes
7264 ac_cv_lib_pthread_pthread_create
=no
7266 rm -f core conftest.err conftest.
$ac_objext \
7267 conftest
$ac_exeext conftest.
$ac_ext
7268 LIBS
=$ac_check_lib_save_LIBS
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7271 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7272 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
7273 LIBPTHREAD
="-lpthread"
7278 if test "x$LIBPTHREAD" = "x"; then :
7279 case "x$with_pthread" in
7281 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7282 Wine cannot support threads without libpthread.
7283 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7289 $as_echo_n "checking for X... " >&6; }
7292 # Check whether --with-x was given.
7293 if test "${with_x+set}" = set; then :
7297 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7298 if test "x$with_x" = xno
; then
7299 # The user explicitly disabled X.
7302 case $x_includes,$x_libraries in #(
7303 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
7304 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
7305 $as_echo_n "(cached) " >&6
7307 # One or both of the vars are not set, and there is no cached value.
7308 ac_x_includes
=no ac_x_libraries
=no
7309 rm -f -r conftest.dir
7310 if mkdir conftest.dir
; then
7312 cat >Imakefile
<<'_ACEOF'
7314 @echo incroot='${INCROOT}'
7316 @echo usrlibdir='${USRLIBDIR}'
7318 @echo libdir='${LIBDIR}'
7320 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7321 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7322 for ac_var
in incroot usrlibdir libdir
; do
7323 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7325 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7326 for ac_extension
in a so sl dylib la dll
; do
7327 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7328 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7329 ac_im_usrlibdir
=$ac_im_libdir; break
7332 # Screen out bogus values from the imake configuration. They are
7333 # bogus both because they are the default anyway, and because
7334 # using them would break gcc on systems where it needs fixed includes.
7335 case $ac_im_incroot in
7336 /usr
/include
) ac_x_includes
= ;;
7337 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7339 case $ac_im_usrlibdir in
7340 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7341 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7345 rm -f -r conftest.dir
7348 # Standard set of common directories for X headers.
7349 # Check X11 before X11Rn because it is often a symlink to the current release.
7363 /usr/local/X11/include
7364 /usr/local/X11R7/include
7365 /usr/local/X11R6/include
7366 /usr/local/X11R5/include
7367 /usr/local/X11R4/include
7369 /usr/local/include/X11
7370 /usr/local/include/X11R7
7371 /usr/local/include/X11R6
7372 /usr/local/include/X11R5
7373 /usr/local/include/X11R4
7377 /usr/XFree86/include/X11
7381 /usr/unsupported/include
7383 /usr/local/x11r5/include
7384 /usr/lpp/Xamples/include
7386 /usr/openwin/include
7387 /usr/openwin/share/include'
7389 if test "$ac_x_includes" = no
; then
7390 # Guess where to find include files, by looking for Xlib.h.
7391 # First, try using that file with no special directory specified.
7392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7393 /* end confdefs.h. */
7394 #include <X11/Xlib.h>
7396 if ac_fn_c_try_cpp
"$LINENO"; then :
7397 # We can compile using X headers with no special include directory.
7400 for ac_dir
in $ac_x_header_dirs; do
7401 if test -r "$ac_dir/X11/Xlib.h"; then
7402 ac_x_includes
=$ac_dir
7407 rm -f conftest.err conftest.i conftest.
$ac_ext
7408 fi # $ac_x_includes = no
7410 if test "$ac_x_libraries" = no
; then
7411 # Check for the libraries.
7412 # See if we find them without any special options.
7413 # Don't add to $LIBS permanently.
7416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7417 /* end confdefs.h. */
7418 #include <X11/Xlib.h>
7427 if ac_fn_c_try_link
"$LINENO"; then :
7429 # We can link X programs with no special library path.
7433 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7435 # Don't even attempt the hair of trying to link an X program!
7436 for ac_extension
in a so sl dylib la dll
; do
7437 if test -r "$ac_dir/libX11.$ac_extension"; then
7438 ac_x_libraries
=$ac_dir
7444 rm -f core conftest.err conftest.
$ac_objext \
7445 conftest
$ac_exeext conftest.
$ac_ext
7446 fi # $ac_x_libraries = no
7448 case $ac_x_includes,$ac_x_libraries in #(
7450 # Didn't find X, or a directory has "'" in its name.
7451 ac_cv_have_x
="have_x=no";; #(
7453 # Record where we found X for the cache.
7454 ac_cv_have_x
="have_x=yes\
7455 ac_x_includes='$ac_x_includes'\
7456 ac_x_libraries='$ac_x_libraries'"
7462 eval "$ac_cv_have_x"
7465 if test "$have_x" != yes; then
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7467 $as_echo "$have_x" >&6; }
7470 # If each of the values was on the command line, it overrides each guess.
7471 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7472 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7473 # Update the cache value to reflect the command line values.
7474 ac_cv_have_x
="have_x=yes\
7475 ac_x_includes='$x_includes'\
7476 ac_x_libraries='$x_libraries'"
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7478 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7481 if test "$no_x" = yes; then
7482 # Not all programs may use this symbol, but it does not hurt to define it.
7484 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7486 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7488 if test -n "$x_includes"; then
7489 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7492 # It would also be nice to do this for all -L options, not just this one.
7493 if test -n "$x_libraries"; then
7494 X_LIBS
="$X_LIBS -L$x_libraries"
7495 # For Solaris; some versions of Sun CC require a space after -R and
7496 # others require no space. Words are not sufficient . . . .
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7498 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7499 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7500 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7501 ac_c_werror_flag
=yes
7502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7503 /* end confdefs.h. */
7513 if ac_fn_c_try_link
"$LINENO"; then :
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7515 $as_echo "no" >&6; }
7516 X_LIBS
="$X_LIBS -R$x_libraries"
7518 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7520 /* end confdefs.h. */
7530 if ac_fn_c_try_link
"$LINENO"; then :
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7532 $as_echo "yes" >&6; }
7533 X_LIBS
="$X_LIBS -R $x_libraries"
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7536 $as_echo "neither works" >&6; }
7538 rm -f core conftest.err conftest.
$ac_objext \
7539 conftest
$ac_exeext conftest.
$ac_ext
7541 rm -f core conftest.err conftest.
$ac_objext \
7542 conftest
$ac_exeext conftest.
$ac_ext
7543 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7547 # Check for system-dependent libraries X programs must link with.
7548 # Do this before checking for the system-independent R6 libraries
7549 # (-lICE), since we may need -lsocket or whatever for X linking.
7551 if test "$ISC" = yes; then
7552 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7554 # Martyn Johnson says this is needed for Ultrix, if the X
7555 # libraries were built with DECnet support. And Karl Berry says
7556 # the Alpha needs dnet_stub (dnet does not exist).
7557 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7559 /* end confdefs.h. */
7561 /* Override any GCC internal prototype to avoid an error.
7562 Use char because int might match the return type of a GCC
7563 builtin and then its argument prototype would still apply. */
7567 char XOpenDisplay ();
7571 return XOpenDisplay ();
7576 if ac_fn_c_try_link
"$LINENO"; then :
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7580 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7581 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
7582 $as_echo_n "(cached) " >&6
7584 ac_check_lib_save_LIBS
=$LIBS
7586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7587 /* end confdefs.h. */
7589 /* Override any GCC internal prototype to avoid an error.
7590 Use char because int might match the return type of a GCC
7591 builtin and then its argument prototype would still apply. */
7599 return dnet_ntoa ();
7604 if ac_fn_c_try_link
"$LINENO"; then :
7605 ac_cv_lib_dnet_dnet_ntoa
=yes
7607 ac_cv_lib_dnet_dnet_ntoa
=no
7609 rm -f core conftest.err conftest.
$ac_objext \
7610 conftest
$ac_exeext conftest.
$ac_ext
7611 LIBS
=$ac_check_lib_save_LIBS
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7614 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7615 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
7616 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7619 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7621 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7622 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
7623 $as_echo_n "(cached) " >&6
7625 ac_check_lib_save_LIBS
=$LIBS
7626 LIBS
="-ldnet_stub $LIBS"
7627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7628 /* end confdefs.h. */
7630 /* Override any GCC internal prototype to avoid an error.
7631 Use char because int might match the return type of a GCC
7632 builtin and then its argument prototype would still apply. */
7640 return dnet_ntoa ();
7645 if ac_fn_c_try_link
"$LINENO"; then :
7646 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7648 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7650 rm -f core conftest.err conftest.
$ac_objext \
7651 conftest
$ac_exeext conftest.
$ac_ext
7652 LIBS
=$ac_check_lib_save_LIBS
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7655 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7656 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
7657 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7662 rm -f core conftest.err conftest.
$ac_objext \
7663 conftest
$ac_exeext conftest.
$ac_ext
7664 LIBS
="$ac_xsave_LIBS"
7666 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7667 # to get the SysV transport functions.
7668 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7670 # The nsl library prevents programs from opening the X display
7671 # on Irix 5.2, according to T.E. Dickey.
7672 # The functions gethostbyname, getservbyname, and inet_addr are
7673 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7674 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7675 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
7679 if test $ac_cv_func_gethostbyname = no
; then
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7681 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7682 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
7683 $as_echo_n "(cached) " >&6
7685 ac_check_lib_save_LIBS
=$LIBS
7687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7688 /* end confdefs.h. */
7690 /* Override any GCC internal prototype to avoid an error.
7691 Use char because int might match the return type of a GCC
7692 builtin and then its argument prototype would still apply. */
7696 char gethostbyname ();
7700 return gethostbyname ();
7705 if ac_fn_c_try_link
"$LINENO"; then :
7706 ac_cv_lib_nsl_gethostbyname
=yes
7708 ac_cv_lib_nsl_gethostbyname
=no
7710 rm -f core conftest.err conftest.
$ac_objext \
7711 conftest
$ac_exeext conftest.
$ac_ext
7712 LIBS
=$ac_check_lib_save_LIBS
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7715 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7716 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
7717 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7720 if test $ac_cv_lib_nsl_gethostbyname = no
; then
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7722 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7723 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
7724 $as_echo_n "(cached) " >&6
7726 ac_check_lib_save_LIBS
=$LIBS
7728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7729 /* end confdefs.h. */
7731 /* Override any GCC internal prototype to avoid an error.
7732 Use char because int might match the return type of a GCC
7733 builtin and then its argument prototype would still apply. */
7737 char gethostbyname ();
7741 return gethostbyname ();
7746 if ac_fn_c_try_link
"$LINENO"; then :
7747 ac_cv_lib_bsd_gethostbyname
=yes
7749 ac_cv_lib_bsd_gethostbyname
=no
7751 rm -f core conftest.err conftest.
$ac_objext \
7752 conftest
$ac_exeext conftest.
$ac_ext
7753 LIBS
=$ac_check_lib_save_LIBS
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7756 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7757 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
7758 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7764 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7765 # socket/setsockopt and other routines are undefined under SCO ODT
7766 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7767 # on later versions), says Simon Leinen: it contains gethostby*
7768 # variants that don't use the name server (or something). -lsocket
7769 # must be given before -lnsl if both are needed. We assume that
7770 # if connect needs -lnsl, so does gethostbyname.
7771 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
7772 if test "x$ac_cv_func_connect" = xyes
; then :
7776 if test $ac_cv_func_connect = no
; then
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7778 $as_echo_n "checking for connect in -lsocket... " >&6; }
7779 if ${ac_cv_lib_socket_connect+:} false
; then :
7780 $as_echo_n "(cached) " >&6
7782 ac_check_lib_save_LIBS
=$LIBS
7783 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7785 /* end confdefs.h. */
7787 /* Override any GCC internal prototype to avoid an error.
7788 Use char because int might match the return type of a GCC
7789 builtin and then its argument prototype would still apply. */
7802 if ac_fn_c_try_link
"$LINENO"; then :
7803 ac_cv_lib_socket_connect
=yes
7805 ac_cv_lib_socket_connect
=no
7807 rm -f core conftest.err conftest.
$ac_objext \
7808 conftest
$ac_exeext conftest.
$ac_ext
7809 LIBS
=$ac_check_lib_save_LIBS
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7812 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7813 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
7814 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7819 # Guillermo Gomez says -lposix is necessary on A/UX.
7820 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
7821 if test "x$ac_cv_func_remove" = xyes
; then :
7825 if test $ac_cv_func_remove = no
; then
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7827 $as_echo_n "checking for remove in -lposix... " >&6; }
7828 if ${ac_cv_lib_posix_remove+:} false
; then :
7829 $as_echo_n "(cached) " >&6
7831 ac_check_lib_save_LIBS
=$LIBS
7832 LIBS
="-lposix $LIBS"
7833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7834 /* end confdefs.h. */
7836 /* Override any GCC internal prototype to avoid an error.
7837 Use char because int might match the return type of a GCC
7838 builtin and then its argument prototype would still apply. */
7851 if ac_fn_c_try_link
"$LINENO"; then :
7852 ac_cv_lib_posix_remove
=yes
7854 ac_cv_lib_posix_remove
=no
7856 rm -f core conftest.err conftest.
$ac_objext \
7857 conftest
$ac_exeext conftest.
$ac_ext
7858 LIBS
=$ac_check_lib_save_LIBS
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7861 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7862 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
7863 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7868 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7869 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
7870 if test "x$ac_cv_func_shmat" = xyes
; then :
7874 if test $ac_cv_func_shmat = no
; then
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7876 $as_echo_n "checking for shmat in -lipc... " >&6; }
7877 if ${ac_cv_lib_ipc_shmat+:} false
; then :
7878 $as_echo_n "(cached) " >&6
7880 ac_check_lib_save_LIBS
=$LIBS
7882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7883 /* end confdefs.h. */
7885 /* Override any GCC internal prototype to avoid an error.
7886 Use char because int might match the return type of a GCC
7887 builtin and then its argument prototype would still apply. */
7900 if ac_fn_c_try_link
"$LINENO"; then :
7901 ac_cv_lib_ipc_shmat
=yes
7903 ac_cv_lib_ipc_shmat
=no
7905 rm -f core conftest.err conftest.
$ac_objext \
7906 conftest
$ac_exeext conftest.
$ac_ext
7907 LIBS
=$ac_check_lib_save_LIBS
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7910 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7911 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
7912 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7918 # Check for libraries that X11R6 Xt/Xaw programs need.
7919 ac_save_LDFLAGS
=$LDFLAGS
7920 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7921 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7922 # check for ICE first), but we must link in the order -lSM -lICE or
7923 # we get undefined symbols. So assume we have SM if we have ICE.
7924 # These have to be linked with before -lX11, unlike the other
7925 # libraries we check for below, so use a different variable.
7926 # John Interrante, Karl Berry
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7928 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7929 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
7930 $as_echo_n "(cached) " >&6
7932 ac_check_lib_save_LIBS
=$LIBS
7933 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7935 /* end confdefs.h. */
7937 /* Override any GCC internal prototype to avoid an error.
7938 Use char because int might match the return type of a GCC
7939 builtin and then its argument prototype would still apply. */
7943 char IceConnectionNumber ();
7947 return IceConnectionNumber ();
7952 if ac_fn_c_try_link
"$LINENO"; then :
7953 ac_cv_lib_ICE_IceConnectionNumber
=yes
7955 ac_cv_lib_ICE_IceConnectionNumber
=no
7957 rm -f core conftest.err conftest.
$ac_objext \
7958 conftest
$ac_exeext conftest.
$ac_ext
7959 LIBS
=$ac_check_lib_save_LIBS
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7962 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7963 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
7964 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7967 LDFLAGS
=$ac_save_LDFLAGS
7972 if test "$have_x" = "yes"
7975 ac_save_CPPFLAGS
="$CPPFLAGS"
7976 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7979 $as_echo_n "checking for -lX11... " >&6; }
7980 if ${ac_cv_lib_soname_X11+:} false
; then :
7981 $as_echo_n "(cached) " >&6
7983 ac_check_soname_save_LIBS
=$LIBS
7984 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7986 /* end confdefs.h. */
7988 /* Override any GCC internal prototype to avoid an error.
7989 Use char because int might match the return type of a GCC
7990 builtin and then its argument prototype would still apply. */
7994 char XCreateWindow ();
7998 return XCreateWindow ();
8003 if ac_fn_c_try_link
"$LINENO"; then :
8005 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8006 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'` ;;
8007 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8010 rm -f core conftest.err conftest.
$ac_objext \
8011 conftest
$ac_exeext conftest.
$ac_ext
8012 LIBS
=$ac_check_soname_save_LIBS
8014 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8016 $as_echo "not found" >&6; }
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8020 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8022 cat >>confdefs.h
<<_ACEOF
8023 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8029 $as_echo_n "checking for -lXext... " >&6; }
8030 if ${ac_cv_lib_soname_Xext+:} false
; then :
8031 $as_echo_n "(cached) " >&6
8033 ac_check_soname_save_LIBS
=$LIBS
8034 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8036 /* end confdefs.h. */
8038 /* Override any GCC internal prototype to avoid an error.
8039 Use char because int might match the return type of a GCC
8040 builtin and then its argument prototype would still apply. */
8044 char XextCreateExtension ();
8048 return XextCreateExtension ();
8053 if ac_fn_c_try_link
"$LINENO"; then :
8055 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8056 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'` ;;
8057 *) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8060 rm -f core conftest.err conftest.
$ac_objext \
8061 conftest
$ac_exeext conftest.
$ac_ext
8062 LIBS
=$ac_check_soname_save_LIBS
8064 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8066 $as_echo "not found" >&6; }
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8070 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8072 cat >>confdefs.h
<<_ACEOF
8073 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8079 for ac_header
in X11
/Xlib.h \
8082 X11
/Xcursor
/Xcursor.h \
8083 X11
/extensions
/shape.h \
8084 X11
/extensions
/XInput.h \
8085 X11
/extensions
/XInput2.h \
8086 X11
/extensions
/Xcomposite.h \
8087 X11
/extensions
/Xinerama.h \
8088 X11
/extensions
/Xrandr.h \
8089 X11
/extensions
/Xrender.h \
8090 X11
/extensions
/xf86vmode.h \
8091 X11
/extensions
/xf86vmproto.h
8093 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8094 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8095 # include <X11/Xlib.h>
8097 #ifdef HAVE_X11_XUTIL_H
8098 # include <X11/Xutil.h>
8101 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8102 cat >>confdefs.h
<<_ACEOF
8103 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8111 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8114 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8115 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
8116 $as_echo_n "(cached) " >&6
8118 ac_check_lib_save_LIBS
=$LIBS
8119 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8121 /* end confdefs.h. */
8123 /* Override any GCC internal prototype to avoid an error.
8124 Use char because int might match the return type of a GCC
8125 builtin and then its argument prototype would still apply. */
8129 char XkbQueryExtension ();
8133 return XkbQueryExtension ();
8138 if ac_fn_c_try_link
"$LINENO"; then :
8139 ac_cv_lib_X11_XkbQueryExtension
=yes
8141 ac_cv_lib_X11_XkbQueryExtension
=no
8143 rm -f core conftest.err conftest.
$ac_objext \
8144 conftest
$ac_exeext conftest.
$ac_ext
8145 LIBS
=$ac_check_lib_save_LIBS
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8148 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8149 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
8151 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8157 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8160 $as_echo_n "checking for -lXcursor... " >&6; }
8161 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
8162 $as_echo_n "(cached) " >&6
8164 ac_check_soname_save_LIBS
=$LIBS
8165 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8167 /* end confdefs.h. */
8169 /* Override any GCC internal prototype to avoid an error.
8170 Use char because int might match the return type of a GCC
8171 builtin and then its argument prototype would still apply. */
8175 char XcursorImageLoadCursor ();
8179 return XcursorImageLoadCursor ();
8184 if ac_fn_c_try_link
"$LINENO"; then :
8186 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8187 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'` ;;
8188 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8191 rm -f core conftest.err conftest.
$ac_objext \
8192 conftest
$ac_exeext conftest.
$ac_ext
8193 LIBS
=$ac_check_soname_save_LIBS
8195 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8197 $as_echo "not found" >&6; }
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8201 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8203 cat >>confdefs.h
<<_ACEOF
8204 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8210 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8211 case "x$with_xcursor" in
8212 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8214 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8215 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8219 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8222 $as_echo_n "checking for -lXi... " >&6; }
8223 if ${ac_cv_lib_soname_Xi+:} false
; then :
8224 $as_echo_n "(cached) " >&6
8226 ac_check_soname_save_LIBS
=$LIBS
8227 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8229 /* end confdefs.h. */
8231 /* Override any GCC internal prototype to avoid an error.
8232 Use char because int might match the return type of a GCC
8233 builtin and then its argument prototype would still apply. */
8237 char XOpenDevice ();
8241 return XOpenDevice ();
8246 if ac_fn_c_try_link
"$LINENO"; then :
8248 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8249 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'` ;;
8250 *) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8253 rm -f core conftest.err conftest.
$ac_objext \
8254 conftest
$ac_exeext conftest.
$ac_ext
8255 LIBS
=$ac_check_soname_save_LIBS
8257 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8259 $as_echo "not found" >&6; }
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8263 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8265 cat >>confdefs.h
<<_ACEOF
8266 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8272 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8273 case "x$with_xinput" in
8274 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8276 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8277 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8281 if test "x$ac_cv_lib_soname_Xi" != x
8283 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8284 case "x$with_xinput2" in
8285 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8287 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
8288 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8293 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8296 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8297 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
8298 $as_echo_n "(cached) " >&6
8300 ac_check_lib_save_LIBS
=$LIBS
8301 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8303 /* end confdefs.h. */
8305 /* Override any GCC internal prototype to avoid an error.
8306 Use char because int might match the return type of a GCC
8307 builtin and then its argument prototype would still apply. */
8311 char XShapeQueryExtension ();
8315 return XShapeQueryExtension ();
8320 if ac_fn_c_try_link
"$LINENO"; then :
8321 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8323 ac_cv_lib_Xext_XShapeQueryExtension
=no
8325 rm -f core conftest.err conftest.
$ac_objext \
8326 conftest
$ac_exeext conftest.
$ac_ext
8327 LIBS
=$ac_check_lib_save_LIBS
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8330 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8331 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
8333 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8338 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8339 case "x$with_xshape" in
8340 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8342 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8343 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8347 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8350 $as_echo_n "checking for -lXxf86vm... " >&6; }
8351 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
8352 $as_echo_n "(cached) " >&6
8354 ac_check_soname_save_LIBS
=$LIBS
8355 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8357 /* end confdefs.h. */
8359 /* Override any GCC internal prototype to avoid an error.
8360 Use char because int might match the return type of a GCC
8361 builtin and then its argument prototype would still apply. */
8365 char XF86VidModeQueryExtension ();
8369 return XF86VidModeQueryExtension ();
8374 if ac_fn_c_try_link
"$LINENO"; then :
8376 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8377 dylib
) ac_cv_lib_soname_Xxf86vm
=`otool -L conftest$ac_exeext | grep "libXxf86vm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXxf86vm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8378 *) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8381 rm -f core conftest.err conftest.
$ac_objext \
8382 conftest
$ac_exeext conftest.
$ac_ext
8383 LIBS
=$ac_check_soname_save_LIBS
8385 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8387 $as_echo "not found" >&6; }
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8391 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8393 cat >>confdefs.h
<<_ACEOF
8394 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8400 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8401 case "x$with_xxf86vm" in
8402 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8404 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8405 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8409 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"
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8412 $as_echo_n "checking for -lXrender... " >&6; }
8413 if ${ac_cv_lib_soname_Xrender+:} false
; then :
8414 $as_echo_n "(cached) " >&6
8416 ac_check_soname_save_LIBS
=$LIBS
8417 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8419 /* end confdefs.h. */
8421 /* Override any GCC internal prototype to avoid an error.
8422 Use char because int might match the return type of a GCC
8423 builtin and then its argument prototype would still apply. */
8427 char XRenderQueryExtension ();
8431 return XRenderQueryExtension ();
8436 if ac_fn_c_try_link
"$LINENO"; then :
8438 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8439 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'` ;;
8440 *) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8443 rm -f core conftest.err conftest.
$ac_objext \
8444 conftest
$ac_exeext conftest.
$ac_ext
8445 LIBS
=$ac_check_soname_save_LIBS
8447 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8449 $as_echo "not found" >&6; }
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8453 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8455 cat >>confdefs.h
<<_ACEOF
8456 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8460 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8461 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
8462 $as_echo_n "(cached) " >&6
8464 ac_check_lib_save_LIBS
=$LIBS
8465 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8467 /* end confdefs.h. */
8469 /* Override any GCC internal prototype to avoid an error.
8470 Use char because int might match the return type of a GCC
8471 builtin and then its argument prototype would still apply. */
8475 char XRenderSetPictureTransform ();
8479 return XRenderSetPictureTransform ();
8484 if ac_fn_c_try_link
"$LINENO"; then :
8485 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8487 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8489 rm -f core conftest.err conftest.
$ac_objext \
8490 conftest
$ac_exeext conftest.
$ac_ext
8491 LIBS
=$ac_check_lib_save_LIBS
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8494 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8495 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
8497 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8502 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8503 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
8504 $as_echo_n "(cached) " >&6
8506 ac_check_lib_save_LIBS
=$LIBS
8507 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8511 /* Override any GCC internal prototype to avoid an error.
8512 Use char because int might match the return type of a GCC
8513 builtin and then its argument prototype would still apply. */
8517 char XRenderCreateLinearGradient ();
8521 return XRenderCreateLinearGradient ();
8526 if ac_fn_c_try_link
"$LINENO"; then :
8527 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
8529 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
8531 rm -f core conftest.err conftest.
$ac_objext \
8532 conftest
$ac_exeext conftest.
$ac_ext
8533 LIBS
=$ac_check_lib_save_LIBS
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8536 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8537 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
8539 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8546 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8547 case "x$with_xrender" in
8548 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8550 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8551 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8555 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8559 #include <X11/Xlib.h>
8560 #include <X11/extensions/Xrandr.h>
8564 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8569 if ac_fn_c_try_compile
"$LINENO"; then :
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8571 $as_echo_n "checking for -lXrandr... " >&6; }
8572 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
8573 $as_echo_n "(cached) " >&6
8575 ac_check_soname_save_LIBS
=$LIBS
8576 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8578 /* end confdefs.h. */
8580 /* Override any GCC internal prototype to avoid an error.
8581 Use char because int might match the return type of a GCC
8582 builtin and then its argument prototype would still apply. */
8586 char XRRQueryExtension ();
8590 return XRRQueryExtension ();
8595 if ac_fn_c_try_link
"$LINENO"; then :
8597 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8598 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'` ;;
8599 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8602 rm -f core conftest.err conftest.
$ac_objext \
8603 conftest
$ac_exeext conftest.
$ac_ext
8604 LIBS
=$ac_check_soname_save_LIBS
8606 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8608 $as_echo "not found" >&6; }
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8612 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8614 cat >>confdefs.h
<<_ACEOF
8615 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8619 /* end confdefs.h. */
8620 #include <X11/extensions/Xrandr.h>
8624 static typeof(XRRGetScreenResources) *f; if (f) return 0;
8629 if ac_fn_c_try_compile
"$LINENO"; then :
8631 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
8634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8639 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8640 case "x$with_xrandr" in
8641 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8643 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8644 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8648 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8651 /* end confdefs.h. */
8652 #include <X11/Xlib.h>
8653 #include <X11/extensions/Xinerama.h>
8657 static typeof(XineramaQueryScreens) * func; if (func) return 0;
8662 if ac_fn_c_try_compile
"$LINENO"; then :
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8664 $as_echo_n "checking for -lXinerama... " >&6; }
8665 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
8666 $as_echo_n "(cached) " >&6
8668 ac_check_soname_save_LIBS
=$LIBS
8669 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8671 /* end confdefs.h. */
8673 /* Override any GCC internal prototype to avoid an error.
8674 Use char because int might match the return type of a GCC
8675 builtin and then its argument prototype would still apply. */
8679 char XineramaQueryScreens ();
8683 return XineramaQueryScreens ();
8688 if ac_fn_c_try_link
"$LINENO"; then :
8690 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8691 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'` ;;
8692 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8695 rm -f core conftest.err conftest.
$ac_objext \
8696 conftest
$ac_exeext conftest.
$ac_ext
8697 LIBS
=$ac_check_soname_save_LIBS
8699 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8701 $as_echo "not found" >&6; }
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8705 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8707 cat >>confdefs.h
<<_ACEOF
8708 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8716 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8717 case "x$with_xinerama" in
8718 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8720 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8721 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8725 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8728 $as_echo_n "checking for -lXcomposite... " >&6; }
8729 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
8730 $as_echo_n "(cached) " >&6
8732 ac_check_soname_save_LIBS
=$LIBS
8733 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8735 /* end confdefs.h. */
8737 /* Override any GCC internal prototype to avoid an error.
8738 Use char because int might match the return type of a GCC
8739 builtin and then its argument prototype would still apply. */
8743 char XCompositeRedirectWindow ();
8747 return XCompositeRedirectWindow ();
8752 if ac_fn_c_try_link
"$LINENO"; then :
8754 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8755 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'` ;;
8756 *) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8759 rm -f core conftest.err conftest.
$ac_objext \
8760 conftest
$ac_exeext conftest.
$ac_ext
8761 LIBS
=$ac_check_soname_save_LIBS
8763 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8765 $as_echo "not found" >&6; }
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8769 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8771 cat >>confdefs.h
<<_ACEOF
8772 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8778 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8779 case "x$with_xcomposite" in
8780 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8782 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8783 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8787 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8788 #include <X11/Xlib.h>
8791 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
8793 cat >>confdefs.h
<<_ACEOF
8794 #define HAVE_XICCALLBACK_CALLBACK 1
8799 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
8800 #include <X11/Xlib.h>
8803 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
8805 cat >>confdefs.h
<<_ACEOF
8806 #define HAVE_XEVENT_XCOOKIE 1
8815 if test "x$with_opengl" != "xno"
8817 for ac_header
in GL
/gl.h GL
/glx.h GL
/glu.h GL
/osmesa.h
8819 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8820 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8821 # include <GL/glx.h>
8824 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8825 cat >>confdefs.h
<<_ACEOF
8826 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8833 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8836 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8837 if ${wine_cv_opengl_header_version_OK+:} false
; then :
8838 $as_echo_n "(cached) " >&6
8840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h. */
8846 GLenum test = GL_UNSIGNED_SHORT_5_6_5; return (test == GL_UNSIGNED_SHORT_5_6_5);
8851 if ac_fn_c_try_compile
"$LINENO"; then :
8852 wine_cv_opengl_header_version_OK
="yes"
8854 wine_cv_opengl_header_version_OK
="no"
8856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8859 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8861 if test "$wine_cv_opengl_header_version_OK" = "yes"
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8864 $as_echo_n "checking for -lGL... " >&6; }
8865 if ${ac_cv_lib_soname_GL+:} false
; then :
8866 $as_echo_n "(cached) " >&6
8868 ac_check_soname_save_LIBS
=$LIBS
8869 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8871 /* end confdefs.h. */
8873 /* Override any GCC internal prototype to avoid an error.
8874 Use char because int might match the return type of a GCC
8875 builtin and then its argument prototype would still apply. */
8879 char glXCreateContext ();
8883 return glXCreateContext ();
8888 if ac_fn_c_try_link
"$LINENO"; then :
8890 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8891 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'` ;;
8892 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8895 rm -f core conftest.err conftest.
$ac_objext \
8896 conftest
$ac_exeext conftest.
$ac_ext
8897 LIBS
=$ac_check_soname_save_LIBS
8899 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8901 $as_echo "not found" >&6; }
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8903 $as_echo_n "checking for -lGL... " >&6; }
8904 if ${ac_cv_lib_soname_GL+:} false
; then :
8905 $as_echo_n "(cached) " >&6
8907 ac_check_soname_save_LIBS
=$LIBS
8908 LIBS
="-lGL $X_LIBS $XLIB -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"
8909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8910 /* end confdefs.h. */
8912 /* Override any GCC internal prototype to avoid an error.
8913 Use char because int might match the return type of a GCC
8914 builtin and then its argument prototype would still apply. */
8918 char glXCreateContext ();
8922 return glXCreateContext ();
8927 if ac_fn_c_try_link
"$LINENO"; then :
8929 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8930 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'` ;;
8931 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8934 rm -f core conftest.err conftest.
$ac_objext \
8935 conftest
$ac_exeext conftest.
$ac_ext
8936 LIBS
=$ac_check_soname_save_LIBS
8938 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8940 $as_echo "not found" >&6; }
8941 if test -f /usr
/X11R
6/lib
/libGL.a
8943 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
8944 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8946 opengl_msg
="No OpenGL library found on this system."
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8950 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8952 cat >>confdefs.h
<<_ACEOF
8953 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8956 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"
8958 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8963 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8965 cat >>confdefs.h
<<_ACEOF
8966 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8971 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8974 if test "$ac_cv_header_GL_glu_h" = "yes"
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8977 $as_echo_n "checking for -lGLU... " >&6; }
8978 if ${ac_cv_lib_soname_GLU+:} false
; then :
8979 $as_echo_n "(cached) " >&6
8981 ac_check_soname_save_LIBS
=$LIBS
8982 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8984 /* end confdefs.h. */
8986 /* Override any GCC internal prototype to avoid an error.
8987 Use char because int might match the return type of a GCC
8988 builtin and then its argument prototype would still apply. */
8996 return gluLookAt ();
9001 if ac_fn_c_try_link
"$LINENO"; then :
9003 dll
) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9004 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'` ;;
9005 *) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9008 rm -f core conftest.err conftest.
$ac_objext \
9009 conftest
$ac_exeext conftest.
$ac_ext
9010 LIBS
=$ac_check_soname_save_LIBS
9012 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9014 $as_echo "not found" >&6; }
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
9018 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
9020 cat >>confdefs.h
<<_ACEOF
9021 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
9027 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
9028 case "x$with_glu" in
9029 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9031 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9032 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9036 if test "$ac_cv_header_GL_osmesa_h" = "yes"
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9039 $as_echo_n "checking for -lOSMesa... " >&6; }
9040 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
9041 $as_echo_n "(cached) " >&6
9043 ac_check_soname_save_LIBS
=$LIBS
9044 LIBS
="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9046 /* end confdefs.h. */
9048 /* Override any GCC internal prototype to avoid an error.
9049 Use char because int might match the return type of a GCC
9050 builtin and then its argument prototype would still apply. */
9063 if ac_fn_c_try_link
"$LINENO"; then :
9065 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9066 dylib
) ac_cv_lib_soname_OSMesa
=`otool -L conftest$ac_exeext | grep "libOSMesa\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libOSMesa\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9067 *) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9070 rm -f core conftest.err conftest.
$ac_objext \
9071 conftest
$ac_exeext conftest.
$ac_ext
9072 LIBS
=$ac_check_soname_save_LIBS
9074 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9076 $as_echo "not found" >&6; }
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9080 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9082 cat >>confdefs.h
<<_ACEOF
9083 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9089 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9090 case "x$with_osmesa" in
9091 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9093 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9094 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9098 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
9101 opengl_msg
="OpenGL development headers not found."
9103 test -n "$opengl_msg" && enable_opengl32
=${enable_opengl32:-no}
9104 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32
=${enable_glu32:-no}
9106 enable_opengl32
=${enable_opengl32:-no}
9107 enable_glu32
=${enable_glu32:-no}
9109 if test -n "$opengl_msg"; then :
9110 case "x$with_opengl" in
9111 x
) as_fn_append wine_warnings
"|$opengl_msg
9112 OpenGL and Direct3D won't be supported." ;;
9114 *) as_fn_error $?
"$opengl_msg
9115 OpenGL and Direct3D won't be supported.
9116 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9120 CPPFLAGS
="$ac_save_CPPFLAGS"
9125 enable_winex11_drv
=${enable_winex11_drv:-no}
9126 enable_opengl32
=${enable_opengl32:-no}
9127 enable_glu32
=${enable_glu32:-no}
9129 if test "x$XLIB" = "x"; then :
9132 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
9133 without X support, which probably isn't what you want. You will need
9134 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9135 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9139 if test "$ac_cv_header_CL_cl_h" = "yes"
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9142 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9143 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
9144 $as_echo_n "(cached) " >&6
9146 ac_check_lib_save_LIBS
=$LIBS
9147 LIBS
="-lOpenCL $LIBS"
9148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9149 /* end confdefs.h. */
9151 /* Override any GCC internal prototype to avoid an error.
9152 Use char because int might match the return type of a GCC
9153 builtin and then its argument prototype would still apply. */
9157 char clGetPlatformInfo ();
9161 return clGetPlatformInfo ();
9166 if ac_fn_c_try_link
"$LINENO"; then :
9167 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9169 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
9171 rm -f core conftest.err conftest.
$ac_objext \
9172 conftest
$ac_exeext conftest.
$ac_ext
9173 LIBS
=$ac_check_lib_save_LIBS
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9176 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9177 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
9178 LIBOPENCL
="-lOpenCL"
9183 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
9184 case "x$with_opencl" in
9185 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9187 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9188 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9191 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
9200 if test "x$with_xml" != "xno"
9202 ac_save_CPPFLAGS
="$CPPFLAGS"
9203 if test "$PKG_CONFIG" != "false"
9205 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9206 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9208 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
9209 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
9211 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
9212 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
9214 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9215 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9216 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9217 cat >>confdefs.h
<<_ACEOF
9218 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9225 if test "$ac_cv_header_libxml_parser_h" = "yes" -a "$ac_cv_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_header_libxml_SAX2_h" = "yes"
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9228 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9229 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
9230 $as_echo_n "(cached) " >&6
9232 ac_check_lib_save_LIBS
=$LIBS
9233 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9235 /* end confdefs.h. */
9237 /* Override any GCC internal prototype to avoid an error.
9238 Use char because int might match the return type of a GCC
9239 builtin and then its argument prototype would still apply. */
9243 char xmlParseMemory ();
9247 return xmlParseMemory ();
9252 if ac_fn_c_try_link
"$LINENO"; then :
9253 ac_cv_lib_xml2_xmlParseMemory
=yes
9255 ac_cv_lib_xml2_xmlParseMemory
=no
9257 rm -f core conftest.err conftest.
$ac_objext \
9258 conftest
$ac_exeext conftest.
$ac_ext
9259 LIBS
=$ac_check_lib_save_LIBS
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9262 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9263 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
9265 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9267 XML2LIBS
="$ac_xml_libs"
9268 XML2INCL
="$ac_xml_cflags"
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9272 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9273 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
9274 $as_echo_n "(cached) " >&6
9276 ac_check_lib_save_LIBS
=$LIBS
9277 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9279 /* end confdefs.h. */
9281 /* Override any GCC internal prototype to avoid an error.
9282 Use char because int might match the return type of a GCC
9283 builtin and then its argument prototype would still apply. */
9287 char xmlReadMemory ();
9291 return xmlReadMemory ();
9296 if ac_fn_c_try_link
"$LINENO"; then :
9297 ac_cv_lib_xml2_xmlReadMemory
=yes
9299 ac_cv_lib_xml2_xmlReadMemory
=no
9301 rm -f core conftest.err conftest.
$ac_objext \
9302 conftest
$ac_exeext conftest.
$ac_ext
9303 LIBS
=$ac_check_lib_save_LIBS
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9306 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9307 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
9309 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9314 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9315 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
9316 $as_echo_n "(cached) " >&6
9318 ac_check_lib_save_LIBS
=$LIBS
9319 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9321 /* end confdefs.h. */
9323 /* Override any GCC internal prototype to avoid an error.
9324 Use char because int might match the return type of a GCC
9325 builtin and then its argument prototype would still apply. */
9329 char xmlNewDocPI ();
9333 return xmlNewDocPI ();
9338 if ac_fn_c_try_link
"$LINENO"; then :
9339 ac_cv_lib_xml2_xmlNewDocPI
=yes
9341 ac_cv_lib_xml2_xmlNewDocPI
=no
9343 rm -f core conftest.err conftest.
$ac_objext \
9344 conftest
$ac_exeext conftest.
$ac_ext
9345 LIBS
=$ac_check_lib_save_LIBS
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9348 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9349 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
9351 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9356 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9357 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
9358 $as_echo_n "(cached) " >&6
9360 ac_check_lib_save_LIBS
=$LIBS
9361 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9363 /* end confdefs.h. */
9365 /* Override any GCC internal prototype to avoid an error.
9366 Use char because int might match the return type of a GCC
9367 builtin and then its argument prototype would still apply. */
9371 char xmlSchemaSetParserStructuredErrors ();
9375 return xmlSchemaSetParserStructuredErrors ();
9380 if ac_fn_c_try_link
"$LINENO"; then :
9381 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9383 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9385 rm -f core conftest.err conftest.
$ac_objext \
9386 conftest
$ac_exeext conftest.
$ac_ext
9387 LIBS
=$ac_check_lib_save_LIBS
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9390 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9391 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
9393 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9398 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9399 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
9400 $as_echo_n "(cached) " >&6
9402 ac_check_lib_save_LIBS
=$LIBS
9403 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9405 /* end confdefs.h. */
9407 /* Override any GCC internal prototype to avoid an error.
9408 Use char because int might match the return type of a GCC
9409 builtin and then its argument prototype would still apply. */
9413 char xmlSchemaSetValidStructuredErrors ();
9417 return xmlSchemaSetValidStructuredErrors ();
9422 if ac_fn_c_try_link
"$LINENO"; then :
9423 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9425 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9427 rm -f core conftest.err conftest.
$ac_objext \
9428 conftest
$ac_exeext conftest.
$ac_ext
9429 LIBS
=$ac_check_lib_save_LIBS
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9432 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9433 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
9435 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9440 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9441 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
9442 $as_echo_n "(cached) " >&6
9444 ac_check_lib_save_LIBS
=$LIBS
9445 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9447 /* end confdefs.h. */
9449 /* Override any GCC internal prototype to avoid an error.
9450 Use char because int might match the return type of a GCC
9451 builtin and then its argument prototype would still apply. */
9455 char xmlFirstElementChild ();
9459 return xmlFirstElementChild ();
9464 if ac_fn_c_try_link
"$LINENO"; then :
9465 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9467 ac_cv_lib_xml2_xmlFirstElementChild
=no
9469 rm -f core conftest.err conftest.
$ac_objext \
9470 conftest
$ac_exeext conftest.
$ac_ext
9471 LIBS
=$ac_check_lib_save_LIBS
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9474 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9475 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
9477 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9481 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9483 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
9485 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9490 CPPFLAGS
="$ac_save_CPPFLAGS"
9492 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9493 case "x$with_xml" in
9494 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9496 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9497 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9501 if test "x$with_xslt" != "xno"
9503 if test "$PKG_CONFIG" != "false"
9505 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9506 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9508 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
9509 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
9511 ac_save_CPPFLAGS
="$CPPFLAGS"
9512 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
9513 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9515 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9516 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9517 # include <libxslt/pattern.h>
9520 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9521 cat >>confdefs.h
<<_ACEOF
9522 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9529 CPPFLAGS
="$ac_save_CPPFLAGS"
9530 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9533 $as_echo_n "checking for -lxslt... " >&6; }
9534 if ${ac_cv_lib_soname_xslt+:} false
; then :
9535 $as_echo_n "(cached) " >&6
9537 ac_check_soname_save_LIBS
=$LIBS
9538 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9540 /* end confdefs.h. */
9542 /* Override any GCC internal prototype to avoid an error.
9543 Use char because int might match the return type of a GCC
9544 builtin and then its argument prototype would still apply. */
9548 char xsltCompilePattern ();
9552 return xsltCompilePattern ();
9557 if ac_fn_c_try_link
"$LINENO"; then :
9559 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9560 dylib
) ac_cv_lib_soname_xslt
=`otool -L conftest$ac_exeext | grep "libxslt\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libxslt\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9561 *) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9564 rm -f core conftest.err conftest.
$ac_objext \
9565 conftest
$ac_exeext conftest.
$ac_ext
9566 LIBS
=$ac_check_soname_save_LIBS
9568 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9570 $as_echo "not found" >&6; }
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9574 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9576 cat >>confdefs.h
<<_ACEOF
9577 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9580 XSLTINCL
="$ac_xslt_cflags"
9584 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9585 case "x$with_xslt" in
9586 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9588 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
9589 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9593 if test "x$with_dbus" != "xno"
9595 ac_save_CPPFLAGS
="$CPPFLAGS"
9596 if test "$PKG_CONFIG" != "false"
9598 ac_dbus_libs
="`$PKG_CONFIG --libs dbus-1 2>/dev/null`"
9599 ac_dbus_cflags
="`$PKG_CONFIG --cflags dbus-1 2>/dev/null`"
9600 CPPFLAGS
="$CPPFLAGS $ac_dbus_cflags"
9602 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
9603 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
9605 $as_echo_n "checking for -ldbus-1... " >&6; }
9606 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
9607 $as_echo_n "(cached) " >&6
9609 ac_check_soname_save_LIBS
=$LIBS
9610 LIBS
="-ldbus-1 $ac_dbus_libs $LIBS"
9611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9612 /* end confdefs.h. */
9614 /* Override any GCC internal prototype to avoid an error.
9615 Use char because int might match the return type of a GCC
9616 builtin and then its argument prototype would still apply. */
9620 char dbus_connection_close ();
9624 return dbus_connection_close ();
9629 if ac_fn_c_try_link
"$LINENO"; then :
9631 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9632 dylib
) ac_cv_lib_soname_dbus_1
=`otool -L conftest$ac_exeext | grep "libdbus-1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libdbus-1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9633 *) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9636 rm -f core conftest.err conftest.
$ac_objext \
9637 conftest
$ac_exeext conftest.
$ac_ext
9638 LIBS
=$ac_check_soname_save_LIBS
9640 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9642 $as_echo "not found" >&6; }
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
9646 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
9648 cat >>confdefs.h
<<_ACEOF
9649 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
9652 DBUSINCL
="$ac_dbus_cflags"
9658 CPPFLAGS
="$ac_save_CPPFLAGS"
9660 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
9661 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9662 case "x$with_dbus" in
9663 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9665 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
9666 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
9670 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
9672 ac_save_CPPFLAGS
="$CPPFLAGS"
9673 if test "$PKG_CONFIG" != "false"
9675 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
9676 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9677 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
9679 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
9680 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9682 $as_echo_n "checking for -lhal... " >&6; }
9683 if ${ac_cv_lib_soname_hal+:} false
; then :
9684 $as_echo_n "(cached) " >&6
9686 ac_check_soname_save_LIBS
=$LIBS
9687 LIBS
="-lhal $ac_hal_libs $LIBS"
9688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9689 /* end confdefs.h. */
9691 /* Override any GCC internal prototype to avoid an error.
9692 Use char because int might match the return type of a GCC
9693 builtin and then its argument prototype would still apply. */
9697 char libhal_ctx_new ();
9701 return libhal_ctx_new ();
9706 if ac_fn_c_try_link
"$LINENO"; then :
9708 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9709 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'` ;;
9710 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9713 rm -f core conftest.err conftest.
$ac_objext \
9714 conftest
$ac_exeext conftest.
$ac_ext
9715 LIBS
=$ac_check_soname_save_LIBS
9717 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9719 $as_echo "not found" >&6; }
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9723 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9725 cat >>confdefs.h
<<_ACEOF
9726 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9729 HALINCL
="$ac_hal_cflags"
9735 CPPFLAGS
="$ac_save_CPPFLAGS"
9736 if test "x$ac_cv_lib_soname_hal" = "x" -a \
9737 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9738 case "x$with_hal" in
9739 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
9741 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
9742 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9747 if test "x$with_gnutls" != "xno"
9749 ac_save_CPPFLAGS
="$CPPFLAGS"
9750 if test "$PKG_CONFIG" != "false"
9752 ac_gnutls_libs
="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9753 ac_gnutls_cflags
="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9754 CPPFLAGS
="$CPPFLAGS $ac_gnutls_cflags"
9756 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9757 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
9758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9759 /* end confdefs.h. */
9760 #include <gnutls/gnutls.h>
9764 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
9769 if ac_fn_c_try_compile
"$LINENO"; then :
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9771 $as_echo_n "checking for -lgnutls... " >&6; }
9772 if ${ac_cv_lib_soname_gnutls+:} false
; then :
9773 $as_echo_n "(cached) " >&6
9775 ac_check_soname_save_LIBS
=$LIBS
9776 LIBS
="-lgnutls $ac_gnutls_libs $LIBS"
9777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9780 /* Override any GCC internal prototype to avoid an error.
9781 Use char because int might match the return type of a GCC
9782 builtin and then its argument prototype would still apply. */
9786 char gnutls_global_init ();
9790 return gnutls_global_init ();
9795 if ac_fn_c_try_link
"$LINENO"; then :
9797 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9798 dylib
) ac_cv_lib_soname_gnutls
=`otool -L conftest$ac_exeext | grep "libgnutls\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9799 *) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9802 rm -f core conftest.err conftest.
$ac_objext \
9803 conftest
$ac_exeext conftest.
$ac_ext
9804 LIBS
=$ac_check_soname_save_LIBS
9806 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9808 $as_echo "not found" >&6; }
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9812 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9814 cat >>confdefs.h
<<_ACEOF
9815 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9818 GNUTLSINCL
="$ac_gnutls_cflags"
9822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9826 CPPFLAGS
="$ac_save_CPPFLAGS"
9828 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9829 case "x$with_gnutls" in
9830 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9832 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
9833 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9838 if test "$ac_cv_header_ncurses_h" = "yes"
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9841 $as_echo_n "checking for -lncurses... " >&6; }
9842 if ${ac_cv_lib_soname_ncurses+:} false
; then :
9843 $as_echo_n "(cached) " >&6
9845 ac_check_soname_save_LIBS
=$LIBS
9846 LIBS
="-lncurses $LIBS"
9847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9848 /* end confdefs.h. */
9850 /* Override any GCC internal prototype to avoid an error.
9851 Use char because int might match the return type of a GCC
9852 builtin and then its argument prototype would still apply. */
9865 if ac_fn_c_try_link
"$LINENO"; then :
9867 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9868 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'` ;;
9869 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9872 rm -f core conftest.err conftest.
$ac_objext \
9873 conftest
$ac_exeext conftest.
$ac_ext
9874 LIBS
=$ac_check_soname_save_LIBS
9876 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9878 $as_echo "not found" >&6; }
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9882 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9884 cat >>confdefs.h
<<_ACEOF
9885 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9888 CURSESLIBS
="-lncurses"
9890 elif test "$ac_cv_header_curses_h" = "yes"
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9893 $as_echo_n "checking for -lcurses... " >&6; }
9894 if ${ac_cv_lib_soname_curses+:} false
; then :
9895 $as_echo_n "(cached) " >&6
9897 ac_check_soname_save_LIBS
=$LIBS
9898 LIBS
="-lcurses $LIBS"
9899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9900 /* end confdefs.h. */
9902 /* Override any GCC internal prototype to avoid an error.
9903 Use char because int might match the return type of a GCC
9904 builtin and then its argument prototype would still apply. */
9917 if ac_fn_c_try_link
"$LINENO"; then :
9919 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9920 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'` ;;
9921 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9924 rm -f core conftest.err conftest.
$ac_objext \
9925 conftest
$ac_exeext conftest.
$ac_ext
9926 LIBS
=$ac_check_soname_save_LIBS
9928 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9930 $as_echo "not found" >&6; }
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9934 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9936 cat >>confdefs.h
<<_ACEOF
9937 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9940 CURSESLIBS
="-lcurses"
9943 ac_save_LIBS
="$LIBS"
9944 LIBS
="$LIBS $CURSESLIBS"
9945 for ac_func
in mousemask
9947 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
9948 if test "x$ac_cv_func_mousemask" = xyes
; then :
9949 cat >>confdefs.h
<<_ACEOF
9950 #define HAVE_MOUSEMASK 1
9956 LIBS
="$ac_save_LIBS"
9957 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9958 case "x$with_curses" in
9959 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9961 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9962 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9966 if test "x$with_sane" != "xno"
9968 ac_save_CPPFLAGS
="$CPPFLAGS"
9969 # Extract the first word of "sane-config", so it can be a program name with args.
9970 set dummy sane-config
; ac_word
=$2
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9972 $as_echo_n "checking for $ac_word... " >&6; }
9973 if ${ac_cv_prog_sane_devel+:} false
; then :
9974 $as_echo_n "(cached) " >&6
9976 if test -n "$sane_devel"; then
9977 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9983 test -z "$as_dir" && as_dir
=.
9984 for ac_exec_ext
in '' $ac_executable_extensions; do
9985 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9986 ac_cv_prog_sane_devel
="sane-config"
9987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9994 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9997 sane_devel
=$ac_cv_prog_sane_devel
9998 if test -n "$sane_devel"; then
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
10000 $as_echo "$sane_devel" >&6; }
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10003 $as_echo "no" >&6; }
10007 if test "$sane_devel" != "no"
10009 ac_sane_incl
="`$sane_devel --cflags`"
10010 ac_sane_libs
="`$sane_devel --ldflags`"
10011 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
10013 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10014 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10016 $as_echo_n "checking for -lsane... " >&6; }
10017 if ${ac_cv_lib_soname_sane+:} false
; then :
10018 $as_echo_n "(cached) " >&6
10020 ac_check_soname_save_LIBS
=$LIBS
10021 LIBS
="-lsane $ac_sane_libs $LIBS"
10022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10023 /* end confdefs.h. */
10025 /* Override any GCC internal prototype to avoid an error.
10026 Use char because int might match the return type of a GCC
10027 builtin and then its argument prototype would still apply. */
10035 return sane_init ();
10040 if ac_fn_c_try_link
"$LINENO"; then :
10042 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10043 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'` ;;
10044 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10047 rm -f core conftest.err conftest.
$ac_objext \
10048 conftest
$ac_exeext conftest.
$ac_ext
10049 LIBS
=$ac_check_soname_save_LIBS
10051 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10053 $as_echo "not found" >&6; }
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10057 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10059 cat >>confdefs.h
<<_ACEOF
10060 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10063 SANEINCL
="$ac_sane_incl"
10069 CPPFLAGS
="$ac_save_CPPFLAGS"
10071 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10072 case "x$with_sane" in
10073 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10075 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
10076 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10080 if test "x$with_v4l" != "xno"
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10083 $as_echo_n "checking for -lv4l1... " >&6; }
10084 if ${ac_cv_lib_soname_v4l1+:} false
; then :
10085 $as_echo_n "(cached) " >&6
10087 ac_check_soname_save_LIBS
=$LIBS
10088 LIBS
="-lv4l1 $LIBS"
10089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10090 /* end confdefs.h. */
10092 /* Override any GCC internal prototype to avoid an error.
10093 Use char because int might match the return type of a GCC
10094 builtin and then its argument prototype would still apply. */
10102 return v4l1_open ();
10107 if ac_fn_c_try_link
"$LINENO"; then :
10109 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10110 dylib
) ac_cv_lib_soname_v4l1
=`otool -L conftest$ac_exeext | grep "libv4l1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libv4l1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10111 *) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10114 rm -f core conftest.err conftest.
$ac_objext \
10115 conftest
$ac_exeext conftest.
$ac_ext
10116 LIBS
=$ac_check_soname_save_LIBS
10118 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10120 $as_echo "not found" >&6; }
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10124 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10126 cat >>confdefs.h
<<_ACEOF
10127 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10133 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10134 case "x$with_v4l" in
10135 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
10137 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
10138 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10142 if test "x$with_gphoto" != "xno"
10144 ac_save_CPPFLAGS
="$CPPFLAGS"
10145 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10146 set dummy gphoto2-config
; ac_word
=$2
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10148 $as_echo_n "checking for $ac_word... " >&6; }
10149 if ${ac_cv_prog_gphoto2_devel+:} false
; then :
10150 $as_echo_n "(cached) " >&6
10152 if test -n "$gphoto2_devel"; then
10153 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
10155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10156 for as_dir
in $PATH
10159 test -z "$as_dir" && as_dir
=.
10160 for ac_exec_ext
in '' $ac_executable_extensions; do
10161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10162 ac_cv_prog_gphoto2_devel
="gphoto2-config"
10163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10170 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
10173 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
10174 if test -n "$gphoto2_devel"; then
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10176 $as_echo "$gphoto2_devel" >&6; }
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10179 $as_echo "no" >&6; }
10183 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10184 set dummy gphoto2-port-config
; ac_word
=$2
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10186 $as_echo_n "checking for $ac_word... " >&6; }
10187 if ${ac_cv_prog_gphoto2port_devel+:} false
; then :
10188 $as_echo_n "(cached) " >&6
10190 if test -n "$gphoto2port_devel"; then
10191 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
10193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10194 for as_dir
in $PATH
10197 test -z "$as_dir" && as_dir
=.
10198 for ac_exec_ext
in '' $ac_executable_extensions; do
10199 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10200 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
10201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10208 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
10211 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
10212 if test -n "$gphoto2port_devel"; then
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10214 $as_echo "$gphoto2port_devel" >&6; }
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10217 $as_echo "no" >&6; }
10221 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10223 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10225 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10228 -L/usr
/lib|
-L/usr
/lib64
) ;;
10229 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
10232 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
10234 ac_gphoto2_libs
=${ac_gphoto2_libs:-"-lgphoto2"}
10235 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10236 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10238 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10239 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
10240 $as_echo_n "(cached) " >&6
10242 ac_check_lib_save_LIBS
=$LIBS
10243 LIBS
="-lgphoto2 $ac_gphoto2_libs $LIBS"
10244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10247 /* Override any GCC internal prototype to avoid an error.
10248 Use char because int might match the return type of a GCC
10249 builtin and then its argument prototype would still apply. */
10253 char gp_camera_new ();
10257 return gp_camera_new ();
10262 if ac_fn_c_try_link
"$LINENO"; then :
10263 ac_cv_lib_gphoto2_gp_camera_new
=yes
10265 ac_cv_lib_gphoto2_gp_camera_new
=no
10267 rm -f core conftest.err conftest.
$ac_objext \
10268 conftest
$ac_exeext conftest.
$ac_ext
10269 LIBS
=$ac_check_lib_save_LIBS
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10272 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10273 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
10275 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10277 GPHOTO2LIBS
="$ac_gphoto2_libs"
10279 GPHOTO2INCL
="$ac_gphoto2_incl"
10286 CPPFLAGS
="$ac_save_CPPFLAGS"
10288 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10289 case "x$with_gphoto" in
10290 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10292 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10293 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10298 if test "$ac_cv_header_resolv_h" = "yes"
10300 ac_save_LIBS
="$LIBS"
10301 for lib
in '' -lresolv
10303 LIBS
="$lib $ac_save_LIBS"
10304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10305 /* end confdefs.h. */
10306 #ifdef HAVE_NETINET_IN_H
10307 #include <netinet/in.h>
10309 #include <resolv.h>
10313 res_query("foo",ns_c_in,0,0,0);
10318 if ac_fn_c_try_link
"$LINENO"; then :
10320 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10325 rm -f core conftest.err conftest.
$ac_objext \
10326 conftest
$ac_exeext conftest.
$ac_ext
10327 if test "${RESOLVLIBS+set}" = set; then
10331 LIBS
="$ac_save_LIBS"
10336 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10339 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10340 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false
; then :
10341 $as_echo_n "(cached) " >&6
10343 ac_check_lib_save_LIBS
=$LIBS
10344 LIBS
="-llcms $LIBS"
10345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10346 /* end confdefs.h. */
10348 /* Override any GCC internal prototype to avoid an error.
10349 Use char because int might match the return type of a GCC
10350 builtin and then its argument prototype would still apply. */
10354 char cmsOpenProfileFromFile ();
10358 return cmsOpenProfileFromFile ();
10363 if ac_fn_c_try_link
"$LINENO"; then :
10364 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10366 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10368 rm -f core conftest.err conftest.
$ac_objext \
10369 conftest
$ac_exeext conftest.
$ac_ext
10370 LIBS
=$ac_check_lib_save_LIBS
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10373 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10374 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes
; then :
10376 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10382 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10383 case "x$with_cms" in
10384 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10386 *) as_fn_error $?
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
10387 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10391 if test "x$with_freetype" != "xno"
10393 if test "$PKG_CONFIG" != "false"
10395 ac_freetype_incl
="`$PKG_CONFIG --cflags freetype2 2>/dev/null`"
10396 ac_freetype_libs
="`$PKG_CONFIG --libs freetype2 2>/dev/null`"
10398 for ac_prog
in freetype-config freetype2-config
10400 # Extract the first word of "$ac_prog", so it can be a program name with args.
10401 set dummy
$ac_prog; ac_word
=$2
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10403 $as_echo_n "checking for $ac_word... " >&6; }
10404 if ${ac_cv_prog_ft_devel+:} false
; then :
10405 $as_echo_n "(cached) " >&6
10407 if test -n "$ft_devel"; then
10408 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10411 for as_dir
in $PATH
10414 test -z "$as_dir" && as_dir
=.
10415 for ac_exec_ext
in '' $ac_executable_extensions; do
10416 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10417 ac_cv_prog_ft_devel
="$ac_prog"
10418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10427 ft_devel
=$ac_cv_prog_ft_devel
10428 if test -n "$ft_devel"; then
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10430 $as_echo "$ft_devel" >&6; }
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10433 $as_echo "no" >&6; }
10437 test -n "$ft_devel" && break
10439 test -n "$ft_devel" || ft_devel
="no"
10441 if test "$ft_devel" != "no"
10443 ac_freetype_incl
=`$ft_devel --cflags`
10444 ac_freetype_libs
=`$ft_devel --libs`
10447 ac_freetype_libs
=${ac_freetype_libs:-"-lfreetype"}
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10449 $as_echo_n "checking for -lfreetype... " >&6; }
10450 if ${ac_cv_lib_soname_freetype+:} false
; then :
10451 $as_echo_n "(cached) " >&6
10453 ac_check_soname_save_LIBS
=$LIBS
10454 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
10455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10456 /* end confdefs.h. */
10458 /* Override any GCC internal prototype to avoid an error.
10459 Use char because int might match the return type of a GCC
10460 builtin and then its argument prototype would still apply. */
10464 char FT_Init_FreeType ();
10468 return FT_Init_FreeType ();
10473 if ac_fn_c_try_link
"$LINENO"; then :
10475 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10476 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'` ;;
10477 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10480 rm -f core conftest.err conftest.
$ac_objext \
10481 conftest
$ac_exeext conftest.
$ac_ext
10482 LIBS
=$ac_check_soname_save_LIBS
10484 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10486 $as_echo "not found" >&6; }
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10490 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10492 cat >>confdefs.h
<<_ACEOF
10493 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10498 if test "$ft_lib" = "yes"
10500 ac_save_CPPFLAGS
="$CPPFLAGS"
10501 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
10502 for ac_header
in ft2build.h \
10503 freetype
/freetype.h \
10504 freetype
/ftglyph.h \
10505 freetype
/fttypes.h \
10506 freetype
/tttables.h \
10507 freetype
/ftsnames.h \
10508 freetype
/ttnameid.h \
10509 freetype
/ftoutln.h \
10510 freetype
/ftwinfnt.h \
10511 freetype
/ftmodapi.h \
10512 freetype
/ftlcdfil.h
10514 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10515 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10516 # include <ft2build.h>
10519 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10520 cat >>confdefs.h
<<_ACEOF
10521 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10529 /* end confdefs.h. */
10530 #include <ft2build.h>
10531 #include <freetype/fttrigon.h>
10533 if ac_fn_c_try_cpp
"$LINENO"; then :
10535 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10537 wine_cv_fttrigon
=yes
10539 wine_cv_fttrigon
=no
10541 rm -f conftest.err conftest.i conftest.
$ac_ext
10542 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10544 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
10546 cat >>confdefs.h
<<_ACEOF
10547 #define HAVE_FT_TRUETYPEENGINETYPE 1
10553 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10556 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10558 FREETYPELIBS
="$ac_freetype_libs"
10560 FREETYPEINCL
="$ac_freetype_incl"
10565 if test "x$FREETYPELIBS" = "x"; then :
10566 case "x$with_freetype" in
10568 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10569 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10572 test "x$FREETYPELIBS" = "x" && enable_fonts
=${enable_fonts:-no}
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10575 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10576 if ${ac_cv_c_ppdev+:} false
; then :
10577 $as_echo_n "(cached) " >&6
10579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10580 /* end confdefs.h. */
10581 #ifdef HAVE_SYS_IOCTL_H
10582 # include <sys/ioctl.h>
10584 #include <linux/ppdev.h>
10588 ioctl (1,PPCLAIM,0)
10593 if ac_fn_c_try_compile
"$LINENO"; then :
10594 ac_cv_c_ppdev
="yes"
10598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10601 $as_echo "$ac_cv_c_ppdev" >&6; }
10602 if test "$ac_cv_c_ppdev" = "yes"
10605 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10609 ac_wine_check_funcs_save_LIBS
="$LIBS"
10610 LIBS
="$LIBS $LIBPTHREAD"
10612 pthread_attr_get_np \
10613 pthread_getattr_np \
10614 pthread_getthreadid_np \
10615 pthread_get_stackaddr_np \
10616 pthread_get_stacksize_np
10618 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10619 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10620 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10621 cat >>confdefs.h
<<_ACEOF
10622 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10628 LIBS
="$ac_wine_check_funcs_save_LIBS"
10630 if test "$ac_cv_header_zlib_h" = "yes"
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10633 $as_echo_n "checking for inflate in -lz... " >&6; }
10634 if ${ac_cv_lib_z_inflate+:} false
; then :
10635 $as_echo_n "(cached) " >&6
10637 ac_check_lib_save_LIBS
=$LIBS
10639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10640 /* end confdefs.h. */
10642 /* Override any GCC internal prototype to avoid an error.
10643 Use char because int might match the return type of a GCC
10644 builtin and then its argument prototype would still apply. */
10657 if ac_fn_c_try_link
"$LINENO"; then :
10658 ac_cv_lib_z_inflate
=yes
10660 ac_cv_lib_z_inflate
=no
10662 rm -f core conftest.err conftest.
$ac_objext \
10663 conftest
$ac_exeext conftest.
$ac_ext
10664 LIBS
=$ac_check_lib_save_LIBS
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10667 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10668 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
10670 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10677 if test "x$ZLIB" = "x"; then :
10678 case "x$with_zlib" in
10679 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10681 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
10682 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10686 if test "x$enable_tools" != xno
10688 if test "$ac_cv_header_gettext_po_h" = "yes"
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10691 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10692 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
10693 $as_echo_n "(cached) " >&6
10695 ac_check_lib_save_LIBS
=$LIBS
10696 LIBS
="-lgettextpo $LIBS"
10697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10698 /* end confdefs.h. */
10700 /* Override any GCC internal prototype to avoid an error.
10701 Use char because int might match the return type of a GCC
10702 builtin and then its argument prototype would still apply. */
10706 char po_message_msgctxt ();
10710 return po_message_msgctxt ();
10715 if ac_fn_c_try_link
"$LINENO"; then :
10716 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
10718 ac_cv_lib_gettextpo_po_message_msgctxt
=no
10720 rm -f core conftest.err conftest.
$ac_objext \
10721 conftest
$ac_exeext conftest.
$ac_ext
10722 LIBS
=$ac_check_lib_save_LIBS
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10725 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10726 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
10728 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10730 LIBGETTEXTPO
="-lgettextpo"
10735 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
10736 case "x$with_gettextpo" in
10737 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
10739 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
10740 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10745 if test "x$with_gstreamer" != "xno"
10747 ac_save_CPPFLAGS
="$CPPFLAGS"
10748 if test "$PKG_CONFIG" != "false"; then
10750 for i
in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10753 -I*) ac_gst_incl
="$ac_gst_incl $i";;
10756 ac_gst_libs
="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10757 CPPFLAGS
="$CPPFLAGS $ac_gst_incl"
10758 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10759 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
10760 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10761 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
10763 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
10764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10765 /* end confdefs.h. */
10766 #include <gst/app/gstappsink.h>
10770 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
10775 if ac_fn_c_try_compile
"$LINENO"; then :
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10777 $as_echo "yes" >&6; }
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10779 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10780 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
10781 $as_echo_n "(cached) " >&6
10783 ac_check_lib_save_LIBS
=$LIBS
10784 LIBS
="-lgstreamer-0.10 $LIBS"
10785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10786 /* end confdefs.h. */
10788 /* Override any GCC internal prototype to avoid an error.
10789 Use char because int might match the return type of a GCC
10790 builtin and then its argument prototype would still apply. */
10794 char gst_pad_get_caps_reffed ();
10798 return gst_pad_get_caps_reffed ();
10803 if ac_fn_c_try_link
"$LINENO"; then :
10804 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
10806 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
10808 rm -f core conftest.err conftest.
$ac_objext \
10809 conftest
$ac_exeext conftest.
$ac_ext
10810 LIBS
=$ac_check_lib_save_LIBS
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10813 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10814 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10816 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10817 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
10818 $as_echo_n "(cached) " >&6
10820 ac_check_lib_save_LIBS
=$LIBS
10821 LIBS
="-lgstapp-0.10 $ac_gst_libs $LIBS"
10822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10823 /* end confdefs.h. */
10825 /* Override any GCC internal prototype to avoid an error.
10826 Use char because int might match the return type of a GCC
10827 builtin and then its argument prototype would still apply. */
10831 char gst_app_buffer_new ();
10835 return gst_app_buffer_new ();
10840 if ac_fn_c_try_link
"$LINENO"; then :
10841 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
10843 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
10845 rm -f core conftest.err conftest.
$ac_objext \
10846 conftest
$ac_exeext conftest.
$ac_ext
10847 LIBS
=$ac_check_lib_save_LIBS
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10850 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10851 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
10852 GSTREAMER_LIBS
="$ac_gst_libs"
10854 GSTREAMER_INCL
="$ac_gst_incl"
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10862 $as_echo "no" >&6; }
10864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10872 CPPFLAGS
="$ac_save_CPPFLAGS"
10874 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
10875 case "x$with_gstreamer" in
10876 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
10878 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
10879 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10882 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
10886 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
10889 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
10890 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
10891 $as_echo_n "(cached) " >&6
10893 ac_check_lib_save_LIBS
=$LIBS
10894 LIBS
="-lasound $LIBS"
10895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10896 /* end confdefs.h. */
10898 /* Override any GCC internal prototype to avoid an error.
10899 Use char because int might match the return type of a GCC
10900 builtin and then its argument prototype would still apply. */
10904 char snd_pcm_hw_params_get_access_mask ();
10908 return snd_pcm_hw_params_get_access_mask ();
10913 if ac_fn_c_try_link
"$LINENO"; then :
10914 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
10916 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
10918 rm -f core conftest.err conftest.
$ac_objext \
10919 conftest
$ac_exeext conftest.
$ac_ext
10920 LIBS
=$ac_check_lib_save_LIBS
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
10923 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
10924 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
10925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h. */
10927 #ifdef HAVE_ALSA_ASOUNDLIB_H
10928 #include <alsa/asoundlib.h>
10929 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10930 #include <sys/asoundlib.h>
10935 snd_pcm_hw_params_get_access_mask(NULL, NULL)
10940 if ac_fn_c_try_compile
"$LINENO"; then :
10941 ALSALIBS
="-lasound"
10943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10948 if test "x$with_oss" != xno
10950 ac_save_CPPFLAGS
="$CPPFLAGS"
10951 if test -f /etc
/oss.conf
10955 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
10956 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
10957 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
10958 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
10959 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
10961 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
10963 cat >>confdefs.h
<<_ACEOF
10964 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
10967 OSS4INCL
="$ac_oss_incl"
10974 CPPFLAGS
="$ac_save_CPPFLAGS"
10975 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
10977 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
10982 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10985 $as_echo_n "checking for -lcapi20... " >&6; }
10986 if ${ac_cv_lib_soname_capi20+:} false
; then :
10987 $as_echo_n "(cached) " >&6
10989 ac_check_soname_save_LIBS
=$LIBS
10990 LIBS
="-lcapi20 $LIBS"
10991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10992 /* end confdefs.h. */
10994 /* Override any GCC internal prototype to avoid an error.
10995 Use char because int might match the return type of a GCC
10996 builtin and then its argument prototype would still apply. */
11000 char capi20_register ();
11004 return capi20_register ();
11009 if ac_fn_c_try_link
"$LINENO"; then :
11011 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11012 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'` ;;
11013 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11016 rm -f core conftest.err conftest.
$ac_objext \
11017 conftest
$ac_exeext conftest.
$ac_ext
11018 LIBS
=$ac_check_soname_save_LIBS
11020 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11022 $as_echo "not found" >&6; }
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11026 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11028 cat >>confdefs.h
<<_ACEOF
11029 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11035 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11036 case "x$with_capi" in
11037 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11039 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11040 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11046 if test "x$with_cups" != "xno"
11048 ac_save_CPPFLAGS
="$CPPFLAGS"
11049 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
11050 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
11051 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
11052 for ac_header
in cups
/cups.h
11054 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11055 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
11056 cat >>confdefs.h
<<_ACEOF
11057 #define HAVE_CUPS_CUPS_H 1
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11060 $as_echo_n "checking for -lcups... " >&6; }
11061 if ${ac_cv_lib_soname_cups+:} false
; then :
11062 $as_echo_n "(cached) " >&6
11064 ac_check_soname_save_LIBS
=$LIBS
11065 LIBS
="-lcups $ac_cups_libs $LIBS"
11066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11067 /* end confdefs.h. */
11069 /* Override any GCC internal prototype to avoid an error.
11070 Use char because int might match the return type of a GCC
11071 builtin and then its argument prototype would still apply. */
11075 char cupsGetDefault ();
11079 return cupsGetDefault ();
11084 if ac_fn_c_try_link
"$LINENO"; then :
11086 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11087 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'` ;;
11088 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11091 rm -f core conftest.err conftest.
$ac_objext \
11092 conftest
$ac_exeext conftest.
$ac_ext
11093 LIBS
=$ac_check_soname_save_LIBS
11095 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11097 $as_echo "not found" >&6; }
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11101 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11103 cat >>confdefs.h
<<_ACEOF
11104 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11107 CUPSINCL
="$ac_cups_cflags"
11113 CPPFLAGS
="$ac_save_CPPFLAGS"
11115 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11116 case "x$with_cups" in
11117 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11119 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
11120 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11124 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11127 $as_echo_n "checking for -lfontconfig... " >&6; }
11128 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11129 $as_echo_n "(cached) " >&6
11131 ac_check_soname_save_LIBS
=$LIBS
11132 LIBS
="-lfontconfig $LIBS"
11133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11134 /* end confdefs.h. */
11136 /* Override any GCC internal prototype to avoid an error.
11137 Use char because int might match the return type of a GCC
11138 builtin and then its argument prototype would still apply. */
11151 if ac_fn_c_try_link
"$LINENO"; then :
11153 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11154 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'` ;;
11155 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11158 rm -f core conftest.err conftest.
$ac_objext \
11159 conftest
$ac_exeext conftest.
$ac_ext
11160 LIBS
=$ac_check_soname_save_LIBS
11162 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11164 $as_echo "not found" >&6; }
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11168 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11170 cat >>confdefs.h
<<_ACEOF
11171 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11176 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11178 ac_save_CPPFLAGS
="$CPPFLAGS"
11179 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11180 $as_unset ac_cv_header_fontconfig_fontconfig_h
11181 for ac_header
in fontconfig
/fontconfig.h
11183 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11184 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
11185 cat >>confdefs.h
<<_ACEOF
11186 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11193 CPPFLAGS
="$ac_save_CPPFLAGS"
11194 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11196 FONTCONFIGINCL
="$X_CFLAGS"
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11199 $as_echo_n "checking for -lfontconfig... " >&6; }
11200 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11201 $as_echo_n "(cached) " >&6
11203 ac_check_soname_save_LIBS
=$LIBS
11204 LIBS
="-lfontconfig $X_LIBS $LIBS"
11205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11206 /* end confdefs.h. */
11208 /* Override any GCC internal prototype to avoid an error.
11209 Use char because int might match the return type of a GCC
11210 builtin and then its argument prototype would still apply. */
11223 if ac_fn_c_try_link
"$LINENO"; then :
11225 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11226 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'` ;;
11227 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11230 rm -f core conftest.err conftest.
$ac_objext \
11231 conftest
$ac_exeext conftest.
$ac_ext
11232 LIBS
=$ac_check_soname_save_LIBS
11234 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11236 $as_echo "not found" >&6; }
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11240 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11242 cat >>confdefs.h
<<_ACEOF
11243 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11250 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11251 case "x$with_fontconfig" in
11252 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11254 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11255 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11259 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11262 $as_echo_n "checking for -lssl... " >&6; }
11263 if ${ac_cv_lib_soname_ssl+:} false
; then :
11264 $as_echo_n "(cached) " >&6
11266 ac_check_soname_save_LIBS
=$LIBS
11268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h. */
11271 /* Override any GCC internal prototype to avoid an error.
11272 Use char because int might match the return type of a GCC
11273 builtin and then its argument prototype would still apply. */
11277 char SSL_library_init ();
11281 return SSL_library_init ();
11286 if ac_fn_c_try_link
"$LINENO"; then :
11288 dll
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11289 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'` ;;
11290 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11293 rm -f core conftest.err conftest.
$ac_objext \
11294 conftest
$ac_exeext conftest.
$ac_ext
11295 LIBS
=$ac_check_soname_save_LIBS
11297 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11299 $as_echo "not found" >&6; }
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11303 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11305 cat >>confdefs.h
<<_ACEOF
11306 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11312 $as_echo_n "checking for -lcrypto... " >&6; }
11313 if ${ac_cv_lib_soname_crypto+:} false
; then :
11314 $as_echo_n "(cached) " >&6
11316 ac_check_soname_save_LIBS
=$LIBS
11317 LIBS
="-lcrypto $LIBS"
11318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11319 /* end confdefs.h. */
11321 /* Override any GCC internal prototype to avoid an error.
11322 Use char because int might match the return type of a GCC
11323 builtin and then its argument prototype would still apply. */
11327 char BIO_new_socket ();
11331 return BIO_new_socket ();
11336 if ac_fn_c_try_link
"$LINENO"; then :
11338 dll
) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11339 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'` ;;
11340 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11343 rm -f core conftest.err conftest.
$ac_objext \
11344 conftest
$ac_exeext conftest.
$ac_ext
11345 LIBS
=$ac_check_soname_save_LIBS
11347 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11349 $as_echo "not found" >&6; }
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11353 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11355 cat >>confdefs.h
<<_ACEOF
11356 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11362 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11363 case "x$with_openssl" in
11364 x
) as_fn_append wine_warnings
"|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11366 *) as_fn_error $?
"OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11367 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11371 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11374 $as_echo_n "checking for -lgsm... " >&6; }
11375 if ${ac_cv_lib_soname_gsm+:} false
; then :
11376 $as_echo_n "(cached) " >&6
11378 ac_check_soname_save_LIBS
=$LIBS
11380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11381 /* end confdefs.h. */
11383 /* Override any GCC internal prototype to avoid an error.
11384 Use char because int might match the return type of a GCC
11385 builtin and then its argument prototype would still apply. */
11389 char gsm_create ();
11393 return gsm_create ();
11398 if ac_fn_c_try_link
"$LINENO"; then :
11400 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11401 dylib
) ac_cv_lib_soname_gsm
=`otool -L conftest$ac_exeext | grep "libgsm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgsm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11402 *) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11405 rm -f core conftest.err conftest.
$ac_objext \
11406 conftest
$ac_exeext conftest.
$ac_ext
11407 LIBS
=$ac_check_soname_save_LIBS
11409 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11411 $as_echo "not found" >&6; }
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11415 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11417 cat >>confdefs.h
<<_ACEOF
11418 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11424 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11425 case "x$with_gsm" in
11426 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11428 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11429 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11433 if test "$ac_cv_header_jpeglib_h" = "yes"
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11436 $as_echo_n "checking for -ljpeg... " >&6; }
11437 if ${ac_cv_lib_soname_jpeg+:} false
; then :
11438 $as_echo_n "(cached) " >&6
11440 ac_check_soname_save_LIBS
=$LIBS
11441 LIBS
="-ljpeg $LIBS"
11442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11443 /* end confdefs.h. */
11445 /* Override any GCC internal prototype to avoid an error.
11446 Use char because int might match the return type of a GCC
11447 builtin and then its argument prototype would still apply. */
11451 char jpeg_start_decompress ();
11455 return jpeg_start_decompress ();
11460 if ac_fn_c_try_link
"$LINENO"; then :
11462 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11463 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'` ;;
11464 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11467 rm -f core conftest.err conftest.
$ac_objext \
11468 conftest
$ac_exeext conftest.
$ac_ext
11469 LIBS
=$ac_check_soname_save_LIBS
11471 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11473 $as_echo "not found" >&6; }
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11477 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11479 cat >>confdefs.h
<<_ACEOF
11480 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11486 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11487 case "x$with_jpeg" in
11488 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11490 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11491 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11495 if test "$ac_cv_header_png_h" = "yes"
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11498 $as_echo_n "checking for -lpng... " >&6; }
11499 if ${ac_cv_lib_soname_png+:} false
; then :
11500 $as_echo_n "(cached) " >&6
11502 ac_check_soname_save_LIBS
=$LIBS
11503 LIBS
="-lpng -lm -lz $LIBS"
11504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11505 /* end confdefs.h. */
11507 /* Override any GCC internal prototype to avoid an error.
11508 Use char because int might match the return type of a GCC
11509 builtin and then its argument prototype would still apply. */
11513 char png_create_read_struct ();
11517 return png_create_read_struct ();
11522 if ac_fn_c_try_link
"$LINENO"; then :
11524 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11525 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'` ;;
11526 *) 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'` ;;
11529 rm -f core conftest.err conftest.
$ac_objext \
11530 conftest
$ac_exeext conftest.
$ac_ext
11531 LIBS
=$ac_check_soname_save_LIBS
11533 if test "x$ac_cv_lib_soname_png" = "x"; then :
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11535 $as_echo "not found" >&6; }
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11539 $as_echo "$ac_cv_lib_soname_png" >&6; }
11541 cat >>confdefs.h
<<_ACEOF
11542 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11548 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11549 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11550 $as_echo_n "(cached) " >&6
11552 ac_check_lib_save_LIBS
=$LIBS
11553 LIBS
="-lpng -lm -lz $LIBS"
11554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11555 /* end confdefs.h. */
11557 /* Override any GCC internal prototype to avoid an error.
11558 Use char because int might match the return type of a GCC
11559 builtin and then its argument prototype would still apply. */
11563 char png_set_expand_gray_1_2_4_to_8 ();
11567 return png_set_expand_gray_1_2_4_to_8 ();
11572 if ac_fn_c_try_link
"$LINENO"; then :
11573 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11575 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11577 rm -f core conftest.err conftest.
$ac_objext \
11578 conftest
$ac_exeext conftest.
$ac_ext
11579 LIBS
=$ac_check_lib_save_LIBS
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11582 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11583 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11585 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11590 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11592 ac_save_CPPFLAGS
="$CPPFLAGS"
11593 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11594 $as_unset ac_cv_header_png_h
11595 for ac_header
in png.h
11597 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11598 if test "x$ac_cv_header_png_h" = xyes
; then :
11599 cat >>confdefs.h
<<_ACEOF
11600 #define HAVE_PNG_H 1
11607 CPPFLAGS
="$ac_save_CPPFLAGS"
11608 if test "$ac_cv_header_png_h" = "yes"
11610 PNGINCL
="$X_CFLAGS"
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11613 $as_echo_n "checking for -lpng... " >&6; }
11614 if ${ac_cv_lib_soname_png+:} false
; then :
11615 $as_echo_n "(cached) " >&6
11617 ac_check_soname_save_LIBS
=$LIBS
11618 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11622 /* Override any GCC internal prototype to avoid an error.
11623 Use char because int might match the return type of a GCC
11624 builtin and then its argument prototype would still apply. */
11628 char png_create_read_struct ();
11632 return png_create_read_struct ();
11637 if ac_fn_c_try_link
"$LINENO"; then :
11639 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11640 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'` ;;
11641 *) 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'` ;;
11644 rm -f core conftest.err conftest.
$ac_objext \
11645 conftest
$ac_exeext conftest.
$ac_ext
11646 LIBS
=$ac_check_soname_save_LIBS
11648 if test "x$ac_cv_lib_soname_png" = "x"; then :
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11650 $as_echo "not found" >&6; }
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11654 $as_echo "$ac_cv_lib_soname_png" >&6; }
11656 cat >>confdefs.h
<<_ACEOF
11657 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11663 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11664 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11665 $as_echo_n "(cached) " >&6
11667 ac_check_lib_save_LIBS
=$LIBS
11668 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11670 /* end confdefs.h. */
11672 /* Override any GCC internal prototype to avoid an error.
11673 Use char because int might match the return type of a GCC
11674 builtin and then its argument prototype would still apply. */
11678 char png_set_expand_gray_1_2_4_to_8 ();
11682 return png_set_expand_gray_1_2_4_to_8 ();
11687 if ac_fn_c_try_link
"$LINENO"; then :
11688 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11690 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11692 rm -f core conftest.err conftest.
$ac_objext \
11693 conftest
$ac_exeext conftest.
$ac_ext
11694 LIBS
=$ac_check_lib_save_LIBS
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11697 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11698 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11699 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11705 if test "x$ac_cv_lib_soname_png" = "x"; then :
11706 case "x$with_png" in
11707 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11709 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
11710 This is an error since --with-png was requested." "$LINENO" 5 ;;
11714 if test "$ac_cv_header_tiffio_h" = "yes"
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11717 $as_echo_n "checking for -ltiff... " >&6; }
11718 if ${ac_cv_lib_soname_tiff+:} false
; then :
11719 $as_echo_n "(cached) " >&6
11721 ac_check_soname_save_LIBS
=$LIBS
11722 LIBS
="-ltiff $LIBS"
11723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11724 /* end confdefs.h. */
11726 /* Override any GCC internal prototype to avoid an error.
11727 Use char because int might match the return type of a GCC
11728 builtin and then its argument prototype would still apply. */
11732 char TIFFClientOpen ();
11736 return TIFFClientOpen ();
11741 if ac_fn_c_try_link
"$LINENO"; then :
11743 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11744 dylib
) ac_cv_lib_soname_tiff
=`otool -L conftest$ac_exeext | grep "libtiff\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libtiff\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11745 *) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11748 rm -f core conftest.err conftest.
$ac_objext \
11749 conftest
$ac_exeext conftest.
$ac_ext
11750 LIBS
=$ac_check_soname_save_LIBS
11752 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11754 $as_echo "not found" >&6; }
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11758 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11760 cat >>confdefs.h
<<_ACEOF
11761 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11767 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11768 case "x$with_tiff" in
11769 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11771 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
11772 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11776 if test "$ac_cv_header_mpg123_h" = "yes"
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11779 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11780 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
11781 $as_echo_n "(cached) " >&6
11783 ac_check_lib_save_LIBS
=$LIBS
11784 LIBS
="-lmpg123 $LIBS"
11785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11786 /* end confdefs.h. */
11788 /* Override any GCC internal prototype to avoid an error.
11789 Use char because int might match the return type of a GCC
11790 builtin and then its argument prototype would still apply. */
11794 char mpg123_feed ();
11798 return mpg123_feed ();
11803 if ac_fn_c_try_link
"$LINENO"; then :
11804 ac_cv_lib_mpg123_mpg123_feed
=yes
11806 ac_cv_lib_mpg123_mpg123_feed
=no
11808 rm -f core conftest.err conftest.
$ac_objext \
11809 conftest
$ac_exeext conftest.
$ac_ext
11810 LIBS
=$ac_check_lib_save_LIBS
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11813 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11814 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
11815 LIBMPG123
="-lmpg123"
11820 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
11821 case "x$with_mpg123" in
11822 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11824 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11825 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11828 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
-o "x$ac_cv_header_AudioToolbox_AudioConverter_h" = xyes || enable_winemp3_acm
=${enable_winemp3_acm:-no}
11830 if test "$ac_cv_header_AL_al_h" = "yes"
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11833 $as_echo_n "checking for -lopenal... " >&6; }
11834 if ${ac_cv_lib_soname_openal+:} false
; then :
11835 $as_echo_n "(cached) " >&6
11837 ac_check_soname_save_LIBS
=$LIBS
11838 LIBS
="-lopenal $LIBS"
11839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11840 /* end confdefs.h. */
11842 /* Override any GCC internal prototype to avoid an error.
11843 Use char because int might match the return type of a GCC
11844 builtin and then its argument prototype would still apply. */
11848 char alGetSource3i ();
11852 return alGetSource3i ();
11857 if ac_fn_c_try_link
"$LINENO"; then :
11859 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11860 dylib
) ac_cv_lib_soname_openal
=`otool -L conftest$ac_exeext | grep "libopenal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libopenal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11861 *) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11864 rm -f core conftest.err conftest.
$ac_objext \
11865 conftest
$ac_exeext conftest.
$ac_ext
11866 LIBS
=$ac_check_soname_save_LIBS
11868 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11870 $as_echo "not found" >&6; }
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11874 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11876 cat >>confdefs.h
<<_ACEOF
11877 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11880 LIBOPENAL
="-lopenal"
11882 ac_cv_lib_openal
=yes
11884 cat >>confdefs.h
<<_ACEOF
11885 #define HAVE_OPENAL 1
11890 if test "x$ac_cv_lib_openal" != xyes
; then :
11891 case "x$with_openal" in
11892 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11894 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11895 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11898 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
11900 if test "$ac_cv_header_kstat_h" = "yes"
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11903 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11904 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
11905 $as_echo_n "(cached) " >&6
11907 ac_check_lib_save_LIBS
=$LIBS
11908 LIBS
="-lkstat $LIBS"
11909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11910 /* end confdefs.h. */
11912 /* Override any GCC internal prototype to avoid an error.
11913 Use char because int might match the return type of a GCC
11914 builtin and then its argument prototype would still apply. */
11918 char kstat_open ();
11922 return kstat_open ();
11927 if ac_fn_c_try_link
"$LINENO"; then :
11928 ac_cv_lib_kstat_kstat_open
=yes
11930 ac_cv_lib_kstat_kstat_open
=no
11932 rm -f core conftest.err conftest.
$ac_objext \
11933 conftest
$ac_exeext conftest.
$ac_ext
11934 LIBS
=$ac_check_lib_save_LIBS
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11937 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11938 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
11940 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11949 $as_echo_n "checking for -lodbc... " >&6; }
11950 if ${ac_cv_lib_soname_odbc+:} false
; then :
11951 $as_echo_n "(cached) " >&6
11953 ac_check_soname_save_LIBS
=$LIBS
11954 LIBS
="-lodbc $LIBS"
11955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11956 /* end confdefs.h. */
11958 /* Override any GCC internal prototype to avoid an error.
11959 Use char because int might match the return type of a GCC
11960 builtin and then its argument prototype would still apply. */
11964 char SQLConnect ();
11968 return SQLConnect ();
11973 if ac_fn_c_try_link
"$LINENO"; then :
11975 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11976 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'` ;;
11977 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11980 rm -f core conftest.err conftest.
$ac_objext \
11981 conftest
$ac_exeext conftest.
$ac_ext
11982 LIBS
=$ac_check_soname_save_LIBS
11984 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11986 $as_echo "not found" >&6; }
11987 cat >>confdefs.h
<<_ACEOF
11988 #define SONAME_LIBODBC "libodbc.$LIBEXT"
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
11993 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
11995 cat >>confdefs.h
<<_ACEOF
11996 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12002 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12003 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
12004 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
12005 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
12007 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12008 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
12009 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12011 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
12017 if test "x${GCC}" = "xyes"
12019 EXTRACFLAGS
="-Wall -pipe"
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12022 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12023 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
12024 $as_echo_n "(cached) " >&6
12026 if test "$cross_compiling" = yes; then :
12027 ac_cv_c_gcc_strength_bug
="yes"
12029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12030 /* end confdefs.h. */
12031 int L[4] = {0,1,2,3};
12035 static int Array[3];
12036 unsigned int B = 3;
12038 for(i=0; i<B; i++) Array[i] = i - 3;
12039 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12041 return (Array[1] != -2 || L[2] != 3)
12046 if ac_fn_c_try_run
"$LINENO"; then :
12047 ac_cv_c_gcc_strength_bug
="no"
12049 ac_cv_c_gcc_strength_bug
="yes"
12051 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12052 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12057 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12058 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12060 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12064 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12065 if ${ac_cv_cflags__fno_builtin+:} false
; then :
12066 $as_echo_n "(cached) " >&6
12068 ac_wine_try_cflags_saved
=$CFLAGS
12069 CFLAGS
="$CFLAGS -fno-builtin"
12070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12071 /* end confdefs.h. */
12072 int main(int argc, char **argv) { return 0; }
12074 if ac_fn_c_try_link
"$LINENO"; then :
12075 ac_cv_cflags__fno_builtin
=yes
12077 ac_cv_cflags__fno_builtin
=no
12079 rm -f core conftest.err conftest.
$ac_objext \
12080 conftest
$ac_exeext conftest.
$ac_ext
12081 CFLAGS
=$ac_wine_try_cflags_saved
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12084 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12085 if test $ac_cv_cflags__fno_builtin = yes; then :
12086 BUILTINFLAG
="-fno-builtin"
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12090 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12091 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
12092 $as_echo_n "(cached) " >&6
12094 ac_wine_try_cflags_saved
=$CFLAGS
12095 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12097 /* end confdefs.h. */
12098 int main(int argc, char **argv) { return 0; }
12100 if ac_fn_c_try_link
"$LINENO"; then :
12101 ac_cv_cflags__fno_strict_aliasing
=yes
12103 ac_cv_cflags__fno_strict_aliasing
=no
12105 rm -f core conftest.err conftest.
$ac_objext \
12106 conftest
$ac_exeext conftest.
$ac_ext
12107 CFLAGS
=$ac_wine_try_cflags_saved
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12110 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12111 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12112 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12115 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12116 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
12117 $as_echo_n "(cached) " >&6
12119 ac_wine_try_cflags_saved
=$CFLAGS
12120 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12122 /* end confdefs.h. */
12123 int main(int argc, char **argv) { return 0; }
12125 if ac_fn_c_try_link
"$LINENO"; then :
12126 ac_cv_cflags__Wdeclaration_after_statement
=yes
12128 ac_cv_cflags__Wdeclaration_after_statement
=no
12130 rm -f core conftest.err conftest.
$ac_objext \
12131 conftest
$ac_exeext conftest.
$ac_ext
12132 CFLAGS
=$ac_wine_try_cflags_saved
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12135 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12136 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12137 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12140 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12141 if ${ac_cv_cflags__Wempty_body+:} false
; then :
12142 $as_echo_n "(cached) " >&6
12144 ac_wine_try_cflags_saved
=$CFLAGS
12145 CFLAGS
="$CFLAGS -Wempty-body"
12146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12147 /* end confdefs.h. */
12148 int main(int argc, char **argv) { return 0; }
12150 if ac_fn_c_try_link
"$LINENO"; then :
12151 ac_cv_cflags__Wempty_body
=yes
12153 ac_cv_cflags__Wempty_body
=no
12155 rm -f core conftest.err conftest.
$ac_objext \
12156 conftest
$ac_exeext conftest.
$ac_ext
12157 CFLAGS
=$ac_wine_try_cflags_saved
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12160 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12161 if test $ac_cv_cflags__Wempty_body = yes; then :
12162 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12165 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12166 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
12167 $as_echo_n "(cached) " >&6
12169 ac_wine_try_cflags_saved
=$CFLAGS
12170 CFLAGS
="$CFLAGS -Wignored-qualifiers"
12171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12172 /* end confdefs.h. */
12173 int main(int argc, char **argv) { return 0; }
12175 if ac_fn_c_try_link
"$LINENO"; then :
12176 ac_cv_cflags__Wignored_qualifiers
=yes
12178 ac_cv_cflags__Wignored_qualifiers
=no
12180 rm -f core conftest.err conftest.
$ac_objext \
12181 conftest
$ac_exeext conftest.
$ac_ext
12182 CFLAGS
=$ac_wine_try_cflags_saved
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12185 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12186 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12187 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12190 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12191 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
12192 $as_echo_n "(cached) " >&6
12194 ac_wine_try_cflags_saved
=$CFLAGS
12195 CFLAGS
="$CFLAGS -Wstrict-prototypes"
12196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12197 /* end confdefs.h. */
12198 int main(int argc, char **argv) { return 0; }
12200 if ac_fn_c_try_link
"$LINENO"; then :
12201 ac_cv_cflags__Wstrict_prototypes
=yes
12203 ac_cv_cflags__Wstrict_prototypes
=no
12205 rm -f core conftest.err conftest.
$ac_objext \
12206 conftest
$ac_exeext conftest.
$ac_ext
12207 CFLAGS
=$ac_wine_try_cflags_saved
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12210 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12211 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12212 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12215 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12216 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
12217 $as_echo_n "(cached) " >&6
12219 ac_wine_try_cflags_saved
=$CFLAGS
12220 CFLAGS
="$CFLAGS -Wtype-limits"
12221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12222 /* end confdefs.h. */
12223 int main(int argc, char **argv) { return 0; }
12225 if ac_fn_c_try_link
"$LINENO"; then :
12226 ac_cv_cflags__Wtype_limits
=yes
12228 ac_cv_cflags__Wtype_limits
=no
12230 rm -f core conftest.err conftest.
$ac_objext \
12231 conftest
$ac_exeext conftest.
$ac_ext
12232 CFLAGS
=$ac_wine_try_cflags_saved
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12235 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12236 if test $ac_cv_cflags__Wtype_limits = yes; then :
12237 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12240 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12241 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
12242 $as_echo_n "(cached) " >&6
12244 ac_wine_try_cflags_saved
=$CFLAGS
12245 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
12246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12247 /* end confdefs.h. */
12248 int main(int argc, char **argv) { return 0; }
12250 if ac_fn_c_try_link
"$LINENO"; then :
12251 ac_cv_cflags__Wunused_but_set_parameter
=yes
12253 ac_cv_cflags__Wunused_but_set_parameter
=no
12255 rm -f core conftest.err conftest.
$ac_objext \
12256 conftest
$ac_exeext conftest.
$ac_ext
12257 CFLAGS
=$ac_wine_try_cflags_saved
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12260 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12261 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12262 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12265 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12266 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
12267 $as_echo_n "(cached) " >&6
12269 ac_wine_try_cflags_saved
=$CFLAGS
12270 CFLAGS
="$CFLAGS -Wwrite-strings"
12271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12272 /* end confdefs.h. */
12273 int main(int argc, char **argv) { return 0; }
12275 if ac_fn_c_try_link
"$LINENO"; then :
12276 ac_cv_cflags__Wwrite_strings
=yes
12278 ac_cv_cflags__Wwrite_strings
=no
12280 rm -f core conftest.err conftest.
$ac_objext \
12281 conftest
$ac_exeext conftest.
$ac_ext
12282 CFLAGS
=$ac_wine_try_cflags_saved
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12285 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12286 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12287 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12290 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12291 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
12292 $as_echo_n "(cached) " >&6
12294 ac_wine_try_cflags_saved
=$CFLAGS
12295 CFLAGS
="$CFLAGS -gdwarf-2"
12296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12297 /* end confdefs.h. */
12298 int main(int argc, char **argv) { return 0; }
12300 if ac_fn_c_try_link
"$LINENO"; then :
12301 ac_cv_cflags__gdwarf_2
=yes
12303 ac_cv_cflags__gdwarf_2
=no
12305 rm -f core conftest.err conftest.
$ac_objext \
12306 conftest
$ac_exeext conftest.
$ac_ext
12307 CFLAGS
=$ac_wine_try_cflags_saved
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12310 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12311 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12312 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12315 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12316 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
12317 $as_echo_n "(cached) " >&6
12319 ac_wine_try_cflags_saved
=$CFLAGS
12320 CFLAGS
="$CFLAGS -gstrict-dwarf"
12321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12322 /* end confdefs.h. */
12323 int main(int argc, char **argv) { return 0; }
12325 if ac_fn_c_try_link
"$LINENO"; then :
12326 ac_cv_cflags__gstrict_dwarf
=yes
12328 ac_cv_cflags__gstrict_dwarf
=no
12330 rm -f core conftest.err conftest.
$ac_objext \
12331 conftest
$ac_exeext conftest.
$ac_ext
12332 CFLAGS
=$ac_wine_try_cflags_saved
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12335 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12336 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12337 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
12341 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12342 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12343 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
12344 $as_echo_n "(cached) " >&6
12346 ac_wine_try_cflags_saved
=$CFLAGS
12347 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
12348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12349 /* end confdefs.h. */
12350 int main(int argc, char **argv) { return 0; }
12352 if ac_fn_c_try_link
"$LINENO"; then :
12353 ac_cv_cflags__fno_omit_frame_pointer
=yes
12355 ac_cv_cflags__fno_omit_frame_pointer
=no
12357 rm -f core conftest.err conftest.
$ac_objext \
12358 conftest
$ac_exeext conftest.
$ac_ext
12359 CFLAGS
=$ac_wine_try_cflags_saved
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12362 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12363 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12364 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
12369 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12370 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12371 if ${ac_cv_cflags__Wno_format+:} false
; then :
12372 $as_echo_n "(cached) " >&6
12374 ac_wine_try_cflags_saved
=$CFLAGS
12375 CFLAGS
="$CFLAGS -Wno-format"
12376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h. */
12378 int main(int argc, char **argv) { return 0; }
12380 if ac_fn_c_try_link
"$LINENO"; then :
12381 ac_cv_cflags__Wno_format
=yes
12383 ac_cv_cflags__Wno_format
=no
12385 rm -f core conftest.err conftest.
$ac_objext \
12386 conftest
$ac_exeext conftest.
$ac_ext
12387 CFLAGS
=$ac_wine_try_cflags_saved
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12390 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12391 if test $ac_cv_cflags__Wno_format = yes; then :
12392 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
12396 saved_CFLAGS
="$CFLAGS"
12397 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12399 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12400 if ${ac_cv_c_string_h_warnings+:} false
; then :
12401 $as_echo_n "(cached) " >&6
12403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12404 /* end confdefs.h. */
12405 #include <string.h>
12414 if ac_fn_c_try_compile
"$LINENO"; then :
12415 ac_cv_c_string_h_warnings
=no
12417 ac_cv_c_string_h_warnings
=yes
12419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12422 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12423 CFLAGS
="$saved_CFLAGS"
12424 if test "$ac_cv_c_string_h_warnings" = "no"
12426 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12429 saved_CFLAGS
="$CFLAGS"
12430 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12432 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12433 if ${ac_cv_c_logicalop_noisy+:} false
; then :
12434 $as_echo_n "(cached) " >&6
12436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12437 /* end confdefs.h. */
12438 #include <string.h>
12442 char*f(const char *h,char n) {return strchr(h,n);}
12447 if ac_fn_c_try_compile
"$LINENO"; then :
12448 ac_cv_c_logicalop_noisy
=no
12450 ac_cv_c_logicalop_noisy
=yes
12452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12455 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12456 CFLAGS
="$saved_CFLAGS"
12457 if test "$ac_cv_c_logicalop_noisy" = "no"
12459 EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
12462 if test "x$enable_maintainer_mode" = "xyes"
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12465 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12466 if ${ac_cv_cflags__Werror+:} false
; then :
12467 $as_echo_n "(cached) " >&6
12469 ac_wine_try_cflags_saved
=$CFLAGS
12470 CFLAGS
="$CFLAGS -Werror"
12471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12472 /* end confdefs.h. */
12473 int main(int argc, char **argv) { return 0; }
12475 if ac_fn_c_try_link
"$LINENO"; then :
12476 ac_cv_cflags__Werror
=yes
12478 ac_cv_cflags__Werror
=no
12480 rm -f core conftest.err conftest.
$ac_objext \
12481 conftest
$ac_exeext conftest.
$ac_ext
12482 CFLAGS
=$ac_wine_try_cflags_saved
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12485 $as_echo "$ac_cv_cflags__Werror" >&6; }
12486 if test $ac_cv_cflags__Werror = yes; then :
12487 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12491 saved_CFLAGS
="$CFLAGS"
12492 CFLAGS
="$CFLAGS -Werror"
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12494 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12495 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
12496 $as_echo_n "(cached) " >&6
12498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12499 /* end confdefs.h. */
12500 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12509 if ac_fn_c_try_compile
"$LINENO"; then :
12510 ac_cv_have_ms_hook_prologue
="yes"
12512 ac_cv_have_ms_hook_prologue
="no"
12514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12517 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12518 CFLAGS
="$saved_CFLAGS"
12519 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12522 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12525 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12532 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12533 if ${ac_cv_c_fortify_enabled+:} false
; then :
12534 $as_echo_n "(cached) " >&6
12536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12538 #include <string.h>
12542 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12543 #error Fortify enabled
12549 if ac_fn_c_try_compile
"$LINENO"; then :
12550 ac_cv_c_fortify_enabled
=no
12552 ac_cv_c_fortify_enabled
=yes
12554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12557 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12558 if test "$ac_cv_c_fortify_enabled" = yes
12560 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12565 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12566 if ${ac_cv_c_extern_prefix+:} false
; then :
12567 $as_echo_n "(cached) " >&6
12569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12570 /* end confdefs.h. */
12571 extern int ac_test;
12575 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12580 if ac_fn_c_try_link
"$LINENO"; then :
12581 ac_cv_c_extern_prefix
="yes"
12583 ac_cv_c_extern_prefix
="no"
12585 rm -f core conftest.err conftest.
$ac_objext \
12586 conftest
$ac_exeext conftest.
$ac_ext
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12589 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12594 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12595 if ${ac_cv_c_stdcall_suffix+:} false
; then :
12596 $as_echo_n "(cached) " >&6
12598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12599 /* end confdefs.h. */
12601 #define __stdcall __attribute__((__stdcall__))
12603 int __stdcall ac_test(int i) { return i; }
12607 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12612 if ac_fn_c_try_link
"$LINENO"; then :
12613 ac_cv_c_stdcall_suffix
="yes"
12615 ac_cv_c_stdcall_suffix
="no"
12617 rm -f core conftest.err conftest.
$ac_objext \
12618 conftest
$ac_exeext conftest.
$ac_ext
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12621 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12622 *) ac_cv_c_stdcall_suffix
="no" ;;
12626 if test "$ac_cv_c_extern_prefix" = "yes"
12628 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12630 asm_name_prefix
="_"
12632 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12638 if test "$ac_cv_c_stdcall_suffix" = "yes"
12640 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12643 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12649 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12650 if ${ac_cv_asm_func_def+:} false
; then :
12651 $as_echo_n "(cached) " >&6
12653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12654 /* end confdefs.h. */
12659 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12664 if ac_fn_c_try_link
"$LINENO"; then :
12665 ac_cv_asm_func_def
=".def"
12667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12668 /* end confdefs.h. */
12673 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12678 if ac_fn_c_try_link
"$LINENO"; then :
12679 ac_cv_asm_func_def
=".type @function"
12681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12682 /* end confdefs.h. */
12687 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12692 if ac_fn_c_try_link
"$LINENO"; then :
12693 ac_cv_asm_func_def
=".type 2"
12695 ac_cv_asm_func_def
="unknown"
12697 rm -f core conftest.err conftest.
$ac_objext \
12698 conftest
$ac_exeext conftest.
$ac_ext
12700 rm -f core conftest.err conftest.
$ac_objext \
12701 conftest
$ac_exeext conftest.
$ac_ext
12703 rm -f core conftest.err conftest.
$ac_objext \
12704 conftest
$ac_exeext conftest.
$ac_ext
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12707 $as_echo "$ac_cv_asm_func_def" >&6; }
12710 case "$ac_cv_asm_func_def" in
12712 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12714 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12716 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12718 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
12720 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12722 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
12724 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12726 asm_func_header
="" ;;
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12730 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12731 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
12732 $as_echo_n "(cached) " >&6
12734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12735 /* end confdefs.h. */
12736 asm(".text\n\t.long 0");
12745 if ac_fn_c_try_compile
"$LINENO"; then :
12746 ac_cv_c_asm_outside_funcs
="yes"
12748 ac_cv_c_asm_outside_funcs
="no"
12750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12753 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12756 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12757 if ${ac_cv_c_dot_previous+:} false
; then :
12758 $as_echo_n "(cached) " >&6
12760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12761 /* end confdefs.h. */
12766 asm(".text\nac_test:\t.long 0\n\t.previous");
12771 if ac_fn_c_try_link
"$LINENO"; then :
12772 ac_cv_c_dot_previous
="yes"
12774 ac_cv_c_dot_previous
="no"
12776 rm -f core conftest.err conftest.
$ac_objext \
12777 conftest
$ac_exeext conftest.
$ac_ext
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12780 $as_echo "$ac_cv_c_dot_previous" >&6; }
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12783 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12784 if ${ac_cv_c_cfi_support+:} false
; then :
12785 $as_echo_n "(cached) " >&6
12787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12788 /* end confdefs.h. */
12789 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12798 if ac_fn_c_try_compile
"$LINENO"; then :
12799 ac_cv_c_cfi_support
="yes"
12801 ac_cv_c_cfi_support
="no"
12803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12806 $as_echo "$ac_cv_c_cfi_support" >&6; }
12808 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12809 asm_func_trailer
=""
12810 if test "$ac_cv_c_dot_previous" = "yes"
12812 asm_func_trailer
="\\n\\t.previous"
12814 if test "$ac_cv_c_cfi_support" = "yes"
12816 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
12817 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
12819 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12821 UNWINDFLAGS
=-fasynchronous-unwind-tables
12824 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12828 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
12831 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12833 cat >>confdefs.h
<<_ACEOF
12834 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12838 cat >>confdefs.h
<<_ACEOF
12839 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12844 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12847 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12857 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12862 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12870 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12877 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
12882 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
12884 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
12891 ac_save_CFLAGS
="$CFLAGS"
12892 CFLAGS
="$CFLAGS $BUILTINFLAG"
12969 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12970 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12971 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12972 cat >>confdefs.h
<<_ACEOF
12973 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12979 CFLAGS
="$ac_save_CFLAGS"
12981 if test "$ac_cv_func_dlopen" = no
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12984 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12985 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12986 $as_echo_n "(cached) " >&6
12988 ac_check_lib_save_LIBS
=$LIBS
12990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12991 /* end confdefs.h. */
12993 /* Override any GCC internal prototype to avoid an error.
12994 Use char because int might match the return type of a GCC
12995 builtin and then its argument prototype would still apply. */
13008 if ac_fn_c_try_link
"$LINENO"; then :
13009 ac_cv_lib_dl_dlopen
=yes
13011 ac_cv_lib_dl_dlopen
=no
13013 rm -f core conftest.err conftest.
$ac_objext \
13014 conftest
$ac_exeext conftest.
$ac_ext
13015 LIBS
=$ac_check_lib_save_LIBS
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13018 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13019 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13020 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13026 ac_wine_check_funcs_save_LIBS
="$LIBS"
13027 LIBS
="$LIBS $LIBDL"
13028 for ac_func
in dladdr
13030 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
13031 if test "x$ac_cv_func_dladdr" = xyes
; then :
13032 cat >>confdefs.h
<<_ACEOF
13033 #define HAVE_DLADDR 1
13039 LIBS
="$ac_wine_check_funcs_save_LIBS"
13041 if test "$ac_cv_func_poll" = no
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13044 $as_echo_n "checking for poll in -lpoll... " >&6; }
13045 if ${ac_cv_lib_poll_poll+:} false
; then :
13046 $as_echo_n "(cached) " >&6
13048 ac_check_lib_save_LIBS
=$LIBS
13049 LIBS
="-lpoll $LIBS"
13050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13051 /* end confdefs.h. */
13053 /* Override any GCC internal prototype to avoid an error.
13054 Use char because int might match the return type of a GCC
13055 builtin and then its argument prototype would still apply. */
13068 if ac_fn_c_try_link
"$LINENO"; then :
13069 ac_cv_lib_poll_poll
=yes
13071 ac_cv_lib_poll_poll
=no
13073 rm -f core conftest.err conftest.
$ac_objext \
13074 conftest
$ac_exeext conftest.
$ac_ext
13075 LIBS
=$ac_check_lib_save_LIBS
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13078 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13079 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
13080 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13088 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13089 if ${ac_cv_search_gethostbyname+:} false
; then :
13090 $as_echo_n "(cached) " >&6
13092 ac_func_search_save_LIBS
=$LIBS
13093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13094 /* end confdefs.h. */
13096 /* Override any GCC internal prototype to avoid an error.
13097 Use char because int might match the return type of a GCC
13098 builtin and then its argument prototype would still apply. */
13102 char gethostbyname ();
13106 return gethostbyname ();
13111 for ac_lib
in '' nsl
; do
13112 if test -z "$ac_lib"; then
13113 ac_res
="none required"
13116 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13118 if ac_fn_c_try_link
"$LINENO"; then :
13119 ac_cv_search_gethostbyname
=$ac_res
13121 rm -f core conftest.err conftest.
$ac_objext \
13123 if ${ac_cv_search_gethostbyname+:} false
; then :
13127 if ${ac_cv_search_gethostbyname+:} false
; then :
13130 ac_cv_search_gethostbyname
=no
13132 rm conftest.
$ac_ext
13133 LIBS
=$ac_func_search_save_LIBS
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13136 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13137 ac_res
=$ac_cv_search_gethostbyname
13138 if test "$ac_res" != no
; then :
13139 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13145 $as_echo_n "checking for library containing connect... " >&6; }
13146 if ${ac_cv_search_connect+:} false
; then :
13147 $as_echo_n "(cached) " >&6
13149 ac_func_search_save_LIBS
=$LIBS
13150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13151 /* end confdefs.h. */
13153 /* Override any GCC internal prototype to avoid an error.
13154 Use char because int might match the return type of a GCC
13155 builtin and then its argument prototype would still apply. */
13168 for ac_lib
in '' socket
; do
13169 if test -z "$ac_lib"; then
13170 ac_res
="none required"
13173 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13175 if ac_fn_c_try_link
"$LINENO"; then :
13176 ac_cv_search_connect
=$ac_res
13178 rm -f core conftest.err conftest.
$ac_objext \
13180 if ${ac_cv_search_connect+:} false
; then :
13184 if ${ac_cv_search_connect+:} false
; then :
13187 ac_cv_search_connect
=no
13189 rm conftest.
$ac_ext
13190 LIBS
=$ac_func_search_save_LIBS
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13193 $as_echo "$ac_cv_search_connect" >&6; }
13194 ac_res
=$ac_cv_search_connect
13195 if test "$ac_res" != no
; then :
13196 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13202 $as_echo_n "checking for library containing inet_aton... " >&6; }
13203 if ${ac_cv_search_inet_aton+:} false
; then :
13204 $as_echo_n "(cached) " >&6
13206 ac_func_search_save_LIBS
=$LIBS
13207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13208 /* end confdefs.h. */
13210 /* Override any GCC internal prototype to avoid an error.
13211 Use char because int might match the return type of a GCC
13212 builtin and then its argument prototype would still apply. */
13220 return inet_aton ();
13225 for ac_lib
in '' resolv
; do
13226 if test -z "$ac_lib"; then
13227 ac_res
="none required"
13230 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13232 if ac_fn_c_try_link
"$LINENO"; then :
13233 ac_cv_search_inet_aton
=$ac_res
13235 rm -f core conftest.err conftest.
$ac_objext \
13237 if ${ac_cv_search_inet_aton+:} false
; then :
13241 if ${ac_cv_search_inet_aton+:} false
; then :
13244 ac_cv_search_inet_aton
=no
13246 rm conftest.
$ac_ext
13247 LIBS
=$ac_func_search_save_LIBS
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13250 $as_echo "$ac_cv_search_inet_aton" >&6; }
13251 ac_res
=$ac_cv_search_inet_aton
13252 if test "$ac_res" != no
; then :
13253 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13272 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13273 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13274 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13275 cat >>confdefs.h
<<_ACEOF
13276 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13285 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13287 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13289 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13291 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13292 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
13293 $as_echo_n "(cached) " >&6
13295 ac_check_lib_save_LIBS
=$LIBS
13296 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13298 /* end confdefs.h. */
13300 /* Override any GCC internal prototype to avoid an error.
13301 Use char because int might match the return type of a GCC
13302 builtin and then its argument prototype would still apply. */
13306 char ldap_initialize ();
13310 return ldap_initialize ();
13315 if ac_fn_c_try_link
"$LINENO"; then :
13316 ac_cv_lib_ldap_r_ldap_initialize
=yes
13318 ac_cv_lib_ldap_r_ldap_initialize
=no
13320 rm -f core conftest.err conftest.
$ac_objext \
13321 conftest
$ac_exeext conftest.
$ac_ext
13322 LIBS
=$ac_check_lib_save_LIBS
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13325 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13326 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13328 $as_echo_n "checking for ber_init in -llber... " >&6; }
13329 if ${ac_cv_lib_lber_ber_init+:} false
; then :
13330 $as_echo_n "(cached) " >&6
13332 ac_check_lib_save_LIBS
=$LIBS
13333 LIBS
="-llber $LIBPTHREAD $LIBS"
13334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13335 /* end confdefs.h. */
13337 /* Override any GCC internal prototype to avoid an error.
13338 Use char because int might match the return type of a GCC
13339 builtin and then its argument prototype would still apply. */
13347 return ber_init ();
13352 if ac_fn_c_try_link
"$LINENO"; then :
13353 ac_cv_lib_lber_ber_init
=yes
13355 ac_cv_lib_lber_ber_init
=no
13357 rm -f core conftest.err conftest.
$ac_objext \
13358 conftest
$ac_exeext conftest.
$ac_ext
13359 LIBS
=$ac_check_lib_save_LIBS
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13362 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13363 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
13365 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13367 LDAPLIBS
="-lldap_r -llber"
13374 ac_wine_check_funcs_save_LIBS
="$LIBS"
13375 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13377 ldap_count_references \
13378 ldap_first_reference \
13379 ldap_next_reference \
13380 ldap_parse_reference \
13381 ldap_parse_sort_control \
13382 ldap_parse_sortresponse_control \
13383 ldap_parse_vlv_control \
13384 ldap_parse_vlvresponse_control
13386 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13387 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13388 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13389 cat >>confdefs.h
<<_ACEOF
13390 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13396 LIBS
="$ac_wine_check_funcs_save_LIBS"
13398 if test "x$LDAPLIBS" = "x"; then :
13399 case "x$with_ldap" in
13400 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13402 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13403 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13408 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13409 if ${wine_cv_one_arg_mkdir+:} false
; then :
13410 $as_echo_n "(cached) " >&6
13412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13413 /* end confdefs.h. */
13414 #include <sys/stat.h>
13423 if ac_fn_c_try_compile
"$LINENO"; then :
13424 wine_cv_one_arg_mkdir
=yes
13426 wine_cv_one_arg_mkdir
=no
13428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13431 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13432 if test "$wine_cv_one_arg_mkdir" = "yes"
13435 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13440 $as_echo_n "checking for sched_setaffinity... " >&6; }
13441 if ${wine_cv_have_sched_setaffinity+:} false
; then :
13442 $as_echo_n "(cached) " >&6
13444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13445 /* end confdefs.h. */
13446 #define _GNU_SOURCE
13451 sched_setaffinity(0, 0, 0);
13456 if ac_fn_c_try_link
"$LINENO"; then :
13457 wine_cv_have_sched_setaffinity
=yes
13459 wine_cv_have_sched_setaffinity
=no
13461 rm -f core conftest.err conftest.
$ac_objext \
13462 conftest
$ac_exeext conftest.
$ac_ext
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13465 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13466 if test "$wine_cv_have_sched_setaffinity" = "yes"
13469 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13475 $as_echo_n "checking for inline... " >&6; }
13476 if ${ac_cv_c_inline+:} false
; then :
13477 $as_echo_n "(cached) " >&6
13480 for ac_kw
in inline __inline__ __inline
; do
13481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13482 /* end confdefs.h. */
13483 #ifndef __cplusplus
13485 static $ac_kw foo_t static_foo () {return 0; }
13486 $ac_kw foo_t foo () {return 0; }
13490 if ac_fn_c_try_compile
"$LINENO"; then :
13491 ac_cv_c_inline
=$ac_kw
13493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13494 test "$ac_cv_c_inline" != no
&& break
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13499 $as_echo "$ac_cv_c_inline" >&6; }
13501 case $ac_cv_c_inline in
13504 case $ac_cv_c_inline in
13506 *) ac_val
=$ac_cv_c_inline;;
13508 cat >>confdefs.h
<<_ACEOF
13509 #ifndef __cplusplus
13510 #define inline $ac_val
13516 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13517 if test "x$ac_cv_type_mode_t" = xyes
; then :
13519 cat >>confdefs.h
<<_ACEOF
13520 #define HAVE_MODE_T 1
13525 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13526 if test "x$ac_cv_type_off_t" = xyes
; then :
13528 cat >>confdefs.h
<<_ACEOF
13529 #define HAVE_OFF_T 1
13534 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13535 if test "x$ac_cv_type_pid_t" = xyes
; then :
13537 cat >>confdefs.h
<<_ACEOF
13538 #define HAVE_PID_T 1
13543 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13544 if test "x$ac_cv_type_size_t" = xyes
; then :
13546 cat >>confdefs.h
<<_ACEOF
13547 #define HAVE_SIZE_T 1
13552 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13553 if test "x$ac_cv_type_ssize_t" = xyes
; then :
13555 cat >>confdefs.h
<<_ACEOF
13556 #define HAVE_SSIZE_T 1
13561 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13562 if test "x$ac_cv_type_long_long" = xyes
; then :
13564 cat >>confdefs.h
<<_ACEOF
13565 #define HAVE_LONG_LONG 1
13570 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13571 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
13573 cat >>confdefs.h
<<_ACEOF
13574 #define HAVE_FSBLKCNT_T 1
13579 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13580 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
13582 cat >>confdefs.h
<<_ACEOF
13583 #define HAVE_FSFILCNT_T 1
13589 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13590 #include <signal.h>
13592 if test "x$ac_cv_type_sigset_t" = xyes
; then :
13594 cat >>confdefs.h
<<_ACEOF
13595 #define HAVE_SIGSET_T 1
13601 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13603 if test "x$ac_cv_type_request_sense" = xyes
; then :
13605 cat >>confdefs.h
<<_ACEOF
13606 #define HAVE_REQUEST_SENSE 1
13613 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13614 #ifdef HAVE_SYS_SOCKET_H
13615 #include <sys/socket.h>
13617 #ifdef HAVE_SYS_SOCKETVAR_H
13618 #include <sys/socketvar.h>
13620 #ifdef HAVE_NET_ROUTE_H
13621 #include <net/route.h>
13623 #ifdef HAVE_NETINET_IN_H
13624 #include <netinet/in.h>
13626 #ifdef HAVE_NETINET_IN_SYSTM_H
13627 #include <netinet/in_systm.h>
13629 #ifdef HAVE_NETINET_IP_H
13630 #include <netinet/ip.h>
13632 #ifdef HAVE_NETINET_IN_PCB_H
13633 #include <netinet/in_pcb.h>
13636 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
13638 cat >>confdefs.h
<<_ACEOF
13639 #define HAVE_STRUCT_XINPGEN 1
13646 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13647 #include <linux/input.h>
13650 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
13652 cat >>confdefs.h
<<_ACEOF
13653 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13661 $as_echo_n "checking for sigaddset... " >&6; }
13662 if ${wine_cv_have_sigaddset+:} false
; then :
13663 $as_echo_n "(cached) " >&6
13665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13666 /* end confdefs.h. */
13667 #include <signal.h>
13671 sigset_t set; sigaddset(&set,SIGTERM);
13676 if ac_fn_c_try_link
"$LINENO"; then :
13677 wine_cv_have_sigaddset
=yes
13679 wine_cv_have_sigaddset
=no
13681 rm -f core conftest.err conftest.
$ac_objext \
13682 conftest
$ac_exeext conftest.
$ac_ext
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13685 $as_echo "$wine_cv_have_sigaddset" >&6; }
13686 if test "$wine_cv_have_sigaddset" = "yes"
13689 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13695 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13696 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
13697 $as_echo_n "(cached) " >&6
13699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13700 /* end confdefs.h. */
13708 struct hostent *result;
13715 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13716 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13722 if ac_fn_c_try_link
"$LINENO"; then :
13723 wine_cv_linux_gethostbyname_r_6
=yes
13725 wine_cv_linux_gethostbyname_r_6
=no
13728 rm -f core conftest.err conftest.
$ac_objext \
13729 conftest
$ac_exeext conftest.
$ac_ext
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13733 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13734 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13737 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13741 if test "$ac_cv_header_linux_joystick_h" = "yes"
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13744 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13745 if ${wine_cv_linux_joystick_22_api+:} false
; then :
13746 $as_echo_n "(cached) " >&6
13748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13751 #include <sys/ioctl.h>
13752 #include <sys/types.h>
13753 #include <linux/joystick.h>
13755 struct js_event blub;
13756 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13757 #error "no 2.2 header"
13768 if ac_fn_c_try_compile
"$LINENO"; then :
13769 wine_cv_linux_joystick_22_api
=yes
13771 wine_cv_linux_joystick_22_api
=no
13773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13777 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13778 if test "$wine_cv_linux_joystick_22_api" = "yes"
13781 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13787 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13788 #ifdef HAVE_SYS_PARAM_H
13789 # include <sys/param.h>
13791 #ifdef HAVE_SYS_MOUNT_H
13792 # include <sys/mount.h>
13794 #ifdef HAVE_SYS_VFS_H
13795 # include <sys/vfs.h>
13797 #ifdef HAVE_SYS_STATFS_H
13798 # include <sys/statfs.h>
13801 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
13803 cat >>confdefs.h
<<_ACEOF
13804 #define HAVE_STRUCT_STATFS_F_BFREE 1
13809 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13810 #ifdef HAVE_SYS_PARAM_H
13811 # include <sys/param.h>
13813 #ifdef HAVE_SYS_MOUNT_H
13814 # include <sys/mount.h>
13816 #ifdef HAVE_SYS_VFS_H
13817 # include <sys/vfs.h>
13819 #ifdef HAVE_SYS_STATFS_H
13820 # include <sys/statfs.h>
13823 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
13825 cat >>confdefs.h
<<_ACEOF
13826 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13831 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13832 #ifdef HAVE_SYS_PARAM_H
13833 # include <sys/param.h>
13835 #ifdef HAVE_SYS_MOUNT_H
13836 # include <sys/mount.h>
13838 #ifdef HAVE_SYS_VFS_H
13839 # include <sys/vfs.h>
13841 #ifdef HAVE_SYS_STATFS_H
13842 # include <sys/statfs.h>
13845 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
13847 cat >>confdefs.h
<<_ACEOF
13848 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13853 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13854 #ifdef HAVE_SYS_PARAM_H
13855 # include <sys/param.h>
13857 #ifdef HAVE_SYS_MOUNT_H
13858 # include <sys/mount.h>
13860 #ifdef HAVE_SYS_VFS_H
13861 # include <sys/vfs.h>
13863 #ifdef HAVE_SYS_STATFS_H
13864 # include <sys/statfs.h>
13867 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
13869 cat >>confdefs.h
<<_ACEOF
13870 #define HAVE_STRUCT_STATFS_F_FFREE 1
13875 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13876 #ifdef HAVE_SYS_PARAM_H
13877 # include <sys/param.h>
13879 #ifdef HAVE_SYS_MOUNT_H
13880 # include <sys/mount.h>
13882 #ifdef HAVE_SYS_VFS_H
13883 # include <sys/vfs.h>
13885 #ifdef HAVE_SYS_STATFS_H
13886 # include <sys/statfs.h>
13889 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
13891 cat >>confdefs.h
<<_ACEOF
13892 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13897 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13898 #ifdef HAVE_SYS_PARAM_H
13899 # include <sys/param.h>
13901 #ifdef HAVE_SYS_MOUNT_H
13902 # include <sys/mount.h>
13904 #ifdef HAVE_SYS_VFS_H
13905 # include <sys/vfs.h>
13907 #ifdef HAVE_SYS_STATFS_H
13908 # include <sys/statfs.h>
13911 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
13913 cat >>confdefs.h
<<_ACEOF
13914 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13921 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13922 #include <sys/statvfs.h>
13925 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
13927 cat >>confdefs.h
<<_ACEOF
13928 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13935 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
13936 #include <dirent.h>
13939 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
13941 cat >>confdefs.h
<<_ACEOF
13942 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
13949 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13950 #ifdef HAVE_SYS_SOCKET_H
13951 # include <sys/socket.h>
13953 #ifdef HAVE_SYS_UN_H
13954 # include <sys/un.h>
13957 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
13959 cat >>confdefs.h
<<_ACEOF
13960 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13965 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13966 #ifdef HAVE_SYS_SOCKET_H
13967 # include <sys/socket.h>
13969 #ifdef HAVE_SYS_UN_H
13970 # include <sys/un.h>
13973 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
13975 cat >>confdefs.h
<<_ACEOF
13976 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13981 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13982 #ifdef HAVE_SYS_SOCKET_H
13983 # include <sys/socket.h>
13985 #ifdef HAVE_SYS_UN_H
13986 # include <sys/un.h>
13989 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
13991 cat >>confdefs.h
<<_ACEOF
13992 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13999 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14000 #ifdef HAVE_SCSI_SG_H
14001 #include <scsi/sg.h>
14004 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
14006 cat >>confdefs.h
<<_ACEOF
14007 #define HAVE_SCSIREQ_T_CMD 1
14012 ac_fn_c_check_member
"$LINENO" "sg_io_hdr_t" "interface_id" "ac_cv_member_sg_io_hdr_t_interface_id" "#include <sys/types.h>
14013 #ifdef HAVE_SCSI_SG_H
14014 #include <scsi/sg.h>
14017 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
14019 cat >>confdefs.h
<<_ACEOF
14020 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14027 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14029 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
14031 cat >>confdefs.h
<<_ACEOF
14032 #define HAVE_SIGINFO_T_SI_FD 1
14039 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14040 #ifdef HAVE_SYS_MTIO_H
14041 #include <sys/mtio.h>
14044 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
14046 cat >>confdefs.h
<<_ACEOF
14047 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14052 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14053 #ifdef HAVE_SYS_MTIO_H
14054 #include <sys/mtio.h>
14057 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
14059 cat >>confdefs.h
<<_ACEOF
14060 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14065 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14066 #ifdef HAVE_SYS_MTIO_H
14067 #include <sys/mtio.h>
14070 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
14072 cat >>confdefs.h
<<_ACEOF
14073 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14080 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14081 #include <getopt.h>
14084 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
14086 cat >>confdefs.h
<<_ACEOF
14087 #define HAVE_STRUCT_OPTION_NAME 1
14094 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14095 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
14097 cat >>confdefs.h
<<_ACEOF
14098 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14103 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14104 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
14106 cat >>confdefs.h
<<_ACEOF
14107 #define HAVE_STRUCT_STAT_ST_MTIM 1
14112 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14113 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
14115 cat >>confdefs.h
<<_ACEOF
14116 #define HAVE_STRUCT_STAT_ST_CTIM 1
14121 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14122 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
14124 cat >>confdefs.h
<<_ACEOF
14125 #define HAVE_STRUCT_STAT_ST_ATIM 1
14132 ac_fn_c_check_member
"$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#ifdef HAVE_SYS_TYPES_H
14133 #include <sys/types.h>
14135 #ifdef HAVE_NETINET_IN_H
14136 #include <netinet/in.h>
14139 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
14141 cat >>confdefs.h
<<_ACEOF
14142 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14149 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14150 #include <sys/types.h>
14152 #ifdef HAVE_NETINET_IN_H
14153 # include <netinet/in.h>
14155 #ifdef HAVE_ARPA_NAMESER_H
14156 # include <arpa/nameser.h>
14159 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
14161 cat >>confdefs.h
<<_ACEOF
14162 #define HAVE_NS_MSG__MSG_PTR 1
14169 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_NETINET_ICMP_VAR
14170 #include <netinet/icmp_var.h>
14173 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
14175 cat >>confdefs.h
<<_ACEOF
14176 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14183 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14184 #include <sys/types.h>
14186 #ifdef HAVE_ALIAS_H
14189 #ifdef HAVE_SYS_SOCKET_H
14190 #include <sys/socket.h>
14192 #ifdef HAVE_SYS_SOCKETVAR_H
14193 #include <sys/socketvar.h>
14195 #ifdef HAVE_SYS_TIMEOUT_H
14196 #include <sys/timeout.h>
14198 #ifdef HAVE_NETINET_IN_H
14199 #include <netinet/in.h>
14201 #ifdef HAVE_NETINET_IN_SYSTM_H
14202 #include <netinet/in_systm.h>
14204 #ifdef HAVE_NETINET_IP_H
14205 #include <netinet/ip.h>
14207 #ifdef HAVE_NETINET_IP_VAR_H
14208 #include <netinet/ip_var.h>
14210 #ifdef HAVE_NETINET_IP_ICMP_H
14211 #include <netinet/ip_icmp.h>
14213 #ifdef HAVE_NETINET_ICMP_VAR
14214 #include <netinet/icmp_var.h>
14217 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
14219 cat >>confdefs.h
<<_ACEOF
14220 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14227 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_NETINET_IP_VAR_H
14228 #include <netinet/ip_var.h>
14231 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
14233 cat >>confdefs.h
<<_ACEOF
14234 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14241 ac_fn_c_check_member
"$LINENO" "struct ip_stats" "ips_total" "ac_cv_member_struct_ip_stats_ips_total" "#ifdef HAVE_NETINET_IP_VAR_H
14242 #include <netinet/ip_var.h>
14245 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
14247 cat >>confdefs.h
<<_ACEOF
14248 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14255 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_NETINET_TCP_VAR_H
14256 #include <netinet/tcp_var.h>
14259 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
14261 cat >>confdefs.h
<<_ACEOF
14262 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14269 ac_fn_c_check_member
"$LINENO" "struct tcp_stats" "tcps_connattempt" "ac_cv_member_struct_tcp_stats_tcps_connattempt" "#ifdef HAVE_NETINET_TCP_VAR_H
14270 #include <netinet/tcp_var.h>
14273 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
14275 cat >>confdefs.h
<<_ACEOF
14276 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14283 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_NETINET_UDP_VAR_H
14284 #include <netinet/udp_var.h>
14287 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
14289 cat >>confdefs.h
<<_ACEOF
14290 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
14297 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14298 #include <sys/types.h>
14300 #ifdef HAVE_NET_IF_H
14301 # include <net/if.h>
14304 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
14306 cat >>confdefs.h
<<_ACEOF
14307 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14315 $as_echo_n "checking for timezone variable... " >&6; }
14316 if ${ac_cv_have_timezone+:} false
; then :
14317 $as_echo_n "(cached) " >&6
14319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14320 /* end confdefs.h. */
14330 if ac_fn_c_try_link
"$LINENO"; then :
14331 ac_cv_have_timezone
="yes"
14333 ac_cv_have_timezone
="no"
14335 rm -f core conftest.err conftest.
$ac_objext \
14336 conftest
$ac_exeext conftest.
$ac_ext
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14339 $as_echo "$ac_cv_have_timezone" >&6; }
14340 if test "$ac_cv_have_timezone" = "yes"
14343 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14347 $as_echo_n "checking for daylight variable... " >&6; }
14348 if ${ac_cv_have_daylight+:} false
; then :
14349 $as_echo_n "(cached) " >&6
14351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14352 /* end confdefs.h. */
14362 if ac_fn_c_try_link
"$LINENO"; then :
14363 ac_cv_have_daylight
="yes"
14365 ac_cv_have_daylight
="no"
14367 rm -f core conftest.err conftest.
$ac_objext \
14368 conftest
$ac_exeext conftest.
$ac_ext
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14371 $as_echo "$ac_cv_have_daylight" >&6; }
14372 if test "$ac_cv_have_daylight" = "yes"
14375 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14379 ac_save_LIBS
="$LIBS"
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14382 $as_echo_n "checking for isinf... " >&6; }
14383 if ${ac_cv_have_isinf+:} false
; then :
14384 $as_echo_n "(cached) " >&6
14386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14387 /* end confdefs.h. */
14392 float f = 0.0; return isinf(f)
14397 if ac_fn_c_try_link
"$LINENO"; then :
14398 ac_cv_have_isinf
="yes"
14400 ac_cv_have_isinf
="no"
14402 rm -f core conftest.err conftest.
$ac_objext \
14403 conftest
$ac_exeext conftest.
$ac_ext
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14406 $as_echo "$ac_cv_have_isinf" >&6; }
14407 if test "$ac_cv_have_isinf" = "yes"
14410 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14415 $as_echo_n "checking for isnan... " >&6; }
14416 if ${ac_cv_have_isnan+:} false
; then :
14417 $as_echo_n "(cached) " >&6
14419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14420 /* end confdefs.h. */
14425 float f = 0.0; return isnan(f)
14430 if ac_fn_c_try_link
"$LINENO"; then :
14431 ac_cv_have_isnan
="yes"
14433 ac_cv_have_isnan
="no"
14435 rm -f core conftest.err conftest.
$ac_objext \
14436 conftest
$ac_exeext conftest.
$ac_ext
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14439 $as_echo "$ac_cv_have_isnan" >&6; }
14440 if test "$ac_cv_have_isnan" = "yes"
14443 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14446 LIBS
="$ac_save_LIBS"
14450 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14451 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14452 if ${ac_cv_cpp_def___i386__+:} false
; then :
14453 $as_echo_n "(cached) " >&6
14455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14456 /* end confdefs.h. */
14461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14462 $EGREP "yes" >/dev
/null
2>&1; then :
14463 ac_cv_cpp_def___i386__
=yes
14465 ac_cv_cpp_def___i386__
=no
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14471 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14472 if test $ac_cv_cpp_def___i386__ = yes; then :
14473 CFLAGS
="$CFLAGS -D__i386__"
14474 LINTFLAGS
="$LINTFLAGS -D__i386__"
14476 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14477 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14478 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
14479 $as_echo_n "(cached) " >&6
14481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14482 /* end confdefs.h. */
14487 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14488 $EGREP "yes" >/dev
/null
2>&1; then :
14489 ac_cv_cpp_def___x86_64__
=yes
14491 ac_cv_cpp_def___x86_64__
=no
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14497 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14498 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14499 CFLAGS
="$CFLAGS -D__x86_64__"
14500 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
14502 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
14503 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
14504 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
14505 $as_echo_n "(cached) " >&6
14507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14508 /* end confdefs.h. */
14509 #ifndef __sparc64__
14513 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14514 $EGREP "yes" >/dev
/null
2>&1; then :
14515 ac_cv_cpp_def___sparc64__
=yes
14517 ac_cv_cpp_def___sparc64__
=no
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
14523 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
14524 if test $ac_cv_cpp_def___sparc64__ = yes; then :
14525 CFLAGS
="$CFLAGS -D__sparc64__"
14526 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
14528 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14529 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14530 if ${ac_cv_cpp_def___sparc__+:} false
; then :
14531 $as_echo_n "(cached) " >&6
14533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14534 /* end confdefs.h. */
14539 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14540 $EGREP "yes" >/dev
/null
2>&1; then :
14541 ac_cv_cpp_def___sparc__
=yes
14543 ac_cv_cpp_def___sparc__
=no
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14549 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14550 if test $ac_cv_cpp_def___sparc__ = yes; then :
14551 CFLAGS
="$CFLAGS -D__sparc__"
14552 LINTFLAGS
="$LINTFLAGS -D__sparc__"
14554 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
14555 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
14556 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
14557 $as_echo_n "(cached) " >&6
14559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14560 /* end confdefs.h. */
14561 #ifndef __powerpc64__
14565 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14566 $EGREP "yes" >/dev
/null
2>&1; then :
14567 ac_cv_cpp_def___powerpc64__
=yes
14569 ac_cv_cpp_def___powerpc64__
=no
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
14575 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
14576 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
14577 CFLAGS
="$CFLAGS -D__powerpc64__"
14578 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
14580 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14581 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14582 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
14583 $as_echo_n "(cached) " >&6
14585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14587 #ifndef __powerpc__
14591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14592 $EGREP "yes" >/dev
/null
2>&1; then :
14593 ac_cv_cpp_def___powerpc__
=yes
14595 ac_cv_cpp_def___powerpc__
=no
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14601 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14602 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14603 CFLAGS
="$CFLAGS -D__powerpc__"
14604 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
14606 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
14607 $as_echo_n "checking whether we need to define __arm__... " >&6; }
14608 if ${ac_cv_cpp_def___arm__+:} false
; then :
14609 $as_echo_n "(cached) " >&6
14611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14612 /* end confdefs.h. */
14617 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14618 $EGREP "yes" >/dev
/null
2>&1; then :
14619 ac_cv_cpp_def___arm__
=yes
14621 ac_cv_cpp_def___arm__
=no
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
14627 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
14628 if test $ac_cv_cpp_def___arm__ = yes; then :
14629 CFLAGS
="$CFLAGS -D__arm__"
14630 LINTFLAGS
="$LINTFLAGS -D__arm__"
14634 case $host_vendor in
14635 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14636 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14637 if ${ac_cv_cpp_def___sun__+:} false
; then :
14638 $as_echo_n "(cached) " >&6
14640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14641 /* end confdefs.h. */
14646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14647 $EGREP "yes" >/dev
/null
2>&1; then :
14648 ac_cv_cpp_def___sun__
=yes
14650 ac_cv_cpp_def___sun__
=no
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14656 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14657 if test $ac_cv_cpp_def___sun__ = yes; then :
14658 CFLAGS
="$CFLAGS -D__sun__"
14659 LINTFLAGS
="$LINTFLAGS -D__sun__"
14667 ac_config_commands
="$ac_config_commands include/stamp-h"
14670 ALL_MAKEFILE_DEPENDS
="
14671 # Rules automatically generated by configure
14676 Makefile: Makefile.in Make.vars.in Make.rules config.status
14677 @./config.status Make.tmp Makefile"
14680 ALL_TEST_RESOURCES
=""
14683 wine_fn_append_file
()
14685 as_fn_append
$1 " \\$as_nl $2"
14688 wine_fn_append_rule
()
14690 as_fn_append
$1 "$as_nl$2"
14693 wine_fn_has_flag
()
14695 expr ",$2," : ".*,$1,.*" >/dev
/null
14698 wine_fn_all_dir_rules
()
14702 ac_makedep
="\$(MAKEDEP)"
14703 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
14704 if test $ac_dir != tools
14706 ac_alldeps
="$2 $ac_makedep"
14709 *.
in) ac_input
=$ac_input:$2 ;;
14710 *) ac_makedep
="$2 $ac_makedep" ;;
14713 wine_fn_append_file ALL_DIRS
$ac_dir
14714 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14715 "__clean__: $ac_dir/__clean__
14716 .PHONY: $ac_dir/__clean__
14717 $ac_dir/__clean__: $ac_dir/Makefile
14718 @cd $ac_dir && \$(MAKE) clean
14719 \$(RM) $ac_dir/Makefile
14720 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14721 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14722 depend: $ac_dir/__depend__
14723 .PHONY: $ac_dir/__depend__
14724 $ac_dir/__depend__: $ac_makedep dummy
14725 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14728 wine_fn_pot_rules
()
14733 test "x$with_gettextpo" = xyes ||
return
14735 if wine_fn_has_flag mc
$ac_flags
14737 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
14738 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14739 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
14740 @cd $ac_dir && \$(MAKE) msg.pot
14741 $ac_dir/msg.pot: tools/wmc include"
14743 if wine_fn_has_flag po
$ac_flags
14745 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
14746 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14747 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
14748 @cd $ac_dir && \$(MAKE) rsrc.pot
14749 $ac_dir/rsrc.pot: tools/wrc include"
14753 wine_fn_config_makefile
()
14759 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14763 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
14764 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14767 $ac_dir: $ac_dir/Makefile dummy
14768 @cd $ac_dir && \$(MAKE)"
14770 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
14772 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14773 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14774 $ac_dir/__install__:: $ac_dir
14775 @cd $ac_dir && \$(MAKE) install
14776 $ac_dir/__uninstall__:: $ac_dir/Makefile
14777 @cd $ac_dir && \$(MAKE) uninstall
14778 install:: $ac_dir/__install__
14779 __uninstall__: $ac_dir/__uninstall__"
14781 if wine_fn_has_flag install-lib
$ac_flags
14783 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14784 ".PHONY: $ac_dir/__install-lib__
14785 $ac_dir/__install-lib__:: $ac_dir
14786 @cd $ac_dir && \$(MAKE) install-lib
14787 install-lib:: $ac_dir/__install-lib__"
14790 if wine_fn_has_flag install-dev
$ac_flags
14792 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14793 ".PHONY: $ac_dir/__install-dev
14794 $ac_dir/__install-dev__:: $ac_dir
14795 @cd $ac_dir && \$(MAKE) install-dev
14796 install-dev:: $ac_dir/__install-dev__"
14800 wine_fn_config_lib
()
14804 ac_dir
=dlls
/$ac_name
14805 wine_fn_config_makefile
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
14807 if wine_fn_has_flag install-dev
$ac_flags
14810 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14811 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14812 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
14813 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14814 $ac_dir/__uninstall__::
14815 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14816 install install-dev:: $ac_dir/__install__
14817 __uninstall__: $ac_dir/__uninstall__"
14820 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: $ac_dir"
14821 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: tools/widl tools/winebuild tools/winegcc include"
14824 wine_fn_config_dll
()
14827 ac_dir
=dlls
/$ac_name
14830 ac_implib
=${4:-$ac_name}
14831 ac_file
=$ac_dir/lib
$ac_implib
14833 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
14837 *16) ac_implibflags
=" -m16" ;;
14839 *) ac_dll
=$ac_dll.dll
;;
14842 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
14844 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14845 test "$ac_enable" != enable_win16 ||
return 0
14846 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
14848 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14849 "$ac_dir: __builddeps__
14850 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
14851 @cd $ac_dir && \$(MAKE) \$@"
14853 if wine_fn_has_flag install-lib
$ac_flags
14856 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14857 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
14858 install install-lib:: $ac_dir/__install-lib__
14859 __uninstall__: $ac_dir/__uninstall__"
14860 if test -n "$DLLEXT"
14862 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14863 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14864 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
14865 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
14866 $ac_dir/__uninstall__::
14867 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
14869 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14870 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14871 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
14872 $ac_dir/__uninstall__::
14873 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
14877 wine_fn_pot_rules
$ac_dir $ac_flags
14880 if wine_fn_has_flag staticimplib
$ac_flags
14882 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14883 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14884 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14885 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
14886 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
14887 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
14888 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
14889 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14890 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14891 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14892 $ac_dir/__uninstall__::
14893 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14894 install install-dev:: $ac_dir/__install-dev__
14895 __uninstall__: $ac_dir/__uninstall__"
14897 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
14899 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14900 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
14901 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
14902 $ac_dir/__uninstall__::
14903 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
14906 if test "x$CROSSTEST_DISABLE" = x
14908 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14909 "__builddeps__: $ac_file.cross.a
14910 $ac_file.cross.a: $ac_dir/Makefile dummy
14911 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
14914 elif wine_fn_has_flag implib
$ac_flags
14916 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14917 "__builddeps__: $ac_file.$IMPLIBEXT
14918 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14919 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14920 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14921 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14922 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14923 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14924 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14925 $ac_dir/__uninstall__::
14926 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14927 install install-dev:: $ac_dir/__install-dev__
14928 __uninstall__: $ac_dir/__uninstall__"
14929 if test "x$CROSSTEST_DISABLE" = x
14931 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14932 "__builddeps__: $ac_file.cross.a
14933 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14934 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
14937 if test "$ac_name" != "$ac_implib"
14939 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14940 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14941 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14942 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
14944 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14945 if test "x$CROSSTEST_DISABLE" = x
14947 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14948 "__builddeps__: dlls/lib$ac_implib.cross.a
14949 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14950 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
14956 wine_fn_config_program
()
14959 ac_dir
=programs
/$ac_name
14962 ac_program
=$ac_name
14966 *) ac_program
=$ac_program.exe
;;
14969 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
14971 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14974 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14975 "$ac_dir: __builddeps__"
14977 wine_fn_pot_rules
$ac_dir $ac_flags
14979 wine_fn_has_flag
install $ac_flags ||
return
14980 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14981 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14982 install install-lib:: $ac_dir/__install__
14983 __uninstall__: $ac_dir/__uninstall__"
14985 if test -n "$DLLEXT"
14987 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14988 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14989 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
14990 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
14991 $ac_dir/__uninstall__::
14992 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
14994 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
14996 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14997 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
14998 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
14999 $ac_dir/__uninstall__::
15000 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15003 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15004 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15005 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15006 $ac_dir/__uninstall__::
15007 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15010 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
15012 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15013 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15014 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15015 $ac_dir/__uninstall__::
15016 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15021 wine_fn_config_test
()
15026 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
15027 wine_fn_all_dir_rules
$ac_dir Maketest.rules
15029 if test "x$enable_tests" = xno
; then :
15032 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15035 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15036 @cd $ac_dir && \$(MAKE)
15037 programs/winetest: $ac_dir
15038 check test: $ac_dir/__test__
15039 .PHONY: $ac_dir/__test__
15040 $ac_dir/__test__: dummy
15041 @cd $ac_dir && \$(MAKE) test
15043 \$(RM) $ac_dir/*.ok"
15045 if test "x$CROSSTEST_DISABLE" = x
15047 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15048 "crosstest: $ac_dir/__crosstest__
15049 .PHONY: $ac_dir/__crosstest__
15050 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15051 @cd $ac_dir && \$(MAKE) crosstest"
15056 wine_fn_config_tool
()
15060 if test "x$enable_tools" = xno
; then :
15064 wine_fn_config_makefile
$ac_dir enable_tools
$ac_flags
15066 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__tooldeps__: $ac_dir"
15067 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: libs/port"
15069 tools
/winebuild
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(WINEBUILD): $ac_dir" ;;
15073 wine_fn_config_makerules
()
15077 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15078 "$ac_rules: $ac_rules.in $ac_deps config.status
15079 @./config.status $ac_rules
15084 wine_fn_config_symlink
()
15087 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15089 @./config.status $ac_link
15094 if test "x$CROSSTEST_DISABLE" != x
15096 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15098 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15100 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15101 wine_fn_config_symlink dlls
/shell32
/AUTHORS
15102 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15103 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
15104 if test "x$enable_fonts" != xno
; then
15105 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15106 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
15108 if test "x$enable_fonts" != xno
; then
15109 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15110 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
15112 if test "x$enable_fonts" != xno
; then
15113 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15114 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
15116 if test "x$enable_fonts" != xno
; then
15117 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15118 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
15120 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
15121 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
15122 if test "x$enable_tools" != xno
; then
15123 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15124 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
15126 ac_config_links
="$ac_config_links wine:tools/winewrapper"
15127 wine_fn_config_symlink wine
15128 if test "x$enable_win64" != xno
; then
15129 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
15130 wine_fn_config_symlink wine64
15133 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
15135 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
15137 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
15139 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
15141 ac_config_commands
="$ac_config_commands dlls/user32/resources"
15143 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
15145 ac_config_commands
="$ac_config_commands include/wine"
15148 wine_fn_config_makerules Make.rules
15149 MAKE_RULES
=Make.rules
15150 ac_config_files
="$ac_config_files Make.rules"
15152 wine_fn_config_makerules Maketest.rules Make.rules
15153 MAKE_TEST_RULES
=Maketest.rules
15154 ac_config_files
="$ac_config_files Maketest.rules"
15156 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
15157 MAKE_DLL_RULES
=dlls
/Makedll.rules
15158 ac_config_files
="$ac_config_files dlls/Makedll.rules"
15160 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
15161 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
15162 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
15164 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
15165 MAKE_PROG_RULES
=programs
/Makeprog.rules
15166 ac_config_files
="$ac_config_files programs/Makeprog.rules"
15169 wine_fn_config_dll acledit enable_acledit
15170 wine_fn_config_dll aclui enable_aclui implib
15171 wine_fn_config_dll activeds enable_activeds implib
15172 wine_fn_config_dll actxprxy enable_actxprxy
15173 wine_fn_config_lib adsiid
15174 wine_fn_config_dll advapi32 enable_advapi32 implib
15175 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
15176 wine_fn_config_dll advpack enable_advpack implib
15177 wine_fn_config_test dlls
/advpack
/tests advpack_test
15178 wine_fn_config_dll amstream enable_amstream
15179 wine_fn_config_test dlls
/amstream
/tests amstream_test
15180 wine_fn_config_dll apphelp enable_apphelp
15181 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
15182 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15183 wine_fn_config_dll atl enable_atl implib
15184 wine_fn_config_test dlls
/atl
/tests atl_test
15185 wine_fn_config_dll atl80 enable_atl80
15186 wine_fn_config_dll authz enable_authz
15187 wine_fn_config_dll avicap32 enable_avicap32 implib
15188 wine_fn_config_dll avifil32 enable_avifil32 implib
,po
15189 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
15190 wine_fn_config_dll avifile.dll16 enable_win16
15191 wine_fn_config_dll avrt enable_avrt implib
15192 wine_fn_config_dll bcrypt enable_bcrypt
15193 wine_fn_config_dll browseui enable_browseui po
15194 wine_fn_config_test dlls
/browseui
/tests browseui_test
15195 wine_fn_config_dll cabinet enable_cabinet implib
15196 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
15197 wine_fn_config_dll capi2032 enable_capi2032 implib
15198 wine_fn_config_dll cards enable_cards implib
15199 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15200 wine_fn_config_dll clusapi enable_clusapi implib
15201 wine_fn_config_dll comcat enable_comcat
15202 wine_fn_config_test dlls
/comcat
/tests comcat_test
15203 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
15204 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
15205 wine_fn_config_dll comdlg32 enable_comdlg32 implib
,po
15206 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
15207 wine_fn_config_dll
comm.drv16 enable_win16
15208 wine_fn_config_dll commdlg.dll16 enable_win16
15209 wine_fn_config_dll compobj.dll16 enable_win16
15210 wine_fn_config_dll compstui enable_compstui implib
15211 wine_fn_config_dll credui enable_credui implib
,po
15212 wine_fn_config_test dlls
/credui
/tests credui_test
15213 wine_fn_config_dll crtdll enable_crtdll implib
15214 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
15215 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
15216 wine_fn_config_dll cryptdlg enable_cryptdlg po
15217 wine_fn_config_dll cryptdll enable_cryptdll implib
15218 wine_fn_config_dll cryptnet enable_cryptnet implib
15219 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
15220 wine_fn_config_dll cryptui enable_cryptui implib
,po
15221 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
15222 wine_fn_config_dll ctapi32 enable_ctapi32
15223 wine_fn_config_dll ctl3d.dll16 enable_win16
15224 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15225 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15226 wine_fn_config_dll d3d10 enable_d3d10 implib
15227 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
15228 wine_fn_config_dll d3d10core enable_d3d10core implib
15229 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
15230 wine_fn_config_dll d3d8 enable_d3d8 implib
15231 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
15232 wine_fn_config_dll d3d9 enable_d3d9 implib
15233 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
15234 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15235 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15236 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15237 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15238 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15239 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15240 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15241 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15242 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15243 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15244 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15245 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
15246 wine_fn_config_dll d3dim enable_d3dim implib
15247 wine_fn_config_dll d3drm enable_d3drm implib
15248 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
15249 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15250 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15251 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15252 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15253 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15254 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15255 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15256 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15257 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15258 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15259 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15260 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15261 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15262 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15263 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15264 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15265 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15266 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15267 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15268 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15269 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15270 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15271 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15272 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15273 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
15274 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15275 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15276 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15277 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15278 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15279 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15280 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15281 wine_fn_config_dll d3dxof enable_d3dxof implib
15282 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
15283 wine_fn_config_dll dbgeng enable_dbgeng implib
15284 wine_fn_config_dll dbghelp enable_dbghelp implib
15285 wine_fn_config_dll dciman32 enable_dciman32 implib
15286 wine_fn_config_dll ddeml.dll16 enable_win16
15287 wine_fn_config_dll ddraw enable_ddraw implib
15288 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
15289 wine_fn_config_dll ddrawex enable_ddrawex
15290 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
15291 wine_fn_config_dll devenum enable_devenum po
15292 wine_fn_config_test dlls
/devenum
/tests devenum_test
15293 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15294 wine_fn_config_dll dinput enable_dinput implib
,po
,staticimplib
15295 wine_fn_config_test dlls
/dinput
/tests dinput_test
15296 wine_fn_config_dll dinput8 enable_dinput8 implib
15297 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
15298 wine_fn_config_dll dispdib.dll16 enable_win16
15299 wine_fn_config_dll dispex enable_dispex
15300 wine_fn_config_test dlls
/dispex
/tests dispex_test
15301 wine_fn_config_dll display.drv16 enable_win16
15302 wine_fn_config_dll dmband enable_dmband
15303 wine_fn_config_test dlls
/dmband
/tests dmband_test
15304 wine_fn_config_dll dmcompos enable_dmcompos
15305 wine_fn_config_dll dmime enable_dmime
15306 wine_fn_config_test dlls
/dmime
/tests dmime_test
15307 wine_fn_config_dll dmloader enable_dmloader
15308 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
15309 wine_fn_config_dll dmscript enable_dmscript
15310 wine_fn_config_dll dmstyle enable_dmstyle
15311 wine_fn_config_dll dmsynth enable_dmsynth
15312 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
15313 wine_fn_config_dll dmusic enable_dmusic
15314 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
15315 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15316 wine_fn_config_dll dnsapi enable_dnsapi implib
15317 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
15318 wine_fn_config_dll dplay enable_dplay implib
15319 wine_fn_config_dll dplayx enable_dplayx implib
15320 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
15321 wine_fn_config_dll dpnaddr enable_dpnaddr
15322 wine_fn_config_dll dpnet enable_dpnet implib
15323 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
15324 wine_fn_config_dll dpnhpast enable_dpnhpast
15325 wine_fn_config_dll dpnlobby enable_dpnlobby
15326 wine_fn_config_dll dpwsockx enable_dpwsockx
15327 wine_fn_config_dll drmclien enable_drmclien
15328 wine_fn_config_dll dsound enable_dsound implib
15329 wine_fn_config_test dlls
/dsound
/tests dsound_test
15330 wine_fn_config_dll dssenh enable_dssenh
15331 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
15332 wine_fn_config_dll dswave enable_dswave
15333 wine_fn_config_dll dwmapi enable_dwmapi implib
15334 wine_fn_config_dll dwrite enable_dwrite implib
15335 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
15336 wine_fn_config_dll dxdiagn enable_dxdiagn po
15337 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
15338 wine_fn_config_lib dxerr8
15339 wine_fn_config_lib dxerr9
15340 wine_fn_config_dll dxgi enable_dxgi implib
15341 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
15342 wine_fn_config_lib dxguid
15343 wine_fn_config_dll explorerframe enable_explorerframe
15344 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
15345 wine_fn_config_dll faultrep enable_faultrep implib
15346 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
15347 wine_fn_config_dll fltlib enable_fltlib
15348 wine_fn_config_dll fusion enable_fusion
15349 wine_fn_config_test dlls
/fusion
/tests fusion_test
15350 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15351 wine_fn_config_dll gameux enable_gameux
15352 wine_fn_config_test dlls
/gameux
/tests gameux_test
15353 wine_fn_config_dll gdi.exe16 enable_win16
15354 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
15355 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
15356 wine_fn_config_dll gdiplus enable_gdiplus implib
15357 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
15358 wine_fn_config_dll glu32 enable_glu32 implib
15359 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15360 wine_fn_config_dll gpkcsp enable_gpkcsp
15361 wine_fn_config_dll hal enable_hal
15362 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx po
15363 wine_fn_config_dll hid enable_hid implib
15364 wine_fn_config_dll hlink enable_hlink implib
15365 wine_fn_config_test dlls
/hlink
/tests hlink_test
15366 wine_fn_config_dll hnetcfg enable_hnetcfg
15367 wine_fn_config_dll httpapi enable_httpapi
15368 wine_fn_config_dll iccvid enable_iccvid po
15369 wine_fn_config_dll icmp enable_icmp
15370 wine_fn_config_dll ieframe enable_ieframe implib
,po
15371 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
15372 wine_fn_config_dll ifsmgr.vxd enable_win16
15373 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15374 wine_fn_config_dll imagehlp enable_imagehlp implib
15375 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
15376 wine_fn_config_dll imm.dll16 enable_win16
15377 wine_fn_config_dll imm32 enable_imm32 implib
15378 wine_fn_config_test dlls
/imm32
/tests imm32_test
15379 wine_fn_config_dll inetcomm enable_inetcomm implib
15380 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
15381 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15382 wine_fn_config_dll inetmib1 enable_inetmib1
15383 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
15384 wine_fn_config_dll infosoft enable_infosoft
15385 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
15386 wine_fn_config_dll initpki enable_initpki
15387 wine_fn_config_dll inkobj enable_inkobj
15388 wine_fn_config_dll inseng enable_inseng
15389 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15390 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
15391 wine_fn_config_dll itircl enable_itircl
15392 wine_fn_config_dll itss enable_itss
15393 wine_fn_config_test dlls
/itss
/tests itss_test
15394 wine_fn_config_dll joy.cpl enable_joy_cpl po
15395 wine_fn_config_dll jscript enable_jscript po
15396 wine_fn_config_test dlls
/jscript
/tests jscript_test
15397 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
15398 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
15399 wine_fn_config_dll keyboard.drv16 enable_win16
15400 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15401 wine_fn_config_dll ktmw32 enable_ktmw32
15402 wine_fn_config_dll loadperf enable_loadperf implib
15403 wine_fn_config_dll localspl enable_localspl po
15404 wine_fn_config_test dlls
/localspl
/tests localspl_test
15405 wine_fn_config_dll localui enable_localui po
15406 wine_fn_config_test dlls
/localui
/tests localui_test
15407 wine_fn_config_dll lz32 enable_lz32 implib
15408 wine_fn_config_test dlls
/lz32
/tests lz32_test
15409 wine_fn_config_dll lzexpand.dll16 enable_win16
15410 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
15411 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
15412 wine_fn_config_dll mapistub enable_mapistub
15413 wine_fn_config_dll mciavi32 enable_mciavi32
15414 wine_fn_config_dll mcicda enable_mcicda
15415 wine_fn_config_dll mciqtz32 enable_mciqtz32
15416 wine_fn_config_dll mciseq enable_mciseq
15417 wine_fn_config_dll mciwave enable_mciwave
15418 wine_fn_config_dll mgmtapi enable_mgmtapi
15419 wine_fn_config_dll midimap enable_midimap
15420 wine_fn_config_dll mlang enable_mlang implib
15421 wine_fn_config_test dlls
/mlang
/tests mlang_test
15422 wine_fn_config_dll mmcndmgr enable_mmcndmgr
15423 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
15424 wine_fn_config_dll mmdevapi enable_mmdevapi
15425 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
15426 wine_fn_config_dll mmdevldr.vxd enable_win16
15427 wine_fn_config_dll mmsystem.dll16 enable_win16
15428 wine_fn_config_dll monodebg.vxd enable_win16
15429 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15430 wine_fn_config_dll mouse.drv16 enable_win16
15431 wine_fn_config_dll mpr enable_mpr implib
,po
15432 wine_fn_config_test dlls
/mpr
/tests mpr_test
15433 wine_fn_config_dll mprapi enable_mprapi implib
15434 wine_fn_config_dll msacm.dll16 enable_win16
15435 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15436 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
15437 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
15438 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15439 wine_fn_config_dll mscat32 enable_mscat32
15440 wine_fn_config_dll mscms enable_mscms implib
15441 wine_fn_config_test dlls
/mscms
/tests mscms_test
15442 wine_fn_config_dll mscoree enable_mscoree
15443 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
15444 wine_fn_config_dll msctf enable_msctf
15445 wine_fn_config_test dlls
/msctf
/tests msctf_test
15446 wine_fn_config_dll msdaps enable_msdaps
15447 wine_fn_config_dll msdmo enable_msdmo implib
15448 wine_fn_config_dll msftedit enable_msftedit
15449 wine_fn_config_dll msg711.acm enable_msg711_acm
15450 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15451 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15452 wine_fn_config_dll mshtml enable_mshtml implib
,po
15453 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
15454 wine_fn_config_dll msi enable_msi implib
,po
15455 wine_fn_config_test dlls
/msi
/tests msi_test
15456 wine_fn_config_dll msident enable_msident
15457 wine_fn_config_dll msimg32 enable_msimg32 implib
15458 wine_fn_config_dll msimsg enable_msimsg
15459 wine_fn_config_dll msimtf enable_msimtf
15460 wine_fn_config_dll msisip enable_msisip
15461 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15462 wine_fn_config_dll msnet32 enable_msnet32
15463 wine_fn_config_dll mspatcha enable_mspatcha
15464 wine_fn_config_dll msrle32 enable_msrle32 po
15465 wine_fn_config_dll mssign32 enable_mssign32
15466 wine_fn_config_dll mssip32 enable_mssip32
15467 wine_fn_config_dll mstask enable_mstask
15468 wine_fn_config_test dlls
/mstask
/tests mstask_test
15469 wine_fn_config_dll msvcirt enable_msvcirt
15470 wine_fn_config_dll msvcm80 enable_msvcm80
15471 wine_fn_config_dll msvcm90 enable_msvcm90
15472 wine_fn_config_dll msvcp100 enable_msvcp100
15473 wine_fn_config_dll msvcp60 enable_msvcp60
15474 wine_fn_config_dll msvcp70 enable_msvcp70
15475 wine_fn_config_dll msvcp71 enable_msvcp71
15476 wine_fn_config_dll msvcp80 enable_msvcp80
15477 wine_fn_config_dll msvcp90 enable_msvcp90
15478 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
15479 wine_fn_config_dll msvcr100 enable_msvcr100
15480 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15481 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15482 wine_fn_config_dll msvcr80 enable_msvcr80
15483 wine_fn_config_dll msvcr90 enable_msvcr90
15484 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
15485 wine_fn_config_dll msvcrt enable_msvcrt implib
15486 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
15487 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15488 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15489 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15490 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
15491 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
15492 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
15493 wine_fn_config_dll msvidc32 enable_msvidc32 po
15494 wine_fn_config_dll msvideo.dll16 enable_win16
15495 wine_fn_config_dll mswsock enable_mswsock implib
15496 wine_fn_config_dll msxml enable_msxml
15497 wine_fn_config_dll msxml2 enable_msxml2
15498 wine_fn_config_dll msxml3 enable_msxml3
15499 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
15500 wine_fn_config_dll msxml4 enable_msxml4
15501 wine_fn_config_dll msxml6 enable_msxml6
15502 wine_fn_config_dll nddeapi enable_nddeapi implib
15503 wine_fn_config_dll netapi32 enable_netapi32 implib
15504 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
15505 wine_fn_config_dll newdev enable_newdev implib
15506 wine_fn_config_dll normaliz enable_normaliz implib
15507 wine_fn_config_dll npmshtml enable_npmshtml
15508 wine_fn_config_dll ntdll enable_ntdll implib
15509 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
15510 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15511 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
15512 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15513 wine_fn_config_dll ntprint enable_ntprint
15514 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
15515 wine_fn_config_dll objsel enable_objsel
15516 wine_fn_config_dll odbc32 enable_odbc32 implib
15517 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15518 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
15519 wine_fn_config_dll ole2.dll16 enable_win16
15520 wine_fn_config_dll ole2conv.dll16 enable_win16
15521 wine_fn_config_dll ole2disp.dll16 enable_win16
15522 wine_fn_config_dll ole2nls.dll16 enable_win16
15523 wine_fn_config_dll ole2prox.dll16 enable_win16
15524 wine_fn_config_dll ole2thk.dll16 enable_win16
15525 wine_fn_config_dll ole32 enable_ole32 implib
15526 wine_fn_config_test dlls
/ole32
/tests ole32_test
15527 wine_fn_config_dll oleacc enable_oleacc implib
,po
15528 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
15529 wine_fn_config_dll oleaut32 enable_oleaut32 implib
,po
15530 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
15531 wine_fn_config_dll olecli.dll16 enable_win16
15532 wine_fn_config_dll olecli32 enable_olecli32 implib
15533 wine_fn_config_dll oledb32 enable_oledb32
15534 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
15535 wine_fn_config_dll oledlg enable_oledlg implib
,po
15536 wine_fn_config_dll olepro32 enable_olepro32 implib
15537 wine_fn_config_dll olesvr.dll16 enable_win16
15538 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15539 wine_fn_config_dll olethk32 enable_olethk32
15540 wine_fn_config_dll openal32 enable_openal32
15541 wine_fn_config_dll opencl enable_opencl
15542 wine_fn_config_dll opengl32 enable_opengl32 implib
15543 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
15544 wine_fn_config_dll pdh enable_pdh implib
15545 wine_fn_config_test dlls
/pdh
/tests pdh_test
15546 wine_fn_config_dll photometadatahandler enable_photometadatahandler
15547 wine_fn_config_dll pidgen enable_pidgen
15548 wine_fn_config_dll powrprof enable_powrprof implib
15549 wine_fn_config_dll printui enable_printui
15550 wine_fn_config_dll propsys enable_propsys implib
15551 wine_fn_config_test dlls
/propsys
/tests propsys_test
15552 wine_fn_config_dll psapi enable_psapi implib
15553 wine_fn_config_test dlls
/psapi
/tests psapi_test
15554 wine_fn_config_dll pstorec enable_pstorec
15555 wine_fn_config_dll qcap enable_qcap
15556 wine_fn_config_dll qedit enable_qedit
15557 wine_fn_config_test dlls
/qedit
/tests qedit_test
15558 wine_fn_config_dll qmgr enable_qmgr
15559 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
15560 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15561 wine_fn_config_dll quartz enable_quartz implib
15562 wine_fn_config_test dlls
/quartz
/tests quartz_test
15563 wine_fn_config_dll query enable_query
15564 wine_fn_config_dll rasapi16.dll16 enable_win16
15565 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15566 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
15567 wine_fn_config_dll rasdlg enable_rasdlg implib
15568 wine_fn_config_dll regapi enable_regapi
15569 wine_fn_config_dll resutils enable_resutils implib
15570 wine_fn_config_dll riched20 enable_riched20 implib
15571 wine_fn_config_test dlls
/riched20
/tests riched20_test
15572 wine_fn_config_dll riched32 enable_riched32
15573 wine_fn_config_test dlls
/riched32
/tests riched32_test
15574 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15575 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
15576 wine_fn_config_dll rsabase enable_rsabase
15577 wine_fn_config_dll rsaenh enable_rsaenh implib
15578 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
15579 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15580 wine_fn_config_dll rtutils enable_rtutils implib
15581 wine_fn_config_dll samlib enable_samlib
15582 wine_fn_config_dll sane.ds enable_sane_ds po
15583 wine_fn_config_dll scarddlg enable_scarddlg
15584 wine_fn_config_dll sccbase enable_sccbase
15585 wine_fn_config_dll schannel enable_schannel
15586 wine_fn_config_test dlls
/schannel
/tests schannel_test
15587 wine_fn_config_dll scrrun enable_scrrun
15588 wine_fn_config_test dlls
/scrrun
/tests scrrun_test
15589 wine_fn_config_dll secur32 enable_secur32 implib
15590 wine_fn_config_test dlls
/secur32
/tests secur32_test
15591 wine_fn_config_dll security enable_security
15592 wine_fn_config_dll sensapi enable_sensapi implib
15593 wine_fn_config_dll serialui enable_serialui implib
,po
15594 wine_fn_config_test dlls
/serialui
/tests serialui_test
15595 wine_fn_config_dll setupapi enable_setupapi implib
,po
15596 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
15597 wine_fn_config_dll setupx.dll16 enable_win16
15598 wine_fn_config_dll sfc enable_sfc implib
15599 wine_fn_config_dll sfc_os enable_sfc_os implib
15600 wine_fn_config_dll shdoclc enable_shdoclc po
15601 wine_fn_config_dll shdocvw enable_shdocvw implib
15602 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
15603 wine_fn_config_dll shell.dll16 enable_win16
15604 wine_fn_config_dll shell32 enable_shell32 implib
,po
15605 wine_fn_config_test dlls
/shell32
/tests shell32_test
15606 wine_fn_config_dll shfolder enable_shfolder implib
15607 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
15608 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
15609 wine_fn_config_dll slbcsp enable_slbcsp
15610 wine_fn_config_dll slc enable_slc implib
15611 wine_fn_config_dll snmpapi enable_snmpapi implib
15612 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
15613 wine_fn_config_dll softpub enable_softpub
15614 wine_fn_config_dll sound.drv16 enable_win16
15615 wine_fn_config_dll spoolss enable_spoolss implib
15616 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
15617 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15618 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15619 wine_fn_config_dll sti enable_sti implib
15620 wine_fn_config_test dlls
/sti
/tests sti_test
15621 wine_fn_config_dll storage.dll16 enable_win16
15622 wine_fn_config_dll stress.dll16 enable_win16
15623 wine_fn_config_lib strmbase
15624 wine_fn_config_lib strmiids
15625 wine_fn_config_dll svrapi enable_svrapi
15626 wine_fn_config_dll sxs enable_sxs implib
15627 wine_fn_config_test dlls
/sxs
/tests sxs_test
15628 wine_fn_config_dll system.drv16 enable_win16
15629 wine_fn_config_dll t2embed enable_t2embed
15630 wine_fn_config_dll tapi32 enable_tapi32 implib
15631 wine_fn_config_dll toolhelp.dll16 enable_win16
15632 wine_fn_config_dll traffic enable_traffic
15633 wine_fn_config_dll twain.dll16 enable_win16
15634 wine_fn_config_dll twain_32 enable_twain_32
15635 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
15636 wine_fn_config_dll typelib.dll16 enable_win16
15637 wine_fn_config_dll unicows enable_unicows implib
15638 wine_fn_config_dll updspapi enable_updspapi
15639 wine_fn_config_dll url enable_url implib
15640 wine_fn_config_dll urlmon enable_urlmon implib
15641 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
15642 wine_fn_config_dll usbd.sys enable_usbd_sys implib
15643 wine_fn_config_dll user.exe16 enable_win16
15644 wine_fn_config_dll user32 enable_user32 implib
,po
15645 wine_fn_config_test dlls
/user32
/tests user32_test
15646 wine_fn_config_dll userenv enable_userenv implib
15647 wine_fn_config_test dlls
/userenv
/tests userenv_test
15648 wine_fn_config_dll usp10 enable_usp10 implib
15649 wine_fn_config_test dlls
/usp10
/tests usp10_test
15650 wine_fn_config_lib uuid
15651 wine_fn_config_dll uxtheme enable_uxtheme implib
15652 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
15653 wine_fn_config_dll vbscript enable_vbscript
15654 wine_fn_config_test dlls
/vbscript
/tests vbscript_test
15655 wine_fn_config_dll vcomp enable_vcomp
15656 wine_fn_config_dll vcomp100 enable_vcomp100
15657 wine_fn_config_dll vdhcp.vxd enable_win16
15658 wine_fn_config_dll vdmdbg enable_vdmdbg implib
15659 wine_fn_config_dll ver.dll16 enable_win16
15660 wine_fn_config_dll version enable_version implib
15661 wine_fn_config_test dlls
/version
/tests version_test
15662 wine_fn_config_dll vmm.vxd enable_win16
15663 wine_fn_config_dll vnbt.vxd enable_win16
15664 wine_fn_config_dll vnetbios.vxd enable_win16
15665 wine_fn_config_dll vtdapi.vxd enable_win16
15666 wine_fn_config_dll vwin32.vxd enable_win16
15667 wine_fn_config_dll w32skrnl enable_win16
15668 wine_fn_config_dll w32sys.dll16 enable_win16
15669 wine_fn_config_dll wbemprox enable_wbemprox
15670 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
15671 wine_fn_config_dll wer enable_wer implib
15672 wine_fn_config_test dlls
/wer
/tests wer_test
15673 wine_fn_config_dll wevtapi enable_wevtapi
15674 wine_fn_config_dll wiaservc enable_wiaservc
15675 wine_fn_config_dll win32s16.dll16 enable_win16
15676 wine_fn_config_dll win87em.dll16 enable_win16
15677 wine_fn_config_dll winaspi.dll16 enable_win16
15678 wine_fn_config_dll windebug.dll16 enable_win16
15679 wine_fn_config_dll windowscodecs enable_windowscodecs implib
15680 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
15681 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15682 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15683 wine_fn_config_lib winecrt0
15684 wine_fn_config_dll wined3d enable_wined3d implib
15685 wine_fn_config_dll winegstreamer enable_winegstreamer
15686 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15687 wine_fn_config_dll winemapi enable_winemapi
15688 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15689 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15690 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
,po
15691 wine_fn_config_dll wineps16.drv16 enable_win16
15692 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
15693 wine_fn_config_dll winequartz.drv enable_winequartz_drv
15694 wine_fn_config_dll winex11.drv enable_winex11_drv
15695 wine_fn_config_dll wing.dll16 enable_win16
15696 wine_fn_config_dll wing32 enable_wing32
15697 wine_fn_config_dll winhttp enable_winhttp implib
15698 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
15699 wine_fn_config_dll wininet enable_wininet implib
,po
15700 wine_fn_config_test dlls
/wininet
/tests wininet_test
15701 wine_fn_config_dll winmm enable_winmm implib
,po
15702 wine_fn_config_test dlls
/winmm
/tests winmm_test
15703 wine_fn_config_dll winnls.dll16 enable_win16
15704 wine_fn_config_dll winnls32 enable_winnls32 implib
15705 wine_fn_config_dll winscard enable_winscard implib
15706 wine_fn_config_dll winsock.dll16 enable_win16
15707 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
15708 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
15709 wine_fn_config_dll winsta enable_winsta
15710 wine_fn_config_dll wintab.dll16 enable_win16
15711 wine_fn_config_dll wintab32 enable_wintab32 implib
15712 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
15713 wine_fn_config_dll wintrust enable_wintrust implib
15714 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
15715 wine_fn_config_dll wlanapi enable_wlanapi
15716 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
15717 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
15718 wine_fn_config_dll wmi enable_wmi
15719 wine_fn_config_dll wmiutils enable_wmiutils
15720 wine_fn_config_dll wmvcore enable_wmvcore
15721 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
15722 wine_fn_config_dll wow32 enable_win16 implib
15723 wine_fn_config_dll ws2_32 enable_ws2_32 implib
15724 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
15725 wine_fn_config_dll wshom.ocx enable_wshom_ocx
15726 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test
15727 wine_fn_config_dll wsnmp32 enable_wsnmp32
15728 wine_fn_config_dll wsock32 enable_wsock32 implib
15729 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
15730 wine_fn_config_dll wuapi enable_wuapi
15731 wine_fn_config_dll wuaueng enable_wuaueng
15732 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15733 wine_fn_config_dll xinput1_1 enable_xinput1_1
15734 wine_fn_config_dll xinput1_2 enable_xinput1_2
15735 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
15736 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
15737 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15738 wine_fn_config_dll xmllite enable_xmllite
15739 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
15740 wine_fn_config_dll xolehlp enable_xolehlp
15741 wine_fn_config_dll xpsprint enable_xpsprint
15742 wine_fn_config_makefile documentation enable_documentation
15743 wine_fn_config_makefile fonts enable_fonts install-lib
15744 wine_fn_config_makefile include enable_include install-dev
15745 wine_fn_config_makefile libs
/port enable_libs_port
15746 wine_fn_config_makefile libs
/wine enable_libs_wine install-dev
,install-lib
15747 wine_fn_config_makefile libs
/wpp enable_libs_wpp
15748 wine_fn_config_makefile loader enable_loader install-lib
,manpage
15749 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
15750 wine_fn_config_program attrib enable_attrib
install,po
15751 wine_fn_config_program cabarc enable_cabarc
install
15752 wine_fn_config_program cacls enable_cacls
install
15753 wine_fn_config_program
clock enable_clock
install,po
15754 wine_fn_config_program cmd enable_cmd
install,po
15755 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
15756 wine_fn_config_program control enable_control
install
15757 wine_fn_config_program cscript enable_cscript
install
15758 wine_fn_config_program dxdiag enable_dxdiag
install,po
15759 wine_fn_config_program eject enable_eject
install
15760 wine_fn_config_program
expand enable_expand
install
15761 wine_fn_config_program explorer enable_explorer
install,po
15762 wine_fn_config_program extrac32 enable_extrac32
install
15763 wine_fn_config_program hh enable_hh
install
15764 wine_fn_config_program hostname enable_hostname
install,po
15765 wine_fn_config_program icinfo enable_icinfo
install
15766 wine_fn_config_program iexplore enable_iexplore
install
15767 wine_fn_config_program ipconfig enable_ipconfig
install,po
15768 wine_fn_config_program lodctr enable_lodctr
install
15769 wine_fn_config_program mofcomp enable_mofcomp
install
15770 wine_fn_config_program mshta enable_mshta
install
15771 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
15772 wine_fn_config_program net enable_net
install,po
15773 wine_fn_config_program netsh enable_netsh
install
15774 wine_fn_config_program ngen enable_ngen
install
15775 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
15776 wine_fn_config_program oleview enable_oleview
install,po
15777 wine_fn_config_program
ping enable_ping
install
15778 wine_fn_config_program plugplay enable_plugplay
install
15779 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
15780 wine_fn_config_program progman enable_progman
install,po
15781 wine_fn_config_program reg enable_reg
install,po
15782 wine_fn_config_program regasm enable_regasm
install
15783 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
15784 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
15785 wine_fn_config_program regsvcs enable_regsvcs
install
15786 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
15787 wine_fn_config_program rpcss enable_rpcss
install
15788 wine_fn_config_program rundll.exe16 enable_win16
install
15789 wine_fn_config_program rundll32 enable_rundll32
install
15790 wine_fn_config_program sc enable_sc
install
15791 wine_fn_config_program secedit enable_secedit
install
15792 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
15793 wine_fn_config_program services enable_services
install
15794 wine_fn_config_test programs
/services
/tests services.exe_test
15795 wine_fn_config_program spoolsv enable_spoolsv
install
15796 wine_fn_config_program start enable_start
install,po
15797 wine_fn_config_program svchost enable_svchost
install
15798 wine_fn_config_program taskkill enable_taskkill
install,po
15799 wine_fn_config_program taskmgr enable_taskmgr
install,po
15800 wine_fn_config_program termsv enable_termsv
install
15801 wine_fn_config_program uninstaller enable_uninstaller
install,po
15802 wine_fn_config_program unlodctr enable_unlodctr
install
15803 wine_fn_config_program view enable_view
install,po
15804 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
15805 wine_fn_config_program winebrowser enable_winebrowser
install
15806 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
15807 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
15808 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
15809 wine_fn_config_program winedevice enable_winedevice
install
15810 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
15811 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
15812 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
15813 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
15814 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
15815 wine_fn_config_program winetest enable_winetest
15816 wine_fn_config_program winevdm enable_win16
install
15817 wine_fn_config_program winhelp.exe16 enable_win16
install
15818 wine_fn_config_program winhlp32 enable_winhlp32
install,po
15819 wine_fn_config_program winoldap.mod16 enable_win16
install
15820 wine_fn_config_program winver enable_winver
install
15821 wine_fn_config_program wmic enable_wmic
install,po
15822 wine_fn_config_program wordpad enable_wordpad
install,po
15823 wine_fn_config_program
write enable_write
install,po
15824 wine_fn_config_program wscript enable_wscript
install
15825 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
15826 wine_fn_config_program wusa enable_wusa
install
15827 wine_fn_config_program xcopy enable_xcopy
install,po
15828 wine_fn_config_makefile server enable_server install-lib
,manpage
15829 wine_fn_config_tool tools install-dev
,install-lib
,manpage
15830 wine_fn_config_tool tools
/widl install-dev
,manpage
15831 wine_fn_config_tool tools
/winebuild install-dev
,manpage
15832 wine_fn_config_tool tools
/winedump install-dev
,manpage
15833 wine_fn_config_tool tools
/winegcc install-dev
,manpage
15834 wine_fn_config_tool tools
/wmc install-dev
,manpage
15835 wine_fn_config_tool tools
/wrc install-dev
,manpage
15885 ac_config_commands
="$ac_config_commands Makefile"
15888 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
15892 if test "x$enable_maintainer_mode" = xyes
15894 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(srcdir)/configure: configure.ac aclocal.m4
15895 cd \$(srcdir) && autoconf --warnings=all
15896 \$(srcdir)/include/config.h.in: include/stamp-h.in
15897 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
15898 cd \$(srcdir) && autoheader --warnings=all
15899 @echo timestamp > \$@"
15902 if test "x$with_gettextpo" = xyes
15904 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
15905 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"ALL_POT_FILES =$ALL_POT_FILES
15906 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
15907 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
15908 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
15909 msgcat -o \$@ \$(ALL_POT_FILES)"
15912 if test "$MSGFMT" != false
15914 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
15916 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: \$(ALL_MO_FILES)"
15921 if test "x$enable_tools" != xno
15923 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(MAKEDEP): tools/Makefile
15925 \$(RM) tools/makedep\$(EXEEXT)"
15928 if test -n "$with_wine64"
15930 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
15931 fonts server tools:
15932 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
15933 $with_wine64/loader/wine:
15934 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
15935 $with_wine64/loader/wine-preloader:
15936 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
15938 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
15941 cat >confcache
<<\_ACEOF
15942 # This file is a shell script that caches the results of configure
15943 # tests run on this system so they can be shared between configure
15944 # scripts and configure runs, see configure's option --config-cache.
15945 # It is not useful on other systems. If it contains results you don't
15946 # want to keep, you may remove or edit it.
15948 # config.status only pays attention to the cache file if you give it
15949 # the --recheck option to rerun configure.
15951 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15952 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15953 # following values.
15957 # The following way of writing the cache mishandles newlines in values,
15958 # but we know of no workaround that is simple, portable, and efficient.
15959 # So, we kill variables containing newlines.
15960 # Ultrix sh set writes to stderr and can't be redirected directly,
15961 # and sets the high bit in the cache file unless we assign to the vars.
15963 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15964 eval ac_val
=\$
$ac_var
15968 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15969 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15972 _ | IFS | as_nl
) ;; #(
15973 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15974 *) { eval $ac_var=; unset $ac_var;} ;;
15980 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15981 *${as_nl}ac_space
=\
*)
15982 # `set' does not quote correctly, so add quotes: double-quote
15983 # substitution turns \\\\ into \\, and sed turns \\ into \.
15986 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15989 # `set' quotes correctly as required by POSIX, so do not add quotes.
15990 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15999 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16001 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16003 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16004 if test -w "$cache_file"; then
16005 if test "x$cache_file" != "x/dev/null"; then
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16007 $as_echo "$as_me: updating cache $cache_file" >&6;}
16008 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16009 cat confcache
>"$cache_file"
16011 case $cache_file in #(
16013 mv -f confcache
"$cache_file"$$
&&
16014 mv -f "$cache_file"$$
"$cache_file" ;; #(
16016 mv -f confcache
"$cache_file" ;;
16021 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16022 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16027 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16028 # Let make expand exec_prefix.
16029 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16031 DEFS
=-DHAVE_CONFIG_H
16036 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16037 # 1. Remove the extension, and $U if already installed.
16038 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16039 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16040 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16041 # will be set to the directory where LIBOBJS objects are built.
16042 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16043 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16045 LIBOBJS
=$ac_libobjs
16047 LTLIBOBJS
=$ac_ltlibobjs
16051 : "${CONFIG_STATUS=./config.status}"
16053 ac_clean_files_save
=$ac_clean_files
16054 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16055 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16056 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16058 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16060 # Generated by $as_me.
16061 # Run this file to recreate the current configuration.
16062 # Compiler output produced by configure, useful for debugging
16063 # configure, is in config.log if it exists.
16066 ac_cs_recheck=false
16069 SHELL=\${CONFIG_SHELL-$SHELL}
16072 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16073 ## -------------------- ##
16074 ## M4sh Initialization. ##
16075 ## -------------------- ##
16077 # Be more Bourne compatible
16078 DUALCASE
=1; export DUALCASE
# for MKS sh
16079 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16082 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16083 # is contrary to our usage. Disable this feature.
16084 alias -g '${1+"$@"}'='"$@"'
16085 setopt NO_GLOB_SUBST
16087 case `(set -o) 2>/dev/null` in #(
16099 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16100 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16101 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16102 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16103 # Prefer a ksh shell builtin over an external printf program on Solaris,
16104 # but without wasting forks for bash or zsh.
16105 if test -z "$BASH_VERSION$ZSH_VERSION" \
16106 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16107 as_echo='print
-r --'
16108 as_echo_n='print
-rn --'
16109 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16110 as_echo='printf %s
\n'
16111 as_echo_n='printf %s
'
16113 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16114 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16115 as_echo_n='/usr
/ucb
/echo -n'
16117 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16118 as_echo_n_body='eval
16122 expr "X$arg" : "X\\(.*\\)$as_nl";
16123 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16125 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16127 export as_echo_n_body
16128 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16130 export as_echo_body
16131 as_echo='sh
-c $as_echo_body as_echo
'
16134 # The user is always right.
16135 if test "${PATH_SEPARATOR+set}" != set; then
16137 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16138 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16145 # We need space, tab and new line, in precisely that order. Quoting is
16146 # there to prevent editors from complaining about space-tab.
16147 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16148 # splitting by setting IFS to empty value.)
16151 # Find who we are. Look in the path if we contain no directory separator.
16154 *[\\/]* ) as_myself=$0 ;;
16155 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16156 for as_dir in $PATH
16159 test -z "$as_dir" && as_dir=.
16160 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16166 # We did not find ourselves, most probably we were run as `sh COMMAND'
16167 # in which case we are not to be found in the path.
16168 if test "x$as_myself" = x
; then
16171 if test ! -f "$as_myself"; then
16172 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16176 # Unset variables that we do not need and which cause bugs (e.g. in
16177 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16178 # suppresses any "Segmentation fault" message there. '((' could
16179 # trigger a bug in pdksh 5.2.14.
16180 for as_var
in BASH_ENV ENV MAIL MAILPATH
16181 do eval test x\
${$as_var+set} = xset \
16182 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16195 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16198 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16199 # ----------------------------------------
16200 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16201 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16202 # script with STATUS, using 1 if that was 0.
16205 as_status
=$1; test $as_status -eq 0 && as_status
=1
16207 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16208 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16210 $as_echo "$as_me: error: $2" >&2
16211 as_fn_exit
$as_status
16215 # as_fn_set_status STATUS
16216 # -----------------------
16217 # Set $? to STATUS, without forking.
16218 as_fn_set_status
()
16221 } # as_fn_set_status
16223 # as_fn_exit STATUS
16224 # -----------------
16225 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16229 as_fn_set_status
$1
16235 # Portably unset VAR.
16238 { eval $1=; unset $1;}
16240 as_unset
=as_fn_unset
16241 # as_fn_append VAR VALUE
16242 # ----------------------
16243 # Append the text in VALUE to the end of the definition contained in VAR. Take
16244 # advantage of any shell optimizations that allow amortized linear growth over
16245 # repeated appends, instead of the typical quadratic growth present in naive
16247 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16248 eval 'as_fn_append ()
16259 # as_fn_arith ARG...
16260 # ------------------
16261 # Perform arithmetic evaluation on the ARGs, and store the result in the
16262 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16263 # must be portable across $(()) and expr.
16264 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16265 eval 'as_fn_arith ()
16272 as_val
=`expr "$@" || test $? -eq 1`
16277 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16278 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16284 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16285 as_basename
=basename
16290 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16296 as_me
=`$as_basename -- "$0" ||
16297 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16298 X"$0" : 'X\(//\)$' \| \
16299 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16301 sed '/^.*\/\([^/][^/]*\)\/*$/{
16315 # Avoid depending upon Character Ranges.
16316 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16317 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16318 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16319 as_cr_digits
='0123456789'
16320 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16322 ECHO_C
= ECHO_N
= ECHO_T
=
16323 case `echo -n x` in #(((((
16325 case `echo 'xy\c'` in
16326 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16328 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16335 rm -f conf$$ conf$$.exe conf$$.
file
16336 if test -d conf$$.dir
; then
16337 rm -f conf$$.dir
/conf$$.
file
16340 mkdir conf$$.dir
2>/dev
/null
16342 if (echo >conf$$.
file) 2>/dev
/null
; then
16343 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16345 # ... but there are two gotchas:
16346 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16347 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16348 # In both cases, we have to default to `cp -pR'.
16349 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16351 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16359 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16360 rmdir conf$$.dir
2>/dev
/null
16365 # Create "$as_dir" as a directory, including parents if necessary.
16370 -*) as_dir
=.
/$as_dir;;
16372 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16376 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16377 *) as_qdir
=$as_dir;;
16379 as_dirs
="'$as_qdir' $as_dirs"
16380 as_dir
=`$as_dirname -- "$as_dir" ||
16381 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16382 X"$as_dir" : 'X\(//\)[^/]' \| \
16383 X"$as_dir" : 'X\(//\)$' \| \
16384 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16385 $as_echo X"$as_dir" |
16386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16390 /^X\(\/\/\)[^/].*/{
16403 test -d "$as_dir" && break
16405 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16406 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16410 if mkdir
-p .
2>/dev
/null
; then
16411 as_mkdir_p
='mkdir -p "$as_dir"'
16413 test -d .
/-p && rmdir .
/-p
16418 # as_fn_executable_p FILE
16419 # -----------------------
16420 # Test if FILE is an executable regular file.
16421 as_fn_executable_p
()
16423 test -f "$1" && test -x "$1"
16424 } # as_fn_executable_p
16425 as_test_x
='test -x'
16426 as_executable_p
=as_fn_executable_p
16428 # Sed expression to map a string onto a valid CPP name.
16429 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16431 # Sed expression to map a string onto a valid variable name.
16432 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16436 ## ----------------------------------- ##
16437 ## Main body of $CONFIG_STATUS script. ##
16438 ## ----------------------------------- ##
16440 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16442 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16443 # Save the log message, to keep $0 and so on meaningful, and to
16444 # report actual input values of CONFIG_FILES etc. instead of their
16445 # values after options handling.
16447 This file was extended by Wine $as_me 1.5.10, which was
16448 generated by GNU Autoconf 2.69. Invocation command line was
16450 CONFIG_FILES = $CONFIG_FILES
16451 CONFIG_HEADERS = $CONFIG_HEADERS
16452 CONFIG_LINKS = $CONFIG_LINKS
16453 CONFIG_COMMANDS = $CONFIG_COMMANDS
16456 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16461 case $ac_config_files in *"
16462 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16465 case $ac_config_headers in *"
16466 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16470 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16471 # Files that config.status was made for.
16472 config_files="$ac_config_files"
16473 config_headers="$ac_config_headers"
16474 config_links="$ac_config_links"
16475 config_commands="$ac_config_commands"
16479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16481 \`$as_me' instantiates files and other configuration actions
16482 from templates according to the current configuration. Unless the files
16483 and actions are specified as TAGs, all are instantiated by default.
16485 Usage: $0 [OPTION]... [TAG]...
16487 -h, --help print this help, then exit
16488 -V, --version print version number and configuration settings, then exit
16489 --config print configuration, then exit
16490 -q, --quiet, --silent
16491 do not print progress messages
16492 -d, --debug don't remove temporary files
16493 --recheck update $as_me by reconfiguring in the same conditions
16494 --file=FILE[:TEMPLATE]
16495 instantiate the configuration file FILE
16496 --header=FILE[:TEMPLATE]
16497 instantiate the configuration header FILE
16499 Configuration files:
16502 Configuration headers:
16505 Configuration links:
16508 Configuration commands:
16511 Report bugs to <wine-devel@winehq.org>.
16512 Wine home page: <http://www.winehq.org>."
16515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16516 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16518 Wine config.status 1.5.10
16519 configured by $0, generated by GNU Autoconf 2.69,
16520 with options \\"\$ac_cs_config\\"
16522 Copyright (C) 2012 Free Software Foundation, Inc.
16523 This config.status script is free software; the Free Software Foundation
16524 gives unlimited permission to copy, distribute and modify it."
16529 test -n "\$AWK" || AWK=awk
16532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16533 # The default lists apply if the user does not specify any file.
16539 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16540 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16544 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16556 # Handling of the options.
16557 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16559 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16560 $as_echo "$ac_cs_version"; exit ;;
16561 --config |
--confi |
--conf |
--con |
--co |
--c )
16562 $as_echo "$ac_cs_config"; exit ;;
16563 --debug |
--debu |
--deb |
--de |
--d |
-d )
16565 --file |
--fil |
--fi |
--f )
16568 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16569 '') as_fn_error $?
"missing file argument" ;;
16571 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16572 ac_need_defaults
=false
;;
16573 --header |
--heade |
--head |
--hea )
16576 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16578 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16579 ac_need_defaults
=false
;;
16581 # Conflict between --help and --header
16582 as_fn_error $?
"ambiguous option: \`$1'
16583 Try \`$0 --help' for more information.";;
16584 --help |
--hel |
-h )
16585 $as_echo "$ac_cs_usage"; exit ;;
16586 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16587 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16590 # This is an error.
16591 -*) as_fn_error $?
"unrecognized option: \`$1'
16592 Try \`$0 --help' for more information." ;;
16594 *) as_fn_append ac_config_targets
" $1"
16595 ac_need_defaults
=false
;;
16601 ac_configure_extra_args
=
16603 if $ac_cs_silent; then
16605 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16610 if \$ac_cs_recheck; then
16611 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16613 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16614 CONFIG_SHELL='$SHELL'
16615 export CONFIG_SHELL
16620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16624 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16625 ## Running $as_me. ##
16631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16635 wine_fn_output_makefile ()
16637 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16638 $ALL_MAKEFILE_DEPENDS
16640 as_fn_error $? "could not create Makefile" "$LINENO" 5
16645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16647 # Handling of arguments.
16648 for ac_config_target
in $ac_config_targets
16650 case $ac_config_target in
16651 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
16652 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
16653 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16654 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16655 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16656 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16657 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16658 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16659 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
16660 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16661 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
16662 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
16663 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
16664 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16665 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16666 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16667 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
16668 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16669 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
16670 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
16671 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
16672 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
16673 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16674 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
16675 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
16676 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16678 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16683 # If the user did not use the arguments to specify the items to instantiate,
16684 # then the envvar interface is used. Set only those that are not.
16685 # We use the long form for the default assignment because of an extremely
16686 # bizarre bug on SunOS 4.1.3.
16687 if $ac_need_defaults; then
16688 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16689 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16690 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
16691 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16694 # Have a temporary directory for convenience. Make it in the build tree
16695 # simply because there is no reason against having it here, and in addition,
16696 # creating and moving files from /tmp can sometimes cause problems.
16697 # Hook for its removal unless debugging.
16698 # Note that there is a small window in which the directory will not be cleaned:
16699 # after its creation but before its name has been assigned to `$tmp'.
16703 trap 'exit_status=$?
16704 : "${ac_tmp:=$tmp}"
16705 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16707 trap 'as_fn_exit 1' 1 2 13 15
16709 # Create a (secure) tmp directory for tmp files.
16712 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16716 tmp
=.
/conf$$
-$RANDOM
16717 (umask 077 && mkdir
"$tmp")
16718 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16721 # Set up the scripts for CONFIG_FILES section.
16722 # No need to generate them if there are no CONFIG_FILES.
16723 # This happens for instance with `./config.status config.h'.
16724 if test -n "$CONFIG_FILES"; then
16726 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16727 ac_cs_awk_getline
=:
16728 ac_cs_awk_pipe_init
=
16729 ac_cs_awk_read_file
='
16730 while ((getline aline < (F[key])) > 0)
16733 ac_cs_awk_pipe_fini
=
16735 ac_cs_awk_getline
=false
16736 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16737 ac_cs_awk_read_file
='
16739 print "cat " F[key] " &&"
16740 '$ac_cs_awk_pipe_init
16741 # The final `:' finishes the AND list.
16742 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16744 ac_cr
=`echo X | tr X '\015'`
16745 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16746 # But we know of no other shell where ac_cr would be empty at this
16747 # point, so we can use a bashism as a fallback.
16748 if test "x$ac_cr" = x
; then
16749 eval ac_cr
=\$
\'\\r
\'
16751 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16752 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16755 ac_cs_awk_cr
=$ac_cr
16758 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16761 # Create commands to substitute file output variables.
16763 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16764 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16765 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16768 } >conf$
$files.sh
&&
16769 . .
/conf$
$files.sh ||
16770 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16771 rm -f conf$
$files.sh
16774 echo "cat >conf$$subs.awk <<_ACEOF" &&
16775 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16777 } >conf$$subs.sh ||
16778 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16779 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16781 for ac_last_try in false false false false false :; do
16782 . ./conf$$subs.sh ||
16783 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16785 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16786 if test $ac_delim_n = $ac_delim_num; then
16788 elif $ac_last_try; then
16789 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16791 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16794 rm -f conf$$subs.sh
16796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16797 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16801 s/^/S["/; s
/!.
*/"]=/
16811 s/\(.\{148\}\)..*/\1/
16813 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16818 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16825 s/\(.\{148\}\)..*/\1/
16827 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16831 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16836 ' <conf$$subs.awk | sed '
16841 ' >>$CONFIG_STATUS || ac_write_fail=1
16842 rm -f conf$$subs.awk
16843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16845 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16846 for (key in S) S_is_set[key] = 1
16848 \$ac_cs_awk_pipe_init
16852 nfields = split(line, field, "@
")
16854 len = length(field[1])
16855 for (i = 2; i < nfields; i++) {
16857 keylen = length(key)
16858 if (S_is_set[key]) {
16860 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16861 len += length(value) + length(field[++i])
16866 if (nfields == 3 && !substed) {
16868 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16869 \$ac_cs_awk_read_file
16875 \$ac_cs_awk_pipe_fini
16878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16879 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16880 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16883 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16884 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16887 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16888 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16889 # trailing colons and then remove the whole line if VPATH becomes empty
16890 # (actually we leave an empty line to preserve line numbers).
16891 if test "x
$srcdir" = x.; then
16892 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16910 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16911 fi # test -n "$CONFIG_FILES"
16913 # Set up the scripts for CONFIG_HEADERS section.
16914 # No need to generate them if there are no CONFIG_HEADERS.
16915 # This happens for instance with `./config.status Makefile'.
16916 if test -n "$CONFIG_HEADERS"; then
16917 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16921 # Transform confdefs.h into an awk script `defines.awk', embedded as
16922 # here-document in config.status, that substitutes the proper values into
16923 # config.h.in to produce config.h.
16925 # Create a delimiter string that does not exist in confdefs.h, to ease
16926 # handling of long lines.
16928 for ac_last_try in false false :; do
16929 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16930 if test -z "$ac_tt"; then
16932 elif $ac_last_try; then
16933 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16935 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16939 # For the awk script, D is an array of macro values keyed by name,
16940 # likewise P contains macro parameters if any. Preserve backslash
16941 # newline sequences.
16943 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16945 s/.\{148\}/&'"$ac_delim"'/g
16948 s/^[ ]*#[ ]*define[ ][ ]*/ /
16955 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16957 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16961 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16962 D["\
1"]=" \
3\\\\\\n
"\\/p
16964 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16969 s/.\{148\}/&'"$ac_delim"'/g
16974 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16977 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16979 ' <confdefs.h | sed '
16980 s/'"$ac_delim"'/"\\\
16981 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16983 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16984 for (key in D) D_is_set[key] = 1
16987 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16989 split(line, arg, " ")
16990 if (arg[1] == "#") {
16994 defundef
= substr
(arg
[1], 2)
16997 split(mac1
, mac2
, "(") #)
16999 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17000 if (D_is_set
[macro
]) {
17001 # Preserve the white space surrounding the "#".
17002 print prefix
"define", macro P
[macro
] D
[macro
]
17005 # Replace #undef with comments. This is necessary, for example,
17006 # in the case of _POSIX_SOURCE, which is predefined and required
17007 # on some systems where configure will not decide to define it.
17008 if (defundef
== "undef") {
17009 print
"/*", prefix defundef
, macro
, "*/"
17017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17018 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17019 fi # test -n "$CONFIG_HEADERS"
17022 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17027 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17029 case $ac_mode$ac_tag in
17031 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17032 :[FH
]-) ac_tag
=-:-;;
17033 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17050 -) ac_f
="$ac_tmp/stdin";;
17051 *) # Look for the file first in the build tree, then in the source tree
17052 # (if the path is not absolute). The absolute path cannot be DOS-style,
17053 # because $ac_f cannot contain `:'.
17057 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17059 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17061 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17062 as_fn_append ac_file_inputs
" '$ac_f'"
17065 # Let's still pretend it is `configure' which instantiates (i.e., don't
17066 # use $as_me), people would be surprised to read:
17067 # /* config.h. Generated by config.status. */
17068 configure_input
='Generated from '`
17069 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17071 if test x
"$ac_file" != x-
; then
17072 configure_input
="$ac_file. $configure_input"
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17074 $as_echo "$as_me: creating $ac_file" >&6;}
17076 # Neutralize special characters interpreted by sed in replacement strings.
17077 case $configure_input in #(
17078 *\
&* |
*\|
* |
*\\* )
17079 ac_sed_conf_input
=`$as_echo "$configure_input" |
17080 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17081 *) ac_sed_conf_input
=$configure_input;;
17085 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17086 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17091 ac_dir
=`$as_dirname -- "$ac_file" ||
17092 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17093 X"$ac_file" : 'X\(//\)[^/]' \| \
17094 X"$ac_file" : 'X\(//\)$' \| \
17095 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17096 $as_echo X"$ac_file" |
17097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17101 /^X\(\/\/\)[^/].*/{
17114 as_dir
="$ac_dir"; as_fn_mkdir_p
17118 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17120 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17121 # A ".." for each directory in $ac_dir_suffix.
17122 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17123 case $ac_top_builddir_sub in
17124 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17125 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17128 ac_abs_top_builddir
=$ac_pwd
17129 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17130 # for backward compatibility:
17131 ac_top_builddir
=$ac_top_build_prefix
17134 .
) # We are building in place.
17136 ac_top_srcdir
=$ac_top_builddir_sub
17137 ac_abs_top_srcdir
=$ac_pwd ;;
17138 [\\/]* | ?
:[\\/]* ) # Absolute name.
17139 ac_srcdir
=$srcdir$ac_dir_suffix;
17140 ac_top_srcdir
=$srcdir
17141 ac_abs_top_srcdir
=$srcdir ;;
17142 *) # Relative name.
17143 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17144 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17145 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17147 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17157 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17158 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17163 # If the template does not know about datarootdir, expand it.
17164 # FIXME: This hack should be removed a few years after 2.60.
17165 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17176 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17177 *datarootdir
*) ac_datarootdir_seen
=yes;;
17178 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17180 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17182 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17183 ac_datarootdir_hack='
17184 s&@datadir@&$datadir&g
17185 s&@docdir@&$docdir&g
17186 s&@infodir@&$infodir&g
17187 s&@localedir@&$localedir&g
17188 s&@mandir@&$mandir&g
17189 s&\\\${datarootdir}&$datarootdir&g' ;;
17193 # Neutralize VPATH when `$srcdir' = `.'.
17194 # Shell code in configure.ac might set extrasub.
17195 # FIXME: do we really want to maintain this feature?
17196 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17197 ac_sed_extra="$ac_vpsub
17200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17202 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17203 s|@configure_input@|
$ac_sed_conf_input|
;t t
17204 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17205 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17206 s
&@srcdir@
&$ac_srcdir&;t t
17207 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17208 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17209 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17210 s
&@builddir@
&$ac_builddir&;t t
17211 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17212 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17213 s
&@INSTALL@
&$ac_INSTALL&;t t
17214 $ac_datarootdir_hack
17216 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17217 if $ac_cs_awk_getline; then
17218 $AWK -f "$ac_tmp/subs.
awk"
17220 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
17222 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17224 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17225 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17226 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17227 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17229 which seems to be undefined. Please make sure it is defined" >&5
17230 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17231 which seems to be undefined. Please make sure it is defined" >&2;}
17233 rm -f "$ac_tmp/stdin"
17235 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17236 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17238 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17244 if test x"$ac_file" != x-; then
17246 $as_echo "/* $configure_input */" \
17247 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17248 } >"$ac_tmp/config.h" \
17249 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17250 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17252 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17255 mv "$ac_tmp/config.h" "$ac_file" \
17256 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17259 $as_echo "/* $configure_input */" \
17260 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17261 || as_fn_error $? "could not create -" "$LINENO" 5
17269 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
17272 # Prefer the file from the source tree if names are identical.
17273 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
17274 ac_source=$srcdir/$ac_source
17277 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17278 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17280 if test ! -r "$ac_source"; then
17281 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17285 # Try a relative symlink, then a hard link, then a copy.
17287 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17288 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17290 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17291 ln "$ac_source" "$ac_file" 2>/dev/null ||
17292 cp -p "$ac_source" "$ac_file" ||
17293 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17296 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17297 $as_echo "$as_me: executing $ac_file commands" >&6;}
17302 case $ac_file$ac_mode in
17303 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17304 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17305 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17306 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17307 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17308 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17309 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17310 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17311 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17312 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17313 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17314 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17315 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17316 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17317 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17318 "Makefile":C) wine_fn_output_makefile Makefile ;;
17326 ac_clean_files=$ac_clean_files_save
17328 test $ac_write_fail = 0 ||
17329 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17332 # configure is writing to config.log, and then calls config.status.
17333 # config.status does its own redirection, appending to config.log.
17334 # Unfortunately, on DOS this fails, as config.log is still kept open
17335 # by configure, so config.status won't be able to
write to it
; its
17336 # output is simply discarded. So we exec the FD to /dev/null,
17337 # effectively closing config.log, so it can be properly (re)opened and
17338 # appended to by config.status. When coming back to configure, we
17339 # need to make the FD available again.
17340 if test "$no_create" != yes; then
17342 ac_config_status_args
=
17343 test "$silent" = yes &&
17344 ac_config_status_args
="$ac_config_status_args --quiet"
17346 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17348 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17349 # would make configure fail if this is the last instruction.
17350 $ac_cs_success || as_fn_exit
1
17352 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17354 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17358 if test "$no_create" = "yes"
17364 if test "x$wine_notices != "x
; then
17367 for msg
in $wine_notices; do
17369 if test -n "$msg"; then
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17371 $as_echo "$as_me: $msg" >&6;}
17376 for msg
in $wine_warnings; do
17378 if test -n "$msg"; then
17380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17381 $as_echo "$as_me: WARNING: $msg" >&2;}
17387 $as_me: Finished. Do '${ac_make}' to compile Wine.