jscript: Fix MSVC build.
[wine.git] / configure
blob456304b4e684901d3a458f43125c953f316598af
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.9.
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 :
20 emulate sh
21 NULLCMD=:
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+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
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
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
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'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
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.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
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
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
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 || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
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.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
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
158 as_fn_exit 255
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 :
164 emulate sh
165 NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
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; }
185 exitcode=0
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 :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || 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 :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
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 :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
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
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
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.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
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
259 exit 255
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."
268 else
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."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
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 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
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
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
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 :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
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.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
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
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
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. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
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).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
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
525 as_ln_s='ln -s'
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 ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
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"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
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
561 exec 6>&1
563 # Name of the host.
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`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='3.9'
584 PACKAGE_STRING='Wine 3.9'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 VKD3D_LIBS
640 VKD3D_CFLAGS
641 NETAPI_LIBS
642 NETAPI_CFLAGS
643 PROCSTAT_LIBS
644 KSTAT_LIBS
645 MPG123_LIBS
646 MPG123_CFLAGS
647 TIFF_LIBS
648 TIFF_CFLAGS
649 PNG_LIBS
650 PNG_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UDEV_LIBS
666 UDEV_CFLAGS
667 OSS4_CFLAGS
668 ALSA_LIBS
669 GSTREAMER_LIBS
670 GSTREAMER_CFLAGS
671 PULSE_LIBS
672 PULSE_CFLAGS
673 GETTEXTPO_LIBS
674 Z_LIBS
675 FREETYPE_LIBS
676 FREETYPE_CFLAGS
677 LCMS2_LIBS
678 LCMS2_CFLAGS
679 RESOLV_LIBS
680 GPHOTO2_PORT_LIBS
681 GPHOTO2_PORT_CFLAGS
682 GPHOTO2_LIBS
683 GPHOTO2_CFLAGS
684 SANE_LIBS
685 SANE_CFLAGS
686 GNUTLS_LIBS
687 GNUTLS_CFLAGS
688 HAL_LIBS
689 HAL_CFLAGS
690 DBUS_LIBS
691 DBUS_CFLAGS
692 XSLT_LIBS
693 XSLT_CFLAGS
694 XML2_LIBS
695 XML2_CFLAGS
696 PCAP_LIBS
697 X_EXTRA_LIBS
698 X_LIBS
699 X_PRE_LIBS
700 X_CFLAGS
701 XMKMF
702 PTHREAD_LIBS
703 CROSSCFLAGS
704 CROSSCC
705 CROSSTARGET
706 PRELINK
707 WINELOADER_DEPENDS
708 CARBON_LIBS
709 QUICKTIME_LIBS
710 OPENCL_LIBS
711 OPENAL_LIBS
712 COREAUDIO_LIBS
713 SECURITY_LIBS
714 DISKARBITRATION_LIBS
715 APPKIT_LIBS
716 CORESERVICES_LIBS
717 APPLICATIONSERVICES_LIBS
718 FORCEFEEDBACK_LIBS
719 IOKIT_LIBS
720 COREFOUNDATION_LIBS
721 LIBWINE_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_INSTALL_DEV
724 LIBWINE_INSTALL_LIB
725 LIBWINE_IMPORTLIB
726 LIBWINE_SHAREDLIB
727 SOCKET_LIBS
728 DLLTOOL
729 WINELOADER_PROGRAMS
730 CONFIGURE_TARGETS
731 DISABLED_SUBDIRS
732 SUBDIRS
733 READELF
734 OTOOL
736 WINELOADER_LDFLAGS
737 LDEXECFLAGS
738 LDRPATH_LOCAL
739 LDRPATH_INSTALL
740 DLLFLAGS
742 OPENGL_LIBS
743 ICOTOOL
744 CONVERT
745 RSVG
746 FONTFORGE
747 PKG_CONFIG
748 MSGFMT
749 LDCONFIG
750 EGREP
751 GREP
752 LN_S
753 RANLIB
754 ARFLAGS
755 STRIP
756 ac_ct_AR
758 BISON
759 FLEX
760 TOOLSDIR
761 wine64_disable
762 TARGETFLAGS
764 CPPBIN
765 ac_ct_CXX
766 CXXFLAGS
768 OBJEXT
769 EXEEXT
770 ac_ct_CC
771 CPPFLAGS
772 LDFLAGS
773 CFLAGS
775 SET_MAKE
776 host_os
777 host_vendor
778 host_cpu
779 host
780 build_os
781 build_vendor
782 build_cpu
783 build
784 target_alias
785 host_alias
786 build_alias
787 LIBS
788 ECHO_T
789 ECHO_N
790 ECHO_C
791 DEFS
792 mandir
793 localedir
794 libdir
795 psdir
796 pdfdir
797 dvidir
798 htmldir
799 infodir
800 docdir
801 oldincludedir
802 includedir
803 runstatedir
804 localstatedir
805 sharedstatedir
806 sysconfdir
807 datadir
808 datarootdir
809 libexecdir
810 sbindir
811 bindir
812 program_transform_name
813 prefix
814 exec_prefix
815 PACKAGE_URL
816 PACKAGE_BUGREPORT
817 PACKAGE_STRING
818 PACKAGE_VERSION
819 PACKAGE_TARNAME
820 PACKAGE_NAME
821 PATH_SEPARATOR
822 SHELL'
823 ac_subst_files=''
824 ac_user_opts='
825 enable_option_checking
826 enable_win16
827 enable_win64
828 enable_tests
829 enable_maintainer_mode
830 with_alsa
831 with_capi
832 with_cms
833 with_coreaudio
834 with_cups
835 with_curses
836 with_dbus
837 with_float_abi
838 with_fontconfig
839 with_freetype
840 with_gettext
841 with_gettextpo
842 with_gphoto
843 with_glu
844 with_gnutls
845 with_gsm
846 with_gssapi
847 with_gstreamer
848 with_hal
849 with_jpeg
850 with_krb5
851 with_ldap
852 with_mpg123
853 with_netapi
854 with_openal
855 with_opencl
856 with_opengl
857 with_osmesa
858 with_oss
859 with_pcap
860 with_png
861 with_pthread
862 with_pulse
863 with_sane
864 with_sdl
865 with_tiff
866 with_udev
867 with_v4l
868 with_vkd3d
869 with_vulkan
870 with_xcomposite
871 with_xcursor
872 with_xfixes
873 with_xinerama
874 with_xinput
875 with_xinput2
876 with_xml
877 with_xrandr
878 with_xrender
879 with_xshape
880 with_xshm
881 with_xslt
882 with_xxf86vm
883 with_zlib
884 with_wine_tools
885 with_wine64
886 enable_largefile
887 with_x
888 enable_acledit
889 enable_aclui
890 enable_activeds
891 enable_actxprxy
892 enable_adsiid
893 enable_adsldp
894 enable_adsldpc
895 enable_advapi32
896 enable_advpack
897 enable_amstream
898 enable_api_ms_win_appmodel_identity_l1_1_0
899 enable_api_ms_win_appmodel_runtime_l1_1_1
900 enable_api_ms_win_appmodel_runtime_l1_1_2
901 enable_api_ms_win_core_apiquery_l1_1_0
902 enable_api_ms_win_core_appcompat_l1_1_1
903 enable_api_ms_win_core_appinit_l1_1_0
904 enable_api_ms_win_core_atoms_l1_1_0
905 enable_api_ms_win_core_bem_l1_1_0
906 enable_api_ms_win_core_com_l1_1_0
907 enable_api_ms_win_core_com_l1_1_1
908 enable_api_ms_win_core_com_private_l1_1_0
909 enable_api_ms_win_core_console_l1_1_0
910 enable_api_ms_win_core_console_l2_1_0
911 enable_api_ms_win_core_crt_l1_1_0
912 enable_api_ms_win_core_crt_l2_1_0
913 enable_api_ms_win_core_datetime_l1_1_0
914 enable_api_ms_win_core_datetime_l1_1_1
915 enable_api_ms_win_core_debug_l1_1_0
916 enable_api_ms_win_core_debug_l1_1_1
917 enable_api_ms_win_core_delayload_l1_1_0
918 enable_api_ms_win_core_delayload_l1_1_1
919 enable_api_ms_win_core_errorhandling_l1_1_0
920 enable_api_ms_win_core_errorhandling_l1_1_1
921 enable_api_ms_win_core_errorhandling_l1_1_2
922 enable_api_ms_win_core_errorhandling_l1_1_3
923 enable_api_ms_win_core_fibers_l1_1_0
924 enable_api_ms_win_core_fibers_l1_1_1
925 enable_api_ms_win_core_file_l1_1_0
926 enable_api_ms_win_core_file_l1_2_0
927 enable_api_ms_win_core_file_l1_2_1
928 enable_api_ms_win_core_file_l1_2_2
929 enable_api_ms_win_core_file_l2_1_0
930 enable_api_ms_win_core_file_l2_1_1
931 enable_api_ms_win_core_file_l2_1_2
932 enable_api_ms_win_core_handle_l1_1_0
933 enable_api_ms_win_core_heap_l1_1_0
934 enable_api_ms_win_core_heap_l1_2_0
935 enable_api_ms_win_core_heap_l2_1_0
936 enable_api_ms_win_core_heap_obsolete_l1_1_0
937 enable_api_ms_win_core_interlocked_l1_1_0
938 enable_api_ms_win_core_interlocked_l1_2_0
939 enable_api_ms_win_core_io_l1_1_0
940 enable_api_ms_win_core_io_l1_1_1
941 enable_api_ms_win_core_job_l1_1_0
942 enable_api_ms_win_core_job_l2_1_0
943 enable_api_ms_win_core_kernel32_legacy_l1_1_0
944 enable_api_ms_win_core_kernel32_legacy_l1_1_1
945 enable_api_ms_win_core_kernel32_private_l1_1_1
946 enable_api_ms_win_core_largeinteger_l1_1_0
947 enable_api_ms_win_core_libraryloader_l1_1_0
948 enable_api_ms_win_core_libraryloader_l1_1_1
949 enable_api_ms_win_core_libraryloader_l1_2_0
950 enable_api_ms_win_core_libraryloader_l1_2_1
951 enable_api_ms_win_core_libraryloader_l1_2_2
952 enable_api_ms_win_core_localization_l1_1_0
953 enable_api_ms_win_core_localization_l1_2_0
954 enable_api_ms_win_core_localization_l1_2_1
955 enable_api_ms_win_core_localization_l2_1_0
956 enable_api_ms_win_core_localization_obsolete_l1_1_0
957 enable_api_ms_win_core_localization_obsolete_l1_2_0
958 enable_api_ms_win_core_localization_obsolete_l1_3_0
959 enable_api_ms_win_core_localization_private_l1_1_0
960 enable_api_ms_win_core_localregistry_l1_1_0
961 enable_api_ms_win_core_memory_l1_1_0
962 enable_api_ms_win_core_memory_l1_1_1
963 enable_api_ms_win_core_memory_l1_1_2
964 enable_api_ms_win_core_misc_l1_1_0
965 enable_api_ms_win_core_namedpipe_l1_1_0
966 enable_api_ms_win_core_namedpipe_l1_2_0
967 enable_api_ms_win_core_namespace_l1_1_0
968 enable_api_ms_win_core_normalization_l1_1_0
969 enable_api_ms_win_core_path_l1_1_0
970 enable_api_ms_win_core_privateprofile_l1_1_1
971 enable_api_ms_win_core_processenvironment_l1_1_0
972 enable_api_ms_win_core_processenvironment_l1_2_0
973 enable_api_ms_win_core_processthreads_l1_1_0
974 enable_api_ms_win_core_processthreads_l1_1_1
975 enable_api_ms_win_core_processthreads_l1_1_2
976 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
977 enable_api_ms_win_core_profile_l1_1_0
978 enable_api_ms_win_core_psapi_ansi_l1_1_0
979 enable_api_ms_win_core_psapi_l1_1_0
980 enable_api_ms_win_core_psapi_obsolete_l1_1_0
981 enable_api_ms_win_core_quirks_l1_1_0
982 enable_api_ms_win_core_realtime_l1_1_0
983 enable_api_ms_win_core_registry_l1_1_0
984 enable_api_ms_win_core_registry_l2_1_0
985 enable_api_ms_win_core_registryuserspecific_l1_1_0
986 enable_api_ms_win_core_rtlsupport_l1_1_0
987 enable_api_ms_win_core_rtlsupport_l1_2_0
988 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
989 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
990 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
991 enable_api_ms_win_core_shutdown_l1_1_0
992 enable_api_ms_win_core_sidebyside_l1_1_0
993 enable_api_ms_win_core_string_l1_1_0
994 enable_api_ms_win_core_string_l2_1_0
995 enable_api_ms_win_core_string_obsolete_l1_1_0
996 enable_api_ms_win_core_stringansi_l1_1_0
997 enable_api_ms_win_core_synch_ansi_l1_1_0
998 enable_api_ms_win_core_synch_l1_1_0
999 enable_api_ms_win_core_synch_l1_2_0
1000 enable_api_ms_win_core_synch_l1_2_1
1001 enable_api_ms_win_core_sysinfo_l1_1_0
1002 enable_api_ms_win_core_sysinfo_l1_2_0
1003 enable_api_ms_win_core_sysinfo_l1_2_1
1004 enable_api_ms_win_core_threadpool_l1_1_0
1005 enable_api_ms_win_core_threadpool_l1_2_0
1006 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1007 enable_api_ms_win_core_threadpool_private_l1_1_0
1008 enable_api_ms_win_core_timezone_l1_1_0
1009 enable_api_ms_win_core_toolhelp_l1_1_0
1010 enable_api_ms_win_core_url_l1_1_0
1011 enable_api_ms_win_core_util_l1_1_0
1012 enable_api_ms_win_core_version_l1_1_0
1013 enable_api_ms_win_core_version_l1_1_1
1014 enable_api_ms_win_core_version_private_l1_1_0
1015 enable_api_ms_win_core_versionansi_l1_1_0
1016 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1017 enable_api_ms_win_core_winrt_error_l1_1_0
1018 enable_api_ms_win_core_winrt_error_l1_1_1
1019 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1020 enable_api_ms_win_core_winrt_l1_1_0
1021 enable_api_ms_win_core_winrt_registration_l1_1_0
1022 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1023 enable_api_ms_win_core_winrt_string_l1_1_0
1024 enable_api_ms_win_core_wow64_l1_1_0
1025 enable_api_ms_win_core_wow64_l1_1_1
1026 enable_api_ms_win_core_xstate_l1_1_0
1027 enable_api_ms_win_core_xstate_l2_1_0
1028 enable_api_ms_win_crt_conio_l1_1_0
1029 enable_api_ms_win_crt_convert_l1_1_0
1030 enable_api_ms_win_crt_environment_l1_1_0
1031 enable_api_ms_win_crt_filesystem_l1_1_0
1032 enable_api_ms_win_crt_heap_l1_1_0
1033 enable_api_ms_win_crt_locale_l1_1_0
1034 enable_api_ms_win_crt_math_l1_1_0
1035 enable_api_ms_win_crt_multibyte_l1_1_0
1036 enable_api_ms_win_crt_private_l1_1_0
1037 enable_api_ms_win_crt_process_l1_1_0
1038 enable_api_ms_win_crt_runtime_l1_1_0
1039 enable_api_ms_win_crt_stdio_l1_1_0
1040 enable_api_ms_win_crt_string_l1_1_0
1041 enable_api_ms_win_crt_time_l1_1_0
1042 enable_api_ms_win_crt_utility_l1_1_0
1043 enable_api_ms_win_devices_config_l1_1_1
1044 enable_api_ms_win_devices_query_l1_1_1
1045 enable_api_ms_win_downlevel_advapi32_l1_1_0
1046 enable_api_ms_win_downlevel_advapi32_l2_1_0
1047 enable_api_ms_win_downlevel_normaliz_l1_1_0
1048 enable_api_ms_win_downlevel_ole32_l1_1_0
1049 enable_api_ms_win_downlevel_shell32_l1_1_0
1050 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1051 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1052 enable_api_ms_win_downlevel_user32_l1_1_0
1053 enable_api_ms_win_downlevel_version_l1_1_0
1054 enable_api_ms_win_dx_d3dkmt_l1_1_0
1055 enable_api_ms_win_eventing_classicprovider_l1_1_0
1056 enable_api_ms_win_eventing_consumer_l1_1_0
1057 enable_api_ms_win_eventing_controller_l1_1_0
1058 enable_api_ms_win_eventing_legacy_l1_1_0
1059 enable_api_ms_win_eventing_provider_l1_1_0
1060 enable_api_ms_win_eventlog_legacy_l1_1_0
1061 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1062 enable_api_ms_win_mm_joystick_l1_1_0
1063 enable_api_ms_win_mm_misc_l1_1_1
1064 enable_api_ms_win_mm_mme_l1_1_0
1065 enable_api_ms_win_mm_time_l1_1_0
1066 enable_api_ms_win_ntuser_dc_access_l1_1_0
1067 enable_api_ms_win_ntuser_rectangle_l1_1_0
1068 enable_api_ms_win_perf_legacy_l1_1_0
1069 enable_api_ms_win_power_base_l1_1_0
1070 enable_api_ms_win_power_setting_l1_1_0
1071 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1072 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1073 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1074 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1075 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1076 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1077 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1078 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1079 enable_api_ms_win_security_audit_l1_1_1
1080 enable_api_ms_win_security_base_l1_1_0
1081 enable_api_ms_win_security_base_l1_2_0
1082 enable_api_ms_win_security_base_private_l1_1_1
1083 enable_api_ms_win_security_credentials_l1_1_0
1084 enable_api_ms_win_security_grouppolicy_l1_1_0
1085 enable_api_ms_win_security_lsalookup_l1_1_0
1086 enable_api_ms_win_security_lsalookup_l1_1_1
1087 enable_api_ms_win_security_lsalookup_l2_1_0
1088 enable_api_ms_win_security_lsalookup_l2_1_1
1089 enable_api_ms_win_security_lsapolicy_l1_1_0
1090 enable_api_ms_win_security_provider_l1_1_0
1091 enable_api_ms_win_security_sddl_l1_1_0
1092 enable_api_ms_win_security_systemfunctions_l1_1_0
1093 enable_api_ms_win_service_core_l1_1_0
1094 enable_api_ms_win_service_core_l1_1_1
1095 enable_api_ms_win_service_management_l1_1_0
1096 enable_api_ms_win_service_management_l2_1_0
1097 enable_api_ms_win_service_private_l1_1_1
1098 enable_api_ms_win_service_winsvc_l1_1_0
1099 enable_api_ms_win_service_winsvc_l1_2_0
1100 enable_api_ms_win_shcore_obsolete_l1_1_0
1101 enable_api_ms_win_shcore_scaling_l1_1_1
1102 enable_api_ms_win_shcore_stream_l1_1_0
1103 enable_api_ms_win_shcore_thread_l1_1_0
1104 enable_api_ms_win_shell_shellcom_l1_1_0
1105 enable_api_ms_win_shell_shellfolders_l1_1_0
1106 enable_apphelp
1107 enable_appwiz_cpl
1108 enable_atl
1109 enable_atl100
1110 enable_atl110
1111 enable_atl80
1112 enable_atl90
1113 enable_atmlib
1114 enable_authz
1115 enable_avicap32
1116 enable_avifil32
1117 enable_avrt
1118 enable_bcrypt
1119 enable_bluetoothapis
1120 enable_browseui
1121 enable_bthprops_cpl
1122 enable_cabinet
1123 enable_capi2032
1124 enable_cards
1125 enable_cdosys
1126 enable_cfgmgr32
1127 enable_clusapi
1128 enable_combase
1129 enable_comcat
1130 enable_comctl32
1131 enable_comdlg32
1132 enable_compstui
1133 enable_comsvcs
1134 enable_concrt140
1135 enable_connect
1136 enable_credui
1137 enable_crtdll
1138 enable_crypt32
1139 enable_cryptdlg
1140 enable_cryptdll
1141 enable_cryptext
1142 enable_cryptnet
1143 enable_cryptui
1144 enable_ctapi32
1145 enable_ctl3d32
1146 enable_d2d1
1147 enable_d3d10
1148 enable_d3d10_1
1149 enable_d3d10core
1150 enable_d3d11
1151 enable_d3d12
1152 enable_d3d8
1153 enable_d3d9
1154 enable_d3dcompiler_33
1155 enable_d3dcompiler_34
1156 enable_d3dcompiler_35
1157 enable_d3dcompiler_36
1158 enable_d3dcompiler_37
1159 enable_d3dcompiler_38
1160 enable_d3dcompiler_39
1161 enable_d3dcompiler_40
1162 enable_d3dcompiler_41
1163 enable_d3dcompiler_42
1164 enable_d3dcompiler_43
1165 enable_d3dcompiler_46
1166 enable_d3dcompiler_47
1167 enable_d3dim
1168 enable_d3drm
1169 enable_d3dx10_33
1170 enable_d3dx10_34
1171 enable_d3dx10_35
1172 enable_d3dx10_36
1173 enable_d3dx10_37
1174 enable_d3dx10_38
1175 enable_d3dx10_39
1176 enable_d3dx10_40
1177 enable_d3dx10_41
1178 enable_d3dx10_42
1179 enable_d3dx10_43
1180 enable_d3dx11_42
1181 enable_d3dx11_43
1182 enable_d3dx9_24
1183 enable_d3dx9_25
1184 enable_d3dx9_26
1185 enable_d3dx9_27
1186 enable_d3dx9_28
1187 enable_d3dx9_29
1188 enable_d3dx9_30
1189 enable_d3dx9_31
1190 enable_d3dx9_32
1191 enable_d3dx9_33
1192 enable_d3dx9_34
1193 enable_d3dx9_35
1194 enable_d3dx9_36
1195 enable_d3dx9_37
1196 enable_d3dx9_38
1197 enable_d3dx9_39
1198 enable_d3dx9_40
1199 enable_d3dx9_41
1200 enable_d3dx9_42
1201 enable_d3dx9_43
1202 enable_d3dxof
1203 enable_davclnt
1204 enable_dbgeng
1205 enable_dbghelp
1206 enable_dciman32
1207 enable_ddraw
1208 enable_ddrawex
1209 enable_devenum
1210 enable_dhcpcsvc
1211 enable_dhtmled_ocx
1212 enable_difxapi
1213 enable_dinput
1214 enable_dinput8
1215 enable_dispex
1216 enable_dmband
1217 enable_dmcompos
1218 enable_dmime
1219 enable_dmloader
1220 enable_dmoguids
1221 enable_dmscript
1222 enable_dmstyle
1223 enable_dmsynth
1224 enable_dmusic
1225 enable_dmusic32
1226 enable_dnsapi
1227 enable_dplay
1228 enable_dplayx
1229 enable_dpnaddr
1230 enable_dpnet
1231 enable_dpnhpast
1232 enable_dpnlobby
1233 enable_dpvoice
1234 enable_dpwsockx
1235 enable_drmclien
1236 enable_dsound
1237 enable_dsquery
1238 enable_dssenh
1239 enable_dswave
1240 enable_dwmapi
1241 enable_dwrite
1242 enable_dx8vb
1243 enable_dxdiagn
1244 enable_dxerr8
1245 enable_dxerr9
1246 enable_dxgi
1247 enable_dxguid
1248 enable_dxva2
1249 enable_esent
1250 enable_evr
1251 enable_explorerframe
1252 enable_ext_ms_win_authz_context_l1_1_0
1253 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1254 enable_ext_ms_win_dwmapi_ext_l1_1_0
1255 enable_ext_ms_win_gdi_dc_create_l1_1_1
1256 enable_ext_ms_win_gdi_dc_l1_2_0
1257 enable_ext_ms_win_gdi_devcaps_l1_1_0
1258 enable_ext_ms_win_gdi_draw_l1_1_1
1259 enable_ext_ms_win_gdi_render_l1_1_0
1260 enable_ext_ms_win_kernel32_package_current_l1_1_0
1261 enable_ext_ms_win_kernel32_package_l1_1_1
1262 enable_ext_ms_win_ntuser_draw_l1_1_0
1263 enable_ext_ms_win_ntuser_gui_l1_3_0
1264 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1265 enable_ext_ms_win_ntuser_message_l1_1_1
1266 enable_ext_ms_win_ntuser_misc_l1_5_1
1267 enable_ext_ms_win_ntuser_mouse_l1_1_0
1268 enable_ext_ms_win_ntuser_private_l1_1_1
1269 enable_ext_ms_win_ntuser_private_l1_3_1
1270 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1271 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1272 enable_ext_ms_win_ntuser_window_l1_1_1
1273 enable_ext_ms_win_ntuser_window_l1_1_4
1274 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1275 enable_ext_ms_win_oleacc_l1_1_0
1276 enable_ext_ms_win_ras_rasapi32_l1_1_0
1277 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1278 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1279 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1280 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1281 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1282 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1283 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1284 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1285 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1286 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1287 enable_ext_ms_win_security_credui_l1_1_0
1288 enable_ext_ms_win_security_cryptui_l1_1_0
1289 enable_ext_ms_win_uxtheme_themes_l1_1_0
1290 enable_faultrep
1291 enable_feclient
1292 enable_fltlib
1293 enable_fltmgr_sys
1294 enable_fntcache
1295 enable_fontsub
1296 enable_fusion
1297 enable_fwpuclnt
1298 enable_gameux
1299 enable_gdi32
1300 enable_gdiplus
1301 enable_glu32
1302 enable_gphoto2_ds
1303 enable_gpkcsp
1304 enable_hal
1305 enable_hhctrl_ocx
1306 enable_hid
1307 enable_hidclass_sys
1308 enable_hlink
1309 enable_hnetcfg
1310 enable_httpapi
1311 enable_iccvid
1312 enable_icmp
1313 enable_ieframe
1314 enable_ieproxy
1315 enable_imaadp32_acm
1316 enable_imagehlp
1317 enable_imm32
1318 enable_inetcomm
1319 enable_inetcpl_cpl
1320 enable_inetmib1
1321 enable_infosoft
1322 enable_initpki
1323 enable_inkobj
1324 enable_inseng
1325 enable_iphlpapi
1326 enable_iprop
1327 enable_irprops_cpl
1328 enable_itircl
1329 enable_itss
1330 enable_joy_cpl
1331 enable_jscript
1332 enable_jsproxy
1333 enable_kerberos
1334 enable_kernel32
1335 enable_kernelbase
1336 enable_ksuser
1337 enable_ktmw32
1338 enable_l3codeca_acm
1339 enable_loadperf
1340 enable_localspl
1341 enable_localui
1342 enable_lz32
1343 enable_mapi32
1344 enable_mapistub
1345 enable_mciavi32
1346 enable_mcicda
1347 enable_mciqtz32
1348 enable_mciseq
1349 enable_mciwave
1350 enable_mf
1351 enable_mf3216
1352 enable_mfplat
1353 enable_mfreadwrite
1354 enable_mfuuid
1355 enable_mgmtapi
1356 enable_midimap
1357 enable_mlang
1358 enable_mmcndmgr
1359 enable_mmdevapi
1360 enable_mountmgr_sys
1361 enable_mp3dmod
1362 enable_mpr
1363 enable_mprapi
1364 enable_msacm32_drv
1365 enable_msacm32
1366 enable_msadp32_acm
1367 enable_msasn1
1368 enable_mscat32
1369 enable_mscms
1370 enable_mscoree
1371 enable_msctf
1372 enable_msctfp
1373 enable_msdaps
1374 enable_msdelta
1375 enable_msdmo
1376 enable_msdrm
1377 enable_msftedit
1378 enable_msg711_acm
1379 enable_msgsm32_acm
1380 enable_mshtml_tlb
1381 enable_mshtml
1382 enable_msi
1383 enable_msident
1384 enable_msimg32
1385 enable_msimsg
1386 enable_msimtf
1387 enable_msisip
1388 enable_msisys_ocx
1389 enable_msls31
1390 enable_msnet32
1391 enable_mspatcha
1392 enable_msports
1393 enable_msrle32
1394 enable_msscript_ocx
1395 enable_mssign32
1396 enable_mssip32
1397 enable_mstask
1398 enable_msvcirt
1399 enable_msvcm80
1400 enable_msvcm90
1401 enable_msvcp100
1402 enable_msvcp110
1403 enable_msvcp120
1404 enable_msvcp120_app
1405 enable_msvcp140
1406 enable_msvcp60
1407 enable_msvcp70
1408 enable_msvcp71
1409 enable_msvcp80
1410 enable_msvcp90
1411 enable_msvcr100
1412 enable_msvcr110
1413 enable_msvcr120
1414 enable_msvcr120_app
1415 enable_msvcr70
1416 enable_msvcr71
1417 enable_msvcr80
1418 enable_msvcr90
1419 enable_msvcrt
1420 enable_msvcrt20
1421 enable_msvcrt40
1422 enable_msvcrtd
1423 enable_msvfw32
1424 enable_msvidc32
1425 enable_mswsock
1426 enable_msxml
1427 enable_msxml2
1428 enable_msxml3
1429 enable_msxml4
1430 enable_msxml6
1431 enable_mtxdm
1432 enable_ncrypt
1433 enable_nddeapi
1434 enable_ndis_sys
1435 enable_netapi32
1436 enable_netcfgx
1437 enable_netprofm
1438 enable_newdev
1439 enable_ninput
1440 enable_normaliz
1441 enable_npmshtml
1442 enable_npptools
1443 enable_ntdll
1444 enable_ntdsapi
1445 enable_ntoskrnl_exe
1446 enable_ntprint
1447 enable_objsel
1448 enable_odbc32
1449 enable_odbccp32
1450 enable_odbccu32
1451 enable_ole32
1452 enable_oleacc
1453 enable_oleaut32
1454 enable_olecli32
1455 enable_oledb32
1456 enable_oledlg
1457 enable_olepro32
1458 enable_olesvr32
1459 enable_olethk32
1460 enable_openal32
1461 enable_opencl
1462 enable_opengl32
1463 enable_packager
1464 enable_pdh
1465 enable_photometadatahandler
1466 enable_pidgen
1467 enable_powrprof
1468 enable_printui
1469 enable_prntvpt
1470 enable_propsys
1471 enable_psapi
1472 enable_pstorec
1473 enable_qcap
1474 enable_qedit
1475 enable_qmgr
1476 enable_qmgrprxy
1477 enable_quartz
1478 enable_query
1479 enable_rasapi32
1480 enable_rasdlg
1481 enable_regapi
1482 enable_resutils
1483 enable_riched20
1484 enable_riched32
1485 enable_rpcrt4
1486 enable_rsabase
1487 enable_rsaenh
1488 enable_rstrtmgr
1489 enable_rtutils
1490 enable_samlib
1491 enable_sane_ds
1492 enable_sapi
1493 enable_sas
1494 enable_scarddlg
1495 enable_sccbase
1496 enable_schannel
1497 enable_schedsvc
1498 enable_scrobj
1499 enable_scrrun
1500 enable_scsiport_sys
1501 enable_secur32
1502 enable_security
1503 enable_sensapi
1504 enable_serialui
1505 enable_setupapi
1506 enable_sfc
1507 enable_sfc_os
1508 enable_shcore
1509 enable_shdoclc
1510 enable_shdocvw
1511 enable_shell32
1512 enable_shfolder
1513 enable_shlwapi
1514 enable_slbcsp
1515 enable_slc
1516 enable_snmpapi
1517 enable_softpub
1518 enable_spoolss
1519 enable_srclient
1520 enable_sspicli
1521 enable_stdole2_tlb
1522 enable_stdole32_tlb
1523 enable_sti
1524 enable_strmbase
1525 enable_strmdll
1526 enable_strmiids
1527 enable_svrapi
1528 enable_sxs
1529 enable_t2embed
1530 enable_tapi32
1531 enable_taskschd
1532 enable_tdh
1533 enable_tdi_sys
1534 enable_traffic
1535 enable_twain_32
1536 enable_ucrtbase
1537 enable_uiautomationcore
1538 enable_uiribbon
1539 enable_unicows
1540 enable_updspapi
1541 enable_url
1542 enable_urlmon
1543 enable_usbd_sys
1544 enable_user32
1545 enable_userenv
1546 enable_usp10
1547 enable_uuid
1548 enable_uxtheme
1549 enable_vbscript
1550 enable_vcomp
1551 enable_vcomp100
1552 enable_vcomp110
1553 enable_vcomp120
1554 enable_vcomp140
1555 enable_vcomp90
1556 enable_vcruntime140
1557 enable_vdmdbg
1558 enable_version
1559 enable_virtdisk
1560 enable_vssapi
1561 enable_vulkan_1
1562 enable_wbemdisp
1563 enable_wbemprox
1564 enable_wdscore
1565 enable_webservices
1566 enable_wer
1567 enable_wevtapi
1568 enable_wiaservc
1569 enable_wimgapi
1570 enable_windowscodecs
1571 enable_windowscodecsext
1572 enable_winealsa_drv
1573 enable_wineandroid_drv
1574 enable_winebus_sys
1575 enable_winecoreaudio_drv
1576 enable_winecrt0
1577 enable_wined3d
1578 enable_winegstreamer
1579 enable_winehid_sys
1580 enable_winejoystick_drv
1581 enable_winemac_drv
1582 enable_winemapi
1583 enable_wineoss_drv
1584 enable_wineps_drv
1585 enable_winepulse_drv
1586 enable_wineqtdecoder
1587 enable_winevulkan
1588 enable_winex11_drv
1589 enable_wing32
1590 enable_winhttp
1591 enable_wininet
1592 enable_winmm
1593 enable_winnls32
1594 enable_winscard
1595 enable_winspool_drv
1596 enable_winsta
1597 enable_wintab32
1598 enable_wintrust
1599 enable_winusb
1600 enable_wlanapi
1601 enable_wldap32
1602 enable_wmasf
1603 enable_wmcodecdspuuid
1604 enable_wmi
1605 enable_wmiutils
1606 enable_wmp
1607 enable_wmphoto
1608 enable_wmvcore
1609 enable_wnaspi32
1610 enable_wpc
1611 enable_wpcap
1612 enable_ws2_32
1613 enable_wsdapi
1614 enable_wshom_ocx
1615 enable_wsnmp32
1616 enable_wsock32
1617 enable_wtsapi32
1618 enable_wuapi
1619 enable_wuaueng
1620 enable_x3daudio1_0
1621 enable_x3daudio1_1
1622 enable_x3daudio1_2
1623 enable_x3daudio1_3
1624 enable_x3daudio1_4
1625 enable_x3daudio1_5
1626 enable_x3daudio1_6
1627 enable_x3daudio1_7
1628 enable_xapofx1_1
1629 enable_xapofx1_2
1630 enable_xapofx1_3
1631 enable_xapofx1_4
1632 enable_xapofx1_5
1633 enable_xaudio2_0
1634 enable_xaudio2_1
1635 enable_xaudio2_2
1636 enable_xaudio2_3
1637 enable_xaudio2_4
1638 enable_xaudio2_5
1639 enable_xaudio2_6
1640 enable_xaudio2_7
1641 enable_xaudio2_8
1642 enable_xaudio2_9
1643 enable_xinput1_1
1644 enable_xinput1_2
1645 enable_xinput1_3
1646 enable_xinput1_4
1647 enable_xinput9_1_0
1648 enable_xmllite
1649 enable_xolehlp
1650 enable_xpsprint
1651 enable_xpssvcs
1652 enable_fonts
1653 enable_include
1654 enable_port
1655 enable_wine
1656 enable_wpp
1657 enable_loader
1658 enable_po
1659 enable_arp
1660 enable_aspnet_regiis
1661 enable_attrib
1662 enable_cabarc
1663 enable_cacls
1664 enable_clock
1665 enable_cmd
1666 enable_conhost
1667 enable_control
1668 enable_cscript
1669 enable_dpnsvr
1670 enable_dxdiag
1671 enable_eject
1672 enable_expand
1673 enable_explorer
1674 enable_extrac32
1675 enable_fc
1676 enable_find
1677 enable_findstr
1678 enable_fsutil
1679 enable_hh
1680 enable_hostname
1681 enable_icacls
1682 enable_icinfo
1683 enable_iexplore
1684 enable_ipconfig
1685 enable_lodctr
1686 enable_mofcomp
1687 enable_mshta
1688 enable_msiexec
1689 enable_msinfo32
1690 enable_net
1691 enable_netsh
1692 enable_netstat
1693 enable_ngen
1694 enable_notepad
1695 enable_oleview
1696 enable_ping
1697 enable_plugplay
1698 enable_powershell
1699 enable_presentationfontcache
1700 enable_progman
1701 enable_reg
1702 enable_regasm
1703 enable_regedit
1704 enable_regsvcs
1705 enable_regsvr32
1706 enable_rpcss
1707 enable_rundll32
1708 enable_sc
1709 enable_schtasks
1710 enable_sdbinst
1711 enable_secedit
1712 enable_servicemodelreg
1713 enable_services
1714 enable_shutdown
1715 enable_spoolsv
1716 enable_start
1717 enable_subst
1718 enable_svchost
1719 enable_systeminfo
1720 enable_taskkill
1721 enable_tasklist
1722 enable_taskmgr
1723 enable_termsv
1724 enable_uninstaller
1725 enable_unlodctr
1726 enable_view
1727 enable_wevtutil
1728 enable_wineboot
1729 enable_winebrowser
1730 enable_winecfg
1731 enable_wineconsole
1732 enable_winedbg
1733 enable_winedevice
1734 enable_winefile
1735 enable_winemenubuilder
1736 enable_winemine
1737 enable_winemsibuilder
1738 enable_winepath
1739 enable_winetest
1740 enable_winhlp32
1741 enable_winmgmt
1742 enable_winver
1743 enable_wmic
1744 enable_wmplayer
1745 enable_wordpad
1746 enable_write
1747 enable_wscript
1748 enable_wusa
1749 enable_xcopy
1750 enable_server
1751 enable_tools
1752 enable_sfnt2fon
1753 enable_widl
1754 enable_winebuild
1755 enable_winedump
1756 enable_winegcc
1757 enable_winemaker
1758 enable_wmc
1759 enable_wrc
1761 ac_precious_vars='build_alias
1762 host_alias
1763 target_alias
1765 CFLAGS
1766 LDFLAGS
1767 LIBS
1768 CPPFLAGS
1770 CXXFLAGS
1773 XMKMF
1774 XML2_CFLAGS
1775 XML2_LIBS
1776 XSLT_CFLAGS
1777 XSLT_LIBS
1778 DBUS_CFLAGS
1779 DBUS_LIBS
1780 HAL_CFLAGS
1781 HAL_LIBS
1782 GNUTLS_CFLAGS
1783 GNUTLS_LIBS
1784 SANE_CFLAGS
1785 SANE_LIBS
1786 GPHOTO2_CFLAGS
1787 GPHOTO2_LIBS
1788 GPHOTO2_PORT_CFLAGS
1789 GPHOTO2_PORT_LIBS
1790 LCMS2_CFLAGS
1791 LCMS2_LIBS
1792 FREETYPE_CFLAGS
1793 FREETYPE_LIBS
1794 PULSE_CFLAGS
1795 PULSE_LIBS
1796 GSTREAMER_CFLAGS
1797 GSTREAMER_LIBS
1798 UDEV_CFLAGS
1799 UDEV_LIBS
1800 SDL2_CFLAGS
1801 SDL2_LIBS
1802 CAPI20_CFLAGS
1803 CAPI20_LIBS
1804 CUPS_CFLAGS
1805 CUPS_LIBS
1806 FONTCONFIG_CFLAGS
1807 FONTCONFIG_LIBS
1808 KRB5_CFLAGS
1809 KRB5_LIBS
1810 GSSAPI_CFLAGS
1811 GSSAPI_LIBS
1812 JPEG_CFLAGS
1813 JPEG_LIBS
1814 PNG_CFLAGS
1815 PNG_LIBS
1816 TIFF_CFLAGS
1817 TIFF_LIBS
1818 MPG123_CFLAGS
1819 MPG123_LIBS
1820 NETAPI_CFLAGS
1821 NETAPI_LIBS
1822 VKD3D_CFLAGS
1823 VKD3D_LIBS
1824 LDAP_CFLAGS
1825 LDAP_LIBS'
1828 # Initialize some variables set by options.
1829 ac_init_help=
1830 ac_init_version=false
1831 ac_unrecognized_opts=
1832 ac_unrecognized_sep=
1833 # The variables have the same names as the options, with
1834 # dashes changed to underlines.
1835 cache_file=/dev/null
1836 exec_prefix=NONE
1837 no_create=
1838 no_recursion=
1839 prefix=NONE
1840 program_prefix=NONE
1841 program_suffix=NONE
1842 program_transform_name=s,x,x,
1843 silent=
1844 site=
1845 srcdir=
1846 verbose=
1847 x_includes=NONE
1848 x_libraries=NONE
1850 # Installation directory options.
1851 # These are left unexpanded so users can "make install exec_prefix=/foo"
1852 # and all the variables that are supposed to be based on exec_prefix
1853 # by default will actually change.
1854 # Use braces instead of parens because sh, perl, etc. also accept them.
1855 # (The list follows the same order as the GNU Coding Standards.)
1856 bindir='${exec_prefix}/bin'
1857 sbindir='${exec_prefix}/sbin'
1858 libexecdir='${exec_prefix}/libexec'
1859 datarootdir='${prefix}/share'
1860 datadir='${datarootdir}'
1861 sysconfdir='${prefix}/etc'
1862 sharedstatedir='${prefix}/com'
1863 localstatedir='${prefix}/var'
1864 runstatedir='${localstatedir}/run'
1865 includedir='${prefix}/include'
1866 oldincludedir='/usr/include'
1867 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1868 infodir='${datarootdir}/info'
1869 htmldir='${docdir}'
1870 dvidir='${docdir}'
1871 pdfdir='${docdir}'
1872 psdir='${docdir}'
1873 libdir='${exec_prefix}/lib'
1874 localedir='${datarootdir}/locale'
1875 mandir='${datarootdir}/man'
1877 ac_prev=
1878 ac_dashdash=
1879 for ac_option
1881 # If the previous option needs an argument, assign it.
1882 if test -n "$ac_prev"; then
1883 eval $ac_prev=\$ac_option
1884 ac_prev=
1885 continue
1888 case $ac_option in
1889 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1890 *=) ac_optarg= ;;
1891 *) ac_optarg=yes ;;
1892 esac
1894 # Accept the important Cygnus configure options, so we can diagnose typos.
1896 case $ac_dashdash$ac_option in
1898 ac_dashdash=yes ;;
1900 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1901 ac_prev=bindir ;;
1902 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1903 bindir=$ac_optarg ;;
1905 -build | --build | --buil | --bui | --bu)
1906 ac_prev=build_alias ;;
1907 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1908 build_alias=$ac_optarg ;;
1910 -cache-file | --cache-file | --cache-fil | --cache-fi \
1911 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1912 ac_prev=cache_file ;;
1913 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1914 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1915 cache_file=$ac_optarg ;;
1917 --config-cache | -C)
1918 cache_file=config.cache ;;
1920 -datadir | --datadir | --datadi | --datad)
1921 ac_prev=datadir ;;
1922 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1923 datadir=$ac_optarg ;;
1925 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1926 | --dataroo | --dataro | --datar)
1927 ac_prev=datarootdir ;;
1928 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1929 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1930 datarootdir=$ac_optarg ;;
1932 -disable-* | --disable-*)
1933 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1934 # Reject names that are not valid shell variable names.
1935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1936 as_fn_error $? "invalid feature name: $ac_useropt"
1937 ac_useropt_orig=$ac_useropt
1938 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1939 case $ac_user_opts in
1941 "enable_$ac_useropt"
1942 "*) ;;
1943 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1944 ac_unrecognized_sep=', ';;
1945 esac
1946 eval enable_$ac_useropt=no ;;
1948 -docdir | --docdir | --docdi | --doc | --do)
1949 ac_prev=docdir ;;
1950 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1951 docdir=$ac_optarg ;;
1953 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1954 ac_prev=dvidir ;;
1955 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1956 dvidir=$ac_optarg ;;
1958 -enable-* | --enable-*)
1959 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1960 # Reject names that are not valid shell variable names.
1961 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1962 as_fn_error $? "invalid feature name: $ac_useropt"
1963 ac_useropt_orig=$ac_useropt
1964 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1965 case $ac_user_opts in
1967 "enable_$ac_useropt"
1968 "*) ;;
1969 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1970 ac_unrecognized_sep=', ';;
1971 esac
1972 eval enable_$ac_useropt=\$ac_optarg ;;
1974 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1975 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1976 | --exec | --exe | --ex)
1977 ac_prev=exec_prefix ;;
1978 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1979 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1980 | --exec=* | --exe=* | --ex=*)
1981 exec_prefix=$ac_optarg ;;
1983 -gas | --gas | --ga | --g)
1984 # Obsolete; use --with-gas.
1985 with_gas=yes ;;
1987 -help | --help | --hel | --he | -h)
1988 ac_init_help=long ;;
1989 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1990 ac_init_help=recursive ;;
1991 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1992 ac_init_help=short ;;
1994 -host | --host | --hos | --ho)
1995 ac_prev=host_alias ;;
1996 -host=* | --host=* | --hos=* | --ho=*)
1997 host_alias=$ac_optarg ;;
1999 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2000 ac_prev=htmldir ;;
2001 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2002 | --ht=*)
2003 htmldir=$ac_optarg ;;
2005 -includedir | --includedir | --includedi | --included | --include \
2006 | --includ | --inclu | --incl | --inc)
2007 ac_prev=includedir ;;
2008 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2009 | --includ=* | --inclu=* | --incl=* | --inc=*)
2010 includedir=$ac_optarg ;;
2012 -infodir | --infodir | --infodi | --infod | --info | --inf)
2013 ac_prev=infodir ;;
2014 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2015 infodir=$ac_optarg ;;
2017 -libdir | --libdir | --libdi | --libd)
2018 ac_prev=libdir ;;
2019 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2020 libdir=$ac_optarg ;;
2022 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2023 | --libexe | --libex | --libe)
2024 ac_prev=libexecdir ;;
2025 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2026 | --libexe=* | --libex=* | --libe=*)
2027 libexecdir=$ac_optarg ;;
2029 -localedir | --localedir | --localedi | --localed | --locale)
2030 ac_prev=localedir ;;
2031 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2032 localedir=$ac_optarg ;;
2034 -localstatedir | --localstatedir | --localstatedi | --localstated \
2035 | --localstate | --localstat | --localsta | --localst | --locals)
2036 ac_prev=localstatedir ;;
2037 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2038 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2039 localstatedir=$ac_optarg ;;
2041 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2042 ac_prev=mandir ;;
2043 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2044 mandir=$ac_optarg ;;
2046 -nfp | --nfp | --nf)
2047 # Obsolete; use --without-fp.
2048 with_fp=no ;;
2050 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2051 | --no-cr | --no-c | -n)
2052 no_create=yes ;;
2054 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2055 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2056 no_recursion=yes ;;
2058 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2059 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2060 | --oldin | --oldi | --old | --ol | --o)
2061 ac_prev=oldincludedir ;;
2062 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2063 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2064 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2065 oldincludedir=$ac_optarg ;;
2067 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2068 ac_prev=prefix ;;
2069 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2070 prefix=$ac_optarg ;;
2072 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2073 | --program-pre | --program-pr | --program-p)
2074 ac_prev=program_prefix ;;
2075 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2076 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2077 program_prefix=$ac_optarg ;;
2079 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2080 | --program-suf | --program-su | --program-s)
2081 ac_prev=program_suffix ;;
2082 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2083 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2084 program_suffix=$ac_optarg ;;
2086 -program-transform-name | --program-transform-name \
2087 | --program-transform-nam | --program-transform-na \
2088 | --program-transform-n | --program-transform- \
2089 | --program-transform | --program-transfor \
2090 | --program-transfo | --program-transf \
2091 | --program-trans | --program-tran \
2092 | --progr-tra | --program-tr | --program-t)
2093 ac_prev=program_transform_name ;;
2094 -program-transform-name=* | --program-transform-name=* \
2095 | --program-transform-nam=* | --program-transform-na=* \
2096 | --program-transform-n=* | --program-transform-=* \
2097 | --program-transform=* | --program-transfor=* \
2098 | --program-transfo=* | --program-transf=* \
2099 | --program-trans=* | --program-tran=* \
2100 | --progr-tra=* | --program-tr=* | --program-t=*)
2101 program_transform_name=$ac_optarg ;;
2103 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2104 ac_prev=pdfdir ;;
2105 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2106 pdfdir=$ac_optarg ;;
2108 -psdir | --psdir | --psdi | --psd | --ps)
2109 ac_prev=psdir ;;
2110 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2111 psdir=$ac_optarg ;;
2113 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2114 | -silent | --silent | --silen | --sile | --sil)
2115 silent=yes ;;
2117 -runstatedir | --runstatedir | --runstatedi | --runstated \
2118 | --runstate | --runstat | --runsta | --runst | --runs \
2119 | --run | --ru | --r)
2120 ac_prev=runstatedir ;;
2121 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2122 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2123 | --run=* | --ru=* | --r=*)
2124 runstatedir=$ac_optarg ;;
2126 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2127 ac_prev=sbindir ;;
2128 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2129 | --sbi=* | --sb=*)
2130 sbindir=$ac_optarg ;;
2132 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2133 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2134 | --sharedst | --shareds | --shared | --share | --shar \
2135 | --sha | --sh)
2136 ac_prev=sharedstatedir ;;
2137 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2138 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2139 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2140 | --sha=* | --sh=*)
2141 sharedstatedir=$ac_optarg ;;
2143 -site | --site | --sit)
2144 ac_prev=site ;;
2145 -site=* | --site=* | --sit=*)
2146 site=$ac_optarg ;;
2148 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2149 ac_prev=srcdir ;;
2150 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2151 srcdir=$ac_optarg ;;
2153 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2154 | --syscon | --sysco | --sysc | --sys | --sy)
2155 ac_prev=sysconfdir ;;
2156 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2157 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2158 sysconfdir=$ac_optarg ;;
2160 -target | --target | --targe | --targ | --tar | --ta | --t)
2161 ac_prev=target_alias ;;
2162 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2163 target_alias=$ac_optarg ;;
2165 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2166 verbose=yes ;;
2168 -version | --version | --versio | --versi | --vers | -V)
2169 ac_init_version=: ;;
2171 -with-* | --with-*)
2172 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2173 # Reject names that are not valid shell variable names.
2174 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2175 as_fn_error $? "invalid package name: $ac_useropt"
2176 ac_useropt_orig=$ac_useropt
2177 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2178 case $ac_user_opts in
2180 "with_$ac_useropt"
2181 "*) ;;
2182 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2183 ac_unrecognized_sep=', ';;
2184 esac
2185 eval with_$ac_useropt=\$ac_optarg ;;
2187 -without-* | --without-*)
2188 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2189 # Reject names that are not valid shell variable names.
2190 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2191 as_fn_error $? "invalid package name: $ac_useropt"
2192 ac_useropt_orig=$ac_useropt
2193 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2194 case $ac_user_opts in
2196 "with_$ac_useropt"
2197 "*) ;;
2198 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2199 ac_unrecognized_sep=', ';;
2200 esac
2201 eval with_$ac_useropt=no ;;
2203 --x)
2204 # Obsolete; use --with-x.
2205 with_x=yes ;;
2207 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2208 | --x-incl | --x-inc | --x-in | --x-i)
2209 ac_prev=x_includes ;;
2210 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2211 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2212 x_includes=$ac_optarg ;;
2214 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2215 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2216 ac_prev=x_libraries ;;
2217 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2218 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2219 x_libraries=$ac_optarg ;;
2221 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2222 Try \`$0 --help' for more information"
2225 *=*)
2226 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2227 # Reject names that are not valid shell variable names.
2228 case $ac_envvar in #(
2229 '' | [0-9]* | *[!_$as_cr_alnum]* )
2230 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2231 esac
2232 eval $ac_envvar=\$ac_optarg
2233 export $ac_envvar ;;
2236 # FIXME: should be removed in autoconf 3.0.
2237 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2238 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2239 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2240 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2243 esac
2244 done
2246 if test -n "$ac_prev"; then
2247 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2248 as_fn_error $? "missing argument to $ac_option"
2251 if test -n "$ac_unrecognized_opts"; then
2252 case $enable_option_checking in
2253 no) ;;
2254 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2255 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2256 esac
2259 # Check all directory arguments for consistency.
2260 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2261 datadir sysconfdir sharedstatedir localstatedir includedir \
2262 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2263 libdir localedir mandir runstatedir
2265 eval ac_val=\$$ac_var
2266 # Remove trailing slashes.
2267 case $ac_val in
2268 */ )
2269 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2270 eval $ac_var=\$ac_val;;
2271 esac
2272 # Be sure to have absolute directory names.
2273 case $ac_val in
2274 [\\/$]* | ?:[\\/]* ) continue;;
2275 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2276 esac
2277 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2278 done
2280 # There might be people who depend on the old broken behavior: `$host'
2281 # used to hold the argument of --host etc.
2282 # FIXME: To remove some day.
2283 build=$build_alias
2284 host=$host_alias
2285 target=$target_alias
2287 # FIXME: To remove some day.
2288 if test "x$host_alias" != x; then
2289 if test "x$build_alias" = x; then
2290 cross_compiling=maybe
2291 elif test "x$build_alias" != "x$host_alias"; then
2292 cross_compiling=yes
2296 ac_tool_prefix=
2297 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2299 test "$silent" = yes && exec 6>/dev/null
2302 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2303 ac_ls_di=`ls -di .` &&
2304 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2305 as_fn_error $? "working directory cannot be determined"
2306 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2307 as_fn_error $? "pwd does not report name of working directory"
2310 # Find the source files, if location was not specified.
2311 if test -z "$srcdir"; then
2312 ac_srcdir_defaulted=yes
2313 # Try the directory containing this script, then the parent directory.
2314 ac_confdir=`$as_dirname -- "$as_myself" ||
2315 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2316 X"$as_myself" : 'X\(//\)[^/]' \| \
2317 X"$as_myself" : 'X\(//\)$' \| \
2318 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2319 $as_echo X"$as_myself" |
2320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2321 s//\1/
2324 /^X\(\/\/\)[^/].*/{
2325 s//\1/
2328 /^X\(\/\/\)$/{
2329 s//\1/
2332 /^X\(\/\).*/{
2333 s//\1/
2336 s/.*/./; q'`
2337 srcdir=$ac_confdir
2338 if test ! -r "$srcdir/$ac_unique_file"; then
2339 srcdir=..
2341 else
2342 ac_srcdir_defaulted=no
2344 if test ! -r "$srcdir/$ac_unique_file"; then
2345 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2346 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2348 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2349 ac_abs_confdir=`(
2350 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2351 pwd)`
2352 # When building in place, set srcdir=.
2353 if test "$ac_abs_confdir" = "$ac_pwd"; then
2354 srcdir=.
2356 # Remove unnecessary trailing slashes from srcdir.
2357 # Double slashes in file names in object file debugging info
2358 # mess up M-x gdb in Emacs.
2359 case $srcdir in
2360 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2361 esac
2362 for ac_var in $ac_precious_vars; do
2363 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2364 eval ac_env_${ac_var}_value=\$${ac_var}
2365 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2366 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2367 done
2370 # Report the --help message.
2372 if test "$ac_init_help" = "long"; then
2373 # Omit some internal or obsolete options to make the list less imposing.
2374 # This message is too long to be a string in the A/UX 3.1 sh.
2375 cat <<_ACEOF
2376 \`configure' configures Wine 3.9 to adapt to many kinds of systems.
2378 Usage: $0 [OPTION]... [VAR=VALUE]...
2380 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2381 VAR=VALUE. See below for descriptions of some of the useful variables.
2383 Defaults for the options are specified in brackets.
2385 Configuration:
2386 -h, --help display this help and exit
2387 --help=short display options specific to this package
2388 --help=recursive display the short help of all the included packages
2389 -V, --version display version information and exit
2390 -q, --quiet, --silent do not print \`checking ...' messages
2391 --cache-file=FILE cache test results in FILE [disabled]
2392 -C, --config-cache alias for \`--cache-file=config.cache'
2393 -n, --no-create do not create output files
2394 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2396 Installation directories:
2397 --prefix=PREFIX install architecture-independent files in PREFIX
2398 [$ac_default_prefix]
2399 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2400 [PREFIX]
2402 By default, \`make install' will install all the files in
2403 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2404 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2405 for instance \`--prefix=\$HOME'.
2407 For better control, use the options below.
2409 Fine tuning of the installation directories:
2410 --bindir=DIR user executables [EPREFIX/bin]
2411 --sbindir=DIR system admin executables [EPREFIX/sbin]
2412 --libexecdir=DIR program executables [EPREFIX/libexec]
2413 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2414 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2415 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2416 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2417 --libdir=DIR object code libraries [EPREFIX/lib]
2418 --includedir=DIR C header files [PREFIX/include]
2419 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2420 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2421 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2422 --infodir=DIR info documentation [DATAROOTDIR/info]
2423 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2424 --mandir=DIR man documentation [DATAROOTDIR/man]
2425 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2426 --htmldir=DIR html documentation [DOCDIR]
2427 --dvidir=DIR dvi documentation [DOCDIR]
2428 --pdfdir=DIR pdf documentation [DOCDIR]
2429 --psdir=DIR ps documentation [DOCDIR]
2430 _ACEOF
2432 cat <<\_ACEOF
2434 X features:
2435 --x-includes=DIR X include files are in DIR
2436 --x-libraries=DIR X library files are in DIR
2438 System types:
2439 --build=BUILD configure for building on BUILD [guessed]
2440 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2441 _ACEOF
2444 if test -n "$ac_init_help"; then
2445 case $ac_init_help in
2446 short | recursive ) echo "Configuration of Wine 3.9:";;
2447 esac
2448 cat <<\_ACEOF
2450 Optional Features:
2451 --disable-option-checking ignore unrecognized --enable/--with options
2452 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2453 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2454 --disable-win16 do not include Win16 support
2455 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2456 binaries)
2457 --disable-tests do not build the regression tests
2458 --enable-maintainer-mode
2459 enable maintainer-specific build rules
2460 --disable-largefile omit support for large files
2462 Optional Packages:
2463 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2464 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2465 --without-alsa do not use the Alsa sound support
2466 --without-capi do not use CAPI (ISDN support)
2467 --without-cms do not use CMS (color management support)
2468 --without-coreaudio do not use the CoreAudio sound support
2469 --without-cups do not use CUPS
2470 --without-curses do not use (n)curses
2471 --without-dbus do not use DBus (dynamic device support)
2472 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2473 --without-fontconfig do not use fontconfig
2474 --without-freetype do not use the FreeType library
2475 --without-gettext do not use gettext
2476 --with-gettextpo use the GetTextPO library to rebuild po files
2477 --without-gphoto do not use gphoto (Digital Camera support)
2478 --without-glu do not use the GLU library
2479 --without-gnutls do not use GnuTLS (schannel support)
2480 --without-gsm do not use libgsm (GSM 06.10 codec support)
2481 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2482 --without-gstreamer do not use GStreamer (codecs support)
2483 --without-hal do not use HAL (dynamic device support)
2484 --without-jpeg do not use JPEG
2485 --without-krb5 do not use krb5 (Kerberos)
2486 --without-ldap do not use LDAP
2487 --without-mpg123 do not use the mpg123 library
2488 --without-netapi do not use the Samba NetAPI library
2489 --without-openal do not use OpenAL
2490 --without-opencl do not use OpenCL
2491 --without-opengl do not use OpenGL
2492 --without-osmesa do not use the OSMesa library
2493 --without-oss do not use the OSS sound support
2494 --without-pcap do not use the Packet Capture library
2495 --without-png do not use PNG
2496 --without-pthread do not use the pthread library
2497 --without-pulse do not use PulseAudio sound support
2498 --without-sane do not use SANE (scanner support)
2499 --without-sdl do not use SDL
2500 --without-tiff do not use TIFF
2501 --without-udev do not use udev (plug and play support)
2502 --without-v4l do not use v4l1 (v4l support)
2503 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2504 --without-vulkan do not use Vulkan
2505 --without-xcomposite do not use the Xcomposite extension
2506 --without-xcursor do not use the Xcursor extension
2507 --without-xfixes do not use Xfixes for clipboard change notifications
2508 --without-xinerama do not use Xinerama (multi-monitor support)
2509 --without-xinput do not use the Xinput extension
2510 --without-xinput2 do not use the Xinput 2 extension
2511 --without-xml do not use XML
2512 --without-xrandr do not use Xrandr (resolution changes)
2513 --without-xrender do not use the Xrender extension
2514 --without-xshape do not use the Xshape extension
2515 --without-xshm do not use XShm (shared memory extension)
2516 --without-xslt do not use XSLT
2517 --without-xxf86vm do not use XFree video mode extension
2518 --without-zlib do not use Zlib (data compression)
2519 --with-wine-tools=DIR use Wine tools from directory DIR
2520 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2521 --with-x use the X Window System
2523 Some influential environment variables:
2524 CC C compiler command
2525 CFLAGS C compiler flags
2526 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2527 nonstandard directory <lib dir>
2528 LIBS libraries to pass to the linker, e.g. -l<library>
2529 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2530 you have headers in a nonstandard directory <include dir>
2531 CXX C++ compiler command
2532 CXXFLAGS C++ compiler flags
2533 CPP C preprocessor
2534 XMKMF Path to xmkmf, Makefile generator for X Window System
2535 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2536 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2537 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2538 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2539 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2540 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2541 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2542 HAL_LIBS Linker flags for hal, overriding pkg-config
2543 GNUTLS_CFLAGS
2544 C compiler flags for gnutls, overriding pkg-config
2545 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2546 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2547 SANE_LIBS Linker flags for libsane, overriding pkg-config
2548 GPHOTO2_CFLAGS
2549 C compiler flags for libgphoto2, overriding pkg-config
2550 GPHOTO2_LIBS
2551 Linker flags for libgphoto2, overriding pkg-config
2552 GPHOTO2_PORT_CFLAGS
2553 C compiler flags for libgphoto2_port, overriding pkg-config
2554 GPHOTO2_PORT_LIBS
2555 Linker flags for libgphoto2_port, overriding pkg-config
2556 LCMS2_CFLAGS
2557 C compiler flags for lcms2, overriding pkg-config
2558 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2559 FREETYPE_CFLAGS
2560 C compiler flags for freetype2, overriding pkg-config
2561 FREETYPE_LIBS
2562 Linker flags for freetype2, overriding pkg-config
2563 PULSE_CFLAGS
2564 C compiler flags for libpulse, overriding pkg-config
2565 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2566 GSTREAMER_CFLAGS
2567 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2568 gstreamer-audio-1.0, overriding pkg-config
2569 GSTREAMER_LIBS
2570 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2571 gstreamer-audio-1.0, overriding pkg-config
2572 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2573 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2574 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2575 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2576 CAPI20_CFLAGS
2577 C compiler flags for capi20, overriding pkg-config
2578 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2579 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2580 CUPS_LIBS Linker flags for cups, overriding pkg-config
2581 FONTCONFIG_CFLAGS
2582 C compiler flags for fontconfig, overriding pkg-config
2583 FONTCONFIG_LIBS
2584 Linker flags for fontconfig, overriding pkg-config
2585 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2586 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2587 GSSAPI_CFLAGS
2588 C compiler flags for krb5-gssapi, overriding pkg-config
2589 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2590 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2591 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2592 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2593 PNG_LIBS Linker flags for libpng, overriding pkg-config
2594 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2595 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2596 MPG123_CFLAGS
2597 C compiler flags for libmpg123, overriding pkg-config
2598 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2599 NETAPI_CFLAGS
2600 C compiler flags for netapi, overriding pkg-config
2601 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2602 VKD3D_CFLAGS
2603 C compiler flags for libvkd3d, overriding pkg-config
2604 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2605 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2606 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2608 Use these variables to override the choices made by `configure' or to help
2609 it to find libraries and programs with nonstandard names/locations.
2611 Report bugs to <wine-devel@winehq.org>.
2612 Wine home page: <https://www.winehq.org>.
2613 _ACEOF
2614 ac_status=$?
2617 if test "$ac_init_help" = "recursive"; then
2618 # If there are subdirs, report their specific --help.
2619 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2620 test -d "$ac_dir" ||
2621 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2622 continue
2623 ac_builddir=.
2625 case "$ac_dir" in
2626 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2628 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2629 # A ".." for each directory in $ac_dir_suffix.
2630 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2631 case $ac_top_builddir_sub in
2632 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2633 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2634 esac ;;
2635 esac
2636 ac_abs_top_builddir=$ac_pwd
2637 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2638 # for backward compatibility:
2639 ac_top_builddir=$ac_top_build_prefix
2641 case $srcdir in
2642 .) # We are building in place.
2643 ac_srcdir=.
2644 ac_top_srcdir=$ac_top_builddir_sub
2645 ac_abs_top_srcdir=$ac_pwd ;;
2646 [\\/]* | ?:[\\/]* ) # Absolute name.
2647 ac_srcdir=$srcdir$ac_dir_suffix;
2648 ac_top_srcdir=$srcdir
2649 ac_abs_top_srcdir=$srcdir ;;
2650 *) # Relative name.
2651 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2652 ac_top_srcdir=$ac_top_build_prefix$srcdir
2653 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2654 esac
2655 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2657 cd "$ac_dir" || { ac_status=$?; continue; }
2658 # Check for guested configure.
2659 if test -f "$ac_srcdir/configure.gnu"; then
2660 echo &&
2661 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2662 elif test -f "$ac_srcdir/configure"; then
2663 echo &&
2664 $SHELL "$ac_srcdir/configure" --help=recursive
2665 else
2666 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2667 fi || ac_status=$?
2668 cd "$ac_pwd" || { ac_status=$?; break; }
2669 done
2672 test -n "$ac_init_help" && exit $ac_status
2673 if $ac_init_version; then
2674 cat <<\_ACEOF
2675 Wine configure 3.9
2676 generated by GNU Autoconf 2.69
2678 Copyright (C) 2012 Free Software Foundation, Inc.
2679 This configure script is free software; the Free Software Foundation
2680 gives unlimited permission to copy, distribute and modify it.
2681 _ACEOF
2682 exit
2685 ## ------------------------ ##
2686 ## Autoconf initialization. ##
2687 ## ------------------------ ##
2689 # ac_fn_c_try_compile LINENO
2690 # --------------------------
2691 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2692 ac_fn_c_try_compile ()
2694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2695 rm -f conftest.$ac_objext
2696 if { { ac_try="$ac_compile"
2697 case "(($ac_try" in
2698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2699 *) ac_try_echo=$ac_try;;
2700 esac
2701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2702 $as_echo "$ac_try_echo"; } >&5
2703 (eval "$ac_compile") 2>conftest.err
2704 ac_status=$?
2705 if test -s conftest.err; then
2706 grep -v '^ *+' conftest.err >conftest.er1
2707 cat conftest.er1 >&5
2708 mv -f conftest.er1 conftest.err
2710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2711 test $ac_status = 0; } && {
2712 test -z "$ac_c_werror_flag" ||
2713 test ! -s conftest.err
2714 } && test -s conftest.$ac_objext; then :
2715 ac_retval=0
2716 else
2717 $as_echo "$as_me: failed program was:" >&5
2718 sed 's/^/| /' conftest.$ac_ext >&5
2720 ac_retval=1
2722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2723 as_fn_set_status $ac_retval
2725 } # ac_fn_c_try_compile
2727 # ac_fn_cxx_try_compile LINENO
2728 # ----------------------------
2729 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2730 ac_fn_cxx_try_compile ()
2732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2733 rm -f conftest.$ac_objext
2734 if { { ac_try="$ac_compile"
2735 case "(($ac_try" in
2736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2737 *) ac_try_echo=$ac_try;;
2738 esac
2739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2740 $as_echo "$ac_try_echo"; } >&5
2741 (eval "$ac_compile") 2>conftest.err
2742 ac_status=$?
2743 if test -s conftest.err; then
2744 grep -v '^ *+' conftest.err >conftest.er1
2745 cat conftest.er1 >&5
2746 mv -f conftest.er1 conftest.err
2748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2749 test $ac_status = 0; } && {
2750 test -z "$ac_cxx_werror_flag" ||
2751 test ! -s conftest.err
2752 } && test -s conftest.$ac_objext; then :
2753 ac_retval=0
2754 else
2755 $as_echo "$as_me: failed program was:" >&5
2756 sed 's/^/| /' conftest.$ac_ext >&5
2758 ac_retval=1
2760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2761 as_fn_set_status $ac_retval
2763 } # ac_fn_cxx_try_compile
2765 # ac_fn_c_try_link LINENO
2766 # -----------------------
2767 # Try to link conftest.$ac_ext, and return whether this succeeded.
2768 ac_fn_c_try_link ()
2770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2771 rm -f conftest.$ac_objext conftest$ac_exeext
2772 if { { ac_try="$ac_link"
2773 case "(($ac_try" in
2774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2775 *) ac_try_echo=$ac_try;;
2776 esac
2777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2778 $as_echo "$ac_try_echo"; } >&5
2779 (eval "$ac_link") 2>conftest.err
2780 ac_status=$?
2781 if test -s conftest.err; then
2782 grep -v '^ *+' conftest.err >conftest.er1
2783 cat conftest.er1 >&5
2784 mv -f conftest.er1 conftest.err
2786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2787 test $ac_status = 0; } && {
2788 test -z "$ac_c_werror_flag" ||
2789 test ! -s conftest.err
2790 } && test -s conftest$ac_exeext && {
2791 test "$cross_compiling" = yes ||
2792 test -x conftest$ac_exeext
2793 }; then :
2794 ac_retval=0
2795 else
2796 $as_echo "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.$ac_ext >&5
2799 ac_retval=1
2801 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2802 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2803 # interfere with the next link command; also delete a directory that is
2804 # left behind by Apple's compiler. We do this before executing the actions.
2805 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2806 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2807 as_fn_set_status $ac_retval
2809 } # ac_fn_c_try_link
2811 # ac_fn_c_try_cpp LINENO
2812 # ----------------------
2813 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2814 ac_fn_c_try_cpp ()
2816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2817 if { { ac_try="$ac_cpp conftest.$ac_ext"
2818 case "(($ac_try" in
2819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2820 *) ac_try_echo=$ac_try;;
2821 esac
2822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2823 $as_echo "$ac_try_echo"; } >&5
2824 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2825 ac_status=$?
2826 if test -s conftest.err; then
2827 grep -v '^ *+' conftest.err >conftest.er1
2828 cat conftest.er1 >&5
2829 mv -f conftest.er1 conftest.err
2831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2832 test $ac_status = 0; } > conftest.i && {
2833 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2834 test ! -s conftest.err
2835 }; then :
2836 ac_retval=0
2837 else
2838 $as_echo "$as_me: failed program was:" >&5
2839 sed 's/^/| /' conftest.$ac_ext >&5
2841 ac_retval=1
2843 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2844 as_fn_set_status $ac_retval
2846 } # ac_fn_c_try_cpp
2848 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2849 # -------------------------------------------------------
2850 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2851 # the include files in INCLUDES and setting the cache variable VAR
2852 # accordingly.
2853 ac_fn_c_check_header_mongrel ()
2855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2856 if eval \${$3+:} false; then :
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2858 $as_echo_n "checking for $2... " >&6; }
2859 if eval \${$3+:} false; then :
2860 $as_echo_n "(cached) " >&6
2862 eval ac_res=\$$3
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2864 $as_echo "$ac_res" >&6; }
2865 else
2866 # Is the header compilable?
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2868 $as_echo_n "checking $2 usability... " >&6; }
2869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2870 /* end confdefs.h. */
2872 #include <$2>
2873 _ACEOF
2874 if ac_fn_c_try_compile "$LINENO"; then :
2875 ac_header_compiler=yes
2876 else
2877 ac_header_compiler=no
2879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2881 $as_echo "$ac_header_compiler" >&6; }
2883 # Is the header present?
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2885 $as_echo_n "checking $2 presence... " >&6; }
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2888 #include <$2>
2889 _ACEOF
2890 if ac_fn_c_try_cpp "$LINENO"; then :
2891 ac_header_preproc=yes
2892 else
2893 ac_header_preproc=no
2895 rm -f conftest.err conftest.i conftest.$ac_ext
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2897 $as_echo "$ac_header_preproc" >&6; }
2899 # So? What about this header?
2900 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2901 yes:no: )
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2903 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2905 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2907 no:yes:* )
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2909 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2911 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2913 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2915 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2917 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2918 ( $as_echo "## ------------------------------------ ##
2919 ## Report this to wine-devel@winehq.org ##
2920 ## ------------------------------------ ##"
2921 ) | sed "s/^/$as_me: WARNING: /" >&2
2923 esac
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2925 $as_echo_n "checking for $2... " >&6; }
2926 if eval \${$3+:} false; then :
2927 $as_echo_n "(cached) " >&6
2928 else
2929 eval "$3=\$ac_header_compiler"
2931 eval ac_res=\$$3
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2933 $as_echo "$ac_res" >&6; }
2935 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2937 } # ac_fn_c_check_header_mongrel
2939 # ac_fn_c_try_run LINENO
2940 # ----------------------
2941 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2942 # that executables *can* be run.
2943 ac_fn_c_try_run ()
2945 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2946 if { { ac_try="$ac_link"
2947 case "(($ac_try" in
2948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2949 *) ac_try_echo=$ac_try;;
2950 esac
2951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2952 $as_echo "$ac_try_echo"; } >&5
2953 (eval "$ac_link") 2>&5
2954 ac_status=$?
2955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2956 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2957 { { case "(($ac_try" in
2958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2959 *) ac_try_echo=$ac_try;;
2960 esac
2961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2962 $as_echo "$ac_try_echo"; } >&5
2963 (eval "$ac_try") 2>&5
2964 ac_status=$?
2965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2966 test $ac_status = 0; }; }; then :
2967 ac_retval=0
2968 else
2969 $as_echo "$as_me: program exited with status $ac_status" >&5
2970 $as_echo "$as_me: failed program was:" >&5
2971 sed 's/^/| /' conftest.$ac_ext >&5
2973 ac_retval=$ac_status
2975 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2976 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2977 as_fn_set_status $ac_retval
2979 } # ac_fn_c_try_run
2981 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2982 # -------------------------------------------------------
2983 # Tests whether HEADER exists and can be compiled using the include files in
2984 # INCLUDES, setting the cache variable VAR accordingly.
2985 ac_fn_c_check_header_compile ()
2987 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2989 $as_echo_n "checking for $2... " >&6; }
2990 if eval \${$3+:} false; then :
2991 $as_echo_n "(cached) " >&6
2992 else
2993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994 /* end confdefs.h. */
2996 #include <$2>
2997 _ACEOF
2998 if ac_fn_c_try_compile "$LINENO"; then :
2999 eval "$3=yes"
3000 else
3001 eval "$3=no"
3003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3005 eval ac_res=\$$3
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3007 $as_echo "$ac_res" >&6; }
3008 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3010 } # ac_fn_c_check_header_compile
3012 # ac_fn_c_check_func LINENO FUNC VAR
3013 # ----------------------------------
3014 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3015 ac_fn_c_check_func ()
3017 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3019 $as_echo_n "checking for $2... " >&6; }
3020 if eval \${$3+:} false; then :
3021 $as_echo_n "(cached) " >&6
3022 else
3023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3024 /* end confdefs.h. */
3025 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3027 #define $2 innocuous_$2
3029 /* System header to define __stub macros and hopefully few prototypes,
3030 which can conflict with char $2 (); below.
3031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3032 <limits.h> exists even on freestanding compilers. */
3034 #ifdef __STDC__
3035 # include <limits.h>
3036 #else
3037 # include <assert.h>
3038 #endif
3040 #undef $2
3042 /* Override any GCC internal prototype to avoid an error.
3043 Use char because int might match the return type of a GCC
3044 builtin and then its argument prototype would still apply. */
3045 #ifdef __cplusplus
3046 extern "C"
3047 #endif
3048 char $2 ();
3049 /* The GNU C library defines this for functions which it implements
3050 to always fail with ENOSYS. Some functions are actually named
3051 something starting with __ and the normal name is an alias. */
3052 #if defined __stub_$2 || defined __stub___$2
3053 choke me
3054 #endif
3057 main ()
3059 return $2 ();
3061 return 0;
3063 _ACEOF
3064 if ac_fn_c_try_link "$LINENO"; then :
3065 eval "$3=yes"
3066 else
3067 eval "$3=no"
3069 rm -f core conftest.err conftest.$ac_objext \
3070 conftest$ac_exeext conftest.$ac_ext
3072 eval ac_res=\$$3
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3074 $as_echo "$ac_res" >&6; }
3075 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3077 } # ac_fn_c_check_func
3079 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3080 # ----------------------------------------------------
3081 # Tries to find if the field MEMBER exists in type AGGR, after including
3082 # INCLUDES, setting cache variable VAR accordingly.
3083 ac_fn_c_check_member ()
3085 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3087 $as_echo_n "checking for $2.$3... " >&6; }
3088 if eval \${$4+:} false; then :
3089 $as_echo_n "(cached) " >&6
3090 else
3091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3092 /* end confdefs.h. */
3095 main ()
3097 static $2 ac_aggr;
3098 if (ac_aggr.$3)
3099 return 0;
3101 return 0;
3103 _ACEOF
3104 if ac_fn_c_try_compile "$LINENO"; then :
3105 eval "$4=yes"
3106 else
3107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3108 /* end confdefs.h. */
3111 main ()
3113 static $2 ac_aggr;
3114 if (sizeof ac_aggr.$3)
3115 return 0;
3117 return 0;
3119 _ACEOF
3120 if ac_fn_c_try_compile "$LINENO"; then :
3121 eval "$4=yes"
3122 else
3123 eval "$4=no"
3125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3129 eval ac_res=\$$4
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3131 $as_echo "$ac_res" >&6; }
3132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3134 } # ac_fn_c_check_member
3136 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3137 # -------------------------------------------
3138 # Tests whether TYPE exists after having included INCLUDES, setting cache
3139 # variable VAR accordingly.
3140 ac_fn_c_check_type ()
3142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3144 $as_echo_n "checking for $2... " >&6; }
3145 if eval \${$3+:} false; then :
3146 $as_echo_n "(cached) " >&6
3147 else
3148 eval "$3=no"
3149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3150 /* end confdefs.h. */
3153 main ()
3155 if (sizeof ($2))
3156 return 0;
3158 return 0;
3160 _ACEOF
3161 if ac_fn_c_try_compile "$LINENO"; then :
3162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3163 /* end confdefs.h. */
3166 main ()
3168 if (sizeof (($2)))
3169 return 0;
3171 return 0;
3173 _ACEOF
3174 if ac_fn_c_try_compile "$LINENO"; then :
3176 else
3177 eval "$3=yes"
3179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3183 eval ac_res=\$$3
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3185 $as_echo "$ac_res" >&6; }
3186 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3188 } # ac_fn_c_check_type
3189 cat >config.log <<_ACEOF
3190 This file contains any messages produced by compilers while
3191 running configure, to aid debugging if configure makes a mistake.
3193 It was created by Wine $as_me 3.9, which was
3194 generated by GNU Autoconf 2.69. Invocation command line was
3196 $ $0 $@
3198 _ACEOF
3199 exec 5>>config.log
3201 cat <<_ASUNAME
3202 ## --------- ##
3203 ## Platform. ##
3204 ## --------- ##
3206 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3207 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3208 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3209 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3210 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3212 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3213 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3215 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3216 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3217 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3218 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3219 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3220 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3221 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3223 _ASUNAME
3225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3226 for as_dir in $PATH
3228 IFS=$as_save_IFS
3229 test -z "$as_dir" && as_dir=.
3230 $as_echo "PATH: $as_dir"
3231 done
3232 IFS=$as_save_IFS
3234 } >&5
3236 cat >&5 <<_ACEOF
3239 ## ----------- ##
3240 ## Core tests. ##
3241 ## ----------- ##
3243 _ACEOF
3246 # Keep a trace of the command line.
3247 # Strip out --no-create and --no-recursion so they do not pile up.
3248 # Strip out --silent because we don't want to record it for future runs.
3249 # Also quote any args containing shell meta-characters.
3250 # Make two passes to allow for proper duplicate-argument suppression.
3251 ac_configure_args=
3252 ac_configure_args0=
3253 ac_configure_args1=
3254 ac_must_keep_next=false
3255 for ac_pass in 1 2
3257 for ac_arg
3259 case $ac_arg in
3260 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3261 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3262 | -silent | --silent | --silen | --sile | --sil)
3263 continue ;;
3264 *\'*)
3265 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3266 esac
3267 case $ac_pass in
3268 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3270 as_fn_append ac_configure_args1 " '$ac_arg'"
3271 if test $ac_must_keep_next = true; then
3272 ac_must_keep_next=false # Got value, back to normal.
3273 else
3274 case $ac_arg in
3275 *=* | --config-cache | -C | -disable-* | --disable-* \
3276 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3277 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3278 | -with-* | --with-* | -without-* | --without-* | --x)
3279 case "$ac_configure_args0 " in
3280 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3281 esac
3283 -* ) ac_must_keep_next=true ;;
3284 esac
3286 as_fn_append ac_configure_args " '$ac_arg'"
3288 esac
3289 done
3290 done
3291 { ac_configure_args0=; unset ac_configure_args0;}
3292 { ac_configure_args1=; unset ac_configure_args1;}
3294 # When interrupted or exit'd, cleanup temporary files, and complete
3295 # config.log. We remove comments because anyway the quotes in there
3296 # would cause problems or look ugly.
3297 # WARNING: Use '\'' to represent an apostrophe within the trap.
3298 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3299 trap 'exit_status=$?
3300 # Save into config.log some information that might help in debugging.
3302 echo
3304 $as_echo "## ---------------- ##
3305 ## Cache variables. ##
3306 ## ---------------- ##"
3307 echo
3308 # The following way of writing the cache mishandles newlines in values,
3310 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3311 eval ac_val=\$$ac_var
3312 case $ac_val in #(
3313 *${as_nl}*)
3314 case $ac_var in #(
3315 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3316 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3317 esac
3318 case $ac_var in #(
3319 _ | IFS | as_nl) ;; #(
3320 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3321 *) { eval $ac_var=; unset $ac_var;} ;;
3322 esac ;;
3323 esac
3324 done
3325 (set) 2>&1 |
3326 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3327 *${as_nl}ac_space=\ *)
3328 sed -n \
3329 "s/'\''/'\''\\\\'\'''\''/g;
3330 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3331 ;; #(
3333 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3335 esac |
3336 sort
3338 echo
3340 $as_echo "## ----------------- ##
3341 ## Output variables. ##
3342 ## ----------------- ##"
3343 echo
3344 for ac_var in $ac_subst_vars
3346 eval ac_val=\$$ac_var
3347 case $ac_val in
3348 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3349 esac
3350 $as_echo "$ac_var='\''$ac_val'\''"
3351 done | sort
3352 echo
3354 if test -n "$ac_subst_files"; then
3355 $as_echo "## ------------------- ##
3356 ## File substitutions. ##
3357 ## ------------------- ##"
3358 echo
3359 for ac_var in $ac_subst_files
3361 eval ac_val=\$$ac_var
3362 case $ac_val in
3363 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3364 esac
3365 $as_echo "$ac_var='\''$ac_val'\''"
3366 done | sort
3367 echo
3370 if test -s confdefs.h; then
3371 $as_echo "## ----------- ##
3372 ## confdefs.h. ##
3373 ## ----------- ##"
3374 echo
3375 cat confdefs.h
3376 echo
3378 test "$ac_signal" != 0 &&
3379 $as_echo "$as_me: caught signal $ac_signal"
3380 $as_echo "$as_me: exit $exit_status"
3381 } >&5
3382 rm -f core *.core core.conftest.* &&
3383 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3384 exit $exit_status
3386 for ac_signal in 1 2 13 15; do
3387 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3388 done
3389 ac_signal=0
3391 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3392 rm -f -r conftest* confdefs.h
3394 $as_echo "/* confdefs.h */" > confdefs.h
3396 # Predefined preprocessor variables.
3398 cat >>confdefs.h <<_ACEOF
3399 #define PACKAGE_NAME "$PACKAGE_NAME"
3400 _ACEOF
3402 cat >>confdefs.h <<_ACEOF
3403 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3404 _ACEOF
3406 cat >>confdefs.h <<_ACEOF
3407 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3408 _ACEOF
3410 cat >>confdefs.h <<_ACEOF
3411 #define PACKAGE_STRING "$PACKAGE_STRING"
3412 _ACEOF
3414 cat >>confdefs.h <<_ACEOF
3415 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3416 _ACEOF
3418 cat >>confdefs.h <<_ACEOF
3419 #define PACKAGE_URL "$PACKAGE_URL"
3420 _ACEOF
3423 # Let the site file select an alternate cache file if it wants to.
3424 # Prefer an explicitly selected file to automatically selected ones.
3425 ac_site_file1=NONE
3426 ac_site_file2=NONE
3427 if test -n "$CONFIG_SITE"; then
3428 # We do not want a PATH search for config.site.
3429 case $CONFIG_SITE in #((
3430 -*) ac_site_file1=./$CONFIG_SITE;;
3431 */*) ac_site_file1=$CONFIG_SITE;;
3432 *) ac_site_file1=./$CONFIG_SITE;;
3433 esac
3434 elif test "x$prefix" != xNONE; then
3435 ac_site_file1=$prefix/share/config.site
3436 ac_site_file2=$prefix/etc/config.site
3437 else
3438 ac_site_file1=$ac_default_prefix/share/config.site
3439 ac_site_file2=$ac_default_prefix/etc/config.site
3441 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3443 test "x$ac_site_file" = xNONE && continue
3444 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3446 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3447 sed 's/^/| /' "$ac_site_file" >&5
3448 . "$ac_site_file" \
3449 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3451 as_fn_error $? "failed to load site script $ac_site_file
3452 See \`config.log' for more details" "$LINENO" 5; }
3454 done
3456 if test -r "$cache_file"; then
3457 # Some versions of bash will fail to source /dev/null (special files
3458 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3459 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3461 $as_echo "$as_me: loading cache $cache_file" >&6;}
3462 case $cache_file in
3463 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3464 *) . "./$cache_file";;
3465 esac
3467 else
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3469 $as_echo "$as_me: creating cache $cache_file" >&6;}
3470 >$cache_file
3473 # Check that the precious variables saved in the cache have kept the same
3474 # value.
3475 ac_cache_corrupted=false
3476 for ac_var in $ac_precious_vars; do
3477 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3478 eval ac_new_set=\$ac_env_${ac_var}_set
3479 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3480 eval ac_new_val=\$ac_env_${ac_var}_value
3481 case $ac_old_set,$ac_new_set in
3482 set,)
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3484 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3485 ac_cache_corrupted=: ;;
3486 ,set)
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3488 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3489 ac_cache_corrupted=: ;;
3490 ,);;
3492 if test "x$ac_old_val" != "x$ac_new_val"; then
3493 # differences in whitespace do not lead to failure.
3494 ac_old_val_w=`echo x $ac_old_val`
3495 ac_new_val_w=`echo x $ac_new_val`
3496 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3498 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3499 ac_cache_corrupted=:
3500 else
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3502 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3503 eval $ac_var=\$ac_old_val
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3506 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3508 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3509 fi;;
3510 esac
3511 # Pass precious variables to config.status.
3512 if test "$ac_new_set" = set; then
3513 case $ac_new_val in
3514 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3515 *) ac_arg=$ac_var=$ac_new_val ;;
3516 esac
3517 case " $ac_configure_args " in
3518 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3519 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3520 esac
3522 done
3523 if $ac_cache_corrupted; then
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3527 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3528 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3530 ## -------------------- ##
3531 ## Main body of script. ##
3532 ## -------------------- ##
3534 ac_ext=c
3535 ac_cpp='$CPP $CPPFLAGS'
3536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3542 ac_config_headers="$ac_config_headers include/config.h"
3544 ac_aux_dir=
3545 for ac_dir in tools "$srcdir"/tools; do
3546 if test -f "$ac_dir/install-sh"; then
3547 ac_aux_dir=$ac_dir
3548 ac_install_sh="$ac_aux_dir/install-sh -c"
3549 break
3550 elif test -f "$ac_dir/install.sh"; then
3551 ac_aux_dir=$ac_dir
3552 ac_install_sh="$ac_aux_dir/install.sh -c"
3553 break
3554 elif test -f "$ac_dir/shtool"; then
3555 ac_aux_dir=$ac_dir
3556 ac_install_sh="$ac_aux_dir/shtool install -c"
3557 break
3559 done
3560 if test -z "$ac_aux_dir"; then
3561 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3564 # These three variables are undocumented and unsupported,
3565 # and are intended to be withdrawn in a future Autoconf release.
3566 # They can cause serious problems if a builder's source tree is in a directory
3567 # whose full name contains unusual characters.
3568 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3569 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3570 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3574 libwine_version="1.0"
3578 # Check whether --enable-win16 was given.
3579 if test "${enable_win16+set}" = set; then :
3580 enableval=$enable_win16;
3583 # Check whether --enable-win64 was given.
3584 if test "${enable_win64+set}" = set; then :
3585 enableval=$enable_win64;
3588 # Check whether --enable-tests was given.
3589 if test "${enable_tests+set}" = set; then :
3590 enableval=$enable_tests;
3593 # Check whether --enable-maintainer-mode was given.
3594 if test "${enable_maintainer_mode+set}" = set; then :
3595 enableval=$enable_maintainer_mode;
3600 # Check whether --with-alsa was given.
3601 if test "${with_alsa+set}" = set; then :
3602 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3606 # Check whether --with-capi was given.
3607 if test "${with_capi+set}" = set; then :
3608 withval=$with_capi;
3612 # Check whether --with-cms was given.
3613 if test "${with_cms+set}" = set; then :
3614 withval=$with_cms;
3618 # Check whether --with-coreaudio was given.
3619 if test "${with_coreaudio+set}" = set; then :
3620 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3624 # Check whether --with-cups was given.
3625 if test "${with_cups+set}" = set; then :
3626 withval=$with_cups;
3630 # Check whether --with-curses was given.
3631 if test "${with_curses+set}" = set; then :
3632 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3636 # Check whether --with-dbus was given.
3637 if test "${with_dbus+set}" = set; then :
3638 withval=$with_dbus;
3642 # Check whether --with-float-abi was given.
3643 if test "${with_float_abi+set}" = set; then :
3644 withval=$with_float_abi;
3648 # Check whether --with-fontconfig was given.
3649 if test "${with_fontconfig+set}" = set; then :
3650 withval=$with_fontconfig;
3654 # Check whether --with-freetype was given.
3655 if test "${with_freetype+set}" = set; then :
3656 withval=$with_freetype;
3660 # Check whether --with-gettext was given.
3661 if test "${with_gettext+set}" = set; then :
3662 withval=$with_gettext;
3666 # Check whether --with-gettextpo was given.
3667 if test "${with_gettextpo+set}" = set; then :
3668 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3672 # Check whether --with-gphoto was given.
3673 if test "${with_gphoto+set}" = set; then :
3674 withval=$with_gphoto;
3678 # Check whether --with-glu was given.
3679 if test "${with_glu+set}" = set; then :
3680 withval=$with_glu;
3684 # Check whether --with-gnutls was given.
3685 if test "${with_gnutls+set}" = set; then :
3686 withval=$with_gnutls;
3690 # Check whether --with-gsm was given.
3691 if test "${with_gsm+set}" = set; then :
3692 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3696 # Check whether --with-gssapi was given.
3697 if test "${with_gssapi+set}" = set; then :
3698 withval=$with_gssapi;
3702 # Check whether --with-gstreamer was given.
3703 if test "${with_gstreamer+set}" = set; then :
3704 withval=$with_gstreamer;
3708 # Check whether --with-hal was given.
3709 if test "${with_hal+set}" = set; then :
3710 withval=$with_hal;
3714 # Check whether --with-jpeg was given.
3715 if test "${with_jpeg+set}" = set; then :
3716 withval=$with_jpeg;
3720 # Check whether --with-krb5 was given.
3721 if test "${with_krb5+set}" = set; then :
3722 withval=$with_krb5;
3726 # Check whether --with-ldap was given.
3727 if test "${with_ldap+set}" = set; then :
3728 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3732 # Check whether --with-mpg123 was given.
3733 if test "${with_mpg123+set}" = set; then :
3734 withval=$with_mpg123;
3738 # Check whether --with-netapi was given.
3739 if test "${with_netapi+set}" = set; then :
3740 withval=$with_netapi;
3744 # Check whether --with-openal was given.
3745 if test "${with_openal+set}" = set; then :
3746 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3750 # Check whether --with-opencl was given.
3751 if test "${with_opencl+set}" = set; then :
3752 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3756 # Check whether --with-opengl was given.
3757 if test "${with_opengl+set}" = set; then :
3758 withval=$with_opengl;
3762 # Check whether --with-osmesa was given.
3763 if test "${with_osmesa+set}" = set; then :
3764 withval=$with_osmesa;
3768 # Check whether --with-oss was given.
3769 if test "${with_oss+set}" = set; then :
3770 withval=$with_oss;
3774 # Check whether --with-pcap was given.
3775 if test "${with_pcap+set}" = set; then :
3776 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3780 # Check whether --with-png was given.
3781 if test "${with_png+set}" = set; then :
3782 withval=$with_png;
3786 # Check whether --with-pthread was given.
3787 if test "${with_pthread+set}" = set; then :
3788 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3792 # Check whether --with-pulse was given.
3793 if test "${with_pulse+set}" = set; then :
3794 withval=$with_pulse;
3798 # Check whether --with-sane was given.
3799 if test "${with_sane+set}" = set; then :
3800 withval=$with_sane;
3804 # Check whether --with-sdl was given.
3805 if test "${with_sdl+set}" = set; then :
3806 withval=$with_sdl;
3810 # Check whether --with-tiff was given.
3811 if test "${with_tiff+set}" = set; then :
3812 withval=$with_tiff;
3816 # Check whether --with-udev was given.
3817 if test "${with_udev+set}" = set; then :
3818 withval=$with_udev;
3822 # Check whether --with-v4l was given.
3823 if test "${with_v4l+set}" = set; then :
3824 withval=$with_v4l;
3828 # Check whether --with-vkd3d was given.
3829 if test "${with_vkd3d+set}" = set; then :
3830 withval=$with_vkd3d;
3834 # Check whether --with-vulkan was given.
3835 if test "${with_vulkan+set}" = set; then :
3836 withval=$with_vulkan;
3840 # Check whether --with-xcomposite was given.
3841 if test "${with_xcomposite+set}" = set; then :
3842 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3846 # Check whether --with-xcursor was given.
3847 if test "${with_xcursor+set}" = set; then :
3848 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3852 # Check whether --with-xfixes was given.
3853 if test "${with_xfixes+set}" = set; then :
3854 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3858 # Check whether --with-xinerama was given.
3859 if test "${with_xinerama+set}" = set; then :
3860 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3864 # Check whether --with-xinput was given.
3865 if test "${with_xinput+set}" = set; then :
3866 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3870 # Check whether --with-xinput2 was given.
3871 if test "${with_xinput2+set}" = set; then :
3872 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3876 # Check whether --with-xml was given.
3877 if test "${with_xml+set}" = set; then :
3878 withval=$with_xml;
3882 # Check whether --with-xrandr was given.
3883 if test "${with_xrandr+set}" = set; then :
3884 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3888 # Check whether --with-xrender was given.
3889 if test "${with_xrender+set}" = set; then :
3890 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3894 # Check whether --with-xshape was given.
3895 if test "${with_xshape+set}" = set; then :
3896 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3900 # Check whether --with-xshm was given.
3901 if test "${with_xshm+set}" = set; then :
3902 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3906 # Check whether --with-xslt was given.
3907 if test "${with_xslt+set}" = set; then :
3908 withval=$with_xslt;
3912 # Check whether --with-xxf86vm was given.
3913 if test "${with_xxf86vm+set}" = set; then :
3914 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
3918 # Check whether --with-zlib was given.
3919 if test "${with_zlib+set}" = set; then :
3920 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3925 # Check whether --with-wine-tools was given.
3926 if test "${with_wine_tools+set}" = set; then :
3927 withval=$with_wine_tools;
3931 # Check whether --with-wine64 was given.
3932 if test "${with_wine64+set}" = set; then :
3933 withval=$with_wine64;
3937 # Make sure we can run config.sub.
3938 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3939 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3942 $as_echo_n "checking build system type... " >&6; }
3943 if ${ac_cv_build+:} false; then :
3944 $as_echo_n "(cached) " >&6
3945 else
3946 ac_build_alias=$build_alias
3947 test "x$ac_build_alias" = x &&
3948 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3949 test "x$ac_build_alias" = x &&
3950 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3951 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3952 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3956 $as_echo "$ac_cv_build" >&6; }
3957 case $ac_cv_build in
3958 *-*-*) ;;
3959 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3960 esac
3961 build=$ac_cv_build
3962 ac_save_IFS=$IFS; IFS='-'
3963 set x $ac_cv_build
3964 shift
3965 build_cpu=$1
3966 build_vendor=$2
3967 shift; shift
3968 # Remember, the first character of IFS is used to create $*,
3969 # except with old shells:
3970 build_os=$*
3971 IFS=$ac_save_IFS
3972 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3976 $as_echo_n "checking host system type... " >&6; }
3977 if ${ac_cv_host+:} false; then :
3978 $as_echo_n "(cached) " >&6
3979 else
3980 if test "x$host_alias" = x; then
3981 ac_cv_host=$ac_cv_build
3982 else
3983 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3984 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3989 $as_echo "$ac_cv_host" >&6; }
3990 case $ac_cv_host in
3991 *-*-*) ;;
3992 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3993 esac
3994 host=$ac_cv_host
3995 ac_save_IFS=$IFS; IFS='-'
3996 set x $ac_cv_host
3997 shift
3998 host_cpu=$1
3999 host_vendor=$2
4000 shift; shift
4001 # Remember, the first character of IFS is used to create $*,
4002 # except with old shells:
4003 host_os=$*
4004 IFS=$ac_save_IFS
4005 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4009 case "$srcdir" in
4010 .) ;;
4011 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4012 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4013 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4014 fi ;;
4015 esac
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4019 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4020 set x ${MAKE-make}
4021 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4022 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4023 $as_echo_n "(cached) " >&6
4024 else
4025 cat >conftest.make <<\_ACEOF
4026 SHELL = /bin/sh
4027 all:
4028 @echo '@@@%%%=$(MAKE)=@@@%%%'
4029 _ACEOF
4030 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4031 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4032 *@@@%%%=?*=@@@%%%*)
4033 eval ac_cv_prog_make_${ac_make}_set=yes;;
4035 eval ac_cv_prog_make_${ac_make}_set=no;;
4036 esac
4037 rm -f conftest.make
4039 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4041 $as_echo "yes" >&6; }
4042 SET_MAKE=
4043 else
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4045 $as_echo "no" >&6; }
4046 SET_MAKE="MAKE=${MAKE-make}"
4049 ac_ext=c
4050 ac_cpp='$CPP $CPPFLAGS'
4051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4054 if test -n "$ac_tool_prefix"; then
4055 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4056 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4058 $as_echo_n "checking for $ac_word... " >&6; }
4059 if ${ac_cv_prog_CC+:} false; then :
4060 $as_echo_n "(cached) " >&6
4061 else
4062 if test -n "$CC"; then
4063 ac_cv_prog_CC="$CC" # Let the user override the test.
4064 else
4065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4066 for as_dir in $PATH
4068 IFS=$as_save_IFS
4069 test -z "$as_dir" && as_dir=.
4070 for ac_exec_ext in '' $ac_executable_extensions; do
4071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4072 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4074 break 2
4076 done
4077 done
4078 IFS=$as_save_IFS
4082 CC=$ac_cv_prog_CC
4083 if test -n "$CC"; then
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4085 $as_echo "$CC" >&6; }
4086 else
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4088 $as_echo "no" >&6; }
4093 if test -z "$ac_cv_prog_CC"; then
4094 ac_ct_CC=$CC
4095 # Extract the first word of "gcc", so it can be a program name with args.
4096 set dummy gcc; ac_word=$2
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4098 $as_echo_n "checking for $ac_word... " >&6; }
4099 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4100 $as_echo_n "(cached) " >&6
4101 else
4102 if test -n "$ac_ct_CC"; then
4103 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4104 else
4105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4106 for as_dir in $PATH
4108 IFS=$as_save_IFS
4109 test -z "$as_dir" && as_dir=.
4110 for ac_exec_ext in '' $ac_executable_extensions; do
4111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4112 ac_cv_prog_ac_ct_CC="gcc"
4113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4114 break 2
4116 done
4117 done
4118 IFS=$as_save_IFS
4122 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4123 if test -n "$ac_ct_CC"; then
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4125 $as_echo "$ac_ct_CC" >&6; }
4126 else
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4128 $as_echo "no" >&6; }
4131 if test "x$ac_ct_CC" = x; then
4132 CC=""
4133 else
4134 case $cross_compiling:$ac_tool_warned in
4135 yes:)
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4138 ac_tool_warned=yes ;;
4139 esac
4140 CC=$ac_ct_CC
4142 else
4143 CC="$ac_cv_prog_CC"
4146 if test -z "$CC"; then
4147 if test -n "$ac_tool_prefix"; then
4148 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4149 set dummy ${ac_tool_prefix}cc; ac_word=$2
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4151 $as_echo_n "checking for $ac_word... " >&6; }
4152 if ${ac_cv_prog_CC+:} false; then :
4153 $as_echo_n "(cached) " >&6
4154 else
4155 if test -n "$CC"; then
4156 ac_cv_prog_CC="$CC" # Let the user override the test.
4157 else
4158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4159 for as_dir in $PATH
4161 IFS=$as_save_IFS
4162 test -z "$as_dir" && as_dir=.
4163 for ac_exec_ext in '' $ac_executable_extensions; do
4164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4165 ac_cv_prog_CC="${ac_tool_prefix}cc"
4166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4167 break 2
4169 done
4170 done
4171 IFS=$as_save_IFS
4175 CC=$ac_cv_prog_CC
4176 if test -n "$CC"; then
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4178 $as_echo "$CC" >&6; }
4179 else
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4181 $as_echo "no" >&6; }
4187 if test -z "$CC"; then
4188 # Extract the first word of "cc", so it can be a program name with args.
4189 set dummy cc; ac_word=$2
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4191 $as_echo_n "checking for $ac_word... " >&6; }
4192 if ${ac_cv_prog_CC+:} false; then :
4193 $as_echo_n "(cached) " >&6
4194 else
4195 if test -n "$CC"; then
4196 ac_cv_prog_CC="$CC" # Let the user override the test.
4197 else
4198 ac_prog_rejected=no
4199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4200 for as_dir in $PATH
4202 IFS=$as_save_IFS
4203 test -z "$as_dir" && as_dir=.
4204 for ac_exec_ext in '' $ac_executable_extensions; do
4205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4206 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4207 ac_prog_rejected=yes
4208 continue
4210 ac_cv_prog_CC="cc"
4211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4212 break 2
4214 done
4215 done
4216 IFS=$as_save_IFS
4218 if test $ac_prog_rejected = yes; then
4219 # We found a bogon in the path, so make sure we never use it.
4220 set dummy $ac_cv_prog_CC
4221 shift
4222 if test $# != 0; then
4223 # We chose a different compiler from the bogus one.
4224 # However, it has the same basename, so the bogon will be chosen
4225 # first if we set CC to just the basename; use the full file name.
4226 shift
4227 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4232 CC=$ac_cv_prog_CC
4233 if test -n "$CC"; then
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4235 $as_echo "$CC" >&6; }
4236 else
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4238 $as_echo "no" >&6; }
4243 if test -z "$CC"; then
4244 if test -n "$ac_tool_prefix"; then
4245 for ac_prog in cl.exe
4247 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4248 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4250 $as_echo_n "checking for $ac_word... " >&6; }
4251 if ${ac_cv_prog_CC+:} false; then :
4252 $as_echo_n "(cached) " >&6
4253 else
4254 if test -n "$CC"; then
4255 ac_cv_prog_CC="$CC" # Let the user override the test.
4256 else
4257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4258 for as_dir in $PATH
4260 IFS=$as_save_IFS
4261 test -z "$as_dir" && as_dir=.
4262 for ac_exec_ext in '' $ac_executable_extensions; do
4263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4264 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4266 break 2
4268 done
4269 done
4270 IFS=$as_save_IFS
4274 CC=$ac_cv_prog_CC
4275 if test -n "$CC"; then
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4277 $as_echo "$CC" >&6; }
4278 else
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4280 $as_echo "no" >&6; }
4284 test -n "$CC" && break
4285 done
4287 if test -z "$CC"; then
4288 ac_ct_CC=$CC
4289 for ac_prog in cl.exe
4291 # Extract the first word of "$ac_prog", so it can be a program name with args.
4292 set dummy $ac_prog; ac_word=$2
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4294 $as_echo_n "checking for $ac_word... " >&6; }
4295 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4296 $as_echo_n "(cached) " >&6
4297 else
4298 if test -n "$ac_ct_CC"; then
4299 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4300 else
4301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4302 for as_dir in $PATH
4304 IFS=$as_save_IFS
4305 test -z "$as_dir" && as_dir=.
4306 for ac_exec_ext in '' $ac_executable_extensions; do
4307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4308 ac_cv_prog_ac_ct_CC="$ac_prog"
4309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4310 break 2
4312 done
4313 done
4314 IFS=$as_save_IFS
4318 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4319 if test -n "$ac_ct_CC"; then
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4321 $as_echo "$ac_ct_CC" >&6; }
4322 else
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4324 $as_echo "no" >&6; }
4328 test -n "$ac_ct_CC" && break
4329 done
4331 if test "x$ac_ct_CC" = x; then
4332 CC=""
4333 else
4334 case $cross_compiling:$ac_tool_warned in
4335 yes:)
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4338 ac_tool_warned=yes ;;
4339 esac
4340 CC=$ac_ct_CC
4347 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4349 as_fn_error $? "no acceptable C compiler found in \$PATH
4350 See \`config.log' for more details" "$LINENO" 5; }
4352 # Provide some information about the compiler.
4353 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4354 set X $ac_compile
4355 ac_compiler=$2
4356 for ac_option in --version -v -V -qversion; do
4357 { { ac_try="$ac_compiler $ac_option >&5"
4358 case "(($ac_try" in
4359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4360 *) ac_try_echo=$ac_try;;
4361 esac
4362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4363 $as_echo "$ac_try_echo"; } >&5
4364 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4365 ac_status=$?
4366 if test -s conftest.err; then
4367 sed '10a\
4368 ... rest of stderr output deleted ...
4369 10q' conftest.err >conftest.er1
4370 cat conftest.er1 >&5
4372 rm -f conftest.er1 conftest.err
4373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4374 test $ac_status = 0; }
4375 done
4377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4378 /* end confdefs.h. */
4381 main ()
4385 return 0;
4387 _ACEOF
4388 ac_clean_files_save=$ac_clean_files
4389 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4390 # Try to create an executable without -o first, disregard a.out.
4391 # It will help us diagnose broken compilers, and finding out an intuition
4392 # of exeext.
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4394 $as_echo_n "checking whether the C compiler works... " >&6; }
4395 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4397 # The possible output files:
4398 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4400 ac_rmfiles=
4401 for ac_file in $ac_files
4403 case $ac_file in
4404 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4405 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4406 esac
4407 done
4408 rm -f $ac_rmfiles
4410 if { { ac_try="$ac_link_default"
4411 case "(($ac_try" in
4412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4413 *) ac_try_echo=$ac_try;;
4414 esac
4415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4416 $as_echo "$ac_try_echo"; } >&5
4417 (eval "$ac_link_default") 2>&5
4418 ac_status=$?
4419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4420 test $ac_status = 0; }; then :
4421 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4422 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4423 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4424 # so that the user can short-circuit this test for compilers unknown to
4425 # Autoconf.
4426 for ac_file in $ac_files ''
4428 test -f "$ac_file" || continue
4429 case $ac_file in
4430 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4432 [ab].out )
4433 # We found the default executable, but exeext='' is most
4434 # certainly right.
4435 break;;
4436 *.* )
4437 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4438 then :; else
4439 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4441 # We set ac_cv_exeext here because the later test for it is not
4442 # safe: cross compilers may not add the suffix if given an `-o'
4443 # argument, so we may need to know it at that point already.
4444 # Even if this section looks crufty: it has the advantage of
4445 # actually working.
4446 break;;
4448 break;;
4449 esac
4450 done
4451 test "$ac_cv_exeext" = no && ac_cv_exeext=
4453 else
4454 ac_file=''
4456 if test -z "$ac_file"; then :
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4458 $as_echo "no" >&6; }
4459 $as_echo "$as_me: failed program was:" >&5
4460 sed 's/^/| /' conftest.$ac_ext >&5
4462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4464 as_fn_error 77 "C compiler cannot create executables
4465 See \`config.log' for more details" "$LINENO" 5; }
4466 else
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4468 $as_echo "yes" >&6; }
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4471 $as_echo_n "checking for C compiler default output file name... " >&6; }
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4473 $as_echo "$ac_file" >&6; }
4474 ac_exeext=$ac_cv_exeext
4476 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4477 ac_clean_files=$ac_clean_files_save
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4479 $as_echo_n "checking for suffix of executables... " >&6; }
4480 if { { ac_try="$ac_link"
4481 case "(($ac_try" in
4482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4483 *) ac_try_echo=$ac_try;;
4484 esac
4485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4486 $as_echo "$ac_try_echo"; } >&5
4487 (eval "$ac_link") 2>&5
4488 ac_status=$?
4489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4490 test $ac_status = 0; }; then :
4491 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4492 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4493 # work properly (i.e., refer to `conftest.exe'), while it won't with
4494 # `rm'.
4495 for ac_file in conftest.exe conftest conftest.*; do
4496 test -f "$ac_file" || continue
4497 case $ac_file in
4498 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4499 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4500 break;;
4501 * ) break;;
4502 esac
4503 done
4504 else
4505 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4507 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4508 See \`config.log' for more details" "$LINENO" 5; }
4510 rm -f conftest conftest$ac_cv_exeext
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4512 $as_echo "$ac_cv_exeext" >&6; }
4514 rm -f conftest.$ac_ext
4515 EXEEXT=$ac_cv_exeext
4516 ac_exeext=$EXEEXT
4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4519 #include <stdio.h>
4521 main ()
4523 FILE *f = fopen ("conftest.out", "w");
4524 return ferror (f) || fclose (f) != 0;
4527 return 0;
4529 _ACEOF
4530 ac_clean_files="$ac_clean_files conftest.out"
4531 # Check that the compiler produces executables we can run. If not, either
4532 # the compiler is broken, or we cross compile.
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4534 $as_echo_n "checking whether we are cross compiling... " >&6; }
4535 if test "$cross_compiling" != yes; then
4536 { { ac_try="$ac_link"
4537 case "(($ac_try" in
4538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4539 *) ac_try_echo=$ac_try;;
4540 esac
4541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4542 $as_echo "$ac_try_echo"; } >&5
4543 (eval "$ac_link") 2>&5
4544 ac_status=$?
4545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4546 test $ac_status = 0; }
4547 if { ac_try='./conftest$ac_cv_exeext'
4548 { { case "(($ac_try" in
4549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4550 *) ac_try_echo=$ac_try;;
4551 esac
4552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4553 $as_echo "$ac_try_echo"; } >&5
4554 (eval "$ac_try") 2>&5
4555 ac_status=$?
4556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4557 test $ac_status = 0; }; }; then
4558 cross_compiling=no
4559 else
4560 if test "$cross_compiling" = maybe; then
4561 cross_compiling=yes
4562 else
4563 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4565 as_fn_error $? "cannot run C compiled programs.
4566 If you meant to cross compile, use \`--host'.
4567 See \`config.log' for more details" "$LINENO" 5; }
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4572 $as_echo "$cross_compiling" >&6; }
4574 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4575 ac_clean_files=$ac_clean_files_save
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4577 $as_echo_n "checking for suffix of object files... " >&6; }
4578 if ${ac_cv_objext+:} false; then :
4579 $as_echo_n "(cached) " >&6
4580 else
4581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582 /* end confdefs.h. */
4585 main ()
4589 return 0;
4591 _ACEOF
4592 rm -f conftest.o conftest.obj
4593 if { { ac_try="$ac_compile"
4594 case "(($ac_try" in
4595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4596 *) ac_try_echo=$ac_try;;
4597 esac
4598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4599 $as_echo "$ac_try_echo"; } >&5
4600 (eval "$ac_compile") 2>&5
4601 ac_status=$?
4602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4603 test $ac_status = 0; }; then :
4604 for ac_file in conftest.o conftest.obj conftest.*; do
4605 test -f "$ac_file" || continue;
4606 case $ac_file in
4607 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4608 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4609 break;;
4610 esac
4611 done
4612 else
4613 $as_echo "$as_me: failed program was:" >&5
4614 sed 's/^/| /' conftest.$ac_ext >&5
4616 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4618 as_fn_error $? "cannot compute suffix of object files: cannot compile
4619 See \`config.log' for more details" "$LINENO" 5; }
4621 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4624 $as_echo "$ac_cv_objext" >&6; }
4625 OBJEXT=$ac_cv_objext
4626 ac_objext=$OBJEXT
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4628 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4629 if ${ac_cv_c_compiler_gnu+:} false; then :
4630 $as_echo_n "(cached) " >&6
4631 else
4632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4633 /* end confdefs.h. */
4636 main ()
4638 #ifndef __GNUC__
4639 choke me
4640 #endif
4643 return 0;
4645 _ACEOF
4646 if ac_fn_c_try_compile "$LINENO"; then :
4647 ac_compiler_gnu=yes
4648 else
4649 ac_compiler_gnu=no
4651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4656 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4657 if test $ac_compiler_gnu = yes; then
4658 GCC=yes
4659 else
4660 GCC=
4662 ac_test_CFLAGS=${CFLAGS+set}
4663 ac_save_CFLAGS=$CFLAGS
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4665 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4666 if ${ac_cv_prog_cc_g+:} false; then :
4667 $as_echo_n "(cached) " >&6
4668 else
4669 ac_save_c_werror_flag=$ac_c_werror_flag
4670 ac_c_werror_flag=yes
4671 ac_cv_prog_cc_g=no
4672 CFLAGS="-g"
4673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4674 /* end confdefs.h. */
4677 main ()
4681 return 0;
4683 _ACEOF
4684 if ac_fn_c_try_compile "$LINENO"; then :
4685 ac_cv_prog_cc_g=yes
4686 else
4687 CFLAGS=""
4688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4689 /* end confdefs.h. */
4692 main ()
4696 return 0;
4698 _ACEOF
4699 if ac_fn_c_try_compile "$LINENO"; then :
4701 else
4702 ac_c_werror_flag=$ac_save_c_werror_flag
4703 CFLAGS="-g"
4704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4705 /* end confdefs.h. */
4708 main ()
4712 return 0;
4714 _ACEOF
4715 if ac_fn_c_try_compile "$LINENO"; then :
4716 ac_cv_prog_cc_g=yes
4718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4723 ac_c_werror_flag=$ac_save_c_werror_flag
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4726 $as_echo "$ac_cv_prog_cc_g" >&6; }
4727 if test "$ac_test_CFLAGS" = set; then
4728 CFLAGS=$ac_save_CFLAGS
4729 elif test $ac_cv_prog_cc_g = yes; then
4730 if test "$GCC" = yes; then
4731 CFLAGS="-g -O2"
4732 else
4733 CFLAGS="-g"
4735 else
4736 if test "$GCC" = yes; then
4737 CFLAGS="-O2"
4738 else
4739 CFLAGS=
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4743 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4744 if ${ac_cv_prog_cc_c89+:} false; then :
4745 $as_echo_n "(cached) " >&6
4746 else
4747 ac_cv_prog_cc_c89=no
4748 ac_save_CC=$CC
4749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4750 /* end confdefs.h. */
4751 #include <stdarg.h>
4752 #include <stdio.h>
4753 struct stat;
4754 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4755 struct buf { int x; };
4756 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4757 static char *e (p, i)
4758 char **p;
4759 int i;
4761 return p[i];
4763 static char *f (char * (*g) (char **, int), char **p, ...)
4765 char *s;
4766 va_list v;
4767 va_start (v,p);
4768 s = g (p, va_arg (v,int));
4769 va_end (v);
4770 return s;
4773 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4774 function prototypes and stuff, but not '\xHH' hex character constants.
4775 These don't provoke an error unfortunately, instead are silently treated
4776 as 'x'. The following induces an error, until -std is added to get
4777 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4778 array size at least. It's necessary to write '\x00'==0 to get something
4779 that's true only with -std. */
4780 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4782 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4783 inside strings and character constants. */
4784 #define FOO(x) 'x'
4785 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4787 int test (int i, double x);
4788 struct s1 {int (*f) (int a);};
4789 struct s2 {int (*f) (double a);};
4790 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4791 int argc;
4792 char **argv;
4794 main ()
4796 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4798 return 0;
4800 _ACEOF
4801 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4802 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4804 CC="$ac_save_CC $ac_arg"
4805 if ac_fn_c_try_compile "$LINENO"; then :
4806 ac_cv_prog_cc_c89=$ac_arg
4808 rm -f core conftest.err conftest.$ac_objext
4809 test "x$ac_cv_prog_cc_c89" != "xno" && break
4810 done
4811 rm -f conftest.$ac_ext
4812 CC=$ac_save_CC
4815 # AC_CACHE_VAL
4816 case "x$ac_cv_prog_cc_c89" in
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4819 $as_echo "none needed" >&6; } ;;
4820 xno)
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4822 $as_echo "unsupported" >&6; } ;;
4824 CC="$CC $ac_cv_prog_cc_c89"
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4826 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4827 esac
4828 if test "x$ac_cv_prog_cc_c89" != xno; then :
4832 ac_ext=c
4833 ac_cpp='$CPP $CPPFLAGS'
4834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4838 ac_ext=cpp
4839 ac_cpp='$CXXCPP $CPPFLAGS'
4840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4843 if test -z "$CXX"; then
4844 if test -n "$CCC"; then
4845 CXX=$CCC
4846 else
4847 if test -n "$ac_tool_prefix"; then
4848 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4850 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4851 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4853 $as_echo_n "checking for $ac_word... " >&6; }
4854 if ${ac_cv_prog_CXX+:} false; then :
4855 $as_echo_n "(cached) " >&6
4856 else
4857 if test -n "$CXX"; then
4858 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4859 else
4860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4861 for as_dir in $PATH
4863 IFS=$as_save_IFS
4864 test -z "$as_dir" && as_dir=.
4865 for ac_exec_ext in '' $ac_executable_extensions; do
4866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4867 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4869 break 2
4871 done
4872 done
4873 IFS=$as_save_IFS
4877 CXX=$ac_cv_prog_CXX
4878 if test -n "$CXX"; then
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4880 $as_echo "$CXX" >&6; }
4881 else
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4883 $as_echo "no" >&6; }
4887 test -n "$CXX" && break
4888 done
4890 if test -z "$CXX"; then
4891 ac_ct_CXX=$CXX
4892 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4894 # Extract the first word of "$ac_prog", so it can be a program name with args.
4895 set dummy $ac_prog; ac_word=$2
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4897 $as_echo_n "checking for $ac_word... " >&6; }
4898 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4899 $as_echo_n "(cached) " >&6
4900 else
4901 if test -n "$ac_ct_CXX"; then
4902 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4903 else
4904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4905 for as_dir in $PATH
4907 IFS=$as_save_IFS
4908 test -z "$as_dir" && as_dir=.
4909 for ac_exec_ext in '' $ac_executable_extensions; do
4910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4911 ac_cv_prog_ac_ct_CXX="$ac_prog"
4912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4913 break 2
4915 done
4916 done
4917 IFS=$as_save_IFS
4921 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4922 if test -n "$ac_ct_CXX"; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4924 $as_echo "$ac_ct_CXX" >&6; }
4925 else
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4927 $as_echo "no" >&6; }
4931 test -n "$ac_ct_CXX" && break
4932 done
4934 if test "x$ac_ct_CXX" = x; then
4935 CXX="g++"
4936 else
4937 case $cross_compiling:$ac_tool_warned in
4938 yes:)
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4940 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4941 ac_tool_warned=yes ;;
4942 esac
4943 CXX=$ac_ct_CXX
4949 # Provide some information about the compiler.
4950 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4951 set X $ac_compile
4952 ac_compiler=$2
4953 for ac_option in --version -v -V -qversion; do
4954 { { ac_try="$ac_compiler $ac_option >&5"
4955 case "(($ac_try" in
4956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4957 *) ac_try_echo=$ac_try;;
4958 esac
4959 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4960 $as_echo "$ac_try_echo"; } >&5
4961 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4962 ac_status=$?
4963 if test -s conftest.err; then
4964 sed '10a\
4965 ... rest of stderr output deleted ...
4966 10q' conftest.err >conftest.er1
4967 cat conftest.er1 >&5
4969 rm -f conftest.er1 conftest.err
4970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4971 test $ac_status = 0; }
4972 done
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4975 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4976 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4977 $as_echo_n "(cached) " >&6
4978 else
4979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4980 /* end confdefs.h. */
4983 main ()
4985 #ifndef __GNUC__
4986 choke me
4987 #endif
4990 return 0;
4992 _ACEOF
4993 if ac_fn_cxx_try_compile "$LINENO"; then :
4994 ac_compiler_gnu=yes
4995 else
4996 ac_compiler_gnu=no
4998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4999 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5003 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5004 if test $ac_compiler_gnu = yes; then
5005 GXX=yes
5006 else
5007 GXX=
5009 ac_test_CXXFLAGS=${CXXFLAGS+set}
5010 ac_save_CXXFLAGS=$CXXFLAGS
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5012 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5013 if ${ac_cv_prog_cxx_g+:} false; then :
5014 $as_echo_n "(cached) " >&6
5015 else
5016 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5017 ac_cxx_werror_flag=yes
5018 ac_cv_prog_cxx_g=no
5019 CXXFLAGS="-g"
5020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5021 /* end confdefs.h. */
5024 main ()
5028 return 0;
5030 _ACEOF
5031 if ac_fn_cxx_try_compile "$LINENO"; then :
5032 ac_cv_prog_cxx_g=yes
5033 else
5034 CXXFLAGS=""
5035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5036 /* end confdefs.h. */
5039 main ()
5043 return 0;
5045 _ACEOF
5046 if ac_fn_cxx_try_compile "$LINENO"; then :
5048 else
5049 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5050 CXXFLAGS="-g"
5051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5052 /* end confdefs.h. */
5055 main ()
5059 return 0;
5061 _ACEOF
5062 if ac_fn_cxx_try_compile "$LINENO"; then :
5063 ac_cv_prog_cxx_g=yes
5065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5070 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5073 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5074 if test "$ac_test_CXXFLAGS" = set; then
5075 CXXFLAGS=$ac_save_CXXFLAGS
5076 elif test $ac_cv_prog_cxx_g = yes; then
5077 if test "$GXX" = yes; then
5078 CXXFLAGS="-g -O2"
5079 else
5080 CXXFLAGS="-g"
5082 else
5083 if test "$GXX" = yes; then
5084 CXXFLAGS="-O2"
5085 else
5086 CXXFLAGS=
5089 ac_ext=c
5090 ac_cpp='$CPP $CPPFLAGS'
5091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5095 if test -n "$ac_tool_prefix"; then
5096 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5097 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5099 $as_echo_n "checking for $ac_word... " >&6; }
5100 if ${ac_cv_prog_CPPBIN+:} false; then :
5101 $as_echo_n "(cached) " >&6
5102 else
5103 if test -n "$CPPBIN"; then
5104 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5105 else
5106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5107 for as_dir in $PATH
5109 IFS=$as_save_IFS
5110 test -z "$as_dir" && as_dir=.
5111 for ac_exec_ext in '' $ac_executable_extensions; do
5112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5113 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5115 break 2
5117 done
5118 done
5119 IFS=$as_save_IFS
5123 CPPBIN=$ac_cv_prog_CPPBIN
5124 if test -n "$CPPBIN"; then
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5126 $as_echo "$CPPBIN" >&6; }
5127 else
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5129 $as_echo "no" >&6; }
5134 if test -z "$ac_cv_prog_CPPBIN"; then
5135 ac_ct_CPPBIN=$CPPBIN
5136 # Extract the first word of "cpp", so it can be a program name with args.
5137 set dummy cpp; ac_word=$2
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5139 $as_echo_n "checking for $ac_word... " >&6; }
5140 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5141 $as_echo_n "(cached) " >&6
5142 else
5143 if test -n "$ac_ct_CPPBIN"; then
5144 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5145 else
5146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5147 for as_dir in $PATH
5149 IFS=$as_save_IFS
5150 test -z "$as_dir" && as_dir=.
5151 for ac_exec_ext in '' $ac_executable_extensions; do
5152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5153 ac_cv_prog_ac_ct_CPPBIN="cpp"
5154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5155 break 2
5157 done
5158 done
5159 IFS=$as_save_IFS
5163 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5164 if test -n "$ac_ct_CPPBIN"; then
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5166 $as_echo "$ac_ct_CPPBIN" >&6; }
5167 else
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5169 $as_echo "no" >&6; }
5172 if test "x$ac_ct_CPPBIN" = x; then
5173 CPPBIN="cpp"
5174 else
5175 case $cross_compiling:$ac_tool_warned in
5176 yes:)
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5179 ac_tool_warned=yes ;;
5180 esac
5181 CPPBIN=$ac_ct_CPPBIN
5183 else
5184 CPPBIN="$ac_cv_prog_CPPBIN"
5188 cat >>confdefs.h <<_ACEOF
5189 #define EXEEXT "$ac_exeext"
5190 _ACEOF
5192 if test -n "$ac_tool_prefix"; then
5193 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5194 set dummy ${ac_tool_prefix}ld; ac_word=$2
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5196 $as_echo_n "checking for $ac_word... " >&6; }
5197 if ${ac_cv_prog_LD+:} false; then :
5198 $as_echo_n "(cached) " >&6
5199 else
5200 if test -n "$LD"; then
5201 ac_cv_prog_LD="$LD" # Let the user override the test.
5202 else
5203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5204 for as_dir in $PATH
5206 IFS=$as_save_IFS
5207 test -z "$as_dir" && as_dir=.
5208 for ac_exec_ext in '' $ac_executable_extensions; do
5209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5210 ac_cv_prog_LD="${ac_tool_prefix}ld"
5211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5212 break 2
5214 done
5215 done
5216 IFS=$as_save_IFS
5220 LD=$ac_cv_prog_LD
5221 if test -n "$LD"; then
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5223 $as_echo "$LD" >&6; }
5224 else
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5226 $as_echo "no" >&6; }
5231 if test -z "$ac_cv_prog_LD"; then
5232 ac_ct_LD=$LD
5233 # Extract the first word of "ld", so it can be a program name with args.
5234 set dummy ld; ac_word=$2
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5236 $as_echo_n "checking for $ac_word... " >&6; }
5237 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5238 $as_echo_n "(cached) " >&6
5239 else
5240 if test -n "$ac_ct_LD"; then
5241 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5242 else
5243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5244 for as_dir in $PATH
5246 IFS=$as_save_IFS
5247 test -z "$as_dir" && as_dir=.
5248 for ac_exec_ext in '' $ac_executable_extensions; do
5249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5250 ac_cv_prog_ac_ct_LD="ld"
5251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5252 break 2
5254 done
5255 done
5256 IFS=$as_save_IFS
5260 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5261 if test -n "$ac_ct_LD"; then
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5263 $as_echo "$ac_ct_LD" >&6; }
5264 else
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5266 $as_echo "no" >&6; }
5269 if test "x$ac_ct_LD" = x; then
5270 LD=""
5271 else
5272 case $cross_compiling:$ac_tool_warned in
5273 yes:)
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5276 ac_tool_warned=yes ;;
5277 esac
5278 LD=$ac_ct_LD
5280 else
5281 LD="$ac_cv_prog_LD"
5285 case $host in
5286 *-darwin*)
5287 with_fontconfig=${with_fontconfig:-no}
5289 *-mingw32*|*-cygwin*)
5290 enable_win16=${enable_win16:-no}
5291 CFLAGS="$CFLAGS -D_WIN32"
5293 esac
5295 case $host in
5296 x86_64*|amd64*)
5297 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5298 then
5299 CC="$CC -m32"
5300 CXX="$CXX -m32"
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5302 $as_echo_n "checking whether $CC works... " >&6; }
5304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5305 /* end confdefs.h. */
5308 main ()
5312 return 0;
5314 _ACEOF
5315 if ac_fn_c_try_link "$LINENO"; then :
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5317 $as_echo "yes" >&6; }
5318 else
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5320 $as_echo "no" >&6; }
5321 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5323 rm -f core conftest.err conftest.$ac_objext \
5324 conftest$ac_exeext conftest.$ac_ext
5325 host_cpu="i386"
5326 notice_platform="32-bit "
5327 TARGETFLAGS="-m32"
5329 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5330 export PKG_CONFIG_PATH
5331 enable_win16=${enable_win16:-yes}
5332 else
5333 if test "x${GCC}" = "xyes"
5334 then
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5336 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5338 /* end confdefs.h. */
5339 #include <stdarg.h>
5341 main ()
5343 void func(__builtin_ms_va_list *args);
5345 return 0;
5347 _ACEOF
5348 if ac_fn_c_try_compile "$LINENO"; then :
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5350 $as_echo "yes" >&6; }
5351 else
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5353 $as_echo "no" >&6; }
5354 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5358 CC="$CC -m64"
5359 CXX="$CXX -m64"
5360 host_cpu="x86_64"
5361 notice_platform="64-bit "
5362 TARGETFLAGS="-m64"
5366 arm*)
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5368 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5370 /* end confdefs.h. */
5371 int ac_test(int i) { return i; }
5373 main ()
5375 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5377 return 0;
5379 _ACEOF
5380 if ac_fn_c_try_link "$LINENO"; then :
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5382 $as_echo "yes" >&6; }
5383 else
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5385 $as_echo "no" >&6; }
5386 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5388 rm -f core conftest.err conftest.$ac_objext \
5389 conftest$ac_exeext conftest.$ac_ext
5390 case $with_float_abi in
5391 soft|softfp|hard)
5392 float_abi=$with_float_abi ;;
5394 case $host_os in
5395 *eabihf)
5396 float_abi=hard ;;
5398 float_abi=softfp
5399 saved_CFLAGS=$CFLAGS
5400 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5402 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5404 /* end confdefs.h. */
5407 main ()
5409 asm("vmrs r2,fpscr");
5411 return 0;
5413 _ACEOF
5414 if ac_fn_c_try_link "$LINENO"; then :
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5416 $as_echo "yes" >&6; }
5417 else
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5419 $as_echo "no" >&6; }
5420 float_abi=soft
5421 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5423 rm -f core conftest.err conftest.$ac_objext \
5424 conftest$ac_exeext conftest.$ac_ext
5425 CFLAGS=$saved_CFLAGS
5426 esac
5428 esac
5429 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5430 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5433 aarch64*)
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5435 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5437 /* end confdefs.h. */
5438 #include <stdarg.h>
5440 main ()
5442 void func(__builtin_ms_va_list *args);
5444 return 0;
5446 _ACEOF
5447 if ac_fn_c_try_compile "$LINENO"; then :
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5449 $as_echo "yes" >&6; }
5450 else
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 $as_echo "no" >&6; }
5453 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5457 i[3456789]86*)
5458 enable_win16=${enable_win16:-yes}
5460 esac
5462 enable_win16=${enable_win16:-no}
5463 enable_win64=${enable_win64:-no}
5465 enable_winetest=${enable_winetest:-$enable_tests}
5467 if test -n "$with_wine64"
5468 then
5469 if test "x$enable_win64" = "xyes"
5470 then
5471 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5472 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5474 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5475 You should create a separate build directory and run configure from there." "$LINENO" 5
5476 enable_fonts=${enable_fonts:-no}
5477 enable_server=${enable_server:-no}
5478 wine64_disable=\#
5480 elif test "x$enable_win64" = "xyes"
5481 then
5482 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5486 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5487 if ${wine_cv_toolsdir+:} false; then :
5488 $as_echo_n "(cached) " >&6
5489 else
5490 wine_cv_toolsdir="$with_wine_tools"
5491 if test -z "$with_wine_tools"; then
5492 if test "$cross_compiling" = "yes"; then
5493 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5494 elif test -n "$with_wine64"; then
5495 wine_cv_toolsdir="$with_wine64"
5498 if test -z "$wine_cv_toolsdir"; then
5499 wine_makedep=tools/makedep
5500 wine_cv_toolsdir="\$(top_builddir)"
5501 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5502 wine_makedep=$wine_cv_toolsdir/tools/makedep
5503 case "$wine_cv_toolsdir" in
5504 /*) ;;
5505 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5506 esac
5507 enable_tools=${enable_tools:-no}
5508 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5509 else
5510 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5514 $as_echo "$wine_cv_toolsdir" >&6; }
5515 TOOLSDIR=$wine_cv_toolsdir
5517 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5518 then
5519 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5523 for ac_prog in flex
5525 # Extract the first word of "$ac_prog", so it can be a program name with args.
5526 set dummy $ac_prog; ac_word=$2
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5528 $as_echo_n "checking for $ac_word... " >&6; }
5529 if ${ac_cv_prog_FLEX+:} false; then :
5530 $as_echo_n "(cached) " >&6
5531 else
5532 if test -n "$FLEX"; then
5533 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5534 else
5535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5536 for as_dir in $PATH
5538 IFS=$as_save_IFS
5539 test -z "$as_dir" && as_dir=.
5540 for ac_exec_ext in '' $ac_executable_extensions; do
5541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5542 ac_cv_prog_FLEX="$ac_prog"
5543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5544 break 2
5546 done
5547 done
5548 IFS=$as_save_IFS
5552 FLEX=$ac_cv_prog_FLEX
5553 if test -n "$FLEX"; then
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5555 $as_echo "$FLEX" >&6; }
5556 else
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5558 $as_echo "no" >&6; }
5562 test -n "$FLEX" && break
5563 done
5564 test -n "$FLEX" || FLEX="none"
5566 if test "$FLEX" = "none"
5567 then
5568 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5571 $as_echo_n "checking whether flex is recent enough... " >&6; }
5572 cat >conftest.l <<EOF
5573 %top{
5574 #include "prediluvian.h"
5578 if $FLEX -t conftest.l >/dev/null 2>&5
5579 then
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5581 $as_echo "yes" >&6; }
5582 else
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5584 $as_echo "no" >&6; }
5585 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5588 for ac_prog in bison
5590 # Extract the first word of "$ac_prog", so it can be a program name with args.
5591 set dummy $ac_prog; ac_word=$2
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5593 $as_echo_n "checking for $ac_word... " >&6; }
5594 if ${ac_cv_prog_BISON+:} false; then :
5595 $as_echo_n "(cached) " >&6
5596 else
5597 if test -n "$BISON"; then
5598 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5599 else
5600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5601 for as_dir in $PATH
5603 IFS=$as_save_IFS
5604 test -z "$as_dir" && as_dir=.
5605 for ac_exec_ext in '' $ac_executable_extensions; do
5606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5607 ac_cv_prog_BISON="$ac_prog"
5608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5609 break 2
5611 done
5612 done
5613 IFS=$as_save_IFS
5617 BISON=$ac_cv_prog_BISON
5618 if test -n "$BISON"; then
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5620 $as_echo "$BISON" >&6; }
5621 else
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5623 $as_echo "no" >&6; }
5627 test -n "$BISON" && break
5628 done
5629 test -n "$BISON" || BISON="none"
5631 if test "$BISON" = "none"
5632 then
5633 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5636 if test -n "$ac_tool_prefix"; then
5637 for ac_prog in ar gar
5639 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5640 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5642 $as_echo_n "checking for $ac_word... " >&6; }
5643 if ${ac_cv_prog_AR+:} false; then :
5644 $as_echo_n "(cached) " >&6
5645 else
5646 if test -n "$AR"; then
5647 ac_cv_prog_AR="$AR" # Let the user override the test.
5648 else
5649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5650 for as_dir in $PATH
5652 IFS=$as_save_IFS
5653 test -z "$as_dir" && as_dir=.
5654 for ac_exec_ext in '' $ac_executable_extensions; do
5655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5656 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5658 break 2
5660 done
5661 done
5662 IFS=$as_save_IFS
5666 AR=$ac_cv_prog_AR
5667 if test -n "$AR"; then
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5669 $as_echo "$AR" >&6; }
5670 else
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5672 $as_echo "no" >&6; }
5676 test -n "$AR" && break
5677 done
5679 if test -z "$AR"; then
5680 ac_ct_AR=$AR
5681 for ac_prog in ar gar
5683 # Extract the first word of "$ac_prog", so it can be a program name with args.
5684 set dummy $ac_prog; ac_word=$2
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5686 $as_echo_n "checking for $ac_word... " >&6; }
5687 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5688 $as_echo_n "(cached) " >&6
5689 else
5690 if test -n "$ac_ct_AR"; then
5691 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5692 else
5693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5694 for as_dir in $PATH
5696 IFS=$as_save_IFS
5697 test -z "$as_dir" && as_dir=.
5698 for ac_exec_ext in '' $ac_executable_extensions; do
5699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5700 ac_cv_prog_ac_ct_AR="$ac_prog"
5701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 break 2
5704 done
5705 done
5706 IFS=$as_save_IFS
5710 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5711 if test -n "$ac_ct_AR"; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5713 $as_echo "$ac_ct_AR" >&6; }
5714 else
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5716 $as_echo "no" >&6; }
5720 test -n "$ac_ct_AR" && break
5721 done
5723 if test "x$ac_ct_AR" = x; then
5724 AR="ar"
5725 else
5726 case $cross_compiling:$ac_tool_warned in
5727 yes:)
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5730 ac_tool_warned=yes ;;
5731 esac
5732 AR=$ac_ct_AR
5736 if test -n "$ac_tool_prefix"; then
5737 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5738 set dummy ${ac_tool_prefix}strip; ac_word=$2
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5740 $as_echo_n "checking for $ac_word... " >&6; }
5741 if ${ac_cv_prog_STRIP+:} false; then :
5742 $as_echo_n "(cached) " >&6
5743 else
5744 if test -n "$STRIP"; then
5745 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5746 else
5747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5748 for as_dir in $PATH
5750 IFS=$as_save_IFS
5751 test -z "$as_dir" && as_dir=.
5752 for ac_exec_ext in '' $ac_executable_extensions; do
5753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5754 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5756 break 2
5758 done
5759 done
5760 IFS=$as_save_IFS
5764 STRIP=$ac_cv_prog_STRIP
5765 if test -n "$STRIP"; then
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5767 $as_echo "$STRIP" >&6; }
5768 else
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5770 $as_echo "no" >&6; }
5775 if test -z "$ac_cv_prog_STRIP"; then
5776 ac_ct_STRIP=$STRIP
5777 # Extract the first word of "strip", so it can be a program name with args.
5778 set dummy strip; ac_word=$2
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5780 $as_echo_n "checking for $ac_word... " >&6; }
5781 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5782 $as_echo_n "(cached) " >&6
5783 else
5784 if test -n "$ac_ct_STRIP"; then
5785 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5786 else
5787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5788 for as_dir in $PATH
5790 IFS=$as_save_IFS
5791 test -z "$as_dir" && as_dir=.
5792 for ac_exec_ext in '' $ac_executable_extensions; do
5793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5794 ac_cv_prog_ac_ct_STRIP="strip"
5795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5796 break 2
5798 done
5799 done
5800 IFS=$as_save_IFS
5804 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5805 if test -n "$ac_ct_STRIP"; then
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5807 $as_echo "$ac_ct_STRIP" >&6; }
5808 else
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5810 $as_echo "no" >&6; }
5813 if test "x$ac_ct_STRIP" = x; then
5814 STRIP="strip"
5815 else
5816 case $cross_compiling:$ac_tool_warned in
5817 yes:)
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5820 ac_tool_warned=yes ;;
5821 esac
5822 STRIP=$ac_ct_STRIP
5824 else
5825 STRIP="$ac_cv_prog_STRIP"
5828 ARFLAGS=rc
5830 if test -n "$ac_tool_prefix"; then
5831 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5832 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5834 $as_echo_n "checking for $ac_word... " >&6; }
5835 if ${ac_cv_prog_RANLIB+:} false; then :
5836 $as_echo_n "(cached) " >&6
5837 else
5838 if test -n "$RANLIB"; then
5839 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5840 else
5841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5842 for as_dir in $PATH
5844 IFS=$as_save_IFS
5845 test -z "$as_dir" && as_dir=.
5846 for ac_exec_ext in '' $ac_executable_extensions; do
5847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5848 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5850 break 2
5852 done
5853 done
5854 IFS=$as_save_IFS
5858 RANLIB=$ac_cv_prog_RANLIB
5859 if test -n "$RANLIB"; then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5861 $as_echo "$RANLIB" >&6; }
5862 else
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5864 $as_echo "no" >&6; }
5869 if test -z "$ac_cv_prog_RANLIB"; then
5870 ac_ct_RANLIB=$RANLIB
5871 # Extract the first word of "ranlib", so it can be a program name with args.
5872 set dummy ranlib; ac_word=$2
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5874 $as_echo_n "checking for $ac_word... " >&6; }
5875 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5876 $as_echo_n "(cached) " >&6
5877 else
5878 if test -n "$ac_ct_RANLIB"; then
5879 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5880 else
5881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5882 for as_dir in $PATH
5884 IFS=$as_save_IFS
5885 test -z "$as_dir" && as_dir=.
5886 for ac_exec_ext in '' $ac_executable_extensions; do
5887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5888 ac_cv_prog_ac_ct_RANLIB="ranlib"
5889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5890 break 2
5892 done
5893 done
5894 IFS=$as_save_IFS
5898 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5899 if test -n "$ac_ct_RANLIB"; then
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5901 $as_echo "$ac_ct_RANLIB" >&6; }
5902 else
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5904 $as_echo "no" >&6; }
5907 if test "x$ac_ct_RANLIB" = x; then
5908 RANLIB=":"
5909 else
5910 case $cross_compiling:$ac_tool_warned in
5911 yes:)
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5914 ac_tool_warned=yes ;;
5915 esac
5916 RANLIB=$ac_ct_RANLIB
5918 else
5919 RANLIB="$ac_cv_prog_RANLIB"
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5923 $as_echo_n "checking whether ln -s works... " >&6; }
5924 LN_S=$as_ln_s
5925 if test "$LN_S" = "ln -s"; then
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5927 $as_echo "yes" >&6; }
5928 else
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5930 $as_echo "no, using $LN_S" >&6; }
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5934 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5935 if ${ac_cv_path_GREP+:} false; then :
5936 $as_echo_n "(cached) " >&6
5937 else
5938 if test -z "$GREP"; then
5939 ac_path_GREP_found=false
5940 # Loop through the user's path and test for each of PROGNAME-LIST
5941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5942 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5944 IFS=$as_save_IFS
5945 test -z "$as_dir" && as_dir=.
5946 for ac_prog in grep ggrep; do
5947 for ac_exec_ext in '' $ac_executable_extensions; do
5948 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5949 as_fn_executable_p "$ac_path_GREP" || continue
5950 # Check for GNU ac_path_GREP and select it if it is found.
5951 # Check for GNU $ac_path_GREP
5952 case `"$ac_path_GREP" --version 2>&1` in
5953 *GNU*)
5954 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5956 ac_count=0
5957 $as_echo_n 0123456789 >"conftest.in"
5958 while :
5960 cat "conftest.in" "conftest.in" >"conftest.tmp"
5961 mv "conftest.tmp" "conftest.in"
5962 cp "conftest.in" "conftest.nl"
5963 $as_echo 'GREP' >> "conftest.nl"
5964 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5965 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5966 as_fn_arith $ac_count + 1 && ac_count=$as_val
5967 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5968 # Best one so far, save it but keep looking for a better one
5969 ac_cv_path_GREP="$ac_path_GREP"
5970 ac_path_GREP_max=$ac_count
5972 # 10*(2^10) chars as input seems more than enough
5973 test $ac_count -gt 10 && break
5974 done
5975 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5976 esac
5978 $ac_path_GREP_found && break 3
5979 done
5980 done
5981 done
5982 IFS=$as_save_IFS
5983 if test -z "$ac_cv_path_GREP"; then
5984 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5986 else
5987 ac_cv_path_GREP=$GREP
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5992 $as_echo "$ac_cv_path_GREP" >&6; }
5993 GREP="$ac_cv_path_GREP"
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5997 $as_echo_n "checking for egrep... " >&6; }
5998 if ${ac_cv_path_EGREP+:} false; then :
5999 $as_echo_n "(cached) " >&6
6000 else
6001 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6002 then ac_cv_path_EGREP="$GREP -E"
6003 else
6004 if test -z "$EGREP"; then
6005 ac_path_EGREP_found=false
6006 # Loop through the user's path and test for each of PROGNAME-LIST
6007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6008 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6010 IFS=$as_save_IFS
6011 test -z "$as_dir" && as_dir=.
6012 for ac_prog in egrep; do
6013 for ac_exec_ext in '' $ac_executable_extensions; do
6014 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6015 as_fn_executable_p "$ac_path_EGREP" || continue
6016 # Check for GNU ac_path_EGREP and select it if it is found.
6017 # Check for GNU $ac_path_EGREP
6018 case `"$ac_path_EGREP" --version 2>&1` in
6019 *GNU*)
6020 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6022 ac_count=0
6023 $as_echo_n 0123456789 >"conftest.in"
6024 while :
6026 cat "conftest.in" "conftest.in" >"conftest.tmp"
6027 mv "conftest.tmp" "conftest.in"
6028 cp "conftest.in" "conftest.nl"
6029 $as_echo 'EGREP' >> "conftest.nl"
6030 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6031 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6032 as_fn_arith $ac_count + 1 && ac_count=$as_val
6033 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6034 # Best one so far, save it but keep looking for a better one
6035 ac_cv_path_EGREP="$ac_path_EGREP"
6036 ac_path_EGREP_max=$ac_count
6038 # 10*(2^10) chars as input seems more than enough
6039 test $ac_count -gt 10 && break
6040 done
6041 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6042 esac
6044 $ac_path_EGREP_found && break 3
6045 done
6046 done
6047 done
6048 IFS=$as_save_IFS
6049 if test -z "$ac_cv_path_EGREP"; then
6050 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6052 else
6053 ac_cv_path_EGREP=$EGREP
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6059 $as_echo "$ac_cv_path_EGREP" >&6; }
6060 EGREP="$ac_cv_path_EGREP"
6063 # Extract the first word of "ldconfig", so it can be a program name with args.
6064 set dummy ldconfig; ac_word=$2
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066 $as_echo_n "checking for $ac_word... " >&6; }
6067 if ${ac_cv_path_LDCONFIG+:} false; then :
6068 $as_echo_n "(cached) " >&6
6069 else
6070 case $LDCONFIG in
6071 [\\/]* | ?:[\\/]*)
6072 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6076 for as_dir in /sbin /usr/sbin $PATH
6078 IFS=$as_save_IFS
6079 test -z "$as_dir" && as_dir=.
6080 for ac_exec_ext in '' $ac_executable_extensions; do
6081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6082 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6084 break 2
6086 done
6087 done
6088 IFS=$as_save_IFS
6090 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6092 esac
6094 LDCONFIG=$ac_cv_path_LDCONFIG
6095 if test -n "$LDCONFIG"; then
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6097 $as_echo "$LDCONFIG" >&6; }
6098 else
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6100 $as_echo "no" >&6; }
6104 for ac_prog in msgfmt
6106 # Extract the first word of "$ac_prog", so it can be a program name with args.
6107 set dummy $ac_prog; ac_word=$2
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6109 $as_echo_n "checking for $ac_word... " >&6; }
6110 if ${ac_cv_prog_MSGFMT+:} false; then :
6111 $as_echo_n "(cached) " >&6
6112 else
6113 if test -n "$MSGFMT"; then
6114 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6115 else
6116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6117 for as_dir in $PATH
6119 IFS=$as_save_IFS
6120 test -z "$as_dir" && as_dir=.
6121 for ac_exec_ext in '' $ac_executable_extensions; do
6122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6123 ac_cv_prog_MSGFMT="$ac_prog"
6124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6125 break 2
6127 done
6128 done
6129 IFS=$as_save_IFS
6133 MSGFMT=$ac_cv_prog_MSGFMT
6134 if test -n "$MSGFMT"; then
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6136 $as_echo "$MSGFMT" >&6; }
6137 else
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6139 $as_echo "no" >&6; }
6143 test -n "$MSGFMT" && break
6144 done
6145 test -n "$MSGFMT" || MSGFMT="false"
6147 if ${ac_tool_prefix+:} false; then :
6148 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6149 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6151 $as_echo_n "checking for $ac_word... " >&6; }
6152 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6153 $as_echo_n "(cached) " >&6
6154 else
6155 if test -n "$PKG_CONFIG"; then
6156 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6157 else
6158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6159 for as_dir in $PATH
6161 IFS=$as_save_IFS
6162 test -z "$as_dir" && as_dir=.
6163 for ac_exec_ext in '' $ac_executable_extensions; do
6164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6165 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6167 break 2
6169 done
6170 done
6171 IFS=$as_save_IFS
6175 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6176 if test -n "$PKG_CONFIG"; then
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6178 $as_echo "$PKG_CONFIG" >&6; }
6179 else
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6181 $as_echo "no" >&6; }
6186 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6187 if test "x$cross_compiling" = xyes; then :
6189 else
6190 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6191 # Extract the first word of "pkg-config", so it can be a program name with args.
6192 set dummy pkg-config; ac_word=$2
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6194 $as_echo_n "checking for $ac_word... " >&6; }
6195 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6196 $as_echo_n "(cached) " >&6
6197 else
6198 if test -n "$PKG_CONFIG"; then
6199 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6200 else
6201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6202 for as_dir in $PATH
6204 IFS=$as_save_IFS
6205 test -z "$as_dir" && as_dir=.
6206 for ac_exec_ext in '' $ac_executable_extensions; do
6207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6208 ac_cv_prog_PKG_CONFIG="pkg-config"
6209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6210 break 2
6212 done
6213 done
6214 IFS=$as_save_IFS
6218 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6219 if test -n "$PKG_CONFIG"; then
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6221 $as_echo "$PKG_CONFIG" >&6; }
6222 else
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6224 $as_echo "no" >&6; }
6229 else
6230 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6233 if test "x$enable_maintainer_mode" != "xyes"
6234 then
6235 FONTFORGE=""
6236 RSVG=""
6237 CONVERT=""
6238 ICOTOOL=""
6239 else
6240 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6241 for ac_prog in fontforge
6243 # Extract the first word of "$ac_prog", so it can be a program name with args.
6244 set dummy $ac_prog; ac_word=$2
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6246 $as_echo_n "checking for $ac_word... " >&6; }
6247 if ${ac_cv_prog_FONTFORGE+:} false; then :
6248 $as_echo_n "(cached) " >&6
6249 else
6250 if test -n "$FONTFORGE"; then
6251 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6252 else
6253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6254 for as_dir in $PATH
6256 IFS=$as_save_IFS
6257 test -z "$as_dir" && as_dir=.
6258 for ac_exec_ext in '' $ac_executable_extensions; do
6259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6260 ac_cv_prog_FONTFORGE="$ac_prog"
6261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6262 break 2
6264 done
6265 done
6266 IFS=$as_save_IFS
6270 FONTFORGE=$ac_cv_prog_FONTFORGE
6271 if test -n "$FONTFORGE"; then
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6273 $as_echo "$FONTFORGE" >&6; }
6274 else
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6276 $as_echo "no" >&6; }
6280 test -n "$FONTFORGE" && break
6281 done
6282 test -n "$FONTFORGE" || FONTFORGE="false"
6284 for ac_prog in rsvg-convert rsvg
6286 # Extract the first word of "$ac_prog", so it can be a program name with args.
6287 set dummy $ac_prog; ac_word=$2
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6289 $as_echo_n "checking for $ac_word... " >&6; }
6290 if ${ac_cv_prog_RSVG+:} false; then :
6291 $as_echo_n "(cached) " >&6
6292 else
6293 if test -n "$RSVG"; then
6294 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6295 else
6296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6297 for as_dir in $PATH
6299 IFS=$as_save_IFS
6300 test -z "$as_dir" && as_dir=.
6301 for ac_exec_ext in '' $ac_executable_extensions; do
6302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6303 ac_cv_prog_RSVG="$ac_prog"
6304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6305 break 2
6307 done
6308 done
6309 IFS=$as_save_IFS
6313 RSVG=$ac_cv_prog_RSVG
6314 if test -n "$RSVG"; then
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6316 $as_echo "$RSVG" >&6; }
6317 else
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6319 $as_echo "no" >&6; }
6323 test -n "$RSVG" && break
6324 done
6325 test -n "$RSVG" || RSVG="false"
6327 for ac_prog in convert
6329 # Extract the first word of "$ac_prog", so it can be a program name with args.
6330 set dummy $ac_prog; ac_word=$2
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6332 $as_echo_n "checking for $ac_word... " >&6; }
6333 if ${ac_cv_prog_CONVERT+:} false; then :
6334 $as_echo_n "(cached) " >&6
6335 else
6336 if test -n "$CONVERT"; then
6337 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6338 else
6339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6340 for as_dir in $PATH
6342 IFS=$as_save_IFS
6343 test -z "$as_dir" && as_dir=.
6344 for ac_exec_ext in '' $ac_executable_extensions; do
6345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6346 ac_cv_prog_CONVERT="$ac_prog"
6347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6348 break 2
6350 done
6351 done
6352 IFS=$as_save_IFS
6356 CONVERT=$ac_cv_prog_CONVERT
6357 if test -n "$CONVERT"; then
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6359 $as_echo "$CONVERT" >&6; }
6360 else
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6362 $as_echo "no" >&6; }
6366 test -n "$CONVERT" && break
6367 done
6368 test -n "$CONVERT" || CONVERT="false"
6370 for ac_prog in icotool
6372 # Extract the first word of "$ac_prog", so it can be a program name with args.
6373 set dummy $ac_prog; ac_word=$2
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6375 $as_echo_n "checking for $ac_word... " >&6; }
6376 if ${ac_cv_prog_ICOTOOL+:} false; then :
6377 $as_echo_n "(cached) " >&6
6378 else
6379 if test -n "$ICOTOOL"; then
6380 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6381 else
6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6383 for as_dir in $PATH
6385 IFS=$as_save_IFS
6386 test -z "$as_dir" && as_dir=.
6387 for ac_exec_ext in '' $ac_executable_extensions; do
6388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6389 ac_cv_prog_ICOTOOL="$ac_prog"
6390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6391 break 2
6393 done
6394 done
6395 IFS=$as_save_IFS
6399 ICOTOOL=$ac_cv_prog_ICOTOOL
6400 if test -n "$ICOTOOL"; then
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6402 $as_echo "$ICOTOOL" >&6; }
6403 else
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6405 $as_echo "no" >&6; }
6409 test -n "$ICOTOOL" && break
6410 done
6411 test -n "$ICOTOOL" || ICOTOOL="false"
6413 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6414 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6416 if test "$CONVERT" = false
6417 then
6418 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6419 else
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6421 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6422 convert_version=`convert --version | head -n1`
6423 if test "x$convert_version" != "x"
6424 then
6425 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6426 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6427 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6428 then
6429 CONVERT=false
6432 if test "$CONVERT" = false
6433 then
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6435 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6436 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6437 else
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6439 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6443 if test "$ICOTOOL" = false
6444 then
6445 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6446 else
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6448 $as_echo_n "checking for recent enough icotool... " >&6; }
6449 icotool_version=`icotool --version | head -n1`
6450 if test "x$icotool_version" != "x"
6451 then
6452 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6453 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6454 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6455 then
6456 ICOTOOL=false
6457 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6460 if test "$ICOTOOL" = false
6461 then
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6463 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6464 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6465 else
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6467 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6471 with_gettext=yes
6472 with_gettextpo=yes
6473 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6476 test "x$with_gettext" != xno || MSGFMT=false
6477 if test "$MSGFMT" != "false"
6478 then
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6480 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6481 cat >conftest.po <<EOF
6482 # comment
6483 msgctxt "ctxt"
6484 msgid "id"
6485 msgstr "str"
6487 if $MSGFMT -o /dev/null conftest.po 2>&5
6488 then
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6490 $as_echo "yes" >&6; }
6491 else
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6493 $as_echo "no" >&6; }
6494 MSGFMT=false
6497 if test "$MSGFMT" = false; then :
6498 case "x$with_gettext" in
6499 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6500 xno) ;;
6501 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6502 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6503 esac
6504 enable_po=${enable_po:-no}
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6509 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6510 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6511 $as_echo_n "(cached) " >&6
6512 else
6513 ac_check_lib_save_LIBS=$LIBS
6514 LIBS="-li386 $LIBS"
6515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6516 /* end confdefs.h. */
6518 /* Override any GCC internal prototype to avoid an error.
6519 Use char because int might match the return type of a GCC
6520 builtin and then its argument prototype would still apply. */
6521 #ifdef __cplusplus
6522 extern "C"
6523 #endif
6524 char i386_set_ldt ();
6526 main ()
6528 return i386_set_ldt ();
6530 return 0;
6532 _ACEOF
6533 if ac_fn_c_try_link "$LINENO"; then :
6534 ac_cv_lib_i386_i386_set_ldt=yes
6535 else
6536 ac_cv_lib_i386_i386_set_ldt=no
6538 rm -f core conftest.err conftest.$ac_objext \
6539 conftest$ac_exeext conftest.$ac_ext
6540 LIBS=$ac_check_lib_save_LIBS
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6543 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6544 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6545 cat >>confdefs.h <<_ACEOF
6546 #define HAVE_LIBI386 1
6547 _ACEOF
6549 LIBS="-li386 $LIBS"
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6554 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6555 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6556 $as_echo_n "(cached) " >&6
6557 else
6558 ac_check_lib_save_LIBS=$LIBS
6559 LIBS="-lossaudio $LIBS"
6560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6561 /* end confdefs.h. */
6563 /* Override any GCC internal prototype to avoid an error.
6564 Use char because int might match the return type of a GCC
6565 builtin and then its argument prototype would still apply. */
6566 #ifdef __cplusplus
6567 extern "C"
6568 #endif
6569 char _oss_ioctl ();
6571 main ()
6573 return _oss_ioctl ();
6575 return 0;
6577 _ACEOF
6578 if ac_fn_c_try_link "$LINENO"; then :
6579 ac_cv_lib_ossaudio__oss_ioctl=yes
6580 else
6581 ac_cv_lib_ossaudio__oss_ioctl=no
6583 rm -f core conftest.err conftest.$ac_objext \
6584 conftest$ac_exeext conftest.$ac_ext
6585 LIBS=$ac_check_lib_save_LIBS
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6588 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6589 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6590 cat >>confdefs.h <<_ACEOF
6591 #define HAVE_LIBOSSAUDIO 1
6592 _ACEOF
6594 LIBS="-lossaudio $LIBS"
6599 OPENGL_LIBS=""
6603 # Check whether --enable-largefile was given.
6604 if test "${enable_largefile+set}" = set; then :
6605 enableval=$enable_largefile;
6608 if test "$enable_largefile" != no; then
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6611 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6612 if ${ac_cv_sys_largefile_CC+:} false; then :
6613 $as_echo_n "(cached) " >&6
6614 else
6615 ac_cv_sys_largefile_CC=no
6616 if test "$GCC" != yes; then
6617 ac_save_CC=$CC
6618 while :; do
6619 # IRIX 6.2 and later do not support large files by default,
6620 # so use the C compiler's -n32 option if that helps.
6621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6622 /* end confdefs.h. */
6623 #include <sys/types.h>
6624 /* Check that off_t can represent 2**63 - 1 correctly.
6625 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6626 since some C++ compilers masquerading as C compilers
6627 incorrectly reject 9223372036854775807. */
6628 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6629 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6630 && LARGE_OFF_T % 2147483647 == 1)
6631 ? 1 : -1];
6633 main ()
6637 return 0;
6639 _ACEOF
6640 if ac_fn_c_try_compile "$LINENO"; then :
6641 break
6643 rm -f core conftest.err conftest.$ac_objext
6644 CC="$CC -n32"
6645 if ac_fn_c_try_compile "$LINENO"; then :
6646 ac_cv_sys_largefile_CC=' -n32'; break
6648 rm -f core conftest.err conftest.$ac_objext
6649 break
6650 done
6651 CC=$ac_save_CC
6652 rm -f conftest.$ac_ext
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6656 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6657 if test "$ac_cv_sys_largefile_CC" != no; then
6658 CC=$CC$ac_cv_sys_largefile_CC
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6662 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6663 if ${ac_cv_sys_file_offset_bits+:} false; then :
6664 $as_echo_n "(cached) " >&6
6665 else
6666 while :; do
6667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6668 /* end confdefs.h. */
6669 #include <sys/types.h>
6670 /* Check that off_t can represent 2**63 - 1 correctly.
6671 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6672 since some C++ compilers masquerading as C compilers
6673 incorrectly reject 9223372036854775807. */
6674 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6675 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6676 && LARGE_OFF_T % 2147483647 == 1)
6677 ? 1 : -1];
6679 main ()
6683 return 0;
6685 _ACEOF
6686 if ac_fn_c_try_compile "$LINENO"; then :
6687 ac_cv_sys_file_offset_bits=no; break
6689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6691 /* end confdefs.h. */
6692 #define _FILE_OFFSET_BITS 64
6693 #include <sys/types.h>
6694 /* Check that off_t can represent 2**63 - 1 correctly.
6695 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6696 since some C++ compilers masquerading as C compilers
6697 incorrectly reject 9223372036854775807. */
6698 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6699 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6700 && LARGE_OFF_T % 2147483647 == 1)
6701 ? 1 : -1];
6703 main ()
6707 return 0;
6709 _ACEOF
6710 if ac_fn_c_try_compile "$LINENO"; then :
6711 ac_cv_sys_file_offset_bits=64; break
6713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6714 ac_cv_sys_file_offset_bits=unknown
6715 break
6716 done
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6719 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6720 case $ac_cv_sys_file_offset_bits in #(
6721 no | unknown) ;;
6723 cat >>confdefs.h <<_ACEOF
6724 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6725 _ACEOF
6727 esac
6728 rm -rf conftest*
6729 if test $ac_cv_sys_file_offset_bits = unknown; then
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6731 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6732 if ${ac_cv_sys_large_files+:} false; then :
6733 $as_echo_n "(cached) " >&6
6734 else
6735 while :; do
6736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6737 /* end confdefs.h. */
6738 #include <sys/types.h>
6739 /* Check that off_t can represent 2**63 - 1 correctly.
6740 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6741 since some C++ compilers masquerading as C compilers
6742 incorrectly reject 9223372036854775807. */
6743 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6744 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6745 && LARGE_OFF_T % 2147483647 == 1)
6746 ? 1 : -1];
6748 main ()
6752 return 0;
6754 _ACEOF
6755 if ac_fn_c_try_compile "$LINENO"; then :
6756 ac_cv_sys_large_files=no; break
6758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6760 /* end confdefs.h. */
6761 #define _LARGE_FILES 1
6762 #include <sys/types.h>
6763 /* Check that off_t can represent 2**63 - 1 correctly.
6764 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6765 since some C++ compilers masquerading as C compilers
6766 incorrectly reject 9223372036854775807. */
6767 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6768 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6769 && LARGE_OFF_T % 2147483647 == 1)
6770 ? 1 : -1];
6772 main ()
6776 return 0;
6778 _ACEOF
6779 if ac_fn_c_try_compile "$LINENO"; then :
6780 ac_cv_sys_large_files=1; break
6782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6783 ac_cv_sys_large_files=unknown
6784 break
6785 done
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6788 $as_echo "$ac_cv_sys_large_files" >&6; }
6789 case $ac_cv_sys_large_files in #(
6790 no | unknown) ;;
6792 cat >>confdefs.h <<_ACEOF
6793 #define _LARGE_FILES $ac_cv_sys_large_files
6794 _ACEOF
6796 esac
6797 rm -rf conftest*
6804 ac_ext=c
6805 ac_cpp='$CPP $CPPFLAGS'
6806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6810 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6811 # On Suns, sometimes $CPP names a directory.
6812 if test -n "$CPP" && test -d "$CPP"; then
6813 CPP=
6815 if test -z "$CPP"; then
6816 if ${ac_cv_prog_CPP+:} false; then :
6817 $as_echo_n "(cached) " >&6
6818 else
6819 # Double quotes because CPP needs to be expanded
6820 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6822 ac_preproc_ok=false
6823 for ac_c_preproc_warn_flag in '' yes
6825 # Use a header file that comes with gcc, so configuring glibc
6826 # with a fresh cross-compiler works.
6827 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6828 # <limits.h> exists even on freestanding compilers.
6829 # On the NeXT, cc -E runs the code through the compiler's parser,
6830 # not just through cpp. "Syntax error" is here to catch this case.
6831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6832 /* end confdefs.h. */
6833 #ifdef __STDC__
6834 # include <limits.h>
6835 #else
6836 # include <assert.h>
6837 #endif
6838 Syntax error
6839 _ACEOF
6840 if ac_fn_c_try_cpp "$LINENO"; then :
6842 else
6843 # Broken: fails on valid input.
6844 continue
6846 rm -f conftest.err conftest.i conftest.$ac_ext
6848 # OK, works on sane cases. Now check whether nonexistent headers
6849 # can be detected and how.
6850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6851 /* end confdefs.h. */
6852 #include <ac_nonexistent.h>
6853 _ACEOF
6854 if ac_fn_c_try_cpp "$LINENO"; then :
6855 # Broken: success on invalid input.
6856 continue
6857 else
6858 # Passes both tests.
6859 ac_preproc_ok=:
6860 break
6862 rm -f conftest.err conftest.i conftest.$ac_ext
6864 done
6865 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6866 rm -f conftest.i conftest.err conftest.$ac_ext
6867 if $ac_preproc_ok; then :
6868 break
6871 done
6872 ac_cv_prog_CPP=$CPP
6875 CPP=$ac_cv_prog_CPP
6876 else
6877 ac_cv_prog_CPP=$CPP
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6880 $as_echo "$CPP" >&6; }
6881 ac_preproc_ok=false
6882 for ac_c_preproc_warn_flag in '' yes
6884 # Use a header file that comes with gcc, so configuring glibc
6885 # with a fresh cross-compiler works.
6886 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6887 # <limits.h> exists even on freestanding compilers.
6888 # On the NeXT, cc -E runs the code through the compiler's parser,
6889 # not just through cpp. "Syntax error" is here to catch this case.
6890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6891 /* end confdefs.h. */
6892 #ifdef __STDC__
6893 # include <limits.h>
6894 #else
6895 # include <assert.h>
6896 #endif
6897 Syntax error
6898 _ACEOF
6899 if ac_fn_c_try_cpp "$LINENO"; then :
6901 else
6902 # Broken: fails on valid input.
6903 continue
6905 rm -f conftest.err conftest.i conftest.$ac_ext
6907 # OK, works on sane cases. Now check whether nonexistent headers
6908 # can be detected and how.
6909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6910 /* end confdefs.h. */
6911 #include <ac_nonexistent.h>
6912 _ACEOF
6913 if ac_fn_c_try_cpp "$LINENO"; then :
6914 # Broken: success on invalid input.
6915 continue
6916 else
6917 # Passes both tests.
6918 ac_preproc_ok=:
6919 break
6921 rm -f conftest.err conftest.i conftest.$ac_ext
6923 done
6924 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6925 rm -f conftest.i conftest.err conftest.$ac_ext
6926 if $ac_preproc_ok; then :
6928 else
6929 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6931 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6932 See \`config.log' for more details" "$LINENO" 5; }
6935 ac_ext=c
6936 ac_cpp='$CPP $CPPFLAGS'
6937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6943 $as_echo_n "checking for ANSI C header files... " >&6; }
6944 if ${ac_cv_header_stdc+:} false; then :
6945 $as_echo_n "(cached) " >&6
6946 else
6947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6948 /* end confdefs.h. */
6949 #include <stdlib.h>
6950 #include <stdarg.h>
6951 #include <string.h>
6952 #include <float.h>
6955 main ()
6959 return 0;
6961 _ACEOF
6962 if ac_fn_c_try_compile "$LINENO"; then :
6963 ac_cv_header_stdc=yes
6964 else
6965 ac_cv_header_stdc=no
6967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6969 if test $ac_cv_header_stdc = yes; then
6970 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6972 /* end confdefs.h. */
6973 #include <string.h>
6975 _ACEOF
6976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6977 $EGREP "memchr" >/dev/null 2>&1; then :
6979 else
6980 ac_cv_header_stdc=no
6982 rm -f conftest*
6986 if test $ac_cv_header_stdc = yes; then
6987 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6989 /* end confdefs.h. */
6990 #include <stdlib.h>
6992 _ACEOF
6993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6994 $EGREP "free" >/dev/null 2>&1; then :
6996 else
6997 ac_cv_header_stdc=no
6999 rm -f conftest*
7003 if test $ac_cv_header_stdc = yes; then
7004 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7005 if test "$cross_compiling" = yes; then :
7007 else
7008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7009 /* end confdefs.h. */
7010 #include <ctype.h>
7011 #include <stdlib.h>
7012 #if ((' ' & 0x0FF) == 0x020)
7013 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7014 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7015 #else
7016 # define ISLOWER(c) \
7017 (('a' <= (c) && (c) <= 'i') \
7018 || ('j' <= (c) && (c) <= 'r') \
7019 || ('s' <= (c) && (c) <= 'z'))
7020 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7021 #endif
7023 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7025 main ()
7027 int i;
7028 for (i = 0; i < 256; i++)
7029 if (XOR (islower (i), ISLOWER (i))
7030 || toupper (i) != TOUPPER (i))
7031 return 2;
7032 return 0;
7034 _ACEOF
7035 if ac_fn_c_try_run "$LINENO"; then :
7037 else
7038 ac_cv_header_stdc=no
7040 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7041 conftest.$ac_objext conftest.beam conftest.$ac_ext
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7047 $as_echo "$ac_cv_header_stdc" >&6; }
7048 if test $ac_cv_header_stdc = yes; then
7050 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7054 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7055 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7056 inttypes.h stdint.h unistd.h
7057 do :
7058 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7059 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7061 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7062 cat >>confdefs.h <<_ACEOF
7063 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7064 _ACEOF
7068 done
7071 for ac_header in \
7072 AL/al.h \
7073 ApplicationServices/ApplicationServices.h \
7074 AudioToolbox/AudioConverter.h \
7075 AudioUnit/AudioUnit.h \
7076 AudioUnit/AudioComponent.h \
7077 CL/cl.h \
7078 Carbon/Carbon.h \
7079 CommonCrypto/CommonCryptor.h \
7080 CoreAudio/CoreAudio.h \
7081 CoreServices/CoreServices.h \
7082 DiskArbitration/DiskArbitration.h \
7083 EGL/egl.h \
7084 IOKit/IOKitLib.h \
7085 IOKit/hid/IOHIDLib.h \
7086 OpenAL/al.h \
7087 OpenCL/opencl.h \
7088 QuickTime/ImageCompression.h \
7089 Security/Security.h \
7090 alias.h \
7091 alsa/asoundlib.h \
7092 arpa/inet.h \
7093 arpa/nameser.h \
7094 asm/types.h \
7095 asm/user.h \
7096 curses.h \
7097 direct.h \
7098 dirent.h \
7099 dlfcn.h \
7100 elf.h \
7101 float.h \
7102 fnmatch.h \
7103 getopt.h \
7104 gettext-po.h \
7105 grp.h \
7106 gsm.h \
7107 gsm/gsm.h \
7108 ieeefp.h \
7109 inet/mib2.h \
7110 io.h \
7111 kstat.h \
7112 libproc.h \
7113 link.h \
7114 linux/cdrom.h \
7115 linux/compiler.h \
7116 linux/filter.h \
7117 linux/hdreg.h \
7118 linux/hidraw.h \
7119 linux/input.h \
7120 linux/ioctl.h \
7121 linux/joystick.h \
7122 linux/major.h \
7123 linux/param.h \
7124 linux/serial.h \
7125 linux/types.h \
7126 linux/ucdrom.h \
7127 lwp.h \
7128 mach-o/nlist.h \
7129 mach-o/loader.h \
7130 mach/mach.h \
7131 mach/machine.h \
7132 machine/cpu.h \
7133 machine/limits.h \
7134 machine/sysarch.h \
7135 mntent.h \
7136 ncurses.h \
7137 netdb.h \
7138 netinet/in.h \
7139 netinet/in_systm.h \
7140 netinet/tcp.h \
7141 netinet/tcp_fsm.h \
7142 pcap/pcap.h \
7143 poll.h \
7144 port.h \
7145 process.h \
7146 pthread.h \
7147 pwd.h \
7148 sched.h \
7149 scsi/scsi.h \
7150 scsi/scsi_ioctl.h \
7151 scsi/sg.h \
7152 stdbool.h \
7153 stdint.h \
7154 stropts.h \
7155 sys/asoundlib.h \
7156 sys/attr.h \
7157 sys/auxv.h \
7158 sys/cdio.h \
7159 sys/elf32.h \
7160 sys/epoll.h \
7161 sys/event.h \
7162 sys/exec_elf.h \
7163 sys/filio.h \
7164 sys/inotify.h \
7165 sys/ioctl.h \
7166 sys/ipc.h \
7167 sys/limits.h \
7168 sys/link.h \
7169 sys/mman.h \
7170 sys/modem.h \
7171 sys/msg.h \
7172 sys/mtio.h \
7173 sys/param.h \
7174 sys/poll.h \
7175 sys/prctl.h \
7176 sys/protosw.h \
7177 sys/ptrace.h \
7178 sys/queue.h \
7179 sys/resource.h \
7180 sys/scsiio.h \
7181 sys/shm.h \
7182 sys/signal.h \
7183 sys/socket.h \
7184 sys/socketvar.h \
7185 sys/sockio.h \
7186 sys/statvfs.h \
7187 sys/strtio.h \
7188 sys/syscall.h \
7189 sys/sysinfo.h \
7190 sys/tihdr.h \
7191 sys/time.h \
7192 sys/timeout.h \
7193 sys/times.h \
7194 sys/uio.h \
7195 sys/user.h \
7196 sys/utsname.h \
7197 sys/vnode.h \
7198 sys/wait.h \
7199 syscall.h \
7200 termios.h \
7201 unistd.h \
7202 utime.h \
7203 valgrind/memcheck.h \
7204 valgrind/valgrind.h \
7205 zlib.h
7207 do :
7208 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7209 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7210 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7211 cat >>confdefs.h <<_ACEOF
7212 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7213 _ACEOF
7217 done
7219 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7220 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7222 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7227 if test $ac_cv_header_sys_mkdev_h = no; then
7228 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7229 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7231 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7238 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7239 if ${ac_cv_header_stat_broken+:} false; then :
7240 $as_echo_n "(cached) " >&6
7241 else
7242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7243 /* end confdefs.h. */
7244 #include <sys/types.h>
7245 #include <sys/stat.h>
7247 #if defined S_ISBLK && defined S_IFDIR
7248 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7249 #endif
7251 #if defined S_ISBLK && defined S_IFCHR
7252 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7253 #endif
7255 #if defined S_ISLNK && defined S_IFREG
7256 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7257 #endif
7259 #if defined S_ISSOCK && defined S_IFREG
7260 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7261 #endif
7263 _ACEOF
7264 if ac_fn_c_try_compile "$LINENO"; then :
7265 ac_cv_header_stat_broken=no
7266 else
7267 ac_cv_header_stat_broken=yes
7269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7272 $as_echo "$ac_cv_header_stat_broken" >&6; }
7273 if test $ac_cv_header_stat_broken = yes; then
7275 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7281 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7282 do :
7283 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7284 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7285 #ifdef HAVE_SYS_PARAM_H
7286 # include <sys/param.h>
7287 #endif
7289 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7290 cat >>confdefs.h <<_ACEOF
7291 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7292 _ACEOF
7296 done
7299 for ac_header in \
7300 netinet/ip.h \
7301 net/if.h \
7302 net/if_arp.h \
7303 net/if_dl.h \
7304 net/if_types.h \
7305 net/route.h \
7306 netinet/if_ether.h \
7307 netinet/if_inarp.h \
7308 netinet/in_pcb.h \
7309 netinet/ip_icmp.h \
7310 netinet/ip_var.h \
7311 netinet/udp.h \
7312 netipx/ipx.h \
7313 sys/un.h \
7315 do :
7316 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7317 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7318 #ifdef HAVE_SYS_SOCKET_H
7319 # include <sys/socket.h>
7320 #endif
7321 #ifdef HAVE_SYS_SOCKETVAR_H
7322 # include <sys/socketvar.h>
7323 #endif
7324 #ifdef HAVE_NET_ROUTE_H
7325 # include <net/route.h>
7326 #endif
7327 #ifdef HAVE_NETINET_IN_H
7328 # include <netinet/in.h>
7329 #endif
7330 #ifdef HAVE_NETINET_IN_SYSTM_H
7331 # include <netinet/in_systm.h>
7332 #endif
7333 #ifdef HAVE_NET_IF_H
7334 # include <net/if.h>
7335 #endif
7336 #ifdef HAVE_NETINET_IP_H
7337 # include <netinet/ip.h>
7338 #endif
7340 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7341 cat >>confdefs.h <<_ACEOF
7342 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7343 _ACEOF
7347 done
7350 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7351 do :
7352 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7353 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7354 #ifdef HAVE_ALIAS_H
7355 # include <alias.h>
7356 #endif
7357 #ifdef HAVE_SYS_SOCKET_H
7358 # include <sys/socket.h>
7359 #endif
7360 #ifdef HAVE_SYS_SOCKETVAR_H
7361 # include <sys/socketvar.h>
7362 #endif
7363 #ifdef HAVE_SYS_TIMEOUT_H
7364 # include <sys/timeout.h>
7365 #endif
7366 #ifdef HAVE_NETINET_IN_H
7367 # include <netinet/in.h>
7368 #endif
7369 #ifdef HAVE_NETINET_IN_SYSTM_H
7370 # include <netinet/in_systm.h>
7371 #endif
7372 #ifdef HAVE_NETINET_IP_H
7373 # include <netinet/ip.h>
7374 #endif
7375 #ifdef HAVE_NETINET_IP_VAR_H
7376 # include <netinet/ip_var.h>
7377 #endif
7378 #ifdef HAVE_NETINET_IP_ICMP_H
7379 # include <netinet/ip_icmp.h>
7380 #endif
7381 #ifdef HAVE_NETINET_UDP_H
7382 # include <netinet/udp.h>
7383 #endif
7384 #ifdef HAVE_NETINET_TCP_H
7385 # include <netinet/tcp.h>
7386 #endif
7387 #ifdef HAVE_NETINET_TCP_TIMER_H
7388 #include <netinet/tcp_timer.h>
7389 #endif
7391 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7392 cat >>confdefs.h <<_ACEOF
7393 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7394 _ACEOF
7398 done
7401 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7402 do :
7403 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7404 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7405 #ifdef HAVE_ASM_TYPES_H
7406 # include <asm/types.h>
7407 #endif
7408 #ifdef HAVE_SYS_SOCKET_H
7409 # include <sys/socket.h>
7410 #endif
7411 #ifdef HAVE_LINUX_TYPES_H
7412 # include <linux/types.h>
7413 #endif
7415 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7416 cat >>confdefs.h <<_ACEOF
7417 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7418 _ACEOF
7422 done
7425 for ac_header in mach-o/dyld_images.h
7426 do :
7427 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7428 # include <stdbool.h>
7429 #endif
7430 #ifdef HAVE_STDINT_H
7431 # include <stdint.h>
7432 #endif
7434 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7435 cat >>confdefs.h <<_ACEOF
7436 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7437 _ACEOF
7441 done
7444 for ac_header in resolv.h
7445 do :
7446 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7447 #ifdef HAVE_SYS_SOCKET_H
7448 # include <sys/socket.h>
7449 #endif
7450 #ifdef HAVE_NETINET_IN_H
7451 # include <netinet/in.h>
7452 #endif
7453 #ifdef HAVE_ARPA_NAMESER_H
7454 # include <arpa/nameser.h>
7455 #endif
7457 if test "x$ac_cv_header_resolv_h" = xyes; then :
7458 cat >>confdefs.h <<_ACEOF
7459 #define HAVE_RESOLV_H 1
7460 _ACEOF
7464 done
7467 for ac_header in ifaddrs.h
7468 do :
7469 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7471 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7472 cat >>confdefs.h <<_ACEOF
7473 #define HAVE_IFADDRS_H 1
7474 _ACEOF
7478 done
7481 for ac_header in sys/ucontext.h
7482 do :
7483 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7485 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7486 cat >>confdefs.h <<_ACEOF
7487 #define HAVE_SYS_UCONTEXT_H 1
7488 _ACEOF
7492 done
7495 for ac_header in sys/thr.h
7496 do :
7497 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7498 #ifdef HAVE_SYS_UCONTEXT_H
7499 #include <sys/ucontext.h>
7500 #endif
7502 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7503 cat >>confdefs.h <<_ACEOF
7504 #define HAVE_SYS_THR_H 1
7505 _ACEOF
7509 done
7512 for ac_header in pthread_np.h
7513 do :
7514 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7515 #include <pthread.h>
7516 #endif
7518 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7519 cat >>confdefs.h <<_ACEOF
7520 #define HAVE_PTHREAD_NP_H 1
7521 _ACEOF
7525 done
7528 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7529 do :
7530 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7531 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7532 #include <sys/time.h>
7533 #endif
7534 #include <sys/types.h>
7535 #ifdef HAVE_ASM_TYPES_H
7536 #include <asm/types.h>
7537 #endif
7539 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7540 cat >>confdefs.h <<_ACEOF
7541 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7542 _ACEOF
7546 done
7549 for ac_header in libprocstat.h
7550 do :
7551 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7552 #include <sys/param.h>
7553 #endif
7554 #ifdef HAVE_SYS_QUEUE_H
7555 #include <sys/queue.h>
7556 #endif
7557 #ifdef HAVE_SYS_SOCKET_H
7558 #include <sys/socket.h>
7559 #endif
7561 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7562 cat >>confdefs.h <<_ACEOF
7563 #define HAVE_LIBPROCSTAT_H 1
7564 _ACEOF
7568 done
7572 DLLFLAGS="-D_REENTRANT"
7574 LDRPATH_INSTALL=""
7576 LDRPATH_LOCAL=""
7578 LDEXECFLAGS=""
7580 WINELOADER_LDFLAGS=""
7582 LIBEXT="so"
7583 DLLEXT=".so"
7584 IMPLIBEXT="def"
7585 # Extract the first word of "ldd", so it can be a program name with args.
7586 set dummy ldd; ac_word=$2
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7588 $as_echo_n "checking for $ac_word... " >&6; }
7589 if ${ac_cv_path_LDD+:} false; then :
7590 $as_echo_n "(cached) " >&6
7591 else
7592 case $LDD in
7593 [\\/]* | ?:[\\/]*)
7594 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7598 as_dummy="/sbin:/usr/sbin:$PATH"
7599 for as_dir in $as_dummy
7601 IFS=$as_save_IFS
7602 test -z "$as_dir" && as_dir=.
7603 for ac_exec_ext in '' $ac_executable_extensions; do
7604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7605 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7607 break 2
7609 done
7610 done
7611 IFS=$as_save_IFS
7613 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7615 esac
7617 LDD=$ac_cv_path_LDD
7618 if test -n "$LDD"; then
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7620 $as_echo "$LDD" >&6; }
7621 else
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7623 $as_echo "no" >&6; }
7627 if test -n "$ac_tool_prefix"; then
7628 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7629 set dummy ${ac_tool_prefix}otool; ac_word=$2
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7631 $as_echo_n "checking for $ac_word... " >&6; }
7632 if ${ac_cv_prog_OTOOL+:} false; then :
7633 $as_echo_n "(cached) " >&6
7634 else
7635 if test -n "$OTOOL"; then
7636 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7637 else
7638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7639 for as_dir in $PATH
7641 IFS=$as_save_IFS
7642 test -z "$as_dir" && as_dir=.
7643 for ac_exec_ext in '' $ac_executable_extensions; do
7644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7645 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7647 break 2
7649 done
7650 done
7651 IFS=$as_save_IFS
7655 OTOOL=$ac_cv_prog_OTOOL
7656 if test -n "$OTOOL"; then
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7658 $as_echo "$OTOOL" >&6; }
7659 else
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7661 $as_echo "no" >&6; }
7666 if test -z "$ac_cv_prog_OTOOL"; then
7667 ac_ct_OTOOL=$OTOOL
7668 # Extract the first word of "otool", so it can be a program name with args.
7669 set dummy otool; ac_word=$2
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7671 $as_echo_n "checking for $ac_word... " >&6; }
7672 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7673 $as_echo_n "(cached) " >&6
7674 else
7675 if test -n "$ac_ct_OTOOL"; then
7676 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7677 else
7678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7679 for as_dir in $PATH
7681 IFS=$as_save_IFS
7682 test -z "$as_dir" && as_dir=.
7683 for ac_exec_ext in '' $ac_executable_extensions; do
7684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7685 ac_cv_prog_ac_ct_OTOOL="otool"
7686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7687 break 2
7689 done
7690 done
7691 IFS=$as_save_IFS
7695 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7696 if test -n "$ac_ct_OTOOL"; then
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7698 $as_echo "$ac_ct_OTOOL" >&6; }
7699 else
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7701 $as_echo "no" >&6; }
7704 if test "x$ac_ct_OTOOL" = x; then
7705 OTOOL="otool"
7706 else
7707 case $cross_compiling:$ac_tool_warned in
7708 yes:)
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7711 ac_tool_warned=yes ;;
7712 esac
7713 OTOOL=$ac_ct_OTOOL
7715 else
7716 OTOOL="$ac_cv_prog_OTOOL"
7719 if test -n "$ac_tool_prefix"; then
7720 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7721 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7723 $as_echo_n "checking for $ac_word... " >&6; }
7724 if ${ac_cv_prog_READELF+:} false; then :
7725 $as_echo_n "(cached) " >&6
7726 else
7727 if test -n "$READELF"; then
7728 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7729 else
7730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7731 for as_dir in $PATH
7733 IFS=$as_save_IFS
7734 test -z "$as_dir" && as_dir=.
7735 for ac_exec_ext in '' $ac_executable_extensions; do
7736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7737 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7739 break 2
7741 done
7742 done
7743 IFS=$as_save_IFS
7747 READELF=$ac_cv_prog_READELF
7748 if test -n "$READELF"; then
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7750 $as_echo "$READELF" >&6; }
7751 else
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7753 $as_echo "no" >&6; }
7758 if test -z "$ac_cv_prog_READELF"; then
7759 ac_ct_READELF=$READELF
7760 # Extract the first word of "readelf", so it can be a program name with args.
7761 set dummy readelf; ac_word=$2
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7763 $as_echo_n "checking for $ac_word... " >&6; }
7764 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7765 $as_echo_n "(cached) " >&6
7766 else
7767 if test -n "$ac_ct_READELF"; then
7768 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7769 else
7770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7771 for as_dir in $PATH
7773 IFS=$as_save_IFS
7774 test -z "$as_dir" && as_dir=.
7775 for ac_exec_ext in '' $ac_executable_extensions; do
7776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7777 ac_cv_prog_ac_ct_READELF="readelf"
7778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7779 break 2
7781 done
7782 done
7783 IFS=$as_save_IFS
7787 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7788 if test -n "$ac_ct_READELF"; then
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7790 $as_echo "$ac_ct_READELF" >&6; }
7791 else
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7793 $as_echo "no" >&6; }
7796 if test "x$ac_ct_READELF" = x; then
7797 READELF="true"
7798 else
7799 case $cross_compiling:$ac_tool_warned in
7800 yes:)
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7803 ac_tool_warned=yes ;;
7804 esac
7805 READELF=$ac_ct_READELF
7807 else
7808 READELF="$ac_cv_prog_READELF"
7811 wine_rules_file=conf$$rules.make
7812 rm -f $wine_rules_file
7813 SUBDIRS=""
7815 DISABLED_SUBDIRS=""
7817 CONFIGURE_TARGETS=""
7820 wine_fn_append_file ()
7822 as_fn_append $1 " \\$as_nl $2"
7825 wine_fn_append_rule ()
7827 $as_echo "$1" >>$wine_rules_file
7830 wine_fn_config_makefile ()
7832 wine_fn_append_file SUBDIRS $1
7833 if eval test \"x\$"$2"\" = x"no"; then :
7834 wine_fn_append_file DISABLED_SUBDIRS $1
7838 wine_fn_config_symlink ()
7840 ac_links=$@
7841 wine_fn_append_rule \
7842 "$ac_links:
7843 @./config.status \$@"
7844 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7847 wine_binary="wine"
7848 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7849 WINELOADER_PROGRAMS="$wine_binary"
7851 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7853 case $host_os in
7854 cygwin*|mingw32*)
7855 if test -n "$ac_tool_prefix"; then
7856 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7857 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7859 $as_echo_n "checking for $ac_word... " >&6; }
7860 if ${ac_cv_prog_DLLTOOL+:} false; then :
7861 $as_echo_n "(cached) " >&6
7862 else
7863 if test -n "$DLLTOOL"; then
7864 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7865 else
7866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7867 for as_dir in $PATH
7869 IFS=$as_save_IFS
7870 test -z "$as_dir" && as_dir=.
7871 for ac_exec_ext in '' $ac_executable_extensions; do
7872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7873 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7875 break 2
7877 done
7878 done
7879 IFS=$as_save_IFS
7883 DLLTOOL=$ac_cv_prog_DLLTOOL
7884 if test -n "$DLLTOOL"; then
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7886 $as_echo "$DLLTOOL" >&6; }
7887 else
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7889 $as_echo "no" >&6; }
7894 if test -z "$ac_cv_prog_DLLTOOL"; then
7895 ac_ct_DLLTOOL=$DLLTOOL
7896 # Extract the first word of "dlltool", so it can be a program name with args.
7897 set dummy dlltool; ac_word=$2
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7899 $as_echo_n "checking for $ac_word... " >&6; }
7900 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7901 $as_echo_n "(cached) " >&6
7902 else
7903 if test -n "$ac_ct_DLLTOOL"; then
7904 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7905 else
7906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7907 for as_dir in $PATH
7909 IFS=$as_save_IFS
7910 test -z "$as_dir" && as_dir=.
7911 for ac_exec_ext in '' $ac_executable_extensions; do
7912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7913 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7915 break 2
7917 done
7918 done
7919 IFS=$as_save_IFS
7923 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7924 if test -n "$ac_ct_DLLTOOL"; then
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7926 $as_echo "$ac_ct_DLLTOOL" >&6; }
7927 else
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7929 $as_echo "no" >&6; }
7932 if test "x$ac_ct_DLLTOOL" = x; then
7933 DLLTOOL="false"
7934 else
7935 case $cross_compiling:$ac_tool_warned in
7936 yes:)
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7938 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7939 ac_tool_warned=yes ;;
7940 esac
7941 DLLTOOL=$ac_ct_DLLTOOL
7943 else
7944 DLLTOOL="$ac_cv_prog_DLLTOOL"
7947 LIBEXT="dll"
7948 DLLEXT=""
7949 IMPLIBEXT="a"
7950 enable_iphlpapi=${enable_iphlpapi:-no}
7951 enable_kernel32=${enable_kernel32:-no}
7952 enable_msvcrt=${enable_msvcrt:-no}
7953 enable_ntdll=${enable_ntdll:-no}
7954 enable_ws2_32=${enable_ws2_32:-no}
7955 enable_loader=${enable_loader:-no}
7956 enable_server=${enable_server:-no}
7957 with_x=${with_x:-no}
7958 with_pthread=${with_pthread:-no}
7960 crtlibs=""
7961 case $host_os in
7962 mingw32*)
7963 crtlibs="-lmsvcrt"
7964 SOCKET_LIBS="-lws2_32"
7966 esac
7968 LIBWINE_SHAREDLIB="libwine.dll"
7970 LIBWINE_IMPORTLIB="libwine.a"
7972 LIBWINE_INSTALL_LIB="libwine.dll"
7974 LIBWINE_INSTALL_DEV="libwine.a"
7976 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7978 LIBWINE_DEPENDS="wine.def"
7982 darwin*|macosx*)
7983 for ac_header in libunwind.h
7984 do :
7985 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7986 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7987 cat >>confdefs.h <<_ACEOF
7988 #define HAVE_LIBUNWIND_H 1
7989 _ACEOF
7993 done
7995 LIBEXT="dylib"
7996 DLLFLAGS="$DLLFLAGS -fPIC"
7997 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7998 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7999 COREFOUNDATION_LIBS="-framework CoreFoundation"
8001 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8003 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8005 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8007 CORESERVICES_LIBS="-framework CoreServices"
8009 APPKIT_LIBS="-framework AppKit"
8011 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8013 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8014 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8015 $as_echo_n "(cached) " >&6
8016 else
8017 ac_wine_try_cflags_saved=$CFLAGS
8018 CFLAGS="$CFLAGS -Wl,-no_pie"
8019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8020 /* end confdefs.h. */
8021 int main(int argc, char **argv) { return 0; }
8022 _ACEOF
8023 if ac_fn_c_try_link "$LINENO"; then :
8024 ac_cv_cflags__Wl__no_pie=yes
8025 else
8026 ac_cv_cflags__Wl__no_pie=no
8028 rm -f core conftest.err conftest.$ac_objext \
8029 conftest$ac_exeext conftest.$ac_ext
8030 CFLAGS=$ac_wine_try_cflags_saved
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8033 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8034 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8035 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8037 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8038 then
8039 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8042 if test "$ac_cv_header_Security_Security_h" = "yes"
8043 then
8044 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8046 ac_save_LIBS="$LIBS"
8047 LIBS="$LIBS $SECURITY_LIBS"
8048 for ac_func in SSLCopyPeerCertificates
8049 do :
8050 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8051 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8052 cat >>confdefs.h <<_ACEOF
8053 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8054 _ACEOF
8057 done
8059 LIBS="$ac_save_LIBS"
8060 with_gnutls=${with_gnutls:-no}
8062 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8063 then
8064 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8065 then
8066 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8068 else
8069 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8072 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8073 ac_save_LIBS="$LIBS"
8074 LIBS="$LIBS $COREAUDIO_LIBS"
8075 for ac_func in AUGraphAddNode
8076 do :
8077 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8078 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8079 cat >>confdefs.h <<_ACEOF
8080 #define HAVE_AUGRAPHADDNODE 1
8081 _ACEOF
8084 done
8086 LIBS="$ac_save_LIBS"
8088 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8089 then
8090 OPENAL_LIBS="-framework OpenAL"
8093 cat >>confdefs.h <<_ACEOF
8094 #define HAVE_OPENAL 1
8095 _ACEOF
8097 ac_cv_lib_openal=yes
8099 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8100 then
8101 OPENCL_LIBS="-framework OpenCL"
8103 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8105 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8106 then
8107 ac_save_LIBS="$LIBS"
8108 LIBS="$LIBS $IOKIT_LIBS"
8109 for ac_func in IOHIDManagerCreate
8110 do :
8111 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8112 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8113 cat >>confdefs.h <<_ACEOF
8114 #define HAVE_IOHIDMANAGERCREATE 1
8115 _ACEOF
8118 done
8120 LIBS="$ac_save_LIBS"
8122 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8123 then
8124 ac_save_LIBS="$LIBS"
8125 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8127 $as_echo_n "checking for the QuickTime framework... " >&6; }
8128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8129 /* end confdefs.h. */
8130 #include <QuickTime/ImageCompression.h>
8132 main ()
8134 CodecManagerVersion(NULL);
8136 return 0;
8138 _ACEOF
8139 if ac_fn_c_try_link "$LINENO"; then :
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8141 $as_echo "yes" >&6; }
8142 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8144 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8145 else
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8147 $as_echo "no" >&6; }
8148 ac_cv_header_QuickTime_ImageCompression_h=no
8150 rm -f core conftest.err conftest.$ac_objext \
8151 conftest$ac_exeext conftest.$ac_ext
8152 LIBS="$ac_save_LIBS"
8154 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8155 then
8156 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8158 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8159 then
8160 CARBON_LIBS="-framework Carbon"
8164 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8165 then
8166 ac_save_LIBS="$LIBS"
8167 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8168 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8169 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8170 enable_winemac_drv=${enable_winemac_drv:-yes}
8173 LIBS="$ac_save_LIBS"
8176 if test "x$enable_win16" = "xyes"
8177 then
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8179 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8180 if test "$cross_compiling" = yes; then :
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8182 $as_echo "cross-compiling, assuming yes" >&6; }
8183 else
8184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8185 /* end confdefs.h. */
8186 asm(".text\n"
8187 "bad:\tnop;nop\n"
8188 "good:\tnop;nop\n\t"
8189 ".globl _testfunc\n"
8190 "_testfunc:\tcallw good");
8191 extern void testfunc();
8193 main ()
8195 unsigned short *p = (unsigned short *)testfunc;
8196 return p[0] != 0xe866 || p[1] != 0xfffa
8198 return 0;
8200 _ACEOF
8201 if ac_fn_c_try_run "$LINENO"; then :
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8203 $as_echo "yes" >&6; }
8204 else
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8206 $as_echo "no" >&6; }
8207 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
8209 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8210 conftest.$ac_objext conftest.beam conftest.$ac_ext
8215 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8217 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8219 LIBWINE_INSTALL_DEV="libwine.dylib"
8221 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8223 WINELOADER_DEPENDS="wine_info.plist"
8227 linux-android*)
8228 DLLFLAGS="$DLLFLAGS -fPIC"
8229 LDEXECFLAGS="-Wl,-pie"
8230 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8232 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8233 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8234 $as_echo_n "(cached) " >&6
8235 else
8236 ac_wine_try_cflags_saved=$CFLAGS
8237 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8239 /* end confdefs.h. */
8240 int main(int argc, char **argv) { return 0; }
8241 _ACEOF
8242 if ac_fn_c_try_link "$LINENO"; then :
8243 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8244 else
8245 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8247 rm -f core conftest.err conftest.$ac_objext \
8248 conftest$ac_exeext conftest.$ac_ext
8249 CFLAGS=$ac_wine_try_cflags_saved
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8252 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8253 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8254 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8256 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8258 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8259 if eval \${$as_ac_var+:} false; then :
8260 $as_echo_n "(cached) " >&6
8261 else
8262 ac_wine_try_cflags_saved=$CFLAGS
8263 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8265 /* end confdefs.h. */
8266 int main(int argc, char **argv) { return 0; }
8267 _ACEOF
8268 if ac_fn_c_try_link "$LINENO"; then :
8269 eval "$as_ac_var=yes"
8270 else
8271 eval "$as_ac_var=no"
8273 rm -f core conftest.err conftest.$ac_objext \
8274 conftest$ac_exeext conftest.$ac_ext
8275 CFLAGS=$ac_wine_try_cflags_saved
8277 eval ac_res=\$$as_ac_var
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8279 $as_echo "$ac_res" >&6; }
8280 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8281 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8282 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8283 else
8284 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8286 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8287 if eval \${$as_ac_var+:} false; then :
8288 $as_echo_n "(cached) " >&6
8289 else
8290 ac_wine_try_cflags_saved=$CFLAGS
8291 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8293 /* end confdefs.h. */
8294 int main(int argc, char **argv) { return 0; }
8295 _ACEOF
8296 if ac_fn_c_try_link "$LINENO"; then :
8297 eval "$as_ac_var=yes"
8298 else
8299 eval "$as_ac_var=no"
8301 rm -f core conftest.err conftest.$ac_objext \
8302 conftest$ac_exeext conftest.$ac_ext
8303 CFLAGS=$ac_wine_try_cflags_saved
8305 eval ac_res=\$$as_ac_var
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8307 $as_echo "$ac_res" >&6; }
8308 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8309 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8310 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8314 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8315 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8316 $as_echo_n "(cached) " >&6
8317 else
8318 ac_wine_try_cflags_saved=$CFLAGS
8319 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8321 /* end confdefs.h. */
8322 int main(int argc, char **argv) { return 0; }
8323 _ACEOF
8324 if ac_fn_c_try_link "$LINENO"; then :
8325 ac_cv_cflags__Wl___enable_new_dtags=yes
8326 else
8327 ac_cv_cflags__Wl___enable_new_dtags=no
8329 rm -f core conftest.err conftest.$ac_objext \
8330 conftest$ac_exeext conftest.$ac_ext
8331 CFLAGS=$ac_wine_try_cflags_saved
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8334 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8335 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8336 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8339 LIBWINE_SHAREDLIB="libwine.so"
8341 LIBWINE_INSTALL_LIB="libwine.so"
8343 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8347 $as_echo_n "checking for -lEGL... " >&6; }
8348 if ${ac_cv_lib_soname_EGL+:} false; then :
8349 $as_echo_n "(cached) " >&6
8350 else
8351 ac_check_soname_save_LIBS=$LIBS
8352 LIBS="-lEGL $LIBS"
8353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8354 /* end confdefs.h. */
8356 /* Override any GCC internal prototype to avoid an error.
8357 Use char because int might match the return type of a GCC
8358 builtin and then its argument prototype would still apply. */
8359 #ifdef __cplusplus
8360 extern "C"
8361 #endif
8362 char eglGetProcAddress ();
8364 main ()
8366 return eglGetProcAddress ();
8368 return 0;
8370 _ACEOF
8371 if ac_fn_c_try_link "$LINENO"; then :
8372 case "$LIBEXT" in
8373 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8374 dylib) ac_cv_lib_soname_EGL=`$OTOOL -L conftest$ac_exeext | grep "libEGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libEGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8375 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8376 if ${ac_cv_lib_soname_EGL:+false} :; then :
8377 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8378 fi ;;
8379 esac
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 ${ac_cv_lib_soname_EGL:+false} :; then :
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8387 $as_echo "not found" >&6; }
8389 else
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8391 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8393 cat >>confdefs.h <<_ACEOF
8394 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8395 _ACEOF
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8400 $as_echo_n "checking for -lGLESv2... " >&6; }
8401 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8402 $as_echo_n "(cached) " >&6
8403 else
8404 ac_check_soname_save_LIBS=$LIBS
8405 LIBS="-lGLESv2 $LIBS"
8406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8407 /* end confdefs.h. */
8409 /* Override any GCC internal prototype to avoid an error.
8410 Use char because int might match the return type of a GCC
8411 builtin and then its argument prototype would still apply. */
8412 #ifdef __cplusplus
8413 extern "C"
8414 #endif
8415 char glFlush ();
8417 main ()
8419 return glFlush ();
8421 return 0;
8423 _ACEOF
8424 if ac_fn_c_try_link "$LINENO"; then :
8425 case "$LIBEXT" in
8426 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8427 dylib) ac_cv_lib_soname_GLESv2=`$OTOOL -L conftest$ac_exeext | grep "libGLESv2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLESv2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8428 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8429 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8430 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8431 fi ;;
8432 esac
8434 rm -f core conftest.err conftest.$ac_objext \
8435 conftest$ac_exeext conftest.$ac_ext
8436 LIBS=$ac_check_soname_save_LIBS
8438 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8440 $as_echo "not found" >&6; }
8442 else
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8444 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8446 cat >>confdefs.h <<_ACEOF
8447 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8448 _ACEOF
8453 if test "x$exec_prefix" = xNONE
8454 then
8455 case $host_cpu in
8456 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8457 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8458 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8459 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8460 esac
8465 DLLFLAGS="$DLLFLAGS -fPIC"
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8467 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8468 if ${ac_cv_c_dll_gnuelf+:} false; then :
8469 $as_echo_n "(cached) " >&6
8470 else
8471 ac_wine_try_cflags_saved=$CFLAGS
8472 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8474 /* end confdefs.h. */
8475 void myfunc() {}
8476 _ACEOF
8477 if ac_fn_c_try_link "$LINENO"; then :
8478 ac_cv_c_dll_gnuelf="yes"
8479 else
8480 ac_cv_c_dll_gnuelf="no"
8482 rm -f core conftest.err conftest.$ac_objext \
8483 conftest$ac_exeext conftest.$ac_ext
8484 CFLAGS=$ac_wine_try_cflags_saved
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8487 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8488 if test "$ac_cv_c_dll_gnuelf" = "yes"
8489 then
8490 LIBWINE_LDFLAGS="-shared"
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8492 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8493 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8494 $as_echo_n "(cached) " >&6
8495 else
8496 ac_wine_try_cflags_saved=$CFLAGS
8497 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8499 /* end confdefs.h. */
8500 int main(int argc, char **argv) { return 0; }
8501 _ACEOF
8502 if ac_fn_c_try_link "$LINENO"; then :
8503 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8504 else
8505 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8507 rm -f core conftest.err conftest.$ac_objext \
8508 conftest$ac_exeext conftest.$ac_ext
8509 CFLAGS=$ac_wine_try_cflags_saved
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8512 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8513 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8514 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8515 else
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8517 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8518 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8519 $as_echo_n "(cached) " >&6
8520 else
8521 ac_wine_try_cflags_saved=$CFLAGS
8522 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8524 /* end confdefs.h. */
8525 int main(int argc, char **argv) { return 0; }
8526 _ACEOF
8527 if ac_fn_c_try_link "$LINENO"; then :
8528 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8529 else
8530 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8532 rm -f core conftest.err conftest.$ac_objext \
8533 conftest$ac_exeext conftest.$ac_ext
8534 CFLAGS=$ac_wine_try_cflags_saved
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8537 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8538 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8539 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8543 echo '{ global: *; };' >conftest.map
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8545 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8546 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8547 $as_echo_n "(cached) " >&6
8548 else
8549 ac_wine_try_cflags_saved=$CFLAGS
8550 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8552 /* end confdefs.h. */
8553 int main(int argc, char **argv) { return 0; }
8554 _ACEOF
8555 if ac_fn_c_try_link "$LINENO"; then :
8556 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8557 else
8558 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8560 rm -f core conftest.err conftest.$ac_objext \
8561 conftest$ac_exeext conftest.$ac_ext
8562 CFLAGS=$ac_wine_try_cflags_saved
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8565 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8566 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8567 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8569 rm -f conftest.map
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8572 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8573 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8574 $as_echo_n "(cached) " >&6
8575 else
8576 ac_wine_try_cflags_saved=$CFLAGS
8577 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8579 /* end confdefs.h. */
8580 int main(int argc, char **argv) { return 0; }
8581 _ACEOF
8582 if ac_fn_c_try_link "$LINENO"; then :
8583 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8584 else
8585 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8587 rm -f core conftest.err conftest.$ac_objext \
8588 conftest$ac_exeext conftest.$ac_ext
8589 CFLAGS=$ac_wine_try_cflags_saved
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8592 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8593 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8594 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8597 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8599 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8600 if eval \${$as_ac_var+:} false; then :
8601 $as_echo_n "(cached) " >&6
8602 else
8603 ac_wine_try_cflags_saved=$CFLAGS
8604 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8606 /* end confdefs.h. */
8607 int main(int argc, char **argv) { return 0; }
8608 _ACEOF
8609 if ac_fn_c_try_link "$LINENO"; then :
8610 eval "$as_ac_var=yes"
8611 else
8612 eval "$as_ac_var=no"
8614 rm -f core conftest.err conftest.$ac_objext \
8615 conftest$ac_exeext conftest.$ac_ext
8616 CFLAGS=$ac_wine_try_cflags_saved
8618 eval ac_res=\$$as_ac_var
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8620 $as_echo "$ac_res" >&6; }
8621 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8622 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8623 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8624 else
8625 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8627 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8628 if eval \${$as_ac_var+:} false; then :
8629 $as_echo_n "(cached) " >&6
8630 else
8631 ac_wine_try_cflags_saved=$CFLAGS
8632 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8634 /* end confdefs.h. */
8635 int main(int argc, char **argv) { return 0; }
8636 _ACEOF
8637 if ac_fn_c_try_link "$LINENO"; then :
8638 eval "$as_ac_var=yes"
8639 else
8640 eval "$as_ac_var=no"
8642 rm -f core conftest.err conftest.$ac_objext \
8643 conftest$ac_exeext conftest.$ac_ext
8644 CFLAGS=$ac_wine_try_cflags_saved
8646 eval ac_res=\$$as_ac_var
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8648 $as_echo "$ac_res" >&6; }
8649 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8650 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8651 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8656 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8657 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8658 $as_echo_n "(cached) " >&6
8659 else
8660 ac_wine_try_cflags_saved=$CFLAGS
8661 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8663 /* end confdefs.h. */
8664 int main(int argc, char **argv) { return 0; }
8665 _ACEOF
8666 if ac_fn_c_try_link "$LINENO"; then :
8667 ac_cv_cflags__Wl___enable_new_dtags=yes
8668 else
8669 ac_cv_cflags__Wl___enable_new_dtags=no
8671 rm -f core conftest.err conftest.$ac_objext \
8672 conftest$ac_exeext conftest.$ac_ext
8673 CFLAGS=$ac_wine_try_cflags_saved
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8676 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8677 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8678 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8681 case $host_cpu in
8682 *i[3456789]86* | x86_64 | *aarch64*)
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8684 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8685 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8686 $as_echo_n "(cached) " >&6
8687 else
8688 ac_wine_try_cflags_saved=$CFLAGS
8689 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8691 /* end confdefs.h. */
8692 int main(int argc, char **argv) { return 0; }
8693 _ACEOF
8694 if ac_fn_c_try_link "$LINENO"; then :
8695 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8696 else
8697 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8699 rm -f core conftest.err conftest.$ac_objext \
8700 conftest$ac_exeext conftest.$ac_ext
8701 CFLAGS=$ac_wine_try_cflags_saved
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8704 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8705 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8706 case $host_os in
8707 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8708 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8709 esac
8710 else
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8712 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8713 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8714 $as_echo_n "(cached) " >&6
8715 else
8716 ac_wine_try_cflags_saved=$CFLAGS
8717 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8719 /* end confdefs.h. */
8720 int main(int argc, char **argv) { return 0; }
8721 _ACEOF
8722 if ac_fn_c_try_link "$LINENO"; then :
8723 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8724 else
8725 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8727 rm -f core conftest.err conftest.$ac_objext \
8728 conftest$ac_exeext conftest.$ac_ext
8729 CFLAGS=$ac_wine_try_cflags_saved
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8732 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8733 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8734 case $host_os in
8735 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8736 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8737 esac
8739 # Extract the first word of "prelink", so it can be a program name with args.
8740 set dummy prelink; ac_word=$2
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8742 $as_echo_n "checking for $ac_word... " >&6; }
8743 if ${ac_cv_path_PRELINK+:} false; then :
8744 $as_echo_n "(cached) " >&6
8745 else
8746 case $PRELINK in
8747 [\\/]* | ?:[\\/]*)
8748 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8752 for as_dir in /sbin /usr/sbin $PATH
8754 IFS=$as_save_IFS
8755 test -z "$as_dir" && as_dir=.
8756 for ac_exec_ext in '' $ac_executable_extensions; do
8757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8758 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8760 break 2
8762 done
8763 done
8764 IFS=$as_save_IFS
8766 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8768 esac
8770 PRELINK=$ac_cv_path_PRELINK
8771 if test -n "$PRELINK"; then
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8773 $as_echo "$PRELINK" >&6; }
8774 else
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8776 $as_echo "no" >&6; }
8780 if test "x$PRELINK" = xfalse
8781 then
8782 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8786 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8787 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8788 $as_echo_n "(cached) " >&6
8789 else
8790 ac_wine_try_cflags_saved=$CFLAGS
8791 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8793 /* end confdefs.h. */
8794 int main(int argc, char **argv) { return 0; }
8795 _ACEOF
8796 if ac_fn_c_try_link "$LINENO"; then :
8797 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8798 else
8799 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8801 rm -f core conftest.err conftest.$ac_objext \
8802 conftest$ac_exeext conftest.$ac_ext
8803 CFLAGS=$ac_wine_try_cflags_saved
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8806 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8807 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8808 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8811 esac
8813 else
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8815 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8816 if ${ac_cv_c_dll_unixware+:} false; then :
8817 $as_echo_n "(cached) " >&6
8818 else
8819 ac_wine_try_cflags_saved=$CFLAGS
8820 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8822 /* end confdefs.h. */
8823 void myfunc() {}
8824 _ACEOF
8825 if ac_fn_c_try_link "$LINENO"; then :
8826 ac_cv_c_dll_unixware="yes"
8827 else
8828 ac_cv_c_dll_unixware="no"
8830 rm -f core conftest.err conftest.$ac_objext \
8831 conftest$ac_exeext conftest.$ac_ext
8832 CFLAGS=$ac_wine_try_cflags_saved
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8835 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8836 if test "$ac_cv_c_dll_unixware" = "yes"
8837 then
8838 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8841 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8843 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8845 LIBWINE_INSTALL_DEV="libwine.so"
8847 LIBWINE_DEPENDS="wine.map"
8850 esac
8852 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8853 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8854 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8855 enable_winemac_drv=${enable_winemac_drv:-no}
8856 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8858 CROSSTARGET=""
8860 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8861 then
8862 case "$host_cpu" in
8863 aarch64*)
8864 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
8865 arm*)
8866 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8867 i[3456789]86*)
8868 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
8869 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8870 mingw32-gcc" ;;
8871 x86_64)
8872 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
8873 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8875 ac_prefix_list="" ;;
8876 esac
8877 for ac_prog in $ac_prefix_list
8879 # Extract the first word of "$ac_prog", so it can be a program name with args.
8880 set dummy $ac_prog; ac_word=$2
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8882 $as_echo_n "checking for $ac_word... " >&6; }
8883 if ${ac_cv_prog_CROSSCC+:} false; then :
8884 $as_echo_n "(cached) " >&6
8885 else
8886 if test -n "$CROSSCC"; then
8887 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8888 else
8889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8890 for as_dir in $PATH
8892 IFS=$as_save_IFS
8893 test -z "$as_dir" && as_dir=.
8894 for ac_exec_ext in '' $ac_executable_extensions; do
8895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8896 ac_cv_prog_CROSSCC="$ac_prog"
8897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8898 break 2
8900 done
8901 done
8902 IFS=$as_save_IFS
8906 CROSSCC=$ac_cv_prog_CROSSCC
8907 if test -n "$CROSSCC"; then
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8909 $as_echo "$CROSSCC" >&6; }
8910 else
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8912 $as_echo "no" >&6; }
8916 test -n "$CROSSCC" && break
8917 done
8918 test -n "$CROSSCC" || CROSSCC="false"
8920 if test "$CROSSCC" != "false"
8921 then
8922 ac_save_CC="$CC"
8923 CC="$CROSSCC"
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8925 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8927 /* end confdefs.h. */
8930 main ()
8934 return 0;
8936 _ACEOF
8937 if ac_fn_c_try_compile "$LINENO"; then :
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8939 $as_echo "yes" >&6; }
8940 set x $CROSSCC
8941 shift
8942 while test $# -ge 1
8944 case "$1" in
8945 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8946 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8947 esac
8948 shift
8949 done
8950 else
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8952 $as_echo "no" >&6; }
8954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8955 CC="$ac_save_CC"
8956 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8962 if test "$ac_cv_header_pthread_h" = "yes"
8963 then
8964 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8965 if test "x$ac_cv_func_pthread_create" = xyes; then :
8967 else
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8969 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8970 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8971 $as_echo_n "(cached) " >&6
8972 else
8973 ac_check_lib_save_LIBS=$LIBS
8974 LIBS="-lpthread $LIBS"
8975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8976 /* end confdefs.h. */
8978 /* Override any GCC internal prototype to avoid an error.
8979 Use char because int might match the return type of a GCC
8980 builtin and then its argument prototype would still apply. */
8981 #ifdef __cplusplus
8982 extern "C"
8983 #endif
8984 char pthread_create ();
8986 main ()
8988 return pthread_create ();
8990 return 0;
8992 _ACEOF
8993 if ac_fn_c_try_link "$LINENO"; then :
8994 ac_cv_lib_pthread_pthread_create=yes
8995 else
8996 ac_cv_lib_pthread_pthread_create=no
8998 rm -f core conftest.err conftest.$ac_objext \
8999 conftest$ac_exeext conftest.$ac_ext
9000 LIBS=$ac_check_lib_save_LIBS
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9003 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9004 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9005 PTHREAD_LIBS="-lpthread"
9012 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9013 case "x$with_pthread" in
9014 xno) ;;
9015 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9016 Wine cannot support threads without libpthread.
9017 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9018 esac
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9024 $as_echo_n "checking for X... " >&6; }
9027 # Check whether --with-x was given.
9028 if test "${with_x+set}" = set; then :
9029 withval=$with_x;
9032 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9033 if test "x$with_x" = xno; then
9034 # The user explicitly disabled X.
9035 have_x=disabled
9036 else
9037 case $x_includes,$x_libraries in #(
9038 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9039 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9040 $as_echo_n "(cached) " >&6
9041 else
9042 # One or both of the vars are not set, and there is no cached value.
9043 ac_x_includes=no ac_x_libraries=no
9044 rm -f -r conftest.dir
9045 if mkdir conftest.dir; then
9046 cd conftest.dir
9047 cat >Imakefile <<'_ACEOF'
9048 incroot:
9049 @echo incroot='${INCROOT}'
9050 usrlibdir:
9051 @echo usrlibdir='${USRLIBDIR}'
9052 libdir:
9053 @echo libdir='${LIBDIR}'
9054 _ACEOF
9055 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9056 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9057 for ac_var in incroot usrlibdir libdir; do
9058 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9059 done
9060 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9061 for ac_extension in a so sl dylib la dll; do
9062 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9063 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9064 ac_im_usrlibdir=$ac_im_libdir; break
9066 done
9067 # Screen out bogus values from the imake configuration. They are
9068 # bogus both because they are the default anyway, and because
9069 # using them would break gcc on systems where it needs fixed includes.
9070 case $ac_im_incroot in
9071 /usr/include) ac_x_includes= ;;
9072 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9073 esac
9074 case $ac_im_usrlibdir in
9075 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9076 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9077 esac
9079 cd ..
9080 rm -f -r conftest.dir
9083 # Standard set of common directories for X headers.
9084 # Check X11 before X11Rn because it is often a symlink to the current release.
9085 ac_x_header_dirs='
9086 /usr/X11/include
9087 /usr/X11R7/include
9088 /usr/X11R6/include
9089 /usr/X11R5/include
9090 /usr/X11R4/include
9092 /usr/include/X11
9093 /usr/include/X11R7
9094 /usr/include/X11R6
9095 /usr/include/X11R5
9096 /usr/include/X11R4
9098 /usr/local/X11/include
9099 /usr/local/X11R7/include
9100 /usr/local/X11R6/include
9101 /usr/local/X11R5/include
9102 /usr/local/X11R4/include
9104 /usr/local/include/X11
9105 /usr/local/include/X11R7
9106 /usr/local/include/X11R6
9107 /usr/local/include/X11R5
9108 /usr/local/include/X11R4
9110 /usr/X386/include
9111 /usr/x386/include
9112 /usr/XFree86/include/X11
9114 /usr/include
9115 /usr/local/include
9116 /usr/unsupported/include
9117 /usr/athena/include
9118 /usr/local/x11r5/include
9119 /usr/lpp/Xamples/include
9121 /usr/openwin/include
9122 /usr/openwin/share/include'
9124 if test "$ac_x_includes" = no; then
9125 # Guess where to find include files, by looking for Xlib.h.
9126 # First, try using that file with no special directory specified.
9127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9128 /* end confdefs.h. */
9129 #include <X11/Xlib.h>
9130 _ACEOF
9131 if ac_fn_c_try_cpp "$LINENO"; then :
9132 # We can compile using X headers with no special include directory.
9133 ac_x_includes=
9134 else
9135 for ac_dir in $ac_x_header_dirs; do
9136 if test -r "$ac_dir/X11/Xlib.h"; then
9137 ac_x_includes=$ac_dir
9138 break
9140 done
9142 rm -f conftest.err conftest.i conftest.$ac_ext
9143 fi # $ac_x_includes = no
9145 if test "$ac_x_libraries" = no; then
9146 # Check for the libraries.
9147 # See if we find them without any special options.
9148 # Don't add to $LIBS permanently.
9149 ac_save_LIBS=$LIBS
9150 LIBS="-lX11 $LIBS"
9151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9152 /* end confdefs.h. */
9153 #include <X11/Xlib.h>
9155 main ()
9157 XrmInitialize ()
9159 return 0;
9161 _ACEOF
9162 if ac_fn_c_try_link "$LINENO"; then :
9163 LIBS=$ac_save_LIBS
9164 # We can link X programs with no special library path.
9165 ac_x_libraries=
9166 else
9167 LIBS=$ac_save_LIBS
9168 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9170 # Don't even attempt the hair of trying to link an X program!
9171 for ac_extension in a so sl dylib la dll; do
9172 if test -r "$ac_dir/libX11.$ac_extension"; then
9173 ac_x_libraries=$ac_dir
9174 break 2
9176 done
9177 done
9179 rm -f core conftest.err conftest.$ac_objext \
9180 conftest$ac_exeext conftest.$ac_ext
9181 fi # $ac_x_libraries = no
9183 case $ac_x_includes,$ac_x_libraries in #(
9184 no,* | *,no | *\'*)
9185 # Didn't find X, or a directory has "'" in its name.
9186 ac_cv_have_x="have_x=no";; #(
9188 # Record where we found X for the cache.
9189 ac_cv_have_x="have_x=yes\
9190 ac_x_includes='$ac_x_includes'\
9191 ac_x_libraries='$ac_x_libraries'"
9192 esac
9194 ;; #(
9195 *) have_x=yes;;
9196 esac
9197 eval "$ac_cv_have_x"
9198 fi # $with_x != no
9200 if test "$have_x" != yes; then
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9202 $as_echo "$have_x" >&6; }
9203 no_x=yes
9204 else
9205 # If each of the values was on the command line, it overrides each guess.
9206 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9207 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9208 # Update the cache value to reflect the command line values.
9209 ac_cv_have_x="have_x=yes\
9210 ac_x_includes='$x_includes'\
9211 ac_x_libraries='$x_libraries'"
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9213 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9216 if test "$no_x" = yes; then
9217 # Not all programs may use this symbol, but it does not hurt to define it.
9219 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9221 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9222 else
9223 if test -n "$x_includes"; then
9224 X_CFLAGS="$X_CFLAGS -I$x_includes"
9227 # It would also be nice to do this for all -L options, not just this one.
9228 if test -n "$x_libraries"; then
9229 X_LIBS="$X_LIBS -L$x_libraries"
9230 # For Solaris; some versions of Sun CC require a space after -R and
9231 # others require no space. Words are not sufficient . . . .
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9233 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9234 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9235 ac_xsave_c_werror_flag=$ac_c_werror_flag
9236 ac_c_werror_flag=yes
9237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9238 /* end confdefs.h. */
9241 main ()
9245 return 0;
9247 _ACEOF
9248 if ac_fn_c_try_link "$LINENO"; then :
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9250 $as_echo "no" >&6; }
9251 X_LIBS="$X_LIBS -R$x_libraries"
9252 else
9253 LIBS="$ac_xsave_LIBS -R $x_libraries"
9254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9255 /* end confdefs.h. */
9258 main ()
9262 return 0;
9264 _ACEOF
9265 if ac_fn_c_try_link "$LINENO"; then :
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9267 $as_echo "yes" >&6; }
9268 X_LIBS="$X_LIBS -R $x_libraries"
9269 else
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9271 $as_echo "neither works" >&6; }
9273 rm -f core conftest.err conftest.$ac_objext \
9274 conftest$ac_exeext conftest.$ac_ext
9276 rm -f core conftest.err conftest.$ac_objext \
9277 conftest$ac_exeext conftest.$ac_ext
9278 ac_c_werror_flag=$ac_xsave_c_werror_flag
9279 LIBS=$ac_xsave_LIBS
9282 # Check for system-dependent libraries X programs must link with.
9283 # Do this before checking for the system-independent R6 libraries
9284 # (-lICE), since we may need -lsocket or whatever for X linking.
9286 if test "$ISC" = yes; then
9287 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9288 else
9289 # Martyn Johnson says this is needed for Ultrix, if the X
9290 # libraries were built with DECnet support. And Karl Berry says
9291 # the Alpha needs dnet_stub (dnet does not exist).
9292 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9294 /* end confdefs.h. */
9296 /* Override any GCC internal prototype to avoid an error.
9297 Use char because int might match the return type of a GCC
9298 builtin and then its argument prototype would still apply. */
9299 #ifdef __cplusplus
9300 extern "C"
9301 #endif
9302 char XOpenDisplay ();
9304 main ()
9306 return XOpenDisplay ();
9308 return 0;
9310 _ACEOF
9311 if ac_fn_c_try_link "$LINENO"; then :
9313 else
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9315 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9316 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9317 $as_echo_n "(cached) " >&6
9318 else
9319 ac_check_lib_save_LIBS=$LIBS
9320 LIBS="-ldnet $LIBS"
9321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9322 /* end confdefs.h. */
9324 /* Override any GCC internal prototype to avoid an error.
9325 Use char because int might match the return type of a GCC
9326 builtin and then its argument prototype would still apply. */
9327 #ifdef __cplusplus
9328 extern "C"
9329 #endif
9330 char dnet_ntoa ();
9332 main ()
9334 return dnet_ntoa ();
9336 return 0;
9338 _ACEOF
9339 if ac_fn_c_try_link "$LINENO"; then :
9340 ac_cv_lib_dnet_dnet_ntoa=yes
9341 else
9342 ac_cv_lib_dnet_dnet_ntoa=no
9344 rm -f core conftest.err conftest.$ac_objext \
9345 conftest$ac_exeext conftest.$ac_ext
9346 LIBS=$ac_check_lib_save_LIBS
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9349 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9350 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9351 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9354 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9356 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9357 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9358 $as_echo_n "(cached) " >&6
9359 else
9360 ac_check_lib_save_LIBS=$LIBS
9361 LIBS="-ldnet_stub $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. */
9368 #ifdef __cplusplus
9369 extern "C"
9370 #endif
9371 char dnet_ntoa ();
9373 main ()
9375 return dnet_ntoa ();
9377 return 0;
9379 _ACEOF
9380 if ac_fn_c_try_link "$LINENO"; then :
9381 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9382 else
9383 ac_cv_lib_dnet_stub_dnet_ntoa=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_dnet_stub_dnet_ntoa" >&5
9390 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9391 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9392 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9397 rm -f core conftest.err conftest.$ac_objext \
9398 conftest$ac_exeext conftest.$ac_ext
9399 LIBS="$ac_xsave_LIBS"
9401 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9402 # to get the SysV transport functions.
9403 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9404 # needs -lnsl.
9405 # The nsl library prevents programs from opening the X display
9406 # on Irix 5.2, according to T.E. Dickey.
9407 # The functions gethostbyname, getservbyname, and inet_addr are
9408 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9409 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9410 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9414 if test $ac_cv_func_gethostbyname = no; then
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9416 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9417 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9418 $as_echo_n "(cached) " >&6
9419 else
9420 ac_check_lib_save_LIBS=$LIBS
9421 LIBS="-lnsl $LIBS"
9422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9423 /* end confdefs.h. */
9425 /* Override any GCC internal prototype to avoid an error.
9426 Use char because int might match the return type of a GCC
9427 builtin and then its argument prototype would still apply. */
9428 #ifdef __cplusplus
9429 extern "C"
9430 #endif
9431 char gethostbyname ();
9433 main ()
9435 return gethostbyname ();
9437 return 0;
9439 _ACEOF
9440 if ac_fn_c_try_link "$LINENO"; then :
9441 ac_cv_lib_nsl_gethostbyname=yes
9442 else
9443 ac_cv_lib_nsl_gethostbyname=no
9445 rm -f core conftest.err conftest.$ac_objext \
9446 conftest$ac_exeext conftest.$ac_ext
9447 LIBS=$ac_check_lib_save_LIBS
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9450 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9451 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9452 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9455 if test $ac_cv_lib_nsl_gethostbyname = no; then
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9457 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9458 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9459 $as_echo_n "(cached) " >&6
9460 else
9461 ac_check_lib_save_LIBS=$LIBS
9462 LIBS="-lbsd $LIBS"
9463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9464 /* end confdefs.h. */
9466 /* Override any GCC internal prototype to avoid an error.
9467 Use char because int might match the return type of a GCC
9468 builtin and then its argument prototype would still apply. */
9469 #ifdef __cplusplus
9470 extern "C"
9471 #endif
9472 char gethostbyname ();
9474 main ()
9476 return gethostbyname ();
9478 return 0;
9480 _ACEOF
9481 if ac_fn_c_try_link "$LINENO"; then :
9482 ac_cv_lib_bsd_gethostbyname=yes
9483 else
9484 ac_cv_lib_bsd_gethostbyname=no
9486 rm -f core conftest.err conftest.$ac_objext \
9487 conftest$ac_exeext conftest.$ac_ext
9488 LIBS=$ac_check_lib_save_LIBS
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9491 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9492 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9493 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9499 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9500 # socket/setsockopt and other routines are undefined under SCO ODT
9501 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9502 # on later versions), says Simon Leinen: it contains gethostby*
9503 # variants that don't use the name server (or something). -lsocket
9504 # must be given before -lnsl if both are needed. We assume that
9505 # if connect needs -lnsl, so does gethostbyname.
9506 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9507 if test "x$ac_cv_func_connect" = xyes; then :
9511 if test $ac_cv_func_connect = no; then
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9513 $as_echo_n "checking for connect in -lsocket... " >&6; }
9514 if ${ac_cv_lib_socket_connect+:} false; then :
9515 $as_echo_n "(cached) " >&6
9516 else
9517 ac_check_lib_save_LIBS=$LIBS
9518 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9520 /* end confdefs.h. */
9522 /* Override any GCC internal prototype to avoid an error.
9523 Use char because int might match the return type of a GCC
9524 builtin and then its argument prototype would still apply. */
9525 #ifdef __cplusplus
9526 extern "C"
9527 #endif
9528 char connect ();
9530 main ()
9532 return connect ();
9534 return 0;
9536 _ACEOF
9537 if ac_fn_c_try_link "$LINENO"; then :
9538 ac_cv_lib_socket_connect=yes
9539 else
9540 ac_cv_lib_socket_connect=no
9542 rm -f core conftest.err conftest.$ac_objext \
9543 conftest$ac_exeext conftest.$ac_ext
9544 LIBS=$ac_check_lib_save_LIBS
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9547 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9548 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9549 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9554 # Guillermo Gomez says -lposix is necessary on A/UX.
9555 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9556 if test "x$ac_cv_func_remove" = xyes; then :
9560 if test $ac_cv_func_remove = no; then
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9562 $as_echo_n "checking for remove in -lposix... " >&6; }
9563 if ${ac_cv_lib_posix_remove+:} false; then :
9564 $as_echo_n "(cached) " >&6
9565 else
9566 ac_check_lib_save_LIBS=$LIBS
9567 LIBS="-lposix $LIBS"
9568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h. */
9571 /* Override any GCC internal prototype to avoid an error.
9572 Use char because int might match the return type of a GCC
9573 builtin and then its argument prototype would still apply. */
9574 #ifdef __cplusplus
9575 extern "C"
9576 #endif
9577 char remove ();
9579 main ()
9581 return remove ();
9583 return 0;
9585 _ACEOF
9586 if ac_fn_c_try_link "$LINENO"; then :
9587 ac_cv_lib_posix_remove=yes
9588 else
9589 ac_cv_lib_posix_remove=no
9591 rm -f core conftest.err conftest.$ac_objext \
9592 conftest$ac_exeext conftest.$ac_ext
9593 LIBS=$ac_check_lib_save_LIBS
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9596 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9597 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9598 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9603 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9604 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9605 if test "x$ac_cv_func_shmat" = xyes; then :
9609 if test $ac_cv_func_shmat = no; then
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9611 $as_echo_n "checking for shmat in -lipc... " >&6; }
9612 if ${ac_cv_lib_ipc_shmat+:} false; then :
9613 $as_echo_n "(cached) " >&6
9614 else
9615 ac_check_lib_save_LIBS=$LIBS
9616 LIBS="-lipc $LIBS"
9617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9618 /* end confdefs.h. */
9620 /* Override any GCC internal prototype to avoid an error.
9621 Use char because int might match the return type of a GCC
9622 builtin and then its argument prototype would still apply. */
9623 #ifdef __cplusplus
9624 extern "C"
9625 #endif
9626 char shmat ();
9628 main ()
9630 return shmat ();
9632 return 0;
9634 _ACEOF
9635 if ac_fn_c_try_link "$LINENO"; then :
9636 ac_cv_lib_ipc_shmat=yes
9637 else
9638 ac_cv_lib_ipc_shmat=no
9640 rm -f core conftest.err conftest.$ac_objext \
9641 conftest$ac_exeext conftest.$ac_ext
9642 LIBS=$ac_check_lib_save_LIBS
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9645 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9646 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9647 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9653 # Check for libraries that X11R6 Xt/Xaw programs need.
9654 ac_save_LDFLAGS=$LDFLAGS
9655 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9656 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9657 # check for ICE first), but we must link in the order -lSM -lICE or
9658 # we get undefined symbols. So assume we have SM if we have ICE.
9659 # These have to be linked with before -lX11, unlike the other
9660 # libraries we check for below, so use a different variable.
9661 # John Interrante, Karl Berry
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9663 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9664 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9665 $as_echo_n "(cached) " >&6
9666 else
9667 ac_check_lib_save_LIBS=$LIBS
9668 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9670 /* end confdefs.h. */
9672 /* Override any GCC internal prototype to avoid an error.
9673 Use char because int might match the return type of a GCC
9674 builtin and then its argument prototype would still apply. */
9675 #ifdef __cplusplus
9676 extern "C"
9677 #endif
9678 char IceConnectionNumber ();
9680 main ()
9682 return IceConnectionNumber ();
9684 return 0;
9686 _ACEOF
9687 if ac_fn_c_try_link "$LINENO"; then :
9688 ac_cv_lib_ICE_IceConnectionNumber=yes
9689 else
9690 ac_cv_lib_ICE_IceConnectionNumber=no
9692 rm -f core conftest.err conftest.$ac_objext \
9693 conftest$ac_exeext conftest.$ac_ext
9694 LIBS=$ac_check_lib_save_LIBS
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9697 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9698 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9699 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9702 LDFLAGS=$ac_save_LDFLAGS
9707 if test "$have_x" = "yes"
9708 then
9709 ac_save_CPPFLAGS="$CPPFLAGS"
9710 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9713 $as_echo_n "checking for -lX11... " >&6; }
9714 if ${ac_cv_lib_soname_X11+:} false; then :
9715 $as_echo_n "(cached) " >&6
9716 else
9717 ac_check_soname_save_LIBS=$LIBS
9718 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9720 /* end confdefs.h. */
9722 /* Override any GCC internal prototype to avoid an error.
9723 Use char because int might match the return type of a GCC
9724 builtin and then its argument prototype would still apply. */
9725 #ifdef __cplusplus
9726 extern "C"
9727 #endif
9728 char XCreateWindow ();
9730 main ()
9732 return XCreateWindow ();
9734 return 0;
9736 _ACEOF
9737 if ac_fn_c_try_link "$LINENO"; then :
9738 case "$LIBEXT" in
9739 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9740 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'` ;;
9741 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9742 if ${ac_cv_lib_soname_X11:+false} :; then :
9743 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9744 fi ;;
9745 esac
9747 rm -f core conftest.err conftest.$ac_objext \
9748 conftest$ac_exeext conftest.$ac_ext
9749 LIBS=$ac_check_soname_save_LIBS
9751 if ${ac_cv_lib_soname_X11:+false} :; then :
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9753 $as_echo "not found" >&6; }
9755 else
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9757 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9759 cat >>confdefs.h <<_ACEOF
9760 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9761 _ACEOF
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9766 $as_echo_n "checking for -lXext... " >&6; }
9767 if ${ac_cv_lib_soname_Xext+:} false; then :
9768 $as_echo_n "(cached) " >&6
9769 else
9770 ac_check_soname_save_LIBS=$LIBS
9771 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9773 /* end confdefs.h. */
9775 /* Override any GCC internal prototype to avoid an error.
9776 Use char because int might match the return type of a GCC
9777 builtin and then its argument prototype would still apply. */
9778 #ifdef __cplusplus
9779 extern "C"
9780 #endif
9781 char XextCreateExtension ();
9783 main ()
9785 return XextCreateExtension ();
9787 return 0;
9789 _ACEOF
9790 if ac_fn_c_try_link "$LINENO"; then :
9791 case "$LIBEXT" in
9792 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9793 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'` ;;
9794 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9795 if ${ac_cv_lib_soname_Xext:+false} :; then :
9796 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9797 fi ;;
9798 esac
9800 rm -f core conftest.err conftest.$ac_objext \
9801 conftest$ac_exeext conftest.$ac_ext
9802 LIBS=$ac_check_soname_save_LIBS
9804 if ${ac_cv_lib_soname_Xext:+false} :; then :
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9806 $as_echo "not found" >&6; }
9808 else
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9810 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9812 cat >>confdefs.h <<_ACEOF
9813 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9814 _ACEOF
9816 X_LIBS="$X_LIBS -lXext"
9818 X_LIBS="$X_LIBS -lX11"
9820 for ac_header in X11/Xlib.h \
9821 X11/XKBlib.h \
9822 X11/Xutil.h \
9823 X11/Xcursor/Xcursor.h \
9824 X11/extensions/shape.h \
9825 X11/extensions/XInput.h \
9826 X11/extensions/XInput2.h \
9827 X11/extensions/XShm.h \
9828 X11/extensions/Xcomposite.h \
9829 X11/extensions/Xfixes.h \
9830 X11/extensions/Xinerama.h \
9831 X11/extensions/Xrandr.h \
9832 X11/extensions/Xrender.h \
9833 X11/extensions/xf86vmode.h \
9834 X11/extensions/xf86vmproto.h
9835 do :
9836 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9837 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9838 # include <X11/Xlib.h>
9839 #endif
9840 #ifdef HAVE_X11_XUTIL_H
9841 # include <X11/Xutil.h>
9842 #endif
9844 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9845 cat >>confdefs.h <<_ACEOF
9846 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9847 _ACEOF
9851 done
9854 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9855 then
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9857 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9858 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9859 $as_echo_n "(cached) " >&6
9860 else
9861 ac_check_lib_save_LIBS=$LIBS
9862 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h. */
9866 /* Override any GCC internal prototype to avoid an error.
9867 Use char because int might match the return type of a GCC
9868 builtin and then its argument prototype would still apply. */
9869 #ifdef __cplusplus
9870 extern "C"
9871 #endif
9872 char XkbQueryExtension ();
9874 main ()
9876 return XkbQueryExtension ();
9878 return 0;
9880 _ACEOF
9881 if ac_fn_c_try_link "$LINENO"; then :
9882 ac_cv_lib_X11_XkbQueryExtension=yes
9883 else
9884 ac_cv_lib_X11_XkbQueryExtension=no
9886 rm -f core conftest.err conftest.$ac_objext \
9887 conftest$ac_exeext conftest.$ac_ext
9888 LIBS=$ac_check_lib_save_LIBS
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9891 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9892 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9894 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9900 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9901 then
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9903 $as_echo_n "checking for -lXcursor... " >&6; }
9904 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9905 $as_echo_n "(cached) " >&6
9906 else
9907 ac_check_soname_save_LIBS=$LIBS
9908 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9910 /* end confdefs.h. */
9912 /* Override any GCC internal prototype to avoid an error.
9913 Use char because int might match the return type of a GCC
9914 builtin and then its argument prototype would still apply. */
9915 #ifdef __cplusplus
9916 extern "C"
9917 #endif
9918 char XcursorImageLoadCursor ();
9920 main ()
9922 return XcursorImageLoadCursor ();
9924 return 0;
9926 _ACEOF
9927 if ac_fn_c_try_link "$LINENO"; then :
9928 case "$LIBEXT" in
9929 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9930 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'` ;;
9931 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9932 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9933 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9934 fi ;;
9935 esac
9937 rm -f core conftest.err conftest.$ac_objext \
9938 conftest$ac_exeext conftest.$ac_ext
9939 LIBS=$ac_check_soname_save_LIBS
9941 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9943 $as_echo "not found" >&6; }
9945 else
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9947 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9949 cat >>confdefs.h <<_ACEOF
9950 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9951 _ACEOF
9956 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9957 case "x$with_xcursor" in
9958 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9959 xno) ;;
9960 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9961 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9962 esac
9966 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9967 then
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9969 $as_echo_n "checking for -lXi... " >&6; }
9970 if ${ac_cv_lib_soname_Xi+:} false; then :
9971 $as_echo_n "(cached) " >&6
9972 else
9973 ac_check_soname_save_LIBS=$LIBS
9974 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9976 /* end confdefs.h. */
9978 /* Override any GCC internal prototype to avoid an error.
9979 Use char because int might match the return type of a GCC
9980 builtin and then its argument prototype would still apply. */
9981 #ifdef __cplusplus
9982 extern "C"
9983 #endif
9984 char XOpenDevice ();
9986 main ()
9988 return XOpenDevice ();
9990 return 0;
9992 _ACEOF
9993 if ac_fn_c_try_link "$LINENO"; then :
9994 case "$LIBEXT" in
9995 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9996 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'` ;;
9997 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9998 if ${ac_cv_lib_soname_Xi:+false} :; then :
9999 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10000 fi ;;
10001 esac
10003 rm -f core conftest.err conftest.$ac_objext \
10004 conftest$ac_exeext conftest.$ac_ext
10005 LIBS=$ac_check_soname_save_LIBS
10007 if ${ac_cv_lib_soname_Xi:+false} :; then :
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10009 $as_echo "not found" >&6; }
10011 else
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10013 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10015 cat >>confdefs.h <<_ACEOF
10016 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10017 _ACEOF
10022 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10023 case "x$with_xinput" in
10024 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10025 xno) ;;
10026 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10027 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10028 esac
10032 if test "x$ac_cv_lib_soname_Xi" != x
10033 then
10034 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10035 case "x$with_xinput2" in
10036 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10037 xno) ;;
10038 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10039 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10040 esac
10045 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10046 then
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10048 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10049 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10050 $as_echo_n "(cached) " >&6
10051 else
10052 ac_check_lib_save_LIBS=$LIBS
10053 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10055 /* end confdefs.h. */
10057 /* Override any GCC internal prototype to avoid an error.
10058 Use char because int might match the return type of a GCC
10059 builtin and then its argument prototype would still apply. */
10060 #ifdef __cplusplus
10061 extern "C"
10062 #endif
10063 char XShmQueryExtension ();
10065 main ()
10067 return XShmQueryExtension ();
10069 return 0;
10071 _ACEOF
10072 if ac_fn_c_try_link "$LINENO"; then :
10073 ac_cv_lib_Xext_XShmQueryExtension=yes
10074 else
10075 ac_cv_lib_Xext_XShmQueryExtension=no
10077 rm -f core conftest.err conftest.$ac_objext \
10078 conftest$ac_exeext conftest.$ac_ext
10079 LIBS=$ac_check_lib_save_LIBS
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10082 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10083 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10085 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10090 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10091 case "x$with_xshm" in
10092 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10093 xno) ;;
10094 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10095 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10096 esac
10100 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10101 then
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10103 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10104 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10105 $as_echo_n "(cached) " >&6
10106 else
10107 ac_check_lib_save_LIBS=$LIBS
10108 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10110 /* end confdefs.h. */
10112 /* Override any GCC internal prototype to avoid an error.
10113 Use char because int might match the return type of a GCC
10114 builtin and then its argument prototype would still apply. */
10115 #ifdef __cplusplus
10116 extern "C"
10117 #endif
10118 char XShapeQueryExtension ();
10120 main ()
10122 return XShapeQueryExtension ();
10124 return 0;
10126 _ACEOF
10127 if ac_fn_c_try_link "$LINENO"; then :
10128 ac_cv_lib_Xext_XShapeQueryExtension=yes
10129 else
10130 ac_cv_lib_Xext_XShapeQueryExtension=no
10132 rm -f core conftest.err conftest.$ac_objext \
10133 conftest$ac_exeext conftest.$ac_ext
10134 LIBS=$ac_check_lib_save_LIBS
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10137 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10138 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10140 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10145 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10146 case "x$with_xshape" in
10147 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10148 xno) ;;
10149 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10150 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10151 esac
10155 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10156 then
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10158 $as_echo_n "checking for -lXxf86vm... " >&6; }
10159 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10160 $as_echo_n "(cached) " >&6
10161 else
10162 ac_check_soname_save_LIBS=$LIBS
10163 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10165 /* end confdefs.h. */
10167 /* Override any GCC internal prototype to avoid an error.
10168 Use char because int might match the return type of a GCC
10169 builtin and then its argument prototype would still apply. */
10170 #ifdef __cplusplus
10171 extern "C"
10172 #endif
10173 char XF86VidModeQueryExtension ();
10175 main ()
10177 return XF86VidModeQueryExtension ();
10179 return 0;
10181 _ACEOF
10182 if ac_fn_c_try_link "$LINENO"; then :
10183 case "$LIBEXT" in
10184 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10185 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'` ;;
10186 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10187 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10188 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10189 fi ;;
10190 esac
10192 rm -f core conftest.err conftest.$ac_objext \
10193 conftest$ac_exeext conftest.$ac_ext
10194 LIBS=$ac_check_soname_save_LIBS
10196 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10198 $as_echo "not found" >&6; }
10200 else
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10202 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10204 cat >>confdefs.h <<_ACEOF
10205 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10206 _ACEOF
10211 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10212 case "x$with_xxf86vm" in
10213 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10214 xno) ;;
10215 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10216 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10217 esac
10221 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10222 then
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10224 $as_echo_n "checking for -lXrender... " >&6; }
10225 if ${ac_cv_lib_soname_Xrender+:} false; then :
10226 $as_echo_n "(cached) " >&6
10227 else
10228 ac_check_soname_save_LIBS=$LIBS
10229 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10231 /* end confdefs.h. */
10233 /* Override any GCC internal prototype to avoid an error.
10234 Use char because int might match the return type of a GCC
10235 builtin and then its argument prototype would still apply. */
10236 #ifdef __cplusplus
10237 extern "C"
10238 #endif
10239 char XRenderQueryExtension ();
10241 main ()
10243 return XRenderQueryExtension ();
10245 return 0;
10247 _ACEOF
10248 if ac_fn_c_try_link "$LINENO"; then :
10249 case "$LIBEXT" in
10250 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10251 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'` ;;
10252 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10253 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10254 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10255 fi ;;
10256 esac
10258 rm -f core conftest.err conftest.$ac_objext \
10259 conftest$ac_exeext conftest.$ac_ext
10260 LIBS=$ac_check_soname_save_LIBS
10262 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10264 $as_echo "not found" >&6; }
10266 else
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10268 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10270 cat >>confdefs.h <<_ACEOF
10271 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10272 _ACEOF
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10275 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10276 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10277 $as_echo_n "(cached) " >&6
10278 else
10279 ac_check_lib_save_LIBS=$LIBS
10280 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10282 /* end confdefs.h. */
10284 /* Override any GCC internal prototype to avoid an error.
10285 Use char because int might match the return type of a GCC
10286 builtin and then its argument prototype would still apply. */
10287 #ifdef __cplusplus
10288 extern "C"
10289 #endif
10290 char XRenderSetPictureTransform ();
10292 main ()
10294 return XRenderSetPictureTransform ();
10296 return 0;
10298 _ACEOF
10299 if ac_fn_c_try_link "$LINENO"; then :
10300 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10301 else
10302 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10304 rm -f core conftest.err conftest.$ac_objext \
10305 conftest$ac_exeext conftest.$ac_ext
10306 LIBS=$ac_check_lib_save_LIBS
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10309 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10310 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10312 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10317 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10318 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10319 $as_echo_n "(cached) " >&6
10320 else
10321 ac_check_lib_save_LIBS=$LIBS
10322 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10324 /* end confdefs.h. */
10326 /* Override any GCC internal prototype to avoid an error.
10327 Use char because int might match the return type of a GCC
10328 builtin and then its argument prototype would still apply. */
10329 #ifdef __cplusplus
10330 extern "C"
10331 #endif
10332 char XRenderCreateLinearGradient ();
10334 main ()
10336 return XRenderCreateLinearGradient ();
10338 return 0;
10340 _ACEOF
10341 if ac_fn_c_try_link "$LINENO"; then :
10342 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10343 else
10344 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10346 rm -f core conftest.err conftest.$ac_objext \
10347 conftest$ac_exeext conftest.$ac_ext
10348 LIBS=$ac_check_lib_save_LIBS
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10351 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10352 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10354 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10361 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10362 case "x$with_xrender" in
10363 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10364 xno) ;;
10365 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10366 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10367 esac
10371 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10372 then
10373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10374 /* end confdefs.h. */
10375 #include <X11/Xlib.h>
10376 #include <X11/extensions/Xrandr.h>
10378 main ()
10380 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10382 return 0;
10384 _ACEOF
10385 if ac_fn_c_try_compile "$LINENO"; then :
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10387 $as_echo_n "checking for -lXrandr... " >&6; }
10388 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10389 $as_echo_n "(cached) " >&6
10390 else
10391 ac_check_soname_save_LIBS=$LIBS
10392 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10394 /* end confdefs.h. */
10396 /* Override any GCC internal prototype to avoid an error.
10397 Use char because int might match the return type of a GCC
10398 builtin and then its argument prototype would still apply. */
10399 #ifdef __cplusplus
10400 extern "C"
10401 #endif
10402 char XRRQueryExtension ();
10404 main ()
10406 return XRRQueryExtension ();
10408 return 0;
10410 _ACEOF
10411 if ac_fn_c_try_link "$LINENO"; then :
10412 case "$LIBEXT" in
10413 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10414 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'` ;;
10415 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10416 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10417 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10418 fi ;;
10419 esac
10421 rm -f core conftest.err conftest.$ac_objext \
10422 conftest$ac_exeext conftest.$ac_ext
10423 LIBS=$ac_check_soname_save_LIBS
10425 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10427 $as_echo "not found" >&6; }
10429 else
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10431 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10433 cat >>confdefs.h <<_ACEOF
10434 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10435 _ACEOF
10437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10438 /* end confdefs.h. */
10439 #include <X11/Xlib.h>
10440 #include <X11/extensions/Xrandr.h>
10442 main ()
10444 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10446 return 0;
10448 _ACEOF
10449 if ac_fn_c_try_compile "$LINENO"; then :
10451 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10459 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10460 case "x$with_xrandr" in
10461 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10462 xno) ;;
10463 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10464 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10465 esac
10469 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10470 then
10471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10472 /* end confdefs.h. */
10473 #include <X11/Xlib.h>
10474 #include <X11/extensions/Xfixes.h>
10476 main ()
10478 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10480 return 0;
10482 _ACEOF
10483 if ac_fn_c_try_compile "$LINENO"; then :
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10485 $as_echo_n "checking for -lXfixes... " >&6; }
10486 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10487 $as_echo_n "(cached) " >&6
10488 else
10489 ac_check_soname_save_LIBS=$LIBS
10490 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10492 /* end confdefs.h. */
10494 /* Override any GCC internal prototype to avoid an error.
10495 Use char because int might match the return type of a GCC
10496 builtin and then its argument prototype would still apply. */
10497 #ifdef __cplusplus
10498 extern "C"
10499 #endif
10500 char XFixesQueryVersion ();
10502 main ()
10504 return XFixesQueryVersion ();
10506 return 0;
10508 _ACEOF
10509 if ac_fn_c_try_link "$LINENO"; then :
10510 case "$LIBEXT" in
10511 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10512 dylib) ac_cv_lib_soname_Xfixes=`$OTOOL -L conftest$ac_exeext | grep "libXfixes\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXfixes\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10513 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10514 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10515 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10516 fi ;;
10517 esac
10519 rm -f core conftest.err conftest.$ac_objext \
10520 conftest$ac_exeext conftest.$ac_ext
10521 LIBS=$ac_check_soname_save_LIBS
10523 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10525 $as_echo "not found" >&6; }
10527 else
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10529 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10531 cat >>confdefs.h <<_ACEOF
10532 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10533 _ACEOF
10538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10540 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10541 case "x$with_xfixes" in
10542 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10543 xno) ;;
10544 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10545 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10546 esac
10550 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10551 then
10552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10553 /* end confdefs.h. */
10554 #include <X11/Xlib.h>
10555 #include <X11/extensions/Xinerama.h>
10557 main ()
10559 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10561 return 0;
10563 _ACEOF
10564 if ac_fn_c_try_compile "$LINENO"; then :
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10566 $as_echo_n "checking for -lXinerama... " >&6; }
10567 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10568 $as_echo_n "(cached) " >&6
10569 else
10570 ac_check_soname_save_LIBS=$LIBS
10571 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10573 /* end confdefs.h. */
10575 /* Override any GCC internal prototype to avoid an error.
10576 Use char because int might match the return type of a GCC
10577 builtin and then its argument prototype would still apply. */
10578 #ifdef __cplusplus
10579 extern "C"
10580 #endif
10581 char XineramaQueryScreens ();
10583 main ()
10585 return XineramaQueryScreens ();
10587 return 0;
10589 _ACEOF
10590 if ac_fn_c_try_link "$LINENO"; then :
10591 case "$LIBEXT" in
10592 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10593 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'` ;;
10594 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10595 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10596 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10597 fi ;;
10598 esac
10600 rm -f core conftest.err conftest.$ac_objext \
10601 conftest$ac_exeext conftest.$ac_ext
10602 LIBS=$ac_check_soname_save_LIBS
10604 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10606 $as_echo "not found" >&6; }
10608 else
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10610 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10612 cat >>confdefs.h <<_ACEOF
10613 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10614 _ACEOF
10619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10621 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10622 case "x$with_xinerama" in
10623 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10624 xno) ;;
10625 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10626 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10627 esac
10631 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10632 then
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10634 $as_echo_n "checking for -lXcomposite... " >&6; }
10635 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10636 $as_echo_n "(cached) " >&6
10637 else
10638 ac_check_soname_save_LIBS=$LIBS
10639 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10641 /* end confdefs.h. */
10643 /* Override any GCC internal prototype to avoid an error.
10644 Use char because int might match the return type of a GCC
10645 builtin and then its argument prototype would still apply. */
10646 #ifdef __cplusplus
10647 extern "C"
10648 #endif
10649 char XCompositeRedirectWindow ();
10651 main ()
10653 return XCompositeRedirectWindow ();
10655 return 0;
10657 _ACEOF
10658 if ac_fn_c_try_link "$LINENO"; then :
10659 case "$LIBEXT" in
10660 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10661 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'` ;;
10662 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10663 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10664 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10665 fi ;;
10666 esac
10668 rm -f core conftest.err conftest.$ac_objext \
10669 conftest$ac_exeext conftest.$ac_ext
10670 LIBS=$ac_check_soname_save_LIBS
10672 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10674 $as_echo "not found" >&6; }
10676 else
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10678 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10680 cat >>confdefs.h <<_ACEOF
10681 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10682 _ACEOF
10687 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10688 case "x$with_xcomposite" in
10689 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10690 xno) ;;
10691 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10692 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10693 esac
10697 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10698 #include <X11/Xlib.h>
10699 #endif
10701 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10703 cat >>confdefs.h <<_ACEOF
10704 #define HAVE_XICCALLBACK_CALLBACK 1
10705 _ACEOF
10709 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10710 #include <X11/Xlib.h>
10711 #endif
10713 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10715 cat >>confdefs.h <<_ACEOF
10716 #define HAVE_XEVENT_XCOOKIE 1
10717 _ACEOF
10724 opengl_msg=""
10725 if test "x$with_opengl" != "xno"
10726 then
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10728 $as_echo_n "checking for -lGL... " >&6; }
10729 if ${ac_cv_lib_soname_GL+:} false; then :
10730 $as_echo_n "(cached) " >&6
10731 else
10732 ac_check_soname_save_LIBS=$LIBS
10733 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10735 /* end confdefs.h. */
10737 /* Override any GCC internal prototype to avoid an error.
10738 Use char because int might match the return type of a GCC
10739 builtin and then its argument prototype would still apply. */
10740 #ifdef __cplusplus
10741 extern "C"
10742 #endif
10743 char glXCreateContext ();
10745 main ()
10747 return glXCreateContext ();
10749 return 0;
10751 _ACEOF
10752 if ac_fn_c_try_link "$LINENO"; then :
10753 case "$LIBEXT" in
10754 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10755 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'` ;;
10756 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10757 if ${ac_cv_lib_soname_GL:+false} :; then :
10758 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10759 fi ;;
10760 esac
10762 rm -f core conftest.err conftest.$ac_objext \
10763 conftest$ac_exeext conftest.$ac_ext
10764 LIBS=$ac_check_soname_save_LIBS
10766 if ${ac_cv_lib_soname_GL:+false} :; then :
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10768 $as_echo "not found" >&6; }
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10770 $as_echo_n "checking for -lGL... " >&6; }
10771 if ${ac_cv_lib_soname_GL+:} false; then :
10772 $as_echo_n "(cached) " >&6
10773 else
10774 ac_check_soname_save_LIBS=$LIBS
10775 LIBS="-lGL $X_LIBS -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"
10776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10777 /* end confdefs.h. */
10779 /* Override any GCC internal prototype to avoid an error.
10780 Use char because int might match the return type of a GCC
10781 builtin and then its argument prototype would still apply. */
10782 #ifdef __cplusplus
10783 extern "C"
10784 #endif
10785 char glXCreateContext ();
10787 main ()
10789 return glXCreateContext ();
10791 return 0;
10793 _ACEOF
10794 if ac_fn_c_try_link "$LINENO"; then :
10795 case "$LIBEXT" in
10796 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10797 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'` ;;
10798 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10799 if ${ac_cv_lib_soname_GL:+false} :; then :
10800 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10801 fi ;;
10802 esac
10804 rm -f core conftest.err conftest.$ac_objext \
10805 conftest$ac_exeext conftest.$ac_ext
10806 LIBS=$ac_check_soname_save_LIBS
10808 if ${ac_cv_lib_soname_GL:+false} :; then :
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10810 $as_echo "not found" >&6; }
10811 if test -f /usr/X11R6/lib/libGL.a
10812 then
10813 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10814 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10815 else
10816 opengl_msg="No OpenGL library found on this system."
10818 else
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10820 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10822 cat >>confdefs.h <<_ACEOF
10823 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10824 _ACEOF
10826 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"
10828 else
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10830 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10832 cat >>confdefs.h <<_ACEOF
10833 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10834 _ACEOF
10836 OPENGL_LIBS="-lGL"
10838 if test "x$with_glu" != "xno"
10839 then
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10841 $as_echo_n "checking for -lGLU... " >&6; }
10842 if ${ac_cv_lib_soname_GLU+:} false; then :
10843 $as_echo_n "(cached) " >&6
10844 else
10845 ac_check_soname_save_LIBS=$LIBS
10846 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10848 /* end confdefs.h. */
10850 /* Override any GCC internal prototype to avoid an error.
10851 Use char because int might match the return type of a GCC
10852 builtin and then its argument prototype would still apply. */
10853 #ifdef __cplusplus
10854 extern "C"
10855 #endif
10856 char gluLookAt ();
10858 main ()
10860 return gluLookAt ();
10862 return 0;
10864 _ACEOF
10865 if ac_fn_c_try_link "$LINENO"; then :
10866 case "$LIBEXT" in
10867 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10868 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'` ;;
10869 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10870 if ${ac_cv_lib_soname_GLU:+false} :; then :
10871 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10872 fi ;;
10873 esac
10875 rm -f core conftest.err conftest.$ac_objext \
10876 conftest$ac_exeext conftest.$ac_ext
10877 LIBS=$ac_check_soname_save_LIBS
10879 if ${ac_cv_lib_soname_GLU:+false} :; then :
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10881 $as_echo "not found" >&6; }
10883 else
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10885 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10887 cat >>confdefs.h <<_ACEOF
10888 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10889 _ACEOF
10893 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10894 case "x$with_glu" in
10895 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10896 xno) ;;
10897 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10898 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10899 esac
10904 if test "x$with_osmesa" != "xno"
10905 then
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10907 $as_echo_n "checking for -lOSMesa... " >&6; }
10908 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10909 $as_echo_n "(cached) " >&6
10910 else
10911 ac_check_soname_save_LIBS=$LIBS
10912 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10914 /* end confdefs.h. */
10916 /* Override any GCC internal prototype to avoid an error.
10917 Use char because int might match the return type of a GCC
10918 builtin and then its argument prototype would still apply. */
10919 #ifdef __cplusplus
10920 extern "C"
10921 #endif
10922 char OSMesaGetProcAddress ();
10924 main ()
10926 return OSMesaGetProcAddress ();
10928 return 0;
10930 _ACEOF
10931 if ac_fn_c_try_link "$LINENO"; then :
10932 case "$LIBEXT" in
10933 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10934 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'` ;;
10935 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10936 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10937 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10938 fi ;;
10939 esac
10941 rm -f core conftest.err conftest.$ac_objext \
10942 conftest$ac_exeext conftest.$ac_ext
10943 LIBS=$ac_check_soname_save_LIBS
10945 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10947 $as_echo "not found" >&6; }
10949 else
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10951 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10953 cat >>confdefs.h <<_ACEOF
10954 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10955 _ACEOF
10959 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10960 case "x$with_osmesa" in
10961 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10962 xno) ;;
10963 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10964 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10965 esac
10970 if test -n "$opengl_msg"; then :
10971 case "x$with_opengl" in
10972 x) as_fn_append wine_warnings "|$opengl_msg
10973 OpenGL and Direct3D won't be supported." ;;
10974 xno) ;;
10975 *) as_fn_error $? "$opengl_msg
10976 OpenGL and Direct3D won't be supported.
10977 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10978 esac
10982 CPPFLAGS="$ac_save_CPPFLAGS"
10983 else
10984 X_CFLAGS=""
10985 X_LIBS=""
10988 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10989 then
10990 if test "x$X_LIBS" = "x"; then :
10991 case "x$with_x" in
10992 xno) ;;
10993 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10994 without X support, which probably isn't what you want. You will need
10995 to install ${notice_platform}development packages of Xlib at the very least.
10996 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10997 esac
10998 enable_winex11_drv=${enable_winex11_drv:-no}
11000 else
11001 if test "x$X_LIBS" = "x"; then :
11002 case "x$with_x" in
11003 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11004 xno) ;;
11005 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11006 This is an error since --with-x was requested." "$LINENO" 5 ;;
11007 esac
11008 enable_winex11_drv=${enable_winex11_drv:-no}
11012 if test "$ac_cv_header_CL_cl_h" = "yes"
11013 then
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11015 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11016 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11017 $as_echo_n "(cached) " >&6
11018 else
11019 ac_check_lib_save_LIBS=$LIBS
11020 LIBS="-lOpenCL $LIBS"
11021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11022 /* end confdefs.h. */
11024 /* Override any GCC internal prototype to avoid an error.
11025 Use char because int might match the return type of a GCC
11026 builtin and then its argument prototype would still apply. */
11027 #ifdef __cplusplus
11028 extern "C"
11029 #endif
11030 char clGetPlatformInfo ();
11032 main ()
11034 return clGetPlatformInfo ();
11036 return 0;
11038 _ACEOF
11039 if ac_fn_c_try_link "$LINENO"; then :
11040 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11041 else
11042 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11044 rm -f core conftest.err conftest.$ac_objext \
11045 conftest$ac_exeext conftest.$ac_ext
11046 LIBS=$ac_check_lib_save_LIBS
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11049 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11050 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11051 OPENCL_LIBS="-lOpenCL"
11056 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11057 case "x$with_opencl" in
11058 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11059 xno) ;;
11060 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11061 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11062 esac
11063 enable_opencl=${enable_opencl:-no}
11066 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11067 then
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11069 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11070 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11071 $as_echo_n "(cached) " >&6
11072 else
11073 ac_check_lib_save_LIBS=$LIBS
11074 LIBS="-lpcap $LIBS"
11075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11076 /* end confdefs.h. */
11078 /* Override any GCC internal prototype to avoid an error.
11079 Use char because int might match the return type of a GCC
11080 builtin and then its argument prototype would still apply. */
11081 #ifdef __cplusplus
11082 extern "C"
11083 #endif
11084 char pcap_create ();
11086 main ()
11088 return pcap_create ();
11090 return 0;
11092 _ACEOF
11093 if ac_fn_c_try_link "$LINENO"; then :
11094 ac_cv_lib_pcap_pcap_create=yes
11095 else
11096 ac_cv_lib_pcap_pcap_create=no
11098 rm -f core conftest.err conftest.$ac_objext \
11099 conftest$ac_exeext conftest.$ac_ext
11100 LIBS=$ac_check_lib_save_LIBS
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11103 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11104 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11105 PCAP_LIBS="-lpcap"
11110 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11111 case "x$with_pcap" in
11112 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11113 xno) ;;
11114 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11115 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11116 esac
11117 enable_wpcap=${enable_wpcap:-no}
11121 if test "x$with_xml" != "xno"
11122 then
11123 if ${XML2_CFLAGS:+false} :; then :
11124 if ${PKG_CONFIG+:} false; then :
11125 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11128 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11129 if ${XML2_LIBS:+false} :; then :
11130 if ${PKG_CONFIG+:} false; then :
11131 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11134 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11135 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11136 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11137 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11138 ac_save_CPPFLAGS=$CPPFLAGS
11139 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11140 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11141 do :
11142 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11143 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11144 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11145 cat >>confdefs.h <<_ACEOF
11146 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11147 _ACEOF
11151 done
11153 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"
11154 then
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11156 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11157 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11158 $as_echo_n "(cached) " >&6
11159 else
11160 ac_check_lib_save_LIBS=$LIBS
11161 LIBS="-lxml2 $XML2_LIBS $LIBS"
11162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11163 /* end confdefs.h. */
11165 /* Override any GCC internal prototype to avoid an error.
11166 Use char because int might match the return type of a GCC
11167 builtin and then its argument prototype would still apply. */
11168 #ifdef __cplusplus
11169 extern "C"
11170 #endif
11171 char xmlParseMemory ();
11173 main ()
11175 return xmlParseMemory ();
11177 return 0;
11179 _ACEOF
11180 if ac_fn_c_try_link "$LINENO"; then :
11181 ac_cv_lib_xml2_xmlParseMemory=yes
11182 else
11183 ac_cv_lib_xml2_xmlParseMemory=no
11185 rm -f core conftest.err conftest.$ac_objext \
11186 conftest$ac_exeext conftest.$ac_ext
11187 LIBS=$ac_check_lib_save_LIBS
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11190 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11191 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11193 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11195 else
11196 XML2_LIBS=""
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11200 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11201 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11202 $as_echo_n "(cached) " >&6
11203 else
11204 ac_check_lib_save_LIBS=$LIBS
11205 LIBS="-lxml2 $XML2_LIBS $LIBS"
11206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11207 /* end confdefs.h. */
11209 /* Override any GCC internal prototype to avoid an error.
11210 Use char because int might match the return type of a GCC
11211 builtin and then its argument prototype would still apply. */
11212 #ifdef __cplusplus
11213 extern "C"
11214 #endif
11215 char xmlReadMemory ();
11217 main ()
11219 return xmlReadMemory ();
11221 return 0;
11223 _ACEOF
11224 if ac_fn_c_try_link "$LINENO"; then :
11225 ac_cv_lib_xml2_xmlReadMemory=yes
11226 else
11227 ac_cv_lib_xml2_xmlReadMemory=no
11229 rm -f core conftest.err conftest.$ac_objext \
11230 conftest$ac_exeext conftest.$ac_ext
11231 LIBS=$ac_check_lib_save_LIBS
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11234 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11235 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11237 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11242 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11243 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11244 $as_echo_n "(cached) " >&6
11245 else
11246 ac_check_lib_save_LIBS=$LIBS
11247 LIBS="-lxml2 $XML2_LIBS $LIBS"
11248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11249 /* end confdefs.h. */
11251 /* Override any GCC internal prototype to avoid an error.
11252 Use char because int might match the return type of a GCC
11253 builtin and then its argument prototype would still apply. */
11254 #ifdef __cplusplus
11255 extern "C"
11256 #endif
11257 char xmlNewDocPI ();
11259 main ()
11261 return xmlNewDocPI ();
11263 return 0;
11265 _ACEOF
11266 if ac_fn_c_try_link "$LINENO"; then :
11267 ac_cv_lib_xml2_xmlNewDocPI=yes
11268 else
11269 ac_cv_lib_xml2_xmlNewDocPI=no
11271 rm -f core conftest.err conftest.$ac_objext \
11272 conftest$ac_exeext conftest.$ac_ext
11273 LIBS=$ac_check_lib_save_LIBS
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11276 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11277 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11279 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11284 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11285 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11286 $as_echo_n "(cached) " >&6
11287 else
11288 ac_check_lib_save_LIBS=$LIBS
11289 LIBS="-lxml2 $XML2_LIBS $LIBS"
11290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11291 /* end confdefs.h. */
11293 /* Override any GCC internal prototype to avoid an error.
11294 Use char because int might match the return type of a GCC
11295 builtin and then its argument prototype would still apply. */
11296 #ifdef __cplusplus
11297 extern "C"
11298 #endif
11299 char xmlSchemaSetParserStructuredErrors ();
11301 main ()
11303 return xmlSchemaSetParserStructuredErrors ();
11305 return 0;
11307 _ACEOF
11308 if ac_fn_c_try_link "$LINENO"; then :
11309 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11310 else
11311 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11313 rm -f core conftest.err conftest.$ac_objext \
11314 conftest$ac_exeext conftest.$ac_ext
11315 LIBS=$ac_check_lib_save_LIBS
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11318 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11319 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11321 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11326 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11327 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11328 $as_echo_n "(cached) " >&6
11329 else
11330 ac_check_lib_save_LIBS=$LIBS
11331 LIBS="-lxml2 $XML2_LIBS $LIBS"
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11335 /* Override any GCC internal prototype to avoid an error.
11336 Use char because int might match the return type of a GCC
11337 builtin and then its argument prototype would still apply. */
11338 #ifdef __cplusplus
11339 extern "C"
11340 #endif
11341 char xmlSchemaSetValidStructuredErrors ();
11343 main ()
11345 return xmlSchemaSetValidStructuredErrors ();
11347 return 0;
11349 _ACEOF
11350 if ac_fn_c_try_link "$LINENO"; then :
11351 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11352 else
11353 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11355 rm -f core conftest.err conftest.$ac_objext \
11356 conftest$ac_exeext conftest.$ac_ext
11357 LIBS=$ac_check_lib_save_LIBS
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11360 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11361 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11363 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11368 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11369 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11370 $as_echo_n "(cached) " >&6
11371 else
11372 ac_check_lib_save_LIBS=$LIBS
11373 LIBS="-lxml2 $XML2_LIBS $LIBS"
11374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11375 /* end confdefs.h. */
11377 /* Override any GCC internal prototype to avoid an error.
11378 Use char because int might match the return type of a GCC
11379 builtin and then its argument prototype would still apply. */
11380 #ifdef __cplusplus
11381 extern "C"
11382 #endif
11383 char xmlFirstElementChild ();
11385 main ()
11387 return xmlFirstElementChild ();
11389 return 0;
11391 _ACEOF
11392 if ac_fn_c_try_link "$LINENO"; then :
11393 ac_cv_lib_xml2_xmlFirstElementChild=yes
11394 else
11395 ac_cv_lib_xml2_xmlFirstElementChild=no
11397 rm -f core conftest.err conftest.$ac_objext \
11398 conftest$ac_exeext conftest.$ac_ext
11399 LIBS=$ac_check_lib_save_LIBS
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11402 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11403 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11405 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11409 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11411 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11413 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11417 else
11418 XML2_CFLAGS=""
11419 XML2_LIBS=""
11421 CPPFLAGS=$ac_save_CPPFLAGS
11422 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11423 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11426 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11427 case "x$with_xml" in
11428 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11429 xno) ;;
11430 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11431 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11432 esac
11436 if test "x$with_xslt" != "xno"
11437 then
11438 if ${XSLT_CFLAGS:+false} :; then :
11439 if ${PKG_CONFIG+:} false; then :
11440 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11443 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11444 if ${XSLT_LIBS:+false} :; then :
11445 if ${PKG_CONFIG+:} false; then :
11446 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11449 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11450 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11451 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11452 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11453 ac_save_CPPFLAGS=$CPPFLAGS
11454 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11455 for ac_header in libxslt/pattern.h libxslt/transform.h
11456 do :
11457 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11458 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11459 # include <libxslt/pattern.h>
11460 #endif
11462 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11463 cat >>confdefs.h <<_ACEOF
11464 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11465 _ACEOF
11469 done
11471 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11472 then
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11474 $as_echo_n "checking for -lxslt... " >&6; }
11475 if ${ac_cv_lib_soname_xslt+:} false; then :
11476 $as_echo_n "(cached) " >&6
11477 else
11478 ac_check_soname_save_LIBS=$LIBS
11479 LIBS="-lxslt $XSLT_LIBS $LIBS"
11480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11481 /* end confdefs.h. */
11483 /* Override any GCC internal prototype to avoid an error.
11484 Use char because int might match the return type of a GCC
11485 builtin and then its argument prototype would still apply. */
11486 #ifdef __cplusplus
11487 extern "C"
11488 #endif
11489 char xsltCompilePattern ();
11491 main ()
11493 return xsltCompilePattern ();
11495 return 0;
11497 _ACEOF
11498 if ac_fn_c_try_link "$LINENO"; then :
11499 case "$LIBEXT" in
11500 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11501 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'` ;;
11502 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11503 if ${ac_cv_lib_soname_xslt:+false} :; then :
11504 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11505 fi ;;
11506 esac
11508 rm -f core conftest.err conftest.$ac_objext \
11509 conftest$ac_exeext conftest.$ac_ext
11510 LIBS=$ac_check_soname_save_LIBS
11512 if ${ac_cv_lib_soname_xslt:+false} :; then :
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11514 $as_echo "not found" >&6; }
11516 else
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11518 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11520 cat >>confdefs.h <<_ACEOF
11521 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11522 _ACEOF
11526 else
11527 XSLT_CFLAGS=""
11529 CPPFLAGS=$ac_save_CPPFLAGS
11530 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11531 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11534 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11535 case "x$with_xslt" in
11536 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11537 xno) ;;
11538 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11539 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11540 esac
11544 if test "x$with_dbus" != "xno"
11545 then
11546 if ${DBUS_CFLAGS:+false} :; then :
11547 if ${PKG_CONFIG+:} false; then :
11548 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11552 if ${DBUS_LIBS:+false} :; then :
11553 if ${PKG_CONFIG+:} false; then :
11554 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11559 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11560 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11561 ac_save_CPPFLAGS=$CPPFLAGS
11562 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11563 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11564 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11566 $as_echo_n "checking for -ldbus-1... " >&6; }
11567 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11568 $as_echo_n "(cached) " >&6
11569 else
11570 ac_check_soname_save_LIBS=$LIBS
11571 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11575 /* Override any GCC internal prototype to avoid an error.
11576 Use char because int might match the return type of a GCC
11577 builtin and then its argument prototype would still apply. */
11578 #ifdef __cplusplus
11579 extern "C"
11580 #endif
11581 char dbus_connection_close ();
11583 main ()
11585 return dbus_connection_close ();
11587 return 0;
11589 _ACEOF
11590 if ac_fn_c_try_link "$LINENO"; then :
11591 case "$LIBEXT" in
11592 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11593 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'` ;;
11594 *) ac_cv_lib_soname_dbus_1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libdbus-1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libdbus-1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11595 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11596 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11597 fi ;;
11598 esac
11600 rm -f core conftest.err conftest.$ac_objext \
11601 conftest$ac_exeext conftest.$ac_ext
11602 LIBS=$ac_check_soname_save_LIBS
11604 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11606 $as_echo "not found" >&6; }
11607 DBUS_CFLAGS=""
11608 else
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11610 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11612 cat >>confdefs.h <<_ACEOF
11613 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11614 _ACEOF
11618 else
11619 DBUS_CFLAGS=""
11623 CPPFLAGS=$ac_save_CPPFLAGS
11624 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11625 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11628 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11629 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11630 case "x$with_dbus" in
11631 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11632 xno) ;;
11633 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11634 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11635 esac
11639 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11640 then
11641 if ${HAL_CFLAGS:+false} :; then :
11642 if ${PKG_CONFIG+:} false; then :
11643 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11647 if ${HAL_LIBS:+false} :; then :
11648 if ${PKG_CONFIG+:} false; then :
11649 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11653 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11654 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11655 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11656 ac_save_CPPFLAGS=$CPPFLAGS
11657 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11658 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11659 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11661 $as_echo_n "checking for -lhal... " >&6; }
11662 if ${ac_cv_lib_soname_hal+:} false; then :
11663 $as_echo_n "(cached) " >&6
11664 else
11665 ac_check_soname_save_LIBS=$LIBS
11666 LIBS="-lhal $HAL_LIBS $LIBS"
11667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11668 /* end confdefs.h. */
11670 /* Override any GCC internal prototype to avoid an error.
11671 Use char because int might match the return type of a GCC
11672 builtin and then its argument prototype would still apply. */
11673 #ifdef __cplusplus
11674 extern "C"
11675 #endif
11676 char libhal_ctx_new ();
11678 main ()
11680 return libhal_ctx_new ();
11682 return 0;
11684 _ACEOF
11685 if ac_fn_c_try_link "$LINENO"; then :
11686 case "$LIBEXT" in
11687 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11688 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'` ;;
11689 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11690 if ${ac_cv_lib_soname_hal:+false} :; then :
11691 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11692 fi ;;
11693 esac
11695 rm -f core conftest.err conftest.$ac_objext \
11696 conftest$ac_exeext conftest.$ac_ext
11697 LIBS=$ac_check_soname_save_LIBS
11699 if ${ac_cv_lib_soname_hal:+false} :; then :
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11701 $as_echo "not found" >&6; }
11702 HAL_CFLAGS=""
11703 else
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11705 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11707 cat >>confdefs.h <<_ACEOF
11708 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11709 _ACEOF
11713 else
11714 HAL_CFLAGS=""
11718 CPPFLAGS=$ac_save_CPPFLAGS
11719 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11720 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11722 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11723 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11724 case "x$with_hal" in
11725 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11726 xno) ;;
11727 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11728 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11729 esac
11734 if test "x$with_gnutls" != "xno"
11735 then
11736 if ${GNUTLS_CFLAGS:+false} :; then :
11737 if ${PKG_CONFIG+:} false; then :
11738 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11742 if ${GNUTLS_LIBS:+false} :; then :
11743 if ${PKG_CONFIG+:} false; then :
11744 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11749 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11750 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11751 ac_save_CPPFLAGS=$CPPFLAGS
11752 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11753 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11754 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11756 /* end confdefs.h. */
11757 #include <gnutls/gnutls.h>
11758 #include <gnutls/crypto.h>
11760 main ()
11762 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11764 return 0;
11766 _ACEOF
11767 if ac_fn_c_try_compile "$LINENO"; then :
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11769 $as_echo_n "checking for -lgnutls... " >&6; }
11770 if ${ac_cv_lib_soname_gnutls+:} false; then :
11771 $as_echo_n "(cached) " >&6
11772 else
11773 ac_check_soname_save_LIBS=$LIBS
11774 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11776 /* end confdefs.h. */
11778 /* Override any GCC internal prototype to avoid an error.
11779 Use char because int might match the return type of a GCC
11780 builtin and then its argument prototype would still apply. */
11781 #ifdef __cplusplus
11782 extern "C"
11783 #endif
11784 char gnutls_global_init ();
11786 main ()
11788 return gnutls_global_init ();
11790 return 0;
11792 _ACEOF
11793 if ac_fn_c_try_link "$LINENO"; then :
11794 case "$LIBEXT" in
11795 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11796 dylib) ac_cv_lib_soname_gnutls=`$OTOOL -L conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\\(-deb0\\)\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11797 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11798 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11799 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\\(-deb0\\)\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11800 fi ;;
11801 esac
11803 rm -f core conftest.err conftest.$ac_objext \
11804 conftest$ac_exeext conftest.$ac_ext
11805 LIBS=$ac_check_soname_save_LIBS
11807 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11809 $as_echo "not found" >&6; }
11810 GNUTLS_CFLAGS=""
11811 else
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11813 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11815 cat >>confdefs.h <<_ACEOF
11816 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11817 _ACEOF
11821 ac_wine_check_funcs_save_LIBS="$LIBS"
11822 LIBS="$LIBS $GNUTLS_LIBS"
11823 for ac_func in gnutls_cipher_init
11824 do :
11825 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11826 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11827 cat >>confdefs.h <<_ACEOF
11828 #define HAVE_GNUTLS_CIPHER_INIT 1
11829 _ACEOF
11831 else
11832 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11834 done
11836 LIBS="$ac_wine_check_funcs_save_LIBS"
11838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11839 else
11840 GNUTLS_CFLAGS=""
11844 CPPFLAGS=$ac_save_CPPFLAGS
11845 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11846 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11849 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11850 case "x$with_gnutls" in
11851 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11852 xno) ;;
11853 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11854 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11855 esac
11859 CURSES_LIBS=""
11860 if test "$ac_cv_header_ncurses_h" = "yes"
11861 then
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11863 $as_echo_n "checking for -lncurses... " >&6; }
11864 if ${ac_cv_lib_soname_ncurses+:} false; then :
11865 $as_echo_n "(cached) " >&6
11866 else
11867 ac_check_soname_save_LIBS=$LIBS
11868 LIBS="-lncurses $LIBS"
11869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11870 /* end confdefs.h. */
11872 /* Override any GCC internal prototype to avoid an error.
11873 Use char because int might match the return type of a GCC
11874 builtin and then its argument prototype would still apply. */
11875 #ifdef __cplusplus
11876 extern "C"
11877 #endif
11878 char waddch ();
11880 main ()
11882 return waddch ();
11884 return 0;
11886 _ACEOF
11887 if ac_fn_c_try_link "$LINENO"; then :
11888 case "$LIBEXT" in
11889 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11890 dylib) ac_cv_lib_soname_ncurses=`$OTOOL -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11891 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11892 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11893 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11894 fi ;;
11895 esac
11897 rm -f core conftest.err conftest.$ac_objext \
11898 conftest$ac_exeext conftest.$ac_ext
11899 LIBS=$ac_check_soname_save_LIBS
11901 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11903 $as_echo "not found" >&6; }
11905 else
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11907 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11909 cat >>confdefs.h <<_ACEOF
11910 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11911 _ACEOF
11913 CURSES_LIBS="-lncurses"
11915 elif test "$ac_cv_header_curses_h" = "yes"
11916 then
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11918 $as_echo_n "checking for -lcurses... " >&6; }
11919 if ${ac_cv_lib_soname_curses+:} false; then :
11920 $as_echo_n "(cached) " >&6
11921 else
11922 ac_check_soname_save_LIBS=$LIBS
11923 LIBS="-lcurses $LIBS"
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11927 /* Override any GCC internal prototype to avoid an error.
11928 Use char because int might match the return type of a GCC
11929 builtin and then its argument prototype would still apply. */
11930 #ifdef __cplusplus
11931 extern "C"
11932 #endif
11933 char waddch ();
11935 main ()
11937 return waddch ();
11939 return 0;
11941 _ACEOF
11942 if ac_fn_c_try_link "$LINENO"; then :
11943 case "$LIBEXT" in
11944 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11945 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'` ;;
11946 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11947 if ${ac_cv_lib_soname_curses:+false} :; then :
11948 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11949 fi ;;
11950 esac
11952 rm -f core conftest.err conftest.$ac_objext \
11953 conftest$ac_exeext conftest.$ac_ext
11954 LIBS=$ac_check_soname_save_LIBS
11956 if ${ac_cv_lib_soname_curses:+false} :; then :
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11958 $as_echo "not found" >&6; }
11960 else
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11962 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11964 cat >>confdefs.h <<_ACEOF
11965 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11966 _ACEOF
11968 CURSES_LIBS="-lcurses"
11971 ac_save_LIBS="$LIBS"
11972 LIBS="$LIBS $CURSES_LIBS"
11973 for ac_func in mousemask
11974 do :
11975 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11976 if test "x$ac_cv_func_mousemask" = xyes; then :
11977 cat >>confdefs.h <<_ACEOF
11978 #define HAVE_MOUSEMASK 1
11979 _ACEOF
11982 done
11984 LIBS="$ac_save_LIBS"
11985 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11986 case "x$with_curses" in
11987 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11988 xno) ;;
11989 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11990 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11991 esac
11995 if test "x$with_sane" != "xno"
11996 then
11997 if ${SANE_CFLAGS:+false} :; then :
11998 if ${PKG_CONFIG+:} false; then :
11999 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12002 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12003 if ${SANE_LIBS:+false} :; then :
12004 if ${PKG_CONFIG+:} false; then :
12005 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12008 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12010 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12011 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12012 ac_save_CPPFLAGS=$CPPFLAGS
12013 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12014 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12015 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12017 $as_echo_n "checking for -lsane... " >&6; }
12018 if ${ac_cv_lib_soname_sane+:} false; then :
12019 $as_echo_n "(cached) " >&6
12020 else
12021 ac_check_soname_save_LIBS=$LIBS
12022 LIBS="-lsane $SANE_LIBS $LIBS"
12023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12024 /* end confdefs.h. */
12026 /* Override any GCC internal prototype to avoid an error.
12027 Use char because int might match the return type of a GCC
12028 builtin and then its argument prototype would still apply. */
12029 #ifdef __cplusplus
12030 extern "C"
12031 #endif
12032 char sane_init ();
12034 main ()
12036 return sane_init ();
12038 return 0;
12040 _ACEOF
12041 if ac_fn_c_try_link "$LINENO"; then :
12042 case "$LIBEXT" in
12043 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12044 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'` ;;
12045 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12046 if ${ac_cv_lib_soname_sane:+false} :; then :
12047 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12048 fi ;;
12049 esac
12051 rm -f core conftest.err conftest.$ac_objext \
12052 conftest$ac_exeext conftest.$ac_ext
12053 LIBS=$ac_check_soname_save_LIBS
12055 if ${ac_cv_lib_soname_sane:+false} :; then :
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12057 $as_echo "not found" >&6; }
12058 SANE_CFLAGS=""
12059 else
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12061 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12063 cat >>confdefs.h <<_ACEOF
12064 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12065 _ACEOF
12069 else
12070 SANE_CFLAGS=""
12074 CPPFLAGS=$ac_save_CPPFLAGS
12075 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12076 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12079 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12080 case "x$with_sane" in
12081 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12082 xno) ;;
12083 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12084 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12085 esac
12089 if test "x$with_v4l" != "xno"
12090 then
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12092 $as_echo_n "checking for -lv4l1... " >&6; }
12093 if ${ac_cv_lib_soname_v4l1+:} false; then :
12094 $as_echo_n "(cached) " >&6
12095 else
12096 ac_check_soname_save_LIBS=$LIBS
12097 LIBS="-lv4l1 $LIBS"
12098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12101 /* Override any GCC internal prototype to avoid an error.
12102 Use char because int might match the return type of a GCC
12103 builtin and then its argument prototype would still apply. */
12104 #ifdef __cplusplus
12105 extern "C"
12106 #endif
12107 char v4l1_open ();
12109 main ()
12111 return v4l1_open ();
12113 return 0;
12115 _ACEOF
12116 if ac_fn_c_try_link "$LINENO"; then :
12117 case "$LIBEXT" in
12118 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12119 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'` ;;
12120 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12121 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12122 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12123 fi ;;
12124 esac
12126 rm -f core conftest.err conftest.$ac_objext \
12127 conftest$ac_exeext conftest.$ac_ext
12128 LIBS=$ac_check_soname_save_LIBS
12130 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12132 $as_echo "not found" >&6; }
12134 else
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12136 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12138 cat >>confdefs.h <<_ACEOF
12139 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12140 _ACEOF
12145 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12146 case "x$with_v4l" in
12147 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12148 xno) ;;
12149 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12150 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12151 esac
12155 if test "x$with_gphoto" != "xno"
12156 then
12157 if ${GPHOTO2_CFLAGS:+false} :; then :
12158 if ${PKG_CONFIG+:} false; then :
12159 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12162 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12163 if ${GPHOTO2_LIBS:+false} :; then :
12164 if ${PKG_CONFIG+:} false; then :
12165 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12168 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12169 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12170 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12171 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12172 ac_save_CPPFLAGS=$CPPFLAGS
12173 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12174 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12175 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12177 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12178 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12179 $as_echo_n "(cached) " >&6
12180 else
12181 ac_check_lib_save_LIBS=$LIBS
12182 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12184 /* end confdefs.h. */
12186 /* Override any GCC internal prototype to avoid an error.
12187 Use char because int might match the return type of a GCC
12188 builtin and then its argument prototype would still apply. */
12189 #ifdef __cplusplus
12190 extern "C"
12191 #endif
12192 char gp_camera_new ();
12194 main ()
12196 return gp_camera_new ();
12198 return 0;
12200 _ACEOF
12201 if ac_fn_c_try_link "$LINENO"; then :
12202 ac_cv_lib_gphoto2_gp_camera_new=yes
12203 else
12204 ac_cv_lib_gphoto2_gp_camera_new=no
12206 rm -f core conftest.err conftest.$ac_objext \
12207 conftest$ac_exeext conftest.$ac_ext
12208 LIBS=$ac_check_lib_save_LIBS
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12211 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12212 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12214 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12216 else
12217 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12220 else
12221 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12225 CPPFLAGS=$ac_save_CPPFLAGS
12226 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12227 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12229 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12230 if ${PKG_CONFIG+:} false; then :
12231 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12234 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12235 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12236 if ${PKG_CONFIG+:} false; then :
12237 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12240 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12241 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12242 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12243 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12244 ac_save_CPPFLAGS=$CPPFLAGS
12245 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12246 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12247 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12249 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12250 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12251 $as_echo_n "(cached) " >&6
12252 else
12253 ac_check_lib_save_LIBS=$LIBS
12254 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12256 /* end confdefs.h. */
12258 /* Override any GCC internal prototype to avoid an error.
12259 Use char because int might match the return type of a GCC
12260 builtin and then its argument prototype would still apply. */
12261 #ifdef __cplusplus
12262 extern "C"
12263 #endif
12264 char gp_port_info_list_new ();
12266 main ()
12268 return gp_port_info_list_new ();
12270 return 0;
12272 _ACEOF
12273 if ac_fn_c_try_link "$LINENO"; then :
12274 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12275 else
12276 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12278 rm -f core conftest.err conftest.$ac_objext \
12279 conftest$ac_exeext conftest.$ac_ext
12280 LIBS=$ac_check_lib_save_LIBS
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12283 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12284 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12286 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12288 else
12289 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12292 else
12293 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12297 CPPFLAGS=$ac_save_CPPFLAGS
12298 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12299 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12302 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12303 case "x$with_gphoto" in
12304 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12305 xno) ;;
12306 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12307 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12308 esac
12311 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12312 case "x$with_gphoto" in
12313 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12314 xno) ;;
12315 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12316 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12317 esac
12322 if test "$ac_cv_header_resolv_h" = "yes"
12323 then
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12325 $as_echo_n "checking for resolver library... " >&6; }
12326 if ${ac_cv_have_resolv+:} false; then :
12327 $as_echo_n "(cached) " >&6
12328 else
12329 ac_save_LIBS="$LIBS"
12330 for lib in '' -lresolv
12332 LIBS="$lib $ac_save_LIBS"
12333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12334 /* end confdefs.h. */
12335 #ifdef HAVE_NETINET_IN_H
12336 #include <netinet/in.h>
12337 #endif
12338 #include <resolv.h>
12340 main ()
12342 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12344 return 0;
12346 _ACEOF
12347 if ac_fn_c_try_link "$LINENO"; then :
12348 ac_cv_have_resolv=${lib:-"none required"}
12349 else
12350 ac_cv_have_resolv="not found"
12352 rm -f core conftest.err conftest.$ac_objext \
12353 conftest$ac_exeext conftest.$ac_ext
12354 test "x$ac_cv_have_resolv" = "xnot found" || break
12355 done
12356 LIBS="$ac_save_LIBS"
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12359 $as_echo "$ac_cv_have_resolv" >&6; }
12361 case "$ac_cv_have_resolv" in
12362 "not found") ;;
12363 "none required")
12365 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12368 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12370 RESOLV_LIBS=$ac_cv_have_resolv
12372 esac
12375 if test "x$with_cms" != "xno"
12376 then
12377 if ${LCMS2_CFLAGS:+false} :; then :
12378 if ${PKG_CONFIG+:} false; then :
12379 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12383 if ${LCMS2_LIBS:+false} :; then :
12384 if ${PKG_CONFIG+:} false; then :
12385 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12389 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12390 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12391 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12392 ac_save_CPPFLAGS=$CPPFLAGS
12393 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12394 for ac_header in lcms2.h
12395 do :
12396 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12397 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12398 cat >>confdefs.h <<_ACEOF
12399 #define HAVE_LCMS2_H 1
12400 _ACEOF
12404 done
12406 if test "$ac_cv_header_lcms2_h" = "yes"
12407 then
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12409 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12410 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12411 $as_echo_n "(cached) " >&6
12412 else
12413 ac_check_lib_save_LIBS=$LIBS
12414 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12416 /* end confdefs.h. */
12418 /* Override any GCC internal prototype to avoid an error.
12419 Use char because int might match the return type of a GCC
12420 builtin and then its argument prototype would still apply. */
12421 #ifdef __cplusplus
12422 extern "C"
12423 #endif
12424 char cmsOpenProfileFromFile ();
12426 main ()
12428 return cmsOpenProfileFromFile ();
12430 return 0;
12432 _ACEOF
12433 if ac_fn_c_try_link "$LINENO"; then :
12434 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12435 else
12436 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12438 rm -f core conftest.err conftest.$ac_objext \
12439 conftest$ac_exeext conftest.$ac_ext
12440 LIBS=$ac_check_lib_save_LIBS
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12443 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12444 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12446 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12448 else
12449 LCMS2_LIBS=""
12452 else
12453 LCMS2_CFLAGS=""
12454 LCMS2_LIBS=""
12456 CPPFLAGS=$ac_save_CPPFLAGS
12457 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12458 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12461 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12462 case "x$with_cms" in
12463 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12464 xno) ;;
12465 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12466 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12467 esac
12471 if test "x$with_freetype" != "xno"
12472 then
12473 if ${FREETYPE_CFLAGS:+false} :; then :
12474 if ${PKG_CONFIG+:} false; then :
12475 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12478 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12479 if ${FREETYPE_LIBS:+false} :; then :
12480 if ${PKG_CONFIG+:} false; then :
12481 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12484 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12485 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12486 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12487 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12488 ac_save_CPPFLAGS=$CPPFLAGS
12489 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12490 for ac_header in ft2build.h
12491 do :
12492 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12493 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12494 cat >>confdefs.h <<_ACEOF
12495 #define HAVE_FT2BUILD_H 1
12496 _ACEOF
12500 done
12502 if test "$ac_cv_header_ft2build_h" = "yes"
12503 then
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12505 $as_echo_n "checking for -lfreetype... " >&6; }
12506 if ${ac_cv_lib_soname_freetype+:} false; then :
12507 $as_echo_n "(cached) " >&6
12508 else
12509 ac_check_soname_save_LIBS=$LIBS
12510 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12512 /* end confdefs.h. */
12514 /* Override any GCC internal prototype to avoid an error.
12515 Use char because int might match the return type of a GCC
12516 builtin and then its argument prototype would still apply. */
12517 #ifdef __cplusplus
12518 extern "C"
12519 #endif
12520 char FT_Init_FreeType ();
12522 main ()
12524 return FT_Init_FreeType ();
12526 return 0;
12528 _ACEOF
12529 if ac_fn_c_try_link "$LINENO"; then :
12530 case "$LIBEXT" in
12531 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12532 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'` ;;
12533 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12534 if ${ac_cv_lib_soname_freetype:+false} :; then :
12535 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12536 fi ;;
12537 esac
12539 rm -f core conftest.err conftest.$ac_objext \
12540 conftest$ac_exeext conftest.$ac_ext
12541 LIBS=$ac_check_soname_save_LIBS
12543 if ${ac_cv_lib_soname_freetype:+false} :; then :
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12545 $as_echo "not found" >&6; }
12546 FREETYPE_LIBS=""
12547 else
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12549 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12551 cat >>confdefs.h <<_ACEOF
12552 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12553 _ACEOF
12556 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12558 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12559 #include FT_MODULE_H
12561 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12563 cat >>confdefs.h <<_ACEOF
12564 #define HAVE_FT_TRUETYPEENGINETYPE 1
12565 _ACEOF
12571 else
12572 FREETYPE_CFLAGS=""
12573 FREETYPE_LIBS=""
12575 CPPFLAGS=$ac_save_CPPFLAGS
12576 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12577 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12580 if test "x$ac_cv_lib_soname_freetype" = x; then :
12581 case "x$with_freetype" in
12582 xno) ;;
12583 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12584 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12585 esac
12586 enable_fonts=${enable_fonts:-no}
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12590 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12591 if ${ac_cv_c_ppdev+:} false; then :
12592 $as_echo_n "(cached) " >&6
12593 else
12594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12596 #ifdef HAVE_SYS_IOCTL_H
12597 # include <sys/ioctl.h>
12598 #endif
12599 #include <linux/ppdev.h>
12601 main ()
12603 ioctl (1,PPCLAIM,0)
12605 return 0;
12607 _ACEOF
12608 if ac_fn_c_try_compile "$LINENO"; then :
12609 ac_cv_c_ppdev="yes"
12610 else
12611 ac_cv_c_ppdev="no"
12613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12616 $as_echo "$ac_cv_c_ppdev" >&6; }
12617 if test "$ac_cv_c_ppdev" = "yes"
12618 then
12620 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12624 ac_wine_check_funcs_save_LIBS="$LIBS"
12625 LIBS="$LIBS $PTHREAD_LIBS"
12626 for ac_func in \
12627 pthread_attr_get_np \
12628 pthread_getattr_np \
12629 pthread_getthreadid_np \
12630 pthread_get_stackaddr_np \
12631 pthread_get_stacksize_np
12632 do :
12633 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12634 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12635 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12636 cat >>confdefs.h <<_ACEOF
12637 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12638 _ACEOF
12641 done
12643 LIBS="$ac_wine_check_funcs_save_LIBS"
12645 if test "$ac_cv_header_zlib_h" = "yes"
12646 then
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12648 $as_echo_n "checking for inflate in -lz... " >&6; }
12649 if ${ac_cv_lib_z_inflate+:} false; then :
12650 $as_echo_n "(cached) " >&6
12651 else
12652 ac_check_lib_save_LIBS=$LIBS
12653 LIBS="-lz $LIBS"
12654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12655 /* end confdefs.h. */
12657 /* Override any GCC internal prototype to avoid an error.
12658 Use char because int might match the return type of a GCC
12659 builtin and then its argument prototype would still apply. */
12660 #ifdef __cplusplus
12661 extern "C"
12662 #endif
12663 char inflate ();
12665 main ()
12667 return inflate ();
12669 return 0;
12671 _ACEOF
12672 if ac_fn_c_try_link "$LINENO"; then :
12673 ac_cv_lib_z_inflate=yes
12674 else
12675 ac_cv_lib_z_inflate=no
12677 rm -f core conftest.err conftest.$ac_objext \
12678 conftest$ac_exeext conftest.$ac_ext
12679 LIBS=$ac_check_lib_save_LIBS
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12682 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12683 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12685 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12687 Z_LIBS="-lz"
12692 if test "x$Z_LIBS" = "x"; then :
12693 case "x$with_zlib" in
12694 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12695 xno) ;;
12696 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12697 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12698 esac
12702 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12703 then
12704 if test "$ac_cv_header_gettext_po_h" = "yes"
12705 then
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12707 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12708 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12709 $as_echo_n "(cached) " >&6
12710 else
12711 ac_check_lib_save_LIBS=$LIBS
12712 LIBS="-lgettextpo $LIBS"
12713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12714 /* end confdefs.h. */
12716 /* Override any GCC internal prototype to avoid an error.
12717 Use char because int might match the return type of a GCC
12718 builtin and then its argument prototype would still apply. */
12719 #ifdef __cplusplus
12720 extern "C"
12721 #endif
12722 char po_message_msgctxt ();
12724 main ()
12726 return po_message_msgctxt ();
12728 return 0;
12730 _ACEOF
12731 if ac_fn_c_try_link "$LINENO"; then :
12732 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12733 else
12734 ac_cv_lib_gettextpo_po_message_msgctxt=no
12736 rm -f core conftest.err conftest.$ac_objext \
12737 conftest$ac_exeext conftest.$ac_ext
12738 LIBS=$ac_check_lib_save_LIBS
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12741 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12742 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12744 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12746 GETTEXTPO_LIBS="-lgettextpo"
12751 if test "x$GETTEXTPO_LIBS" = "x"; then :
12752 case "x$with_gettextpo" in
12753 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12754 xno) ;;
12755 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12756 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12757 esac
12760 if test "$srcdir" != .; then :
12761 case "x$with_gettextpo" in
12762 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12763 xno) ;;
12764 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12765 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12766 esac
12771 if test "x$with_pulse" != "xno";
12772 then
12773 if ${PULSE_CFLAGS:+false} :; then :
12774 if ${PKG_CONFIG+:} false; then :
12775 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12779 if ${PULSE_LIBS:+false} :; then :
12780 if ${PKG_CONFIG+:} false; then :
12781 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12786 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12787 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12788 ac_save_CPPFLAGS=$CPPFLAGS
12789 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12790 for ac_header in pulse/pulseaudio.h
12791 do :
12792 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12793 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12794 cat >>confdefs.h <<_ACEOF
12795 #define HAVE_PULSE_PULSEAUDIO_H 1
12796 _ACEOF
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12798 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12799 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12800 $as_echo_n "(cached) " >&6
12801 else
12802 ac_check_lib_save_LIBS=$LIBS
12803 LIBS="-lpulse $PULSE_LIBS $LIBS"
12804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12805 /* end confdefs.h. */
12807 /* Override any GCC internal prototype to avoid an error.
12808 Use char because int might match the return type of a GCC
12809 builtin and then its argument prototype would still apply. */
12810 #ifdef __cplusplus
12811 extern "C"
12812 #endif
12813 char pa_stream_is_corked ();
12815 main ()
12817 return pa_stream_is_corked ();
12819 return 0;
12821 _ACEOF
12822 if ac_fn_c_try_link "$LINENO"; then :
12823 ac_cv_lib_pulse_pa_stream_is_corked=yes
12824 else
12825 ac_cv_lib_pulse_pa_stream_is_corked=no
12827 rm -f core conftest.err conftest.$ac_objext \
12828 conftest$ac_exeext conftest.$ac_ext
12829 LIBS=$ac_check_lib_save_LIBS
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12832 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12833 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12835 else
12836 PULSE_LIBS=""
12839 else
12840 PULSE_LIBS=""
12843 done
12845 CPPFLAGS=$ac_save_CPPFLAGS
12846 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12847 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12850 if test -z "$PULSE_LIBS"; then :
12851 case "x$with_pulse" in
12852 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12853 xno) ;;
12854 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12855 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12856 esac
12857 enable_winepulse_drv=${enable_winepulse_drv:-no}
12860 if test "x$with_gstreamer" != "xno"
12861 then
12862 if ${GSTREAMER_CFLAGS:+false} :; then :
12863 if ${PKG_CONFIG+:} false; then :
12864 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12868 if ${GSTREAMER_LIBS:+false} :; then :
12869 if ${PKG_CONFIG+:} false; then :
12870 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12875 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12876 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12877 ac_save_CPPFLAGS=$CPPFLAGS
12878 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12879 ac_gst_incl=""
12880 for i in $GSTREAMER_CFLAGS
12882 case "$i" in
12883 -I*) ac_gst_incl="$ac_gst_incl $i";;
12884 esac
12885 done
12886 GSTREAMER_CFLAGS=$ac_gst_incl
12887 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12888 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12889 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12891 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12893 /* end confdefs.h. */
12894 #include <gst/gst.h>
12896 main ()
12898 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12900 return 0;
12902 _ACEOF
12903 if ac_fn_c_try_compile "$LINENO"; then :
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12905 $as_echo "yes" >&6; }
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12907 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12908 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12909 $as_echo_n "(cached) " >&6
12910 else
12911 ac_check_lib_save_LIBS=$LIBS
12912 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12914 /* end confdefs.h. */
12916 /* Override any GCC internal prototype to avoid an error.
12917 Use char because int might match the return type of a GCC
12918 builtin and then its argument prototype would still apply. */
12919 #ifdef __cplusplus
12920 extern "C"
12921 #endif
12922 char gst_pad_new ();
12924 main ()
12926 return gst_pad_new ();
12928 return 0;
12930 _ACEOF
12931 if ac_fn_c_try_link "$LINENO"; then :
12932 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12933 else
12934 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12936 rm -f core conftest.err conftest.$ac_objext \
12937 conftest$ac_exeext conftest.$ac_ext
12938 LIBS=$ac_check_lib_save_LIBS
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12941 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12942 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12946 else
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12948 $as_echo "no" >&6; }
12949 ac_glib2_broken=yes
12950 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12956 CPPFLAGS=$ac_save_CPPFLAGS
12957 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12958 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12961 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes ; then :
12962 case "x$with_gstreamer" in
12963 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12964 xno) ;;
12965 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12966 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12967 esac
12970 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12972 ALSA_LIBS=""
12974 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12975 then
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12977 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12978 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12979 $as_echo_n "(cached) " >&6
12980 else
12981 ac_check_lib_save_LIBS=$LIBS
12982 LIBS="-lasound $LIBS"
12983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12984 /* end confdefs.h. */
12986 /* Override any GCC internal prototype to avoid an error.
12987 Use char because int might match the return type of a GCC
12988 builtin and then its argument prototype would still apply. */
12989 #ifdef __cplusplus
12990 extern "C"
12991 #endif
12992 char snd_pcm_hw_params_get_access_mask ();
12994 main ()
12996 return snd_pcm_hw_params_get_access_mask ();
12998 return 0;
13000 _ACEOF
13001 if ac_fn_c_try_link "$LINENO"; then :
13002 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13003 else
13004 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13006 rm -f core conftest.err conftest.$ac_objext \
13007 conftest$ac_exeext conftest.$ac_ext
13008 LIBS=$ac_check_lib_save_LIBS
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13011 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13012 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13014 /* end confdefs.h. */
13015 #ifdef HAVE_ALSA_ASOUNDLIB_H
13016 #include <alsa/asoundlib.h>
13017 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13018 #include <sys/asoundlib.h>
13019 #endif
13021 main ()
13023 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13025 return 0;
13027 _ACEOF
13028 if ac_fn_c_try_compile "$LINENO"; then :
13029 ALSA_LIBS="-lasound"
13031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13035 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13037 if test "x$with_oss" != xno
13038 then
13039 ac_save_CPPFLAGS="$CPPFLAGS"
13040 if test -f /etc/oss.conf
13041 then
13042 . /etc/oss.conf
13044 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13045 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13046 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13047 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13048 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13050 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13052 cat >>confdefs.h <<_ACEOF
13053 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13054 _ACEOF
13056 OSS4_CFLAGS="$ac_oss_incl"
13063 CPPFLAGS="$ac_save_CPPFLAGS"
13065 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13066 case "x$with_oss" in
13067 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13068 xno) ;;
13069 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13070 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13071 esac
13072 enable_wineoss_drv=${enable_wineoss_drv:-no}
13075 if test "x$with_udev" != "xno"
13076 then
13077 if ${UDEV_CFLAGS:+false} :; then :
13078 if ${PKG_CONFIG+:} false; then :
13079 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13083 if ${UDEV_LIBS:+false} :; then :
13084 if ${PKG_CONFIG+:} false; then :
13085 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13089 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13090 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13091 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13092 ac_save_CPPFLAGS=$CPPFLAGS
13093 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13094 for ac_header in libudev.h
13095 do :
13096 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13097 if test "x$ac_cv_header_libudev_h" = xyes; then :
13098 cat >>confdefs.h <<_ACEOF
13099 #define HAVE_LIBUDEV_H 1
13100 _ACEOF
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13102 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13103 if ${ac_cv_lib_udev_udev_new+:} false; then :
13104 $as_echo_n "(cached) " >&6
13105 else
13106 ac_check_lib_save_LIBS=$LIBS
13107 LIBS="-ludev $UDEV_LIBS $LIBS"
13108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13109 /* end confdefs.h. */
13111 /* Override any GCC internal prototype to avoid an error.
13112 Use char because int might match the return type of a GCC
13113 builtin and then its argument prototype would still apply. */
13114 #ifdef __cplusplus
13115 extern "C"
13116 #endif
13117 char udev_new ();
13119 main ()
13121 return udev_new ();
13123 return 0;
13125 _ACEOF
13126 if ac_fn_c_try_link "$LINENO"; then :
13127 ac_cv_lib_udev_udev_new=yes
13128 else
13129 ac_cv_lib_udev_udev_new=no
13131 rm -f core conftest.err conftest.$ac_objext \
13132 conftest$ac_exeext conftest.$ac_ext
13133 LIBS=$ac_check_lib_save_LIBS
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13136 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13137 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13139 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13141 else
13142 UDEV_LIBS=""
13145 else
13146 UDEV_LIBS=""
13149 done
13151 CPPFLAGS=$ac_save_CPPFLAGS
13152 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13153 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13156 if test "x$UDEV_LIBS" = "x"; then :
13157 case "x$with_udev" in
13158 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13159 xno) ;;
13160 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13161 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13162 esac
13166 if test "x$with_sdl" != "xno"
13167 then
13168 if ${SDL2_CFLAGS:+false} :; then :
13169 if ${PKG_CONFIG+:} false; then :
13170 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13174 if ${SDL2_LIBS:+false} :; then :
13175 if ${PKG_CONFIG+:} false; then :
13176 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13180 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13181 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13182 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13183 ac_save_CPPFLAGS=$CPPFLAGS
13184 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13185 for ac_header in SDL2/SDL.h
13186 do :
13187 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13188 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13189 cat >>confdefs.h <<_ACEOF
13190 #define HAVE_SDL2_SDL_H 1
13191 _ACEOF
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13193 $as_echo_n "checking for -lSDL2... " >&6; }
13194 if ${ac_cv_lib_soname_SDL2+:} false; then :
13195 $as_echo_n "(cached) " >&6
13196 else
13197 ac_check_soname_save_LIBS=$LIBS
13198 LIBS="-lSDL2 $LIBS"
13199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13200 /* end confdefs.h. */
13202 /* Override any GCC internal prototype to avoid an error.
13203 Use char because int might match the return type of a GCC
13204 builtin and then its argument prototype would still apply. */
13205 #ifdef __cplusplus
13206 extern "C"
13207 #endif
13208 char SDL_Init ();
13210 main ()
13212 return SDL_Init ();
13214 return 0;
13216 _ACEOF
13217 if ac_fn_c_try_link "$LINENO"; then :
13218 case "$LIBEXT" in
13219 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13220 dylib) ac_cv_lib_soname_SDL2=`$OTOOL -L conftest$ac_exeext | grep "libSDL2-2.0*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libSDL2-2.0*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13221 *) ac_cv_lib_soname_SDL2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libSDL2-2.0*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13222 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13223 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13224 fi ;;
13225 esac
13227 rm -f core conftest.err conftest.$ac_objext \
13228 conftest$ac_exeext conftest.$ac_ext
13229 LIBS=$ac_check_soname_save_LIBS
13231 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13233 $as_echo "not found" >&6; }
13235 else
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13237 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13239 cat >>confdefs.h <<_ACEOF
13240 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13241 _ACEOF
13247 done
13249 CPPFLAGS=$ac_save_CPPFLAGS
13250 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13251 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13254 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13255 case "x$with_sdl" in
13256 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13257 xno) ;;
13258 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13259 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13260 esac
13264 if test "x$with_capi" != "xno"
13265 then
13266 if ${CAPI20_CFLAGS:+false} :; then :
13267 if ${PKG_CONFIG+:} false; then :
13268 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13272 if ${CAPI20_LIBS:+false} :; then :
13273 if ${PKG_CONFIG+:} false; then :
13274 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13279 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13280 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13281 ac_save_CPPFLAGS=$CPPFLAGS
13282 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13283 for ac_header in capi20.h linux/capi.h
13284 do :
13285 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13286 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13288 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13289 cat >>confdefs.h <<_ACEOF
13290 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13291 _ACEOF
13295 done
13297 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13298 then
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13300 $as_echo_n "checking for -lcapi20... " >&6; }
13301 if ${ac_cv_lib_soname_capi20+:} false; then :
13302 $as_echo_n "(cached) " >&6
13303 else
13304 ac_check_soname_save_LIBS=$LIBS
13305 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13307 /* end confdefs.h. */
13309 /* Override any GCC internal prototype to avoid an error.
13310 Use char because int might match the return type of a GCC
13311 builtin and then its argument prototype would still apply. */
13312 #ifdef __cplusplus
13313 extern "C"
13314 #endif
13315 char capi20_register ();
13317 main ()
13319 return capi20_register ();
13321 return 0;
13323 _ACEOF
13324 if ac_fn_c_try_link "$LINENO"; then :
13325 case "$LIBEXT" in
13326 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13327 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'` ;;
13328 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13329 if ${ac_cv_lib_soname_capi20:+false} :; then :
13330 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13331 fi ;;
13332 esac
13334 rm -f core conftest.err conftest.$ac_objext \
13335 conftest$ac_exeext conftest.$ac_ext
13336 LIBS=$ac_check_soname_save_LIBS
13338 if ${ac_cv_lib_soname_capi20:+false} :; then :
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13340 $as_echo "not found" >&6; }
13342 else
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13344 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13346 cat >>confdefs.h <<_ACEOF
13347 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13348 _ACEOF
13353 CPPFLAGS=$ac_save_CPPFLAGS
13354 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13355 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13358 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13359 case "x$with_capi" in
13360 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13361 xno) ;;
13362 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13363 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13364 esac
13368 if test "x$with_cups" != "xno"
13369 then
13370 if ${CUPS_CFLAGS:+false} :; then :
13371 if ${PKG_CONFIG+:} false; then :
13372 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13375 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13376 if ${CUPS_LIBS:+false} :; then :
13377 if ${PKG_CONFIG+:} false; then :
13378 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13381 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13382 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13383 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13384 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13385 ac_save_CPPFLAGS=$CPPFLAGS
13386 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13387 for ac_header in cups/cups.h cups/ppd.h
13388 do :
13389 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13390 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13391 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13392 cat >>confdefs.h <<_ACEOF
13393 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13394 _ACEOF
13398 done
13400 if test "$ac_cv_header_cups_cups_h" = "yes"
13401 then
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13403 $as_echo_n "checking for -lcups... " >&6; }
13404 if ${ac_cv_lib_soname_cups+:} false; then :
13405 $as_echo_n "(cached) " >&6
13406 else
13407 ac_check_soname_save_LIBS=$LIBS
13408 LIBS="-lcups $CUPS_LIBS $LIBS"
13409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13410 /* end confdefs.h. */
13412 /* Override any GCC internal prototype to avoid an error.
13413 Use char because int might match the return type of a GCC
13414 builtin and then its argument prototype would still apply. */
13415 #ifdef __cplusplus
13416 extern "C"
13417 #endif
13418 char cupsGetDefault ();
13420 main ()
13422 return cupsGetDefault ();
13424 return 0;
13426 _ACEOF
13427 if ac_fn_c_try_link "$LINENO"; then :
13428 case "$LIBEXT" in
13429 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13430 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'` ;;
13431 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13432 if ${ac_cv_lib_soname_cups:+false} :; then :
13433 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13434 fi ;;
13435 esac
13437 rm -f core conftest.err conftest.$ac_objext \
13438 conftest$ac_exeext conftest.$ac_ext
13439 LIBS=$ac_check_soname_save_LIBS
13441 if ${ac_cv_lib_soname_cups:+false} :; then :
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13443 $as_echo "not found" >&6; }
13444 CUPS_LIBS=""
13445 else
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13447 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13449 cat >>confdefs.h <<_ACEOF
13450 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13451 _ACEOF
13455 else
13456 CUPS_CFLAGS=""
13457 CUPS_LIBS=""
13459 CPPFLAGS=$ac_save_CPPFLAGS
13460 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13461 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13464 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13465 case "x$with_cups" in
13466 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13467 xno) ;;
13468 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13469 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13470 esac
13474 if test "x$with_fontconfig" != "xno"
13475 then
13476 if ${FONTCONFIG_CFLAGS:+false} :; then :
13477 if ${PKG_CONFIG+:} false; then :
13478 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13481 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13482 if ${FONTCONFIG_LIBS:+false} :; then :
13483 if ${PKG_CONFIG+:} false; then :
13484 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13487 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13489 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13490 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13491 ac_save_CPPFLAGS=$CPPFLAGS
13492 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13493 for ac_header in fontconfig/fontconfig.h
13494 do :
13495 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13496 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13497 cat >>confdefs.h <<_ACEOF
13498 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13499 _ACEOF
13503 done
13505 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13506 then
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13508 $as_echo_n "checking for -lfontconfig... " >&6; }
13509 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13510 $as_echo_n "(cached) " >&6
13511 else
13512 ac_check_soname_save_LIBS=$LIBS
13513 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13515 /* end confdefs.h. */
13517 /* Override any GCC internal prototype to avoid an error.
13518 Use char because int might match the return type of a GCC
13519 builtin and then its argument prototype would still apply. */
13520 #ifdef __cplusplus
13521 extern "C"
13522 #endif
13523 char FcInit ();
13525 main ()
13527 return FcInit ();
13529 return 0;
13531 _ACEOF
13532 if ac_fn_c_try_link "$LINENO"; then :
13533 case "$LIBEXT" in
13534 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13535 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'` ;;
13536 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13537 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13538 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13539 fi ;;
13540 esac
13542 rm -f core conftest.err conftest.$ac_objext \
13543 conftest$ac_exeext conftest.$ac_ext
13544 LIBS=$ac_check_soname_save_LIBS
13546 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13548 $as_echo "not found" >&6; }
13549 FONTCONFIG_CFLAGS=""
13550 else
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13552 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13554 cat >>confdefs.h <<_ACEOF
13555 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13556 _ACEOF
13560 else
13561 FONTCONFIG_CFLAGS=""
13563 CPPFLAGS=$ac_save_CPPFLAGS
13564 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13565 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13568 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13569 case "x$with_fontconfig" in
13570 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13571 xno) ;;
13572 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13573 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13574 esac
13578 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13579 then
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13581 $as_echo_n "checking for -lgsm... " >&6; }
13582 if ${ac_cv_lib_soname_gsm+:} false; then :
13583 $as_echo_n "(cached) " >&6
13584 else
13585 ac_check_soname_save_LIBS=$LIBS
13586 LIBS="-lgsm $LIBS"
13587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13588 /* end confdefs.h. */
13590 /* Override any GCC internal prototype to avoid an error.
13591 Use char because int might match the return type of a GCC
13592 builtin and then its argument prototype would still apply. */
13593 #ifdef __cplusplus
13594 extern "C"
13595 #endif
13596 char gsm_create ();
13598 main ()
13600 return gsm_create ();
13602 return 0;
13604 _ACEOF
13605 if ac_fn_c_try_link "$LINENO"; then :
13606 case "$LIBEXT" in
13607 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13608 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'` ;;
13609 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13610 if ${ac_cv_lib_soname_gsm:+false} :; then :
13611 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13612 fi ;;
13613 esac
13615 rm -f core conftest.err conftest.$ac_objext \
13616 conftest$ac_exeext conftest.$ac_ext
13617 LIBS=$ac_check_soname_save_LIBS
13619 if ${ac_cv_lib_soname_gsm:+false} :; then :
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13621 $as_echo "not found" >&6; }
13623 else
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13625 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13627 cat >>confdefs.h <<_ACEOF
13628 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13629 _ACEOF
13634 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13635 case "x$with_gsm" in
13636 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13637 xno) ;;
13638 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13639 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13640 esac
13644 if test "x$with_krb5" != "xno"
13645 then
13646 if ${KRB5_CFLAGS:+false} :; then :
13647 if ${PKG_CONFIG+:} false; then :
13648 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13651 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13652 if ${KRB5_LIBS:+false} :; then :
13653 if ${PKG_CONFIG+:} false; then :
13654 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13657 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13659 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13660 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13661 ac_save_CPPFLAGS=$CPPFLAGS
13662 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13663 for ac_header in krb5/krb5.h
13664 do :
13665 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13666 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13667 cat >>confdefs.h <<_ACEOF
13668 #define HAVE_KRB5_KRB5_H 1
13669 _ACEOF
13673 done
13675 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13676 then
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13678 $as_echo_n "checking for -lkrb5... " >&6; }
13679 if ${ac_cv_lib_soname_krb5+:} false; then :
13680 $as_echo_n "(cached) " >&6
13681 else
13682 ac_check_soname_save_LIBS=$LIBS
13683 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13685 /* end confdefs.h. */
13687 /* Override any GCC internal prototype to avoid an error.
13688 Use char because int might match the return type of a GCC
13689 builtin and then its argument prototype would still apply. */
13690 #ifdef __cplusplus
13691 extern "C"
13692 #endif
13693 char krb5_is_config_principal ();
13695 main ()
13697 return krb5_is_config_principal ();
13699 return 0;
13701 _ACEOF
13702 if ac_fn_c_try_link "$LINENO"; then :
13703 case "$LIBEXT" in
13704 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13705 dylib) ac_cv_lib_soname_krb5=`$OTOOL -L conftest$ac_exeext | grep "libkrb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libkrb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13706 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13707 if ${ac_cv_lib_soname_krb5:+false} :; then :
13708 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13709 fi ;;
13710 esac
13712 rm -f core conftest.err conftest.$ac_objext \
13713 conftest$ac_exeext conftest.$ac_ext
13714 LIBS=$ac_check_soname_save_LIBS
13716 if ${ac_cv_lib_soname_krb5:+false} :; then :
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13718 $as_echo "not found" >&6; }
13719 KRB5_CFLAGS=""
13720 else
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13722 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13724 cat >>confdefs.h <<_ACEOF
13725 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13726 _ACEOF
13730 else
13731 KRB5_CFLAGS=""
13733 CPPFLAGS=$ac_save_CPPFLAGS
13734 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13735 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13737 else
13738 with_gssapi=${with_gssapi:-no}
13740 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13741 case "x$with_krb5" in
13742 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
13743 xno) ;;
13744 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
13745 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13746 esac
13750 if test "x$with_gssapi" != "xno"
13751 then
13752 if ${GSSAPI_CFLAGS:+false} :; then :
13753 if ${PKG_CONFIG+:} false; then :
13754 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13757 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13758 if ${GSSAPI_LIBS:+false} :; then :
13759 if ${PKG_CONFIG+:} false; then :
13760 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13763 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13765 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13766 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13767 ac_save_CPPFLAGS=$CPPFLAGS
13768 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13769 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13770 do :
13771 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13772 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13773 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13774 cat >>confdefs.h <<_ACEOF
13775 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13776 _ACEOF
13780 done
13782 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13783 then
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13785 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13786 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13787 $as_echo_n "(cached) " >&6
13788 else
13789 ac_check_soname_save_LIBS=$LIBS
13790 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13792 /* end confdefs.h. */
13794 /* Override any GCC internal prototype to avoid an error.
13795 Use char because int might match the return type of a GCC
13796 builtin and then its argument prototype would still apply. */
13797 #ifdef __cplusplus
13798 extern "C"
13799 #endif
13800 char gss_init_sec_context ();
13802 main ()
13804 return gss_init_sec_context ();
13806 return 0;
13808 _ACEOF
13809 if ac_fn_c_try_link "$LINENO"; then :
13810 case "$LIBEXT" in
13811 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13812 dylib) ac_cv_lib_soname_gssapi_krb5=`$OTOOL -L conftest$ac_exeext | grep "libgssapi_krb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgssapi_krb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13813 *) ac_cv_lib_soname_gssapi_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgssapi_krb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13814 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13815 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13816 fi ;;
13817 esac
13819 rm -f core conftest.err conftest.$ac_objext \
13820 conftest$ac_exeext conftest.$ac_ext
13821 LIBS=$ac_check_soname_save_LIBS
13823 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13825 $as_echo "not found" >&6; }
13826 GSSAPI_CFLAGS=""
13827 else
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13829 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13831 cat >>confdefs.h <<_ACEOF
13832 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13833 _ACEOF
13837 else
13838 GSSAPI_CFLAGS=""
13840 CPPFLAGS=$ac_save_CPPFLAGS
13841 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13842 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13845 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13846 case "x$with_gssapi" in
13847 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13848 xno) ;;
13849 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13850 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13851 esac
13855 if test "x$with_jpeg" != "xno"
13856 then
13857 if ${JPEG_CFLAGS:+false} :; then :
13858 if ${PKG_CONFIG+:} false; then :
13859 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13863 if ${JPEG_LIBS:+false} :; then :
13864 if ${PKG_CONFIG+:} false; then :
13865 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13870 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13871 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13872 ac_save_CPPFLAGS=$CPPFLAGS
13873 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13874 for ac_header in jpeglib.h
13875 do :
13876 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13877 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13878 cat >>confdefs.h <<_ACEOF
13879 #define HAVE_JPEGLIB_H 1
13880 _ACEOF
13884 done
13886 if test "$ac_cv_header_jpeglib_h" = "yes"
13887 then
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13889 $as_echo_n "checking for -ljpeg... " >&6; }
13890 if ${ac_cv_lib_soname_jpeg+:} false; then :
13891 $as_echo_n "(cached) " >&6
13892 else
13893 ac_check_soname_save_LIBS=$LIBS
13894 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13898 /* Override any GCC internal prototype to avoid an error.
13899 Use char because int might match the return type of a GCC
13900 builtin and then its argument prototype would still apply. */
13901 #ifdef __cplusplus
13902 extern "C"
13903 #endif
13904 char jpeg_start_decompress ();
13906 main ()
13908 return jpeg_start_decompress ();
13910 return 0;
13912 _ACEOF
13913 if ac_fn_c_try_link "$LINENO"; then :
13914 case "$LIBEXT" in
13915 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13916 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'` ;;
13917 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13918 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13919 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13920 fi ;;
13921 esac
13923 rm -f core conftest.err conftest.$ac_objext \
13924 conftest$ac_exeext conftest.$ac_ext
13925 LIBS=$ac_check_soname_save_LIBS
13927 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13929 $as_echo "not found" >&6; }
13930 JPEG_CFLAGS=""
13931 else
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13933 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13935 cat >>confdefs.h <<_ACEOF
13936 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13937 _ACEOF
13941 else
13942 JPEG_CFLAGS=""
13944 CPPFLAGS=$ac_save_CPPFLAGS
13945 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13946 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13949 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13950 case "x$with_jpeg" in
13951 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13952 xno) ;;
13953 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13954 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13955 esac
13959 if test "x$with_png" != "xno"
13960 then
13961 if ${PNG_CFLAGS:+false} :; then :
13962 if ${PKG_CONFIG+:} false; then :
13963 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13966 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13967 if ${PNG_LIBS:+false} :; then :
13968 if ${PKG_CONFIG+:} false; then :
13969 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13972 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13974 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13975 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13976 ac_save_CPPFLAGS=$CPPFLAGS
13977 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13978 for ac_header in png.h
13979 do :
13980 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13981 if test "x$ac_cv_header_png_h" = xyes; then :
13982 cat >>confdefs.h <<_ACEOF
13983 #define HAVE_PNG_H 1
13984 _ACEOF
13988 done
13990 if test "$ac_cv_header_png_h" = "yes"
13991 then
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13993 $as_echo_n "checking for -lpng... " >&6; }
13994 if ${ac_cv_lib_soname_png+:} false; then :
13995 $as_echo_n "(cached) " >&6
13996 else
13997 ac_check_soname_save_LIBS=$LIBS
13998 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14000 /* end confdefs.h. */
14002 /* Override any GCC internal prototype to avoid an error.
14003 Use char because int might match the return type of a GCC
14004 builtin and then its argument prototype would still apply. */
14005 #ifdef __cplusplus
14006 extern "C"
14007 #endif
14008 char png_create_read_struct ();
14010 main ()
14012 return png_create_read_struct ();
14014 return 0;
14016 _ACEOF
14017 if ac_fn_c_try_link "$LINENO"; then :
14018 case "$LIBEXT" in
14019 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14020 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'` ;;
14021 *) ac_cv_lib_soname_png=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14022 if ${ac_cv_lib_soname_png:+false} :; then :
14023 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14024 fi ;;
14025 esac
14027 rm -f core conftest.err conftest.$ac_objext \
14028 conftest$ac_exeext conftest.$ac_ext
14029 LIBS=$ac_check_soname_save_LIBS
14031 if ${ac_cv_lib_soname_png:+false} :; then :
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14033 $as_echo "not found" >&6; }
14034 PNG_CFLAGS=""
14035 else
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14037 $as_echo "$ac_cv_lib_soname_png" >&6; }
14039 cat >>confdefs.h <<_ACEOF
14040 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14041 _ACEOF
14045 else
14046 PNG_CFLAGS=""
14048 CPPFLAGS=$ac_save_CPPFLAGS
14049 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14050 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14053 if test "x$ac_cv_lib_soname_png" = "x"; then :
14054 case "x$with_png" in
14055 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14056 xno) ;;
14057 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14058 This is an error since --with-png was requested." "$LINENO" 5 ;;
14059 esac
14063 if test "x$with_tiff" != "xno"
14064 then
14065 if ${TIFF_CFLAGS:+false} :; then :
14066 if ${PKG_CONFIG+:} false; then :
14067 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14071 if ${TIFF_LIBS:+false} :; then :
14072 if ${PKG_CONFIG+:} false; then :
14073 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14078 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14079 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14080 ac_save_CPPFLAGS=$CPPFLAGS
14081 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14082 for ac_header in tiffio.h
14083 do :
14084 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14085 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14086 cat >>confdefs.h <<_ACEOF
14087 #define HAVE_TIFFIO_H 1
14088 _ACEOF
14092 done
14094 if test "$ac_cv_header_tiffio_h" = "yes"
14095 then
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14097 $as_echo_n "checking for -ltiff... " >&6; }
14098 if ${ac_cv_lib_soname_tiff+:} false; then :
14099 $as_echo_n "(cached) " >&6
14100 else
14101 ac_check_soname_save_LIBS=$LIBS
14102 LIBS="-ltiff $TIFF_LIBS $LIBS"
14103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14104 /* end confdefs.h. */
14106 /* Override any GCC internal prototype to avoid an error.
14107 Use char because int might match the return type of a GCC
14108 builtin and then its argument prototype would still apply. */
14109 #ifdef __cplusplus
14110 extern "C"
14111 #endif
14112 char TIFFClientOpen ();
14114 main ()
14116 return TIFFClientOpen ();
14118 return 0;
14120 _ACEOF
14121 if ac_fn_c_try_link "$LINENO"; then :
14122 case "$LIBEXT" in
14123 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14124 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'` ;;
14125 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14126 if ${ac_cv_lib_soname_tiff:+false} :; then :
14127 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14128 fi ;;
14129 esac
14131 rm -f core conftest.err conftest.$ac_objext \
14132 conftest$ac_exeext conftest.$ac_ext
14133 LIBS=$ac_check_soname_save_LIBS
14135 if ${ac_cv_lib_soname_tiff:+false} :; then :
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14137 $as_echo "not found" >&6; }
14139 else
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14141 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14143 cat >>confdefs.h <<_ACEOF
14144 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14145 _ACEOF
14150 CPPFLAGS=$ac_save_CPPFLAGS
14151 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14152 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14155 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14156 case "x$with_tiff" in
14157 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14158 xno) ;;
14159 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14160 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14161 esac
14165 if test "x$with_mpg123" != "xno"
14166 then
14167 if ${MPG123_CFLAGS:+false} :; then :
14168 if ${PKG_CONFIG+:} false; then :
14169 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14173 if ${MPG123_LIBS:+false} :; then :
14174 if ${PKG_CONFIG+:} false; then :
14175 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14179 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14180 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14181 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14182 ac_save_CPPFLAGS=$CPPFLAGS
14183 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14184 for ac_header in mpg123.h
14185 do :
14186 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14187 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14188 cat >>confdefs.h <<_ACEOF
14189 #define HAVE_MPG123_H 1
14190 _ACEOF
14194 done
14196 if test "$ac_cv_header_mpg123_h" = "yes"
14197 then
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14199 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14200 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14201 $as_echo_n "(cached) " >&6
14202 else
14203 ac_check_lib_save_LIBS=$LIBS
14204 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14206 /* end confdefs.h. */
14208 /* Override any GCC internal prototype to avoid an error.
14209 Use char because int might match the return type of a GCC
14210 builtin and then its argument prototype would still apply. */
14211 #ifdef __cplusplus
14212 extern "C"
14213 #endif
14214 char mpg123_feed ();
14216 main ()
14218 return mpg123_feed ();
14220 return 0;
14222 _ACEOF
14223 if ac_fn_c_try_link "$LINENO"; then :
14224 ac_cv_lib_mpg123_mpg123_feed=yes
14225 else
14226 ac_cv_lib_mpg123_mpg123_feed=no
14228 rm -f core conftest.err conftest.$ac_objext \
14229 conftest$ac_exeext conftest.$ac_ext
14230 LIBS=$ac_check_lib_save_LIBS
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14233 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14234 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14236 else
14237 MPG123_LIBS=""
14240 else
14241 MPG123_CFLAGS=""
14242 MPG123_LIBS=""
14244 CPPFLAGS=$ac_save_CPPFLAGS
14245 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14246 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14249 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14250 case "x$with_mpg123" in
14251 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14252 xno) ;;
14253 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14254 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14255 esac
14256 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14258 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
14260 if test "$ac_cv_header_AL_al_h" = "yes"
14261 then
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14263 $as_echo_n "checking for -lopenal... " >&6; }
14264 if ${ac_cv_lib_soname_openal+:} false; then :
14265 $as_echo_n "(cached) " >&6
14266 else
14267 ac_check_soname_save_LIBS=$LIBS
14268 LIBS="-lopenal $LIBS"
14269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14270 /* end confdefs.h. */
14272 /* Override any GCC internal prototype to avoid an error.
14273 Use char because int might match the return type of a GCC
14274 builtin and then its argument prototype would still apply. */
14275 #ifdef __cplusplus
14276 extern "C"
14277 #endif
14278 char alGetSource3i ();
14280 main ()
14282 return alGetSource3i ();
14284 return 0;
14286 _ACEOF
14287 if ac_fn_c_try_link "$LINENO"; then :
14288 case "$LIBEXT" in
14289 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14290 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'` ;;
14291 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14292 if ${ac_cv_lib_soname_openal:+false} :; then :
14293 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14294 fi ;;
14295 esac
14297 rm -f core conftest.err conftest.$ac_objext \
14298 conftest$ac_exeext conftest.$ac_ext
14299 LIBS=$ac_check_soname_save_LIBS
14301 if ${ac_cv_lib_soname_openal:+false} :; then :
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14303 $as_echo "not found" >&6; }
14305 else
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14307 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14309 cat >>confdefs.h <<_ACEOF
14310 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14311 _ACEOF
14313 OPENAL_LIBS="-lopenal"
14315 ac_cv_lib_openal=yes
14317 cat >>confdefs.h <<_ACEOF
14318 #define HAVE_OPENAL 1
14319 _ACEOF
14323 if test "x$ac_cv_lib_openal" != xyes; then :
14324 case "x$with_openal" in
14325 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14326 xno) ;;
14327 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14328 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14329 esac
14330 enable_openal32=${enable_openal32:-no}
14333 if test "x$ac_cv_lib_openal" = xyes
14334 then
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14336 $as_echo_n "checking for openal-soft... " >&6; }
14337 if ${ac_cv_have_openalsoft+:} false; then :
14338 $as_echo_n "(cached) " >&6
14339 else
14340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14341 /* end confdefs.h. */
14342 #include <AL/al.h>
14343 #include <AL/alc.h>
14344 #include <AL/alext.h>
14345 LPALCRENDERSAMPLESSOFT x;
14347 main ()
14351 return 0;
14353 _ACEOF
14354 if ac_fn_c_try_compile "$LINENO"; then :
14355 ac_cv_have_openalsoft=yes
14356 else
14357 ac_cv_have_openalsoft=no
14359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14362 $as_echo "$ac_cv_have_openalsoft" >&6; }
14364 if test "x$ac_cv_have_openalsoft" != xyes
14365 then
14366 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14367 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14368 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14369 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14370 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14371 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14372 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14373 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14374 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14375 enable_xapofx1_1=${enable_xapofx1_1:-no}
14376 enable_xapofx1_2=${enable_xapofx1_2:-no}
14377 enable_xapofx1_3=${enable_xapofx1_3:-no}
14378 enable_xapofx1_4=${enable_xapofx1_4:-no}
14379 enable_xapofx1_5=${enable_xapofx1_5:-no}
14380 enable_xaudio2_0=${enable_xaudio2_0:-no}
14381 enable_xaudio2_1=${enable_xaudio2_1:-no}
14382 enable_xaudio2_2=${enable_xaudio2_2:-no}
14383 enable_xaudio2_3=${enable_xaudio2_3:-no}
14384 enable_xaudio2_4=${enable_xaudio2_4:-no}
14385 enable_xaudio2_5=${enable_xaudio2_5:-no}
14386 enable_xaudio2_6=${enable_xaudio2_6:-no}
14387 enable_xaudio2_7=${enable_xaudio2_7:-no}
14388 enable_xaudio2_8=${enable_xaudio2_8:-no}
14389 enable_xaudio2_9=${enable_xaudio2_9:-no}
14392 if test "$ac_cv_header_kstat_h" = "yes"
14393 then
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14395 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14396 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14397 $as_echo_n "(cached) " >&6
14398 else
14399 ac_check_lib_save_LIBS=$LIBS
14400 LIBS="-lkstat $LIBS"
14401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14402 /* end confdefs.h. */
14404 /* Override any GCC internal prototype to avoid an error.
14405 Use char because int might match the return type of a GCC
14406 builtin and then its argument prototype would still apply. */
14407 #ifdef __cplusplus
14408 extern "C"
14409 #endif
14410 char kstat_open ();
14412 main ()
14414 return kstat_open ();
14416 return 0;
14418 _ACEOF
14419 if ac_fn_c_try_link "$LINENO"; then :
14420 ac_cv_lib_kstat_kstat_open=yes
14421 else
14422 ac_cv_lib_kstat_kstat_open=no
14424 rm -f core conftest.err conftest.$ac_objext \
14425 conftest$ac_exeext conftest.$ac_ext
14426 LIBS=$ac_check_lib_save_LIBS
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14429 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14430 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14432 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14434 KSTAT_LIBS="-lkstat"
14440 if test "$ac_cv_header_libprocstat_h" = "yes"
14441 then
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14443 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14444 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14445 $as_echo_n "(cached) " >&6
14446 else
14447 ac_check_lib_save_LIBS=$LIBS
14448 LIBS="-lprocstat $LIBS"
14449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14450 /* end confdefs.h. */
14452 /* Override any GCC internal prototype to avoid an error.
14453 Use char because int might match the return type of a GCC
14454 builtin and then its argument prototype would still apply. */
14455 #ifdef __cplusplus
14456 extern "C"
14457 #endif
14458 char procstat_open_sysctl ();
14460 main ()
14462 return procstat_open_sysctl ();
14464 return 0;
14466 _ACEOF
14467 if ac_fn_c_try_link "$LINENO"; then :
14468 ac_cv_lib_procstat_procstat_open_sysctl=yes
14469 else
14470 ac_cv_lib_procstat_procstat_open_sysctl=no
14472 rm -f core conftest.err conftest.$ac_objext \
14473 conftest$ac_exeext conftest.$ac_ext
14474 LIBS=$ac_check_lib_save_LIBS
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14477 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14478 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14480 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14482 PROCSTAT_LIBS="-lprocstat"
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14489 $as_echo_n "checking for -lodbc... " >&6; }
14490 if ${ac_cv_lib_soname_odbc+:} false; then :
14491 $as_echo_n "(cached) " >&6
14492 else
14493 ac_check_soname_save_LIBS=$LIBS
14494 LIBS="-lodbc $LIBS"
14495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14496 /* end confdefs.h. */
14498 /* Override any GCC internal prototype to avoid an error.
14499 Use char because int might match the return type of a GCC
14500 builtin and then its argument prototype would still apply. */
14501 #ifdef __cplusplus
14502 extern "C"
14503 #endif
14504 char SQLConnect ();
14506 main ()
14508 return SQLConnect ();
14510 return 0;
14512 _ACEOF
14513 if ac_fn_c_try_link "$LINENO"; then :
14514 case "$LIBEXT" in
14515 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14516 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'` ;;
14517 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14518 if ${ac_cv_lib_soname_odbc:+false} :; then :
14519 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14520 fi ;;
14521 esac
14523 rm -f core conftest.err conftest.$ac_objext \
14524 conftest$ac_exeext conftest.$ac_ext
14525 LIBS=$ac_check_soname_save_LIBS
14527 if ${ac_cv_lib_soname_odbc:+false} :; then :
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14529 $as_echo "not found" >&6; }
14530 cat >>confdefs.h <<_ACEOF
14531 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14532 _ACEOF
14534 else
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14536 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14538 cat >>confdefs.h <<_ACEOF
14539 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14540 _ACEOF
14545 if test "x$with_netapi" != "xno"
14546 then
14547 if ${NETAPI_CFLAGS:+false} :; then :
14548 if ${PKG_CONFIG+:} false; then :
14549 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14553 if ${NETAPI_LIBS:+false} :; then :
14554 if ${PKG_CONFIG+:} false; then :
14555 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14560 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14561 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14562 ac_save_CPPFLAGS=$CPPFLAGS
14563 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14565 $as_echo_n "checking for -lnetapi... " >&6; }
14566 if ${ac_cv_lib_soname_netapi+:} false; then :
14567 $as_echo_n "(cached) " >&6
14568 else
14569 ac_check_soname_save_LIBS=$LIBS
14570 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14572 /* end confdefs.h. */
14574 /* Override any GCC internal prototype to avoid an error.
14575 Use char because int might match the return type of a GCC
14576 builtin and then its argument prototype would still apply. */
14577 #ifdef __cplusplus
14578 extern "C"
14579 #endif
14580 char libnetapi_init ();
14582 main ()
14584 return libnetapi_init ();
14586 return 0;
14588 _ACEOF
14589 if ac_fn_c_try_link "$LINENO"; then :
14590 case "$LIBEXT" in
14591 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14592 dylib) ac_cv_lib_soname_netapi=`$OTOOL -L conftest$ac_exeext | grep "libnetapi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libnetapi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14593 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14594 if ${ac_cv_lib_soname_netapi:+false} :; then :
14595 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14596 fi ;;
14597 esac
14599 rm -f core conftest.err conftest.$ac_objext \
14600 conftest$ac_exeext conftest.$ac_ext
14601 LIBS=$ac_check_soname_save_LIBS
14603 if ${ac_cv_lib_soname_netapi:+false} :; then :
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14605 $as_echo "not found" >&6; }
14606 cat >>confdefs.h <<_ACEOF
14607 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14608 _ACEOF
14610 else
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14612 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14614 cat >>confdefs.h <<_ACEOF
14615 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14616 _ACEOF
14620 CPPFLAGS=$ac_save_CPPFLAGS
14621 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14622 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14626 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14627 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14628 then
14629 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14632 if test "x$with_vulkan" != "xno"
14633 then
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
14635 $as_echo_n "checking for -lvulkan... " >&6; }
14636 if ${ac_cv_lib_soname_vulkan+:} false; then :
14637 $as_echo_n "(cached) " >&6
14638 else
14639 ac_check_soname_save_LIBS=$LIBS
14640 LIBS="-lvulkan $LIBS"
14641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14642 /* end confdefs.h. */
14644 /* Override any GCC internal prototype to avoid an error.
14645 Use char because int might match the return type of a GCC
14646 builtin and then its argument prototype would still apply. */
14647 #ifdef __cplusplus
14648 extern "C"
14649 #endif
14650 char vkGetInstanceProcAddr ();
14652 main ()
14654 return vkGetInstanceProcAddr ();
14656 return 0;
14658 _ACEOF
14659 if ac_fn_c_try_link "$LINENO"; then :
14660 case "$LIBEXT" in
14661 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14662 dylib) ac_cv_lib_soname_vulkan=`$OTOOL -L conftest$ac_exeext | grep "libvulkan\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvulkan\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14663 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14664 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14665 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14666 fi ;;
14667 esac
14669 rm -f core conftest.err conftest.$ac_objext \
14670 conftest$ac_exeext conftest.$ac_ext
14671 LIBS=$ac_check_soname_save_LIBS
14673 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14675 $as_echo "not found" >&6; }
14677 else
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
14679 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
14681 cat >>confdefs.h <<_ACEOF
14682 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
14683 _ACEOF
14688 if test "x$ac_cv_lib_soname_vulkan" = "x"; then :
14689 case "x$with_vulkan" in
14690 x) as_fn_append wine_notices "|libvulkan ${notice_platform}development files not found, Vulkan won't be supported." ;;
14691 xno) ;;
14692 *) as_fn_error $? "libvulkan ${notice_platform}development files not found, Vulkan won't be supported.
14693 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
14694 esac
14698 if test "x$with_vkd3d" != "xno"
14699 then
14700 if ${VKD3D_CFLAGS:+false} :; then :
14701 if ${PKG_CONFIG+:} false; then :
14702 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
14706 if ${VKD3D_LIBS:+false} :; then :
14707 if ${PKG_CONFIG+:} false; then :
14708 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
14713 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
14714 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
14715 ac_save_CPPFLAGS=$CPPFLAGS
14716 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
14718 $as_echo_n "checking for -lvkd3d... " >&6; }
14719 if ${ac_cv_lib_soname_vkd3d+:} false; then :
14720 $as_echo_n "(cached) " >&6
14721 else
14722 ac_check_soname_save_LIBS=$LIBS
14723 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
14724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14725 /* end confdefs.h. */
14727 /* Override any GCC internal prototype to avoid an error.
14728 Use char because int might match the return type of a GCC
14729 builtin and then its argument prototype would still apply. */
14730 #ifdef __cplusplus
14731 extern "C"
14732 #endif
14733 char vkd3d_create_device ();
14735 main ()
14737 return vkd3d_create_device ();
14739 return 0;
14741 _ACEOF
14742 if ac_fn_c_try_link "$LINENO"; then :
14743 case "$LIBEXT" in
14744 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14745 dylib) ac_cv_lib_soname_vkd3d=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14746 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14747 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
14748 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14749 fi ;;
14750 esac
14752 rm -f core conftest.err conftest.$ac_objext \
14753 conftest$ac_exeext conftest.$ac_ext
14754 LIBS=$ac_check_soname_save_LIBS
14756 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14758 $as_echo "not found" >&6; }
14760 else
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
14762 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
14764 cat >>confdefs.h <<_ACEOF
14765 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
14766 _ACEOF
14770 CPPFLAGS=$ac_save_CPPFLAGS
14771 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14772 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14775 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
14776 case "x$with_vkd3d" in
14777 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported." ;;
14778 xno) ;;
14779 *) as_fn_error $? "vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported.
14780 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
14781 esac
14784 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
14787 EXTRACFLAGS=""
14789 if test "x${GCC}" = "xyes"
14790 then
14791 EXTRACFLAGS="-Wall -pipe"
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14794 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14795 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14796 $as_echo_n "(cached) " >&6
14797 else
14798 if test "$cross_compiling" = yes; then :
14799 ac_cv_c_gcc_strength_bug="no"
14800 else
14801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14802 /* end confdefs.h. */
14803 int L[4] = {0,1,2,3};
14805 main ()
14807 static int Array[3];
14808 unsigned int B = 3;
14809 int i;
14810 for(i=0; i<B; i++) Array[i] = i - 3;
14811 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14812 L[i] = 4;
14813 return (Array[1] != -2 || L[2] != 3)
14815 return 0;
14817 _ACEOF
14818 if ac_fn_c_try_run "$LINENO"; then :
14819 ac_cv_c_gcc_strength_bug="no"
14820 else
14821 ac_cv_c_gcc_strength_bug="yes"
14823 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14824 conftest.$ac_objext conftest.beam conftest.$ac_ext
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14829 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14830 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14831 then
14832 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14836 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14837 if ${ac_cv_cflags__fno_builtin+:} false; then :
14838 $as_echo_n "(cached) " >&6
14839 else
14840 ac_wine_try_cflags_saved=$CFLAGS
14841 CFLAGS="$CFLAGS -fno-builtin"
14842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14843 /* end confdefs.h. */
14844 int main(int argc, char **argv) { return 0; }
14845 _ACEOF
14846 if ac_fn_c_try_link "$LINENO"; then :
14847 ac_cv_cflags__fno_builtin=yes
14848 else
14849 ac_cv_cflags__fno_builtin=no
14851 rm -f core conftest.err conftest.$ac_objext \
14852 conftest$ac_exeext conftest.$ac_ext
14853 CFLAGS=$ac_wine_try_cflags_saved
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14856 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14857 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14858 BUILTINFLAG="-fno-builtin"
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14862 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14863 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14864 $as_echo_n "(cached) " >&6
14865 else
14866 ac_wine_try_cflags_saved=$CFLAGS
14867 CFLAGS="$CFLAGS -fno-strict-aliasing"
14868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14869 /* end confdefs.h. */
14870 int main(int argc, char **argv) { return 0; }
14871 _ACEOF
14872 if ac_fn_c_try_link "$LINENO"; then :
14873 ac_cv_cflags__fno_strict_aliasing=yes
14874 else
14875 ac_cv_cflags__fno_strict_aliasing=no
14877 rm -f core conftest.err conftest.$ac_objext \
14878 conftest$ac_exeext conftest.$ac_ext
14879 CFLAGS=$ac_wine_try_cflags_saved
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14882 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14883 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14884 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14887 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14888 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14889 $as_echo_n "(cached) " >&6
14890 else
14891 ac_wine_try_cflags_saved=$CFLAGS
14892 CFLAGS="$CFLAGS -fexcess-precision=standard"
14893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14894 /* end confdefs.h. */
14895 int main(int argc, char **argv) { return 0; }
14896 _ACEOF
14897 if ac_fn_c_try_link "$LINENO"; then :
14898 ac_cv_cflags__fexcess_precision_standard=yes
14899 else
14900 ac_cv_cflags__fexcess_precision_standard=no
14902 rm -f core conftest.err conftest.$ac_objext \
14903 conftest$ac_exeext conftest.$ac_ext
14904 CFLAGS=$ac_wine_try_cflags_saved
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14907 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14908 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14909 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14912 saved_CFLAGS=$CFLAGS
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14914 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14915 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14916 $as_echo_n "(cached) " >&6
14917 else
14918 ac_wine_try_cflags_saved=$CFLAGS
14919 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14921 /* end confdefs.h. */
14922 int main(int argc, char **argv) { return 0; }
14923 _ACEOF
14924 if ac_fn_c_try_link "$LINENO"; then :
14925 ac_cv_cflags__Werror_unknown_warning_option=yes
14926 else
14927 ac_cv_cflags__Werror_unknown_warning_option=no
14929 rm -f core conftest.err conftest.$ac_objext \
14930 conftest$ac_exeext conftest.$ac_ext
14931 CFLAGS=$ac_wine_try_cflags_saved
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14934 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14935 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14936 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14939 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14940 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14941 $as_echo_n "(cached) " >&6
14942 else
14943 ac_wine_try_cflags_saved=$CFLAGS
14944 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14946 /* end confdefs.h. */
14947 int main(int argc, char **argv) { return 0; }
14948 _ACEOF
14949 if ac_fn_c_try_link "$LINENO"; then :
14950 ac_cv_cflags__Wdeclaration_after_statement=yes
14951 else
14952 ac_cv_cflags__Wdeclaration_after_statement=no
14954 rm -f core conftest.err conftest.$ac_objext \
14955 conftest$ac_exeext conftest.$ac_ext
14956 CFLAGS=$ac_wine_try_cflags_saved
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14959 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14960 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14961 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14964 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14965 if ${ac_cv_cflags__Wempty_body+:} false; then :
14966 $as_echo_n "(cached) " >&6
14967 else
14968 ac_wine_try_cflags_saved=$CFLAGS
14969 CFLAGS="$CFLAGS -Wempty-body"
14970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14971 /* end confdefs.h. */
14972 int main(int argc, char **argv) { return 0; }
14973 _ACEOF
14974 if ac_fn_c_try_link "$LINENO"; then :
14975 ac_cv_cflags__Wempty_body=yes
14976 else
14977 ac_cv_cflags__Wempty_body=no
14979 rm -f core conftest.err conftest.$ac_objext \
14980 conftest$ac_exeext conftest.$ac_ext
14981 CFLAGS=$ac_wine_try_cflags_saved
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14984 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14985 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14986 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14989 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14990 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14991 $as_echo_n "(cached) " >&6
14992 else
14993 ac_wine_try_cflags_saved=$CFLAGS
14994 CFLAGS="$CFLAGS -Wignored-qualifiers"
14995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14996 /* end confdefs.h. */
14997 int main(int argc, char **argv) { return 0; }
14998 _ACEOF
14999 if ac_fn_c_try_link "$LINENO"; then :
15000 ac_cv_cflags__Wignored_qualifiers=yes
15001 else
15002 ac_cv_cflags__Wignored_qualifiers=no
15004 rm -f core conftest.err conftest.$ac_objext \
15005 conftest$ac_exeext conftest.$ac_ext
15006 CFLAGS=$ac_wine_try_cflags_saved
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15009 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15010 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15011 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15014 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15015 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15016 $as_echo_n "(cached) " >&6
15017 else
15018 ac_wine_try_cflags_saved=$CFLAGS
15019 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15021 /* end confdefs.h. */
15022 int main(int argc, char **argv) { return 0; }
15023 _ACEOF
15024 if ac_fn_c_try_link "$LINENO"; then :
15025 ac_cv_cflags__Wpacked_not_aligned=yes
15026 else
15027 ac_cv_cflags__Wpacked_not_aligned=no
15029 rm -f core conftest.err conftest.$ac_objext \
15030 conftest$ac_exeext conftest.$ac_ext
15031 CFLAGS=$ac_wine_try_cflags_saved
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15034 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15035 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15036 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15039 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15040 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15041 $as_echo_n "(cached) " >&6
15042 else
15043 ac_wine_try_cflags_saved=$CFLAGS
15044 CFLAGS="$CFLAGS -Wpragma-pack"
15045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15046 /* end confdefs.h. */
15047 int main(int argc, char **argv) { return 0; }
15048 _ACEOF
15049 if ac_fn_c_try_link "$LINENO"; then :
15050 ac_cv_cflags__Wpragma_pack=yes
15051 else
15052 ac_cv_cflags__Wpragma_pack=no
15054 rm -f core conftest.err conftest.$ac_objext \
15055 conftest$ac_exeext conftest.$ac_ext
15056 CFLAGS=$ac_wine_try_cflags_saved
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15059 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15060 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15061 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15064 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15065 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15066 $as_echo_n "(cached) " >&6
15067 else
15068 ac_wine_try_cflags_saved=$CFLAGS
15069 CFLAGS="$CFLAGS -Wshift-overflow=2"
15070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15071 /* end confdefs.h. */
15072 int main(int argc, char **argv) { return 0; }
15073 _ACEOF
15074 if ac_fn_c_try_link "$LINENO"; then :
15075 ac_cv_cflags__Wshift_overflow_2=yes
15076 else
15077 ac_cv_cflags__Wshift_overflow_2=no
15079 rm -f core conftest.err conftest.$ac_objext \
15080 conftest$ac_exeext conftest.$ac_ext
15081 CFLAGS=$ac_wine_try_cflags_saved
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15084 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15085 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15086 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15089 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15090 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15091 $as_echo_n "(cached) " >&6
15092 else
15093 ac_wine_try_cflags_saved=$CFLAGS
15094 CFLAGS="$CFLAGS -Wstrict-prototypes"
15095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15096 /* end confdefs.h. */
15097 int main(int argc, char **argv) { return 0; }
15098 _ACEOF
15099 if ac_fn_c_try_link "$LINENO"; then :
15100 ac_cv_cflags__Wstrict_prototypes=yes
15101 else
15102 ac_cv_cflags__Wstrict_prototypes=no
15104 rm -f core conftest.err conftest.$ac_objext \
15105 conftest$ac_exeext conftest.$ac_ext
15106 CFLAGS=$ac_wine_try_cflags_saved
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15109 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15110 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15111 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15114 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15115 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15116 $as_echo_n "(cached) " >&6
15117 else
15118 ac_wine_try_cflags_saved=$CFLAGS
15119 CFLAGS="$CFLAGS -Wtype-limits"
15120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15121 /* end confdefs.h. */
15122 int main(int argc, char **argv) { return 0; }
15123 _ACEOF
15124 if ac_fn_c_try_link "$LINENO"; then :
15125 ac_cv_cflags__Wtype_limits=yes
15126 else
15127 ac_cv_cflags__Wtype_limits=no
15129 rm -f core conftest.err conftest.$ac_objext \
15130 conftest$ac_exeext conftest.$ac_ext
15131 CFLAGS=$ac_wine_try_cflags_saved
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15134 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15135 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15136 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15139 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15140 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15141 $as_echo_n "(cached) " >&6
15142 else
15143 ac_wine_try_cflags_saved=$CFLAGS
15144 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15146 /* end confdefs.h. */
15147 int main(int argc, char **argv) { return 0; }
15148 _ACEOF
15149 if ac_fn_c_try_link "$LINENO"; then :
15150 ac_cv_cflags__Wunused_but_set_parameter=yes
15151 else
15152 ac_cv_cflags__Wunused_but_set_parameter=no
15154 rm -f core conftest.err conftest.$ac_objext \
15155 conftest$ac_exeext conftest.$ac_ext
15156 CFLAGS=$ac_wine_try_cflags_saved
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15159 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15160 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15161 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15164 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15165 if ${ac_cv_cflags__Wvla+:} false; then :
15166 $as_echo_n "(cached) " >&6
15167 else
15168 ac_wine_try_cflags_saved=$CFLAGS
15169 CFLAGS="$CFLAGS -Wvla"
15170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15171 /* end confdefs.h. */
15172 int main(int argc, char **argv) { return 0; }
15173 _ACEOF
15174 if ac_fn_c_try_link "$LINENO"; then :
15175 ac_cv_cflags__Wvla=yes
15176 else
15177 ac_cv_cflags__Wvla=no
15179 rm -f core conftest.err conftest.$ac_objext \
15180 conftest$ac_exeext conftest.$ac_ext
15181 CFLAGS=$ac_wine_try_cflags_saved
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15184 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15185 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15186 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15189 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15190 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15191 $as_echo_n "(cached) " >&6
15192 else
15193 ac_wine_try_cflags_saved=$CFLAGS
15194 CFLAGS="$CFLAGS -Wwrite-strings"
15195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15196 /* end confdefs.h. */
15197 int main(int argc, char **argv) { return 0; }
15198 _ACEOF
15199 if ac_fn_c_try_link "$LINENO"; then :
15200 ac_cv_cflags__Wwrite_strings=yes
15201 else
15202 ac_cv_cflags__Wwrite_strings=no
15204 rm -f core conftest.err conftest.$ac_objext \
15205 conftest$ac_exeext conftest.$ac_ext
15206 CFLAGS=$ac_wine_try_cflags_saved
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15209 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15210 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15211 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15215 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15216 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15217 $as_echo_n "(cached) " >&6
15218 else
15219 ac_wine_try_cflags_saved=$CFLAGS
15220 CFLAGS="$CFLAGS -Wpointer-arith"
15221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15223 int main(int argc, char **argv) { return 0; }
15224 _ACEOF
15225 if ac_fn_c_try_link "$LINENO"; then :
15226 ac_cv_cflags__Wpointer_arith=yes
15227 else
15228 ac_cv_cflags__Wpointer_arith=no
15230 rm -f core conftest.err conftest.$ac_objext \
15231 conftest$ac_exeext conftest.$ac_ext
15232 CFLAGS=$ac_wine_try_cflags_saved
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15235 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15236 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15237 saved_string_h_CFLAGS=$CFLAGS
15238 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15240 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15241 if ${ac_cv_c_string_h_warnings+:} false; then :
15242 $as_echo_n "(cached) " >&6
15243 else
15244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15245 /* end confdefs.h. */
15246 #include <string.h>
15248 main ()
15252 return 0;
15254 _ACEOF
15255 if ac_fn_c_try_compile "$LINENO"; then :
15256 ac_cv_c_string_h_warnings=no
15257 else
15258 ac_cv_c_string_h_warnings=yes
15260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15263 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15264 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15265 CFLAGS=$saved_string_h_CFLAGS
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15269 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15270 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15271 $as_echo_n "(cached) " >&6
15272 else
15273 ac_wine_try_cflags_saved=$CFLAGS
15274 CFLAGS="$CFLAGS -Wlogical-op"
15275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15276 /* end confdefs.h. */
15277 int main(int argc, char **argv) { return 0; }
15278 _ACEOF
15279 if ac_fn_c_try_link "$LINENO"; then :
15280 ac_cv_cflags__Wlogical_op=yes
15281 else
15282 ac_cv_cflags__Wlogical_op=no
15284 rm -f core conftest.err conftest.$ac_objext \
15285 conftest$ac_exeext conftest.$ac_ext
15286 CFLAGS=$ac_wine_try_cflags_saved
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15289 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15290 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15291 saved_string_h_CFLAGS=$CFLAGS
15292 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15294 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15295 if ${ac_cv_c_logicalop_noisy+:} false; then :
15296 $as_echo_n "(cached) " >&6
15297 else
15298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15299 /* end confdefs.h. */
15300 #include <string.h>
15301 char*f(const char *h,char n) {return strchr(h,n);}
15303 main ()
15307 return 0;
15309 _ACEOF
15310 if ac_fn_c_try_compile "$LINENO"; then :
15311 ac_cv_c_logicalop_noisy=no
15312 else
15313 ac_cv_c_logicalop_noisy=yes
15315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15318 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15319 CFLAGS=$saved_string_h_CFLAGS
15320 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15323 CFLAGS=$saved_CFLAGS
15325 for ac_flag in $CFLAGS; do
15326 case $ac_flag in
15327 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15328 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15329 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15330 $as_echo_n "(cached) " >&6
15331 else
15332 ac_wine_try_cflags_saved=$CFLAGS
15333 CFLAGS="$CFLAGS -gdwarf-2"
15334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15335 /* end confdefs.h. */
15336 int main(int argc, char **argv) { return 0; }
15337 _ACEOF
15338 if ac_fn_c_try_link "$LINENO"; then :
15339 ac_cv_cflags__gdwarf_2=yes
15340 else
15341 ac_cv_cflags__gdwarf_2=no
15343 rm -f core conftest.err conftest.$ac_objext \
15344 conftest$ac_exeext conftest.$ac_ext
15345 CFLAGS=$ac_wine_try_cflags_saved
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15348 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15349 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15350 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15353 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15354 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15355 $as_echo_n "(cached) " >&6
15356 else
15357 ac_wine_try_cflags_saved=$CFLAGS
15358 CFLAGS="$CFLAGS -gstrict-dwarf"
15359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15360 /* end confdefs.h. */
15361 int main(int argc, char **argv) { return 0; }
15362 _ACEOF
15363 if ac_fn_c_try_link "$LINENO"; then :
15364 ac_cv_cflags__gstrict_dwarf=yes
15365 else
15366 ac_cv_cflags__gstrict_dwarf=no
15368 rm -f core conftest.err conftest.$ac_objext \
15369 conftest$ac_exeext conftest.$ac_ext
15370 CFLAGS=$ac_wine_try_cflags_saved
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15373 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15374 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15375 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15376 fi ;;
15377 esac
15378 done
15380 case $host_cpu in
15381 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15382 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15383 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15384 $as_echo_n "(cached) " >&6
15385 else
15386 ac_wine_try_cflags_saved=$CFLAGS
15387 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15389 /* end confdefs.h. */
15390 int main(int argc, char **argv) { return 0; }
15391 _ACEOF
15392 if ac_fn_c_try_link "$LINENO"; then :
15393 ac_cv_cflags__fno_omit_frame_pointer=yes
15394 else
15395 ac_cv_cflags__fno_omit_frame_pointer=no
15397 rm -f core conftest.err conftest.$ac_objext \
15398 conftest$ac_exeext conftest.$ac_ext
15399 CFLAGS=$ac_wine_try_cflags_saved
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15402 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15403 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15404 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15405 fi ;;
15406 esac
15408 case $host in
15409 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15410 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15411 if ${ac_cv_cflags__Wno_format+:} false; then :
15412 $as_echo_n "(cached) " >&6
15413 else
15414 ac_wine_try_cflags_saved=$CFLAGS
15415 CFLAGS="$CFLAGS -Wno-format"
15416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15417 /* end confdefs.h. */
15418 int main(int argc, char **argv) { return 0; }
15419 _ACEOF
15420 if ac_fn_c_try_link "$LINENO"; then :
15421 ac_cv_cflags__Wno_format=yes
15422 else
15423 ac_cv_cflags__Wno_format=no
15425 rm -f core conftest.err conftest.$ac_objext \
15426 conftest$ac_exeext conftest.$ac_ext
15427 CFLAGS=$ac_wine_try_cflags_saved
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15430 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15431 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15432 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15433 fi ;;
15434 esac
15436 if test "x$enable_maintainer_mode" = "xyes"
15437 then
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15439 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15440 if ${ac_cv_cflags__Werror+:} false; then :
15441 $as_echo_n "(cached) " >&6
15442 else
15443 ac_wine_try_cflags_saved=$CFLAGS
15444 CFLAGS="$CFLAGS -Werror"
15445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15446 /* end confdefs.h. */
15447 int main(int argc, char **argv) { return 0; }
15448 _ACEOF
15449 if ac_fn_c_try_link "$LINENO"; then :
15450 ac_cv_cflags__Werror=yes
15451 else
15452 ac_cv_cflags__Werror=no
15454 rm -f core conftest.err conftest.$ac_objext \
15455 conftest$ac_exeext conftest.$ac_ext
15456 CFLAGS=$ac_wine_try_cflags_saved
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15459 $as_echo "$ac_cv_cflags__Werror" >&6; }
15460 if test "x$ac_cv_cflags__Werror" = xyes; then :
15461 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15465 saved_CFLAGS="$CFLAGS"
15466 CFLAGS="$CFLAGS -Werror"
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15468 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15469 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15470 $as_echo_n "(cached) " >&6
15471 else
15472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15473 /* end confdefs.h. */
15474 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15476 main ()
15480 return 0;
15482 _ACEOF
15483 if ac_fn_c_try_compile "$LINENO"; then :
15484 ac_cv_have_ms_hook_prologue="yes"
15485 else
15486 ac_cv_have_ms_hook_prologue="no"
15488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15491 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15492 CFLAGS="$saved_CFLAGS"
15493 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15494 then
15496 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15498 else
15499 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15506 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15507 if ${ac_cv_c_fortify_enabled+:} false; then :
15508 $as_echo_n "(cached) " >&6
15509 else
15510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15511 /* end confdefs.h. */
15512 #include <string.h>
15514 main ()
15516 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15517 #error Fortify enabled
15518 #endif
15520 return 0;
15522 _ACEOF
15523 if ac_fn_c_try_compile "$LINENO"; then :
15524 ac_cv_c_fortify_enabled=no
15525 else
15526 ac_cv_c_fortify_enabled=yes
15528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15531 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15532 if test "$ac_cv_c_fortify_enabled" = yes
15533 then
15534 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15539 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15540 if ${ac_cv_c_extern_prefix+:} false; then :
15541 $as_echo_n "(cached) " >&6
15542 else
15543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15544 /* end confdefs.h. */
15545 extern int ac_test;
15547 main ()
15549 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15551 return 0;
15553 _ACEOF
15554 if ac_fn_c_try_link "$LINENO"; then :
15555 ac_cv_c_extern_prefix="yes"
15556 else
15557 ac_cv_c_extern_prefix="no"
15559 rm -f core conftest.err conftest.$ac_objext \
15560 conftest$ac_exeext conftest.$ac_ext
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15563 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15565 case $host_cpu in
15566 *i[3456789]86*)
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15568 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15569 if ${ac_cv_c_stdcall_suffix+:} false; then :
15570 $as_echo_n "(cached) " >&6
15571 else
15572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15573 /* end confdefs.h. */
15574 #ifndef _MSC_VER
15575 #define __stdcall __attribute__((__stdcall__))
15576 #endif
15577 int __stdcall ac_test(int i) { return i; }
15579 main ()
15581 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15583 return 0;
15585 _ACEOF
15586 if ac_fn_c_try_link "$LINENO"; then :
15587 ac_cv_c_stdcall_suffix="yes"
15588 else
15589 ac_cv_c_stdcall_suffix="no"
15591 rm -f core conftest.err conftest.$ac_objext \
15592 conftest$ac_exeext conftest.$ac_ext
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15595 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15596 *) ac_cv_c_stdcall_suffix="no" ;;
15597 esac
15600 if test "$ac_cv_c_extern_prefix" = "yes"
15601 then
15602 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15604 asm_name_prefix="_"
15605 else
15606 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15608 asm_name_prefix=""
15612 if test "$ac_cv_c_stdcall_suffix" = "yes"
15613 then
15614 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15616 else
15617 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15623 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15624 if ${ac_cv_asm_func_def+:} false; then :
15625 $as_echo_n "(cached) " >&6
15626 else
15627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15628 /* end confdefs.h. */
15631 main ()
15633 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15635 return 0;
15637 _ACEOF
15638 if ac_fn_c_try_link "$LINENO"; then :
15639 ac_cv_asm_func_def=".def"
15640 else
15641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15642 /* end confdefs.h. */
15645 main ()
15647 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15649 return 0;
15651 _ACEOF
15652 if ac_fn_c_try_link "$LINENO"; then :
15653 ac_cv_asm_func_def=".type @function"
15654 else
15655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15656 /* end confdefs.h. */
15659 main ()
15661 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15663 return 0;
15665 _ACEOF
15666 if ac_fn_c_try_link "$LINENO"; then :
15667 ac_cv_asm_func_def=".type 2"
15668 else
15669 ac_cv_asm_func_def="unknown"
15671 rm -f core conftest.err conftest.$ac_objext \
15672 conftest$ac_exeext conftest.$ac_ext
15674 rm -f core conftest.err conftest.$ac_objext \
15675 conftest$ac_exeext conftest.$ac_ext
15677 rm -f core conftest.err conftest.$ac_objext \
15678 conftest$ac_exeext conftest.$ac_ext
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15681 $as_echo "$ac_cv_asm_func_def" >&6; }
15684 case "$ac_cv_asm_func_def" in
15685 ".def")
15686 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15688 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15689 ".type @function")
15690 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15692 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15693 ".type 2")
15694 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15696 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15698 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15700 asm_func_header="" ;;
15701 esac
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15704 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15705 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15706 $as_echo_n "(cached) " >&6
15707 else
15708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15709 /* end confdefs.h. */
15710 asm(".text\n\t.long 0");
15712 main ()
15716 return 0;
15718 _ACEOF
15719 if ac_fn_c_try_compile "$LINENO"; then :
15720 ac_cv_c_asm_outside_funcs="yes"
15721 else
15722 ac_cv_c_asm_outside_funcs="no"
15724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15727 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15730 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15731 if ${ac_cv_c_dot_previous+:} false; then :
15732 $as_echo_n "(cached) " >&6
15733 else
15734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15735 /* end confdefs.h. */
15738 main ()
15740 asm(".text\nac_test:\t.long 0\n\t.previous");
15742 return 0;
15744 _ACEOF
15745 if ac_fn_c_try_link "$LINENO"; then :
15746 ac_cv_c_dot_previous="yes"
15747 else
15748 ac_cv_c_dot_previous="no"
15750 rm -f core conftest.err conftest.$ac_objext \
15751 conftest$ac_exeext conftest.$ac_ext
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15754 $as_echo "$ac_cv_c_dot_previous" >&6; }
15756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15757 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15758 if ${ac_cv_c_cfi_support+:} false; then :
15759 $as_echo_n "(cached) " >&6
15760 else
15761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15762 /* end confdefs.h. */
15763 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15765 main ()
15769 return 0;
15771 _ACEOF
15772 if ac_fn_c_try_compile "$LINENO"; then :
15773 ac_cv_c_cfi_support="yes"
15774 else
15775 ac_cv_c_cfi_support="no"
15777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15780 $as_echo "$ac_cv_c_cfi_support" >&6; }
15782 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15783 asm_func_trailer=""
15784 if test "$ac_cv_c_dot_previous" = "yes"
15785 then
15786 asm_func_trailer="\\n\\t.previous"
15788 if test "$ac_cv_c_cfi_support" = "yes"
15789 then
15790 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15791 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15793 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15795 UNWINDFLAGS=-fasynchronous-unwind-tables
15797 else
15798 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15800 if test "x$enable_win64" = "xyes"
15801 then
15802 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15806 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15809 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15810 then
15811 cat >>confdefs.h <<_ACEOF
15812 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15813 _ACEOF
15815 else
15816 cat >>confdefs.h <<_ACEOF
15817 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15818 _ACEOF
15822 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15825 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15829 case $build_os in
15830 cygwin*|mingw32*) TOOLSEXT=".exe"
15832 esac
15834 case $host_os in
15835 linux*)
15836 case $host_cpu in
15837 *i[3456789]86*|x86_64*|*aarch64*)
15838 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15839 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15841 esac
15843 esac
15846 ac_save_CFLAGS="$CFLAGS"
15847 CFLAGS="$CFLAGS $BUILTINFLAG"
15848 for ac_func in \
15849 __res_get_state \
15850 __res_getservers \
15851 _finite \
15852 _isnan \
15853 _pclose \
15854 _popen \
15855 _snprintf \
15856 _spawnvp \
15857 _strdup \
15858 _stricmp \
15859 _strnicmp \
15860 _strtoi64 \
15861 _strtoui64 \
15862 _vsnprintf \
15863 asctime_r \
15864 chsize \
15865 dlopen \
15866 epoll_create \
15867 ffs \
15868 finitef \
15869 fnmatch \
15870 fork \
15871 fpclass \
15872 fstatfs \
15873 fstatvfs \
15874 ftruncate \
15875 futimens \
15876 futimes \
15877 futimesat \
15878 getattrlist \
15879 getauxval \
15880 getifaddrs \
15881 getopt_long_only \
15882 getpwuid \
15883 gettimeofday \
15884 getuid \
15885 isnanf \
15886 kqueue \
15887 lstat \
15888 memmove \
15889 mmap \
15890 pclose \
15891 pipe2 \
15892 poll \
15893 popen \
15894 port_create \
15895 prctl \
15896 pread \
15897 proc_pidinfo \
15898 pwrite \
15899 readdir \
15900 readlink \
15901 sched_yield \
15902 select \
15903 setproctitle \
15904 setprogname \
15905 setrlimit \
15906 settimeofday \
15907 sigaltstack \
15908 sigprocmask \
15909 snprintf \
15910 statfs \
15911 statvfs \
15912 strcasecmp \
15913 strdup \
15914 strerror \
15915 strncasecmp \
15916 strnlen \
15917 strtold \
15918 strtoll \
15919 strtoull \
15920 symlink \
15921 sysinfo \
15922 tcdrain \
15923 thr_kill2 \
15924 timegm \
15925 usleep \
15926 vsnprintf
15928 do :
15929 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15930 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15931 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15932 cat >>confdefs.h <<_ACEOF
15933 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15934 _ACEOF
15937 done
15939 CFLAGS="$ac_save_CFLAGS"
15941 if test "$ac_cv_func_dlopen" = no
15942 then
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15944 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15945 if ${ac_cv_lib_dl_dlopen+:} false; then :
15946 $as_echo_n "(cached) " >&6
15947 else
15948 ac_check_lib_save_LIBS=$LIBS
15949 LIBS="-ldl $LIBS"
15950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15951 /* end confdefs.h. */
15953 /* Override any GCC internal prototype to avoid an error.
15954 Use char because int might match the return type of a GCC
15955 builtin and then its argument prototype would still apply. */
15956 #ifdef __cplusplus
15957 extern "C"
15958 #endif
15959 char dlopen ();
15961 main ()
15963 return dlopen ();
15965 return 0;
15967 _ACEOF
15968 if ac_fn_c_try_link "$LINENO"; then :
15969 ac_cv_lib_dl_dlopen=yes
15970 else
15971 ac_cv_lib_dl_dlopen=no
15973 rm -f core conftest.err conftest.$ac_objext \
15974 conftest$ac_exeext conftest.$ac_ext
15975 LIBS=$ac_check_lib_save_LIBS
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15978 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15979 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15980 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15981 DL_LIBS="-ldl"
15986 ac_wine_check_funcs_save_LIBS="$LIBS"
15987 LIBS="$LIBS $DL_LIBS"
15988 for ac_func in dladdr
15989 do :
15990 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15991 if test "x$ac_cv_func_dladdr" = xyes; then :
15992 cat >>confdefs.h <<_ACEOF
15993 #define HAVE_DLADDR 1
15994 _ACEOF
15997 done
15999 LIBS="$ac_wine_check_funcs_save_LIBS"
16001 if test "$ac_cv_func_poll" = no
16002 then
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16004 $as_echo_n "checking for poll in -lpoll... " >&6; }
16005 if ${ac_cv_lib_poll_poll+:} false; then :
16006 $as_echo_n "(cached) " >&6
16007 else
16008 ac_check_lib_save_LIBS=$LIBS
16009 LIBS="-lpoll $LIBS"
16010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16011 /* end confdefs.h. */
16013 /* Override any GCC internal prototype to avoid an error.
16014 Use char because int might match the return type of a GCC
16015 builtin and then its argument prototype would still apply. */
16016 #ifdef __cplusplus
16017 extern "C"
16018 #endif
16019 char poll ();
16021 main ()
16023 return poll ();
16025 return 0;
16027 _ACEOF
16028 if ac_fn_c_try_link "$LINENO"; then :
16029 ac_cv_lib_poll_poll=yes
16030 else
16031 ac_cv_lib_poll_poll=no
16033 rm -f core conftest.err conftest.$ac_objext \
16034 conftest$ac_exeext conftest.$ac_ext
16035 LIBS=$ac_check_lib_save_LIBS
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16038 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16039 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16040 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16041 POLL_LIBS="-lpoll"
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16048 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16049 if ${ac_cv_search_gethostbyname+:} false; then :
16050 $as_echo_n "(cached) " >&6
16051 else
16052 ac_func_search_save_LIBS=$LIBS
16053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16054 /* end confdefs.h. */
16056 /* Override any GCC internal prototype to avoid an error.
16057 Use char because int might match the return type of a GCC
16058 builtin and then its argument prototype would still apply. */
16059 #ifdef __cplusplus
16060 extern "C"
16061 #endif
16062 char gethostbyname ();
16064 main ()
16066 return gethostbyname ();
16068 return 0;
16070 _ACEOF
16071 for ac_lib in '' nsl; do
16072 if test -z "$ac_lib"; then
16073 ac_res="none required"
16074 else
16075 ac_res=-l$ac_lib
16076 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16078 if ac_fn_c_try_link "$LINENO"; then :
16079 ac_cv_search_gethostbyname=$ac_res
16081 rm -f core conftest.err conftest.$ac_objext \
16082 conftest$ac_exeext
16083 if ${ac_cv_search_gethostbyname+:} false; then :
16084 break
16086 done
16087 if ${ac_cv_search_gethostbyname+:} false; then :
16089 else
16090 ac_cv_search_gethostbyname=no
16092 rm conftest.$ac_ext
16093 LIBS=$ac_func_search_save_LIBS
16095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16096 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16097 ac_res=$ac_cv_search_gethostbyname
16098 if test "$ac_res" != no; then :
16099 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16105 $as_echo_n "checking for library containing connect... " >&6; }
16106 if ${ac_cv_search_connect+:} false; then :
16107 $as_echo_n "(cached) " >&6
16108 else
16109 ac_func_search_save_LIBS=$LIBS
16110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16111 /* end confdefs.h. */
16113 /* Override any GCC internal prototype to avoid an error.
16114 Use char because int might match the return type of a GCC
16115 builtin and then its argument prototype would still apply. */
16116 #ifdef __cplusplus
16117 extern "C"
16118 #endif
16119 char connect ();
16121 main ()
16123 return connect ();
16125 return 0;
16127 _ACEOF
16128 for ac_lib in '' socket; do
16129 if test -z "$ac_lib"; then
16130 ac_res="none required"
16131 else
16132 ac_res=-l$ac_lib
16133 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16135 if ac_fn_c_try_link "$LINENO"; then :
16136 ac_cv_search_connect=$ac_res
16138 rm -f core conftest.err conftest.$ac_objext \
16139 conftest$ac_exeext
16140 if ${ac_cv_search_connect+:} false; then :
16141 break
16143 done
16144 if ${ac_cv_search_connect+:} false; then :
16146 else
16147 ac_cv_search_connect=no
16149 rm conftest.$ac_ext
16150 LIBS=$ac_func_search_save_LIBS
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16153 $as_echo "$ac_cv_search_connect" >&6; }
16154 ac_res=$ac_cv_search_connect
16155 if test "$ac_res" != no; then :
16156 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16162 $as_echo_n "checking for library containing inet_aton... " >&6; }
16163 if ${ac_cv_search_inet_aton+:} false; then :
16164 $as_echo_n "(cached) " >&6
16165 else
16166 ac_func_search_save_LIBS=$LIBS
16167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16168 /* end confdefs.h. */
16170 /* Override any GCC internal prototype to avoid an error.
16171 Use char because int might match the return type of a GCC
16172 builtin and then its argument prototype would still apply. */
16173 #ifdef __cplusplus
16174 extern "C"
16175 #endif
16176 char inet_aton ();
16178 main ()
16180 return inet_aton ();
16182 return 0;
16184 _ACEOF
16185 for ac_lib in '' resolv; do
16186 if test -z "$ac_lib"; then
16187 ac_res="none required"
16188 else
16189 ac_res=-l$ac_lib
16190 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16192 if ac_fn_c_try_link "$LINENO"; then :
16193 ac_cv_search_inet_aton=$ac_res
16195 rm -f core conftest.err conftest.$ac_objext \
16196 conftest$ac_exeext
16197 if ${ac_cv_search_inet_aton+:} false; then :
16198 break
16200 done
16201 if ${ac_cv_search_inet_aton+:} false; then :
16203 else
16204 ac_cv_search_inet_aton=no
16206 rm conftest.$ac_ext
16207 LIBS=$ac_func_search_save_LIBS
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16210 $as_echo "$ac_cv_search_inet_aton" >&6; }
16211 ac_res=$ac_cv_search_inet_aton
16212 if test "$ac_res" != no; then :
16213 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16218 for ac_func in \
16219 getaddrinfo \
16220 getnameinfo \
16221 getnetbyname \
16222 getprotobyname \
16223 getprotobynumber \
16224 getservbyport \
16225 inet_addr \
16226 inet_network \
16227 inet_ntop \
16228 inet_pton \
16229 sendmsg \
16230 socketpair \
16232 do :
16233 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16234 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16235 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16236 cat >>confdefs.h <<_ACEOF
16237 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16238 _ACEOF
16241 done
16244 ac_save_LIBS=$LIBS
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16246 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16247 if ${ac_cv_search_clock_gettime+:} false; then :
16248 $as_echo_n "(cached) " >&6
16249 else
16250 ac_func_search_save_LIBS=$LIBS
16251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16252 /* end confdefs.h. */
16254 /* Override any GCC internal prototype to avoid an error.
16255 Use char because int might match the return type of a GCC
16256 builtin and then its argument prototype would still apply. */
16257 #ifdef __cplusplus
16258 extern "C"
16259 #endif
16260 char clock_gettime ();
16262 main ()
16264 return clock_gettime ();
16266 return 0;
16268 _ACEOF
16269 for ac_lib in '' rt; do
16270 if test -z "$ac_lib"; then
16271 ac_res="none required"
16272 else
16273 ac_res=-l$ac_lib
16274 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16276 if ac_fn_c_try_link "$LINENO"; then :
16277 ac_cv_search_clock_gettime=$ac_res
16279 rm -f core conftest.err conftest.$ac_objext \
16280 conftest$ac_exeext
16281 if ${ac_cv_search_clock_gettime+:} false; then :
16282 break
16284 done
16285 if ${ac_cv_search_clock_gettime+:} false; then :
16287 else
16288 ac_cv_search_clock_gettime=no
16290 rm conftest.$ac_ext
16291 LIBS=$ac_func_search_save_LIBS
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16294 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16295 ac_res=$ac_cv_search_clock_gettime
16296 if test "$ac_res" != no; then :
16297 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16299 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16301 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16305 LIBS=$ac_save_LIBS
16307 if test "x$with_ldap" != "xno"
16308 then
16309 if ${LDAP_CFLAGS:+false} :; then :
16310 if ${PKG_CONFIG+:} false; then :
16311 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16315 if ${LDAP_LIBS:+false} :; then :
16316 if ${PKG_CONFIG+:} false; then :
16317 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16321 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16322 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16323 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16324 ac_save_CPPFLAGS=$CPPFLAGS
16325 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16326 for ac_header in ldap.h lber.h
16327 do :
16328 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16329 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16330 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16331 cat >>confdefs.h <<_ACEOF
16332 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16333 _ACEOF
16337 done
16339 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16340 then
16341 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16343 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16345 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16346 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16347 $as_echo_n "(cached) " >&6
16348 else
16349 ac_check_lib_save_LIBS=$LIBS
16350 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16352 /* end confdefs.h. */
16354 /* Override any GCC internal prototype to avoid an error.
16355 Use char because int might match the return type of a GCC
16356 builtin and then its argument prototype would still apply. */
16357 #ifdef __cplusplus
16358 extern "C"
16359 #endif
16360 char ldap_initialize ();
16362 main ()
16364 return ldap_initialize ();
16366 return 0;
16368 _ACEOF
16369 if ac_fn_c_try_link "$LINENO"; then :
16370 ac_cv_lib_ldap_r_ldap_initialize=yes
16371 else
16372 ac_cv_lib_ldap_r_ldap_initialize=no
16374 rm -f core conftest.err conftest.$ac_objext \
16375 conftest$ac_exeext conftest.$ac_ext
16376 LIBS=$ac_check_lib_save_LIBS
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16379 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16380 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16382 $as_echo_n "checking for ber_init in -llber... " >&6; }
16383 if ${ac_cv_lib_lber_ber_init+:} false; then :
16384 $as_echo_n "(cached) " >&6
16385 else
16386 ac_check_lib_save_LIBS=$LIBS
16387 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16389 /* end confdefs.h. */
16391 /* Override any GCC internal prototype to avoid an error.
16392 Use char because int might match the return type of a GCC
16393 builtin and then its argument prototype would still apply. */
16394 #ifdef __cplusplus
16395 extern "C"
16396 #endif
16397 char ber_init ();
16399 main ()
16401 return ber_init ();
16403 return 0;
16405 _ACEOF
16406 if ac_fn_c_try_link "$LINENO"; then :
16407 ac_cv_lib_lber_ber_init=yes
16408 else
16409 ac_cv_lib_lber_ber_init=no
16411 rm -f core conftest.err conftest.$ac_objext \
16412 conftest$ac_exeext conftest.$ac_ext
16413 LIBS=$ac_check_lib_save_LIBS
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16416 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16417 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16419 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16421 else
16422 LDAP_LIBS=""
16425 else
16426 LDAP_LIBS=""
16429 else
16430 LDAP_LIBS=""
16433 ac_wine_check_funcs_save_LIBS="$LIBS"
16434 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16435 for ac_func in \
16436 ldap_count_references \
16437 ldap_first_reference \
16438 ldap_next_reference \
16439 ldap_parse_reference \
16440 ldap_parse_sort_control \
16441 ldap_parse_sortresponse_control \
16442 ldap_parse_vlv_control \
16443 ldap_parse_vlvresponse_control
16444 do :
16445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16447 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16448 cat >>confdefs.h <<_ACEOF
16449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16450 _ACEOF
16453 done
16455 LIBS="$ac_wine_check_funcs_save_LIBS"
16456 else
16457 LDAP_LIBS=""
16459 CPPFLAGS=$ac_save_CPPFLAGS
16460 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16461 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16464 if test "x$LDAP_LIBS" = "x"; then :
16465 case "x$with_ldap" in
16466 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16467 xno) ;;
16468 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16469 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16470 esac
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16475 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16476 if ${wine_cv_one_arg_mkdir+:} false; then :
16477 $as_echo_n "(cached) " >&6
16478 else
16479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16480 /* end confdefs.h. */
16481 #include <sys/stat.h>
16483 main ()
16485 mkdir("foo");
16487 return 0;
16489 _ACEOF
16490 if ac_fn_c_try_compile "$LINENO"; then :
16491 wine_cv_one_arg_mkdir=yes
16492 else
16493 wine_cv_one_arg_mkdir=no
16495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16498 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16499 if test "$wine_cv_one_arg_mkdir" = "yes"
16500 then
16502 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16507 $as_echo_n "checking for sched_setaffinity... " >&6; }
16508 if ${wine_cv_have_sched_setaffinity+:} false; then :
16509 $as_echo_n "(cached) " >&6
16510 else
16511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16512 /* end confdefs.h. */
16513 #define _GNU_SOURCE
16514 #include <sched.h>
16516 main ()
16518 sched_setaffinity(0, 0, 0);
16520 return 0;
16522 _ACEOF
16523 if ac_fn_c_try_link "$LINENO"; then :
16524 wine_cv_have_sched_setaffinity=yes
16525 else
16526 wine_cv_have_sched_setaffinity=no
16528 rm -f core conftest.err conftest.$ac_objext \
16529 conftest$ac_exeext conftest.$ac_ext
16531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16532 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16533 if test "$wine_cv_have_sched_setaffinity" = "yes"
16534 then
16536 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16541 $as_echo_n "checking for fallocate... " >&6; }
16542 if ${wine_cv_have_fallocate+:} false; then :
16543 $as_echo_n "(cached) " >&6
16544 else
16545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16546 /* end confdefs.h. */
16547 #define _GNU_SOURCE
16548 #include <fcntl.h>
16550 main ()
16552 fallocate(-1, 0, 0, 0);
16554 return 0;
16556 _ACEOF
16557 if ac_fn_c_try_link "$LINENO"; then :
16558 wine_cv_have_fallocate=yes
16559 else
16560 wine_cv_have_fallocate=no
16562 rm -f core conftest.err conftest.$ac_objext \
16563 conftest$ac_exeext conftest.$ac_ext
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16566 $as_echo "$wine_cv_have_fallocate" >&6; }
16567 if test "$wine_cv_have_fallocate" = "yes"
16568 then
16570 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16576 $as_echo_n "checking for inline... " >&6; }
16577 if ${ac_cv_c_inline+:} false; then :
16578 $as_echo_n "(cached) " >&6
16579 else
16580 ac_cv_c_inline=no
16581 for ac_kw in inline __inline__ __inline; do
16582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16583 /* end confdefs.h. */
16584 #ifndef __cplusplus
16585 typedef int foo_t;
16586 static $ac_kw foo_t static_foo () {return 0; }
16587 $ac_kw foo_t foo () {return 0; }
16588 #endif
16590 _ACEOF
16591 if ac_fn_c_try_compile "$LINENO"; then :
16592 ac_cv_c_inline=$ac_kw
16594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16595 test "$ac_cv_c_inline" != no && break
16596 done
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16600 $as_echo "$ac_cv_c_inline" >&6; }
16602 case $ac_cv_c_inline in
16603 inline | yes) ;;
16605 case $ac_cv_c_inline in
16606 no) ac_val=;;
16607 *) ac_val=$ac_cv_c_inline;;
16608 esac
16609 cat >>confdefs.h <<_ACEOF
16610 #ifndef __cplusplus
16611 #define inline $ac_val
16612 #endif
16613 _ACEOF
16615 esac
16617 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16618 if test "x$ac_cv_type_mode_t" = xyes; then :
16620 cat >>confdefs.h <<_ACEOF
16621 #define HAVE_MODE_T 1
16622 _ACEOF
16626 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16627 if test "x$ac_cv_type_off_t" = xyes; then :
16629 cat >>confdefs.h <<_ACEOF
16630 #define HAVE_OFF_T 1
16631 _ACEOF
16635 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16636 if test "x$ac_cv_type_pid_t" = xyes; then :
16638 cat >>confdefs.h <<_ACEOF
16639 #define HAVE_PID_T 1
16640 _ACEOF
16644 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16645 if test "x$ac_cv_type_size_t" = xyes; then :
16647 cat >>confdefs.h <<_ACEOF
16648 #define HAVE_SIZE_T 1
16649 _ACEOF
16653 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16654 if test "x$ac_cv_type_ssize_t" = xyes; then :
16656 cat >>confdefs.h <<_ACEOF
16657 #define HAVE_SSIZE_T 1
16658 _ACEOF
16662 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16663 if test "x$ac_cv_type_long_long" = xyes; then :
16665 cat >>confdefs.h <<_ACEOF
16666 #define HAVE_LONG_LONG 1
16667 _ACEOF
16671 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16672 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16674 cat >>confdefs.h <<_ACEOF
16675 #define HAVE_FSBLKCNT_T 1
16676 _ACEOF
16680 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16681 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16683 cat >>confdefs.h <<_ACEOF
16684 #define HAVE_FSFILCNT_T 1
16685 _ACEOF
16690 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16691 #include <signal.h>
16693 if test "x$ac_cv_type_sigset_t" = xyes; then :
16695 cat >>confdefs.h <<_ACEOF
16696 #define HAVE_SIGSET_T 1
16697 _ACEOF
16702 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16704 if test "x$ac_cv_type_request_sense" = xyes; then :
16706 cat >>confdefs.h <<_ACEOF
16707 #define HAVE_REQUEST_SENSE 1
16708 _ACEOF
16714 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16715 #ifdef HAVE_SYS_SOCKET_H
16716 #include <sys/socket.h>
16717 #endif
16718 #ifdef HAVE_SYS_SOCKETVAR_H
16719 #include <sys/socketvar.h>
16720 #endif
16721 #ifdef HAVE_NET_ROUTE_H
16722 #include <net/route.h>
16723 #endif
16724 #ifdef HAVE_NETINET_IN_H
16725 #include <netinet/in.h>
16726 #endif
16727 #ifdef HAVE_NETINET_IN_SYSTM_H
16728 #include <netinet/in_systm.h>
16729 #endif
16730 #ifdef HAVE_NETINET_IP_H
16731 #include <netinet/ip.h>
16732 #endif
16733 #ifdef HAVE_NETINET_IN_PCB_H
16734 #include <netinet/in_pcb.h>
16735 #endif
16737 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16739 cat >>confdefs.h <<_ACEOF
16740 #define HAVE_STRUCT_XINPGEN 1
16741 _ACEOF
16747 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16748 #include <link.h>
16749 #endif
16750 #ifdef HAVE_SYS_LINK_H
16751 #include <sys/link.h>
16752 #endif
16754 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16756 cat >>confdefs.h <<_ACEOF
16757 #define HAVE_STRUCT_R_DEBUG 1
16758 _ACEOF
16762 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16763 #include <link.h>
16764 #endif
16765 #ifdef HAVE_SYS_LINK_H
16766 #include <sys/link.h>
16767 #endif
16769 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16771 cat >>confdefs.h <<_ACEOF
16772 #define HAVE_STRUCT_LINK_MAP 1
16773 _ACEOF
16779 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16780 #include <linux/input.h>
16781 #endif
16783 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16785 cat >>confdefs.h <<_ACEOF
16786 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16787 _ACEOF
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16794 $as_echo_n "checking for if_nameindex... " >&6; }
16795 if ${wine_cv_have_if_nameindex+:} false; then :
16796 $as_echo_n "(cached) " >&6
16797 else
16798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16799 /* end confdefs.h. */
16800 #ifdef HAVE_SYS_TYPES_H
16801 #include <sys/types.h>
16802 #endif
16803 #ifdef HAVE_SYS_SOCKET_H
16804 #include <sys/socket.h>
16805 #endif
16806 #ifdef HAVE_NET_IF_H
16807 # include <net/if.h>
16808 #endif
16810 main ()
16812 struct if_nameindex *p = if_nameindex(); return p->if_index;
16814 return 0;
16816 _ACEOF
16817 if ac_fn_c_try_link "$LINENO"; then :
16818 wine_cv_have_if_nameindex=yes
16819 else
16820 wine_cv_have_if_nameindex=no
16822 rm -f core conftest.err conftest.$ac_objext \
16823 conftest$ac_exeext conftest.$ac_ext
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16826 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16827 if test "$wine_cv_have_if_nameindex" = "yes"
16828 then
16830 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16835 $as_echo_n "checking for sigaddset... " >&6; }
16836 if ${wine_cv_have_sigaddset+:} false; then :
16837 $as_echo_n "(cached) " >&6
16838 else
16839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16840 /* end confdefs.h. */
16841 #include <signal.h>
16843 main ()
16845 sigset_t set; sigaddset(&set,SIGTERM);
16847 return 0;
16849 _ACEOF
16850 if ac_fn_c_try_link "$LINENO"; then :
16851 wine_cv_have_sigaddset=yes
16852 else
16853 wine_cv_have_sigaddset=no
16855 rm -f core conftest.err conftest.$ac_objext \
16856 conftest$ac_exeext conftest.$ac_ext
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16859 $as_echo "$wine_cv_have_sigaddset" >&6; }
16860 if test "$wine_cv_have_sigaddset" = "yes"
16861 then
16863 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16869 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16870 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16871 $as_echo_n "(cached) " >&6
16872 else
16873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16874 /* end confdefs.h. */
16875 #include <netdb.h>
16877 main ()
16880 char *name=0;
16881 struct hostent he;
16882 struct hostent *result;
16883 char *buf=0;
16884 int bufsize=0;
16885 int errnr;
16886 char *addr=0;
16887 int addrlen=0;
16888 int addrtype=0;
16889 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16890 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16893 return 0;
16895 _ACEOF
16896 if ac_fn_c_try_link "$LINENO"; then :
16897 wine_cv_linux_gethostbyname_r_6=yes
16898 else
16899 wine_cv_linux_gethostbyname_r_6=no
16902 rm -f core conftest.err conftest.$ac_objext \
16903 conftest$ac_exeext conftest.$ac_ext
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16907 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16908 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16909 then
16911 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16915 if test "$ac_cv_header_linux_joystick_h" = "yes"
16916 then
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16918 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16919 if ${wine_cv_linux_joystick_22_api+:} false; then :
16920 $as_echo_n "(cached) " >&6
16921 else
16922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16923 /* end confdefs.h. */
16925 #include <sys/ioctl.h>
16926 #include <sys/types.h>
16927 #include <linux/joystick.h>
16929 struct js_event blub;
16930 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16931 #error "no 2.2 header"
16932 #endif
16935 main ()
16937 /*empty*/
16939 return 0;
16941 _ACEOF
16942 if ac_fn_c_try_compile "$LINENO"; then :
16943 wine_cv_linux_joystick_22_api=yes
16944 else
16945 wine_cv_linux_joystick_22_api=no
16947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16951 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16952 if test "$wine_cv_linux_joystick_22_api" = "yes"
16953 then
16955 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16961 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16962 #ifdef HAVE_SYS_PARAM_H
16963 # include <sys/param.h>
16964 #endif
16965 #ifdef HAVE_SYS_MOUNT_H
16966 # include <sys/mount.h>
16967 #endif
16968 #ifdef HAVE_SYS_VFS_H
16969 # include <sys/vfs.h>
16970 #endif
16971 #ifdef HAVE_SYS_STATFS_H
16972 # include <sys/statfs.h>
16973 #endif
16975 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16977 cat >>confdefs.h <<_ACEOF
16978 #define HAVE_STRUCT_STATFS_F_BFREE 1
16979 _ACEOF
16983 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16984 #ifdef HAVE_SYS_PARAM_H
16985 # include <sys/param.h>
16986 #endif
16987 #ifdef HAVE_SYS_MOUNT_H
16988 # include <sys/mount.h>
16989 #endif
16990 #ifdef HAVE_SYS_VFS_H
16991 # include <sys/vfs.h>
16992 #endif
16993 #ifdef HAVE_SYS_STATFS_H
16994 # include <sys/statfs.h>
16995 #endif
16997 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16999 cat >>confdefs.h <<_ACEOF
17000 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17001 _ACEOF
17005 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17006 #ifdef HAVE_SYS_PARAM_H
17007 # include <sys/param.h>
17008 #endif
17009 #ifdef HAVE_SYS_MOUNT_H
17010 # include <sys/mount.h>
17011 #endif
17012 #ifdef HAVE_SYS_VFS_H
17013 # include <sys/vfs.h>
17014 #endif
17015 #ifdef HAVE_SYS_STATFS_H
17016 # include <sys/statfs.h>
17017 #endif
17019 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17021 cat >>confdefs.h <<_ACEOF
17022 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17023 _ACEOF
17027 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17028 #ifdef HAVE_SYS_PARAM_H
17029 # include <sys/param.h>
17030 #endif
17031 #ifdef HAVE_SYS_MOUNT_H
17032 # include <sys/mount.h>
17033 #endif
17034 #ifdef HAVE_SYS_VFS_H
17035 # include <sys/vfs.h>
17036 #endif
17037 #ifdef HAVE_SYS_STATFS_H
17038 # include <sys/statfs.h>
17039 #endif
17041 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17043 cat >>confdefs.h <<_ACEOF
17044 #define HAVE_STRUCT_STATFS_F_FFREE 1
17045 _ACEOF
17049 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17050 #ifdef HAVE_SYS_PARAM_H
17051 # include <sys/param.h>
17052 #endif
17053 #ifdef HAVE_SYS_MOUNT_H
17054 # include <sys/mount.h>
17055 #endif
17056 #ifdef HAVE_SYS_VFS_H
17057 # include <sys/vfs.h>
17058 #endif
17059 #ifdef HAVE_SYS_STATFS_H
17060 # include <sys/statfs.h>
17061 #endif
17063 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17065 cat >>confdefs.h <<_ACEOF
17066 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17067 _ACEOF
17071 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17072 #ifdef HAVE_SYS_PARAM_H
17073 # include <sys/param.h>
17074 #endif
17075 #ifdef HAVE_SYS_MOUNT_H
17076 # include <sys/mount.h>
17077 #endif
17078 #ifdef HAVE_SYS_VFS_H
17079 # include <sys/vfs.h>
17080 #endif
17081 #ifdef HAVE_SYS_STATFS_H
17082 # include <sys/statfs.h>
17083 #endif
17085 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17087 cat >>confdefs.h <<_ACEOF
17088 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17089 _ACEOF
17095 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17096 #include <sys/statvfs.h>
17097 #endif
17099 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17101 cat >>confdefs.h <<_ACEOF
17102 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17103 _ACEOF
17109 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17110 #include <dirent.h>
17111 #endif
17113 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17115 cat >>confdefs.h <<_ACEOF
17116 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17117 _ACEOF
17123 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17124 #ifdef HAVE_SYS_SOCKET_H
17125 # include <sys/socket.h>
17126 #endif
17127 #ifdef HAVE_SYS_UN_H
17128 # include <sys/un.h>
17129 #endif
17131 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17133 cat >>confdefs.h <<_ACEOF
17134 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17135 _ACEOF
17139 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17140 #ifdef HAVE_SYS_SOCKET_H
17141 # include <sys/socket.h>
17142 #endif
17143 #ifdef HAVE_SYS_UN_H
17144 # include <sys/un.h>
17145 #endif
17147 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17149 cat >>confdefs.h <<_ACEOF
17150 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17151 _ACEOF
17155 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17156 #ifdef HAVE_SYS_SOCKET_H
17157 # include <sys/socket.h>
17158 #endif
17159 #ifdef HAVE_SYS_UN_H
17160 # include <sys/un.h>
17161 #endif
17163 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17165 cat >>confdefs.h <<_ACEOF
17166 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17167 _ACEOF
17173 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17174 #ifdef HAVE_SCSI_SG_H
17175 #include <scsi/sg.h>
17176 #endif
17178 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17180 cat >>confdefs.h <<_ACEOF
17181 #define HAVE_SCSIREQ_T_CMD 1
17182 _ACEOF
17186 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>
17187 #ifdef HAVE_SCSI_SG_H
17188 #include <scsi/sg.h>
17189 #endif
17191 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17193 cat >>confdefs.h <<_ACEOF
17194 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17195 _ACEOF
17201 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17203 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17205 cat >>confdefs.h <<_ACEOF
17206 #define HAVE_SIGINFO_T_SI_FD 1
17207 _ACEOF
17213 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17214 #ifdef HAVE_SYS_MTIO_H
17215 #include <sys/mtio.h>
17216 #endif
17218 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17220 cat >>confdefs.h <<_ACEOF
17221 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17222 _ACEOF
17226 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17227 #ifdef HAVE_SYS_MTIO_H
17228 #include <sys/mtio.h>
17229 #endif
17231 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17233 cat >>confdefs.h <<_ACEOF
17234 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17235 _ACEOF
17239 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17240 #ifdef HAVE_SYS_MTIO_H
17241 #include <sys/mtio.h>
17242 #endif
17244 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17246 cat >>confdefs.h <<_ACEOF
17247 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17248 _ACEOF
17254 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17255 #include <getopt.h>
17256 #endif
17258 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17260 cat >>confdefs.h <<_ACEOF
17261 #define HAVE_STRUCT_OPTION_NAME 1
17262 _ACEOF
17268 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17269 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17271 cat >>confdefs.h <<_ACEOF
17272 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17273 _ACEOF
17277 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17278 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17280 cat >>confdefs.h <<_ACEOF
17281 #define HAVE_STRUCT_STAT_ST_MTIM 1
17282 _ACEOF
17286 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17287 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17289 cat >>confdefs.h <<_ACEOF
17290 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17291 _ACEOF
17295 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17296 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17298 cat >>confdefs.h <<_ACEOF
17299 #define HAVE_STRUCT_STAT_ST_CTIM 1
17300 _ACEOF
17304 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17305 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17307 cat >>confdefs.h <<_ACEOF
17308 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17309 _ACEOF
17313 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17314 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17316 cat >>confdefs.h <<_ACEOF
17317 #define HAVE_STRUCT_STAT_ST_ATIM 1
17318 _ACEOF
17322 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17323 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17325 cat >>confdefs.h <<_ACEOF
17326 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17327 _ACEOF
17331 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17332 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17334 cat >>confdefs.h <<_ACEOF
17335 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17336 _ACEOF
17340 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17341 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17343 cat >>confdefs.h <<_ACEOF
17344 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17345 _ACEOF
17349 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17350 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17352 cat >>confdefs.h <<_ACEOF
17353 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17354 _ACEOF
17358 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17359 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17361 cat >>confdefs.h <<_ACEOF
17362 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17363 _ACEOF
17367 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17368 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17370 cat >>confdefs.h <<_ACEOF
17371 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17372 _ACEOF
17378 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
17379 #include <sys/types.h>
17380 #endif
17381 #ifdef HAVE_NETINET_IN_H
17382 #include <netinet/in.h>
17383 #endif
17385 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17387 cat >>confdefs.h <<_ACEOF
17388 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17389 _ACEOF
17395 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17396 #include <sys/types.h>
17397 #endif
17398 #ifdef HAVE_NETINET_IN_H
17399 #include <netinet/in.h>
17400 #endif
17401 #ifdef HAVE_RESOLV_H
17402 #include <resolv.h>
17403 #endif
17405 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17407 cat >>confdefs.h <<_ACEOF
17408 #define HAVE_STRUCT___RES_STATE 1
17409 _ACEOF
17415 ac_fn_c_check_member "$LINENO" "struct __res_state" "_u._ext.nscount6" "ac_cv_member_struct___res_state__u__ext_nscount6" "#ifdef HAVE_RESOLV_H
17416 #include <resolv.h>
17417 #endif
17419 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17421 cat >>confdefs.h <<_ACEOF
17422 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17423 _ACEOF
17429 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17430 #include <sys/types.h>
17431 #endif
17432 #ifdef HAVE_NETINET_IN_H
17433 # include <netinet/in.h>
17434 #endif
17435 #ifdef HAVE_ARPA_NAMESER_H
17436 # include <arpa/nameser.h>
17437 #endif
17439 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17441 cat >>confdefs.h <<_ACEOF
17442 #define HAVE_NS_MSG__MSG_PTR 1
17443 _ACEOF
17449 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17450 #include <sys/types.h>
17451 #endif
17452 #ifdef HAVE_NETINET_IN_H
17453 #include <netinet/in.h>
17454 #endif
17455 #ifdef HAVE_NETINET_IP_H
17456 #include <netinet/ip.h>
17457 #endif
17458 #ifdef HAVE_NETINET_IP_ICMP_H
17459 #include <netinet/ip_icmp.h>
17460 #endif
17461 #ifdef HAVE_NETINET_ICMP_VAR_H
17462 #include <netinet/icmp_var.h>
17463 #endif
17465 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17467 cat >>confdefs.h <<_ACEOF
17468 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17469 _ACEOF
17475 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17476 #include <sys/types.h>
17477 #endif
17478 #ifdef HAVE_ALIAS_H
17479 #include <alias.h>
17480 #endif
17481 #ifdef HAVE_SYS_SOCKET_H
17482 #include <sys/socket.h>
17483 #endif
17484 #ifdef HAVE_SYS_SOCKETVAR_H
17485 #include <sys/socketvar.h>
17486 #endif
17487 #ifdef HAVE_SYS_TIMEOUT_H
17488 #include <sys/timeout.h>
17489 #endif
17490 #ifdef HAVE_NETINET_IN_H
17491 #include <netinet/in.h>
17492 #endif
17493 #ifdef HAVE_NETINET_IN_SYSTM_H
17494 #include <netinet/in_systm.h>
17495 #endif
17496 #ifdef HAVE_NETINET_IP_H
17497 #include <netinet/ip.h>
17498 #endif
17499 #ifdef HAVE_NETINET_IP_VAR_H
17500 #include <netinet/ip_var.h>
17501 #endif
17502 #ifdef HAVE_NETINET_IP_ICMP_H
17503 #include <netinet/ip_icmp.h>
17504 #endif
17505 #ifdef HAVE_NETINET_ICMP_VAR_H
17506 #include <netinet/icmp_var.h>
17507 #endif
17509 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17511 cat >>confdefs.h <<_ACEOF
17512 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17513 _ACEOF
17519 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17520 #include <sys/types.h>
17521 #endif
17522 #ifdef HAVE_SYS_SOCKETVAR_H
17523 #include <sys/socketvar.h>
17524 #endif
17525 #ifdef HAVE_NETINET_IN_H
17526 #include <netinet/in.h>
17527 #endif
17528 #ifdef HAVE_NETINET_IP_VAR_H
17529 #include <netinet/ip_var.h>
17530 #endif
17532 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17534 cat >>confdefs.h <<_ACEOF
17535 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17536 _ACEOF
17542 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
17543 #include <netinet/ip_var.h>
17544 #endif
17546 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17548 cat >>confdefs.h <<_ACEOF
17549 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17550 _ACEOF
17556 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17557 #include <sys/types.h>
17558 #endif
17559 #ifdef HAVE_SYS_SOCKETVAR_H
17560 #include <sys/socketvar.h>
17561 #endif
17562 #ifdef HAVE_NETINET_IN_H
17563 #include <netinet/in.h>
17564 #endif
17565 #ifdef HAVE_NETINET_TCP_H
17566 #include <netinet/tcp.h>
17567 #endif
17568 #ifdef HAVE_NETINET_TCP_VAR_H
17569 #include <netinet/tcp_var.h>
17570 #endif
17572 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17574 cat >>confdefs.h <<_ACEOF
17575 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17576 _ACEOF
17582 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
17583 #include <netinet/tcp_var.h>
17584 #endif
17586 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17588 cat >>confdefs.h <<_ACEOF
17589 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17590 _ACEOF
17596 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17597 #include <sys/types.h>
17598 #endif
17599 #ifdef HAVE_NETINET_IN_H
17600 #include <netinet/in.h>
17601 #endif
17602 #ifdef HAVE_NETINET_IP_VAR_H
17603 #include <netinet/ip_var.h>
17604 #endif
17605 #ifdef HAVE_NETINET_UDP_H
17606 #include <netinet/udp.h>
17607 #endif
17608 #ifdef HAVE_NETINET_UDP_VAR_H
17609 #include <netinet/udp_var.h>
17610 #endif
17612 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17614 cat >>confdefs.h <<_ACEOF
17615 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17616 _ACEOF
17622 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17623 #include <sys/types.h>
17624 #endif
17625 #ifdef HAVE_NET_IF_H
17626 # include <net/if.h>
17627 #endif
17629 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17631 cat >>confdefs.h <<_ACEOF
17632 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17633 _ACEOF
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17640 $as_echo_n "checking for timezone variable... " >&6; }
17641 if ${ac_cv_have_timezone+:} false; then :
17642 $as_echo_n "(cached) " >&6
17643 else
17644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17645 /* end confdefs.h. */
17646 #include <time.h>
17648 main ()
17650 timezone = 1
17652 return 0;
17654 _ACEOF
17655 if ac_fn_c_try_link "$LINENO"; then :
17656 ac_cv_have_timezone="yes"
17657 else
17658 ac_cv_have_timezone="no"
17660 rm -f core conftest.err conftest.$ac_objext \
17661 conftest$ac_exeext conftest.$ac_ext
17663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17664 $as_echo "$ac_cv_have_timezone" >&6; }
17665 if test "$ac_cv_have_timezone" = "yes"
17666 then
17668 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17672 $as_echo_n "checking for daylight variable... " >&6; }
17673 if ${ac_cv_have_daylight+:} false; then :
17674 $as_echo_n "(cached) " >&6
17675 else
17676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17677 /* end confdefs.h. */
17678 #include <time.h>
17680 main ()
17682 daylight = 1
17684 return 0;
17686 _ACEOF
17687 if ac_fn_c_try_link "$LINENO"; then :
17688 ac_cv_have_daylight="yes"
17689 else
17690 ac_cv_have_daylight="no"
17692 rm -f core conftest.err conftest.$ac_objext \
17693 conftest$ac_exeext conftest.$ac_ext
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17696 $as_echo "$ac_cv_have_daylight" >&6; }
17697 if test "$ac_cv_have_daylight" = "yes"
17698 then
17700 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17704 ac_save_LIBS="$LIBS"
17705 LIBS="$LIBS -lm"
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17707 $as_echo_n "checking for isfinite... " >&6; }
17708 if ${ac_cv_have_isfinite+:} false; then :
17709 $as_echo_n "(cached) " >&6
17710 else
17711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17712 /* end confdefs.h. */
17713 #define _GNU_SOURCE
17714 #include <math.h>
17716 main ()
17718 float f = 0.0; return isfinite(f)
17720 return 0;
17722 _ACEOF
17723 if ac_fn_c_try_link "$LINENO"; then :
17724 ac_cv_have_isfinite="yes"
17725 else
17726 ac_cv_have_isfinite="no"
17728 rm -f core conftest.err conftest.$ac_objext \
17729 conftest$ac_exeext conftest.$ac_ext
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17732 $as_echo "$ac_cv_have_isfinite" >&6; }
17733 if test "$ac_cv_have_isfinite" = "yes"
17734 then
17736 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17741 $as_echo_n "checking for isinf... " >&6; }
17742 if ${ac_cv_have_isinf+:} false; then :
17743 $as_echo_n "(cached) " >&6
17744 else
17745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17746 /* end confdefs.h. */
17747 #include <math.h>
17749 main ()
17751 float f = 0.0; return isinf(f)
17753 return 0;
17755 _ACEOF
17756 if ac_fn_c_try_link "$LINENO"; then :
17757 ac_cv_have_isinf="yes"
17758 else
17759 ac_cv_have_isinf="no"
17761 rm -f core conftest.err conftest.$ac_objext \
17762 conftest$ac_exeext conftest.$ac_ext
17764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17765 $as_echo "$ac_cv_have_isinf" >&6; }
17766 if test "$ac_cv_have_isinf" = "yes"
17767 then
17769 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17774 $as_echo_n "checking for isnan... " >&6; }
17775 if ${ac_cv_have_isnan+:} false; then :
17776 $as_echo_n "(cached) " >&6
17777 else
17778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17779 /* end confdefs.h. */
17780 #include <math.h>
17782 main ()
17784 float f = 0.0; return isnan(f)
17786 return 0;
17788 _ACEOF
17789 if ac_fn_c_try_link "$LINENO"; then :
17790 ac_cv_have_isnan="yes"
17791 else
17792 ac_cv_have_isnan="no"
17794 rm -f core conftest.err conftest.$ac_objext \
17795 conftest$ac_exeext conftest.$ac_ext
17797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17798 $as_echo "$ac_cv_have_isnan" >&6; }
17799 if test "$ac_cv_have_isnan" = "yes"
17800 then
17802 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17806 for ac_func in \
17807 acosh \
17808 acoshf \
17809 asinh \
17810 asinhf \
17811 atanh \
17812 atanhf \
17813 cbrt \
17814 cbrtf \
17815 erf \
17816 erfc \
17817 erfcf \
17818 erff \
17819 exp2 \
17820 exp2f \
17821 expm1 \
17822 expm1f \
17823 j0 \
17824 j1 \
17825 jn \
17826 lgamma \
17827 lgammaf \
17828 llrint \
17829 llrintf \
17830 llround \
17831 llroundf \
17832 log1p \
17833 log1pf \
17834 log2 \
17835 log2f \
17836 lrint \
17837 lrintf \
17838 lround \
17839 lroundf \
17840 nearbyint \
17841 nearbyintf \
17842 powl \
17843 remainder \
17844 remainderf \
17845 rint \
17846 rintf \
17847 round \
17848 roundf \
17849 trunc \
17850 truncf \
17851 y0 \
17852 y1 \
17855 do :
17856 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17857 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17858 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17859 cat >>confdefs.h <<_ACEOF
17860 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17861 _ACEOF
17864 done
17866 LIBS="$ac_save_LIBS"
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17869 $as_echo_n "checking for __builtin_clz... " >&6; }
17870 if ${ac_cv_have___builtin_clz+:} false; then :
17871 $as_echo_n "(cached) " >&6
17872 else
17873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17874 /* end confdefs.h. */
17877 main ()
17879 return __builtin_clz(1)
17881 return 0;
17883 _ACEOF
17884 if ac_fn_c_try_link "$LINENO"; then :
17885 ac_cv_have___builtin_clz="yes"
17886 else
17887 ac_cv_have___builtin_clz="no"
17889 rm -f core conftest.err conftest.$ac_objext \
17890 conftest$ac_exeext conftest.$ac_ext
17892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17893 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17894 if test "$ac_cv_have___builtin_clz" = "yes"
17895 then
17897 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17902 $as_echo_n "checking for __builtin_popcount... " >&6; }
17903 if ${ac_cv_have___builtin_popcount+:} false; then :
17904 $as_echo_n "(cached) " >&6
17905 else
17906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17907 /* end confdefs.h. */
17910 main ()
17912 return __builtin_popcount(1)
17914 return 0;
17916 _ACEOF
17917 if ac_fn_c_try_link "$LINENO"; then :
17918 ac_cv_have___builtin_popcount="yes"
17919 else
17920 ac_cv_have___builtin_popcount="no"
17922 rm -f core conftest.err conftest.$ac_objext \
17923 conftest$ac_exeext conftest.$ac_ext
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17926 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17927 if test "$ac_cv_have___builtin_popcount" = "yes"
17928 then
17930 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17935 $as_echo_n "checking for __clear_cache... " >&6; }
17936 if ${ac_cv_have___clear_cache+:} false; then :
17937 $as_echo_n "(cached) " >&6
17938 else
17939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17940 /* end confdefs.h. */
17943 main ()
17945 __clear_cache((void*)0, (void*)0); return 0;
17947 return 0;
17949 _ACEOF
17950 if ac_fn_c_try_link "$LINENO"; then :
17951 ac_cv_have___clear_cache="yes"
17952 else
17953 ac_cv_have___clear_cache="no"
17955 rm -f core conftest.err conftest.$ac_objext \
17956 conftest$ac_exeext conftest.$ac_ext
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17959 $as_echo "$ac_cv_have___clear_cache" >&6; }
17960 if test "$ac_cv_have___clear_cache" = "yes"
17961 then
17963 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17968 case $host_cpu in
17969 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17970 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17971 if ${ac_cv_cpp_def___i386__+:} false; then :
17972 $as_echo_n "(cached) " >&6
17973 else
17974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17975 /* end confdefs.h. */
17976 #ifndef __i386__
17978 #endif
17979 _ACEOF
17980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17981 $EGREP "yes" >/dev/null 2>&1; then :
17982 ac_cv_cpp_def___i386__=yes
17983 else
17984 ac_cv_cpp_def___i386__=no
17986 rm -f conftest*
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17990 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17991 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17992 CFLAGS="$CFLAGS -D__i386__"
17993 LINTFLAGS="$LINTFLAGS -D__i386__"
17994 fi ;;
17995 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17996 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17997 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17998 $as_echo_n "(cached) " >&6
17999 else
18000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18001 /* end confdefs.h. */
18002 #ifndef __x86_64__
18004 #endif
18005 _ACEOF
18006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18007 $EGREP "yes" >/dev/null 2>&1; then :
18008 ac_cv_cpp_def___x86_64__=yes
18009 else
18010 ac_cv_cpp_def___x86_64__=no
18012 rm -f conftest*
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18016 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18017 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18018 CFLAGS="$CFLAGS -D__x86_64__"
18019 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18020 fi ;;
18021 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18022 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18023 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18024 $as_echo_n "(cached) " >&6
18025 else
18026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18027 /* end confdefs.h. */
18028 #ifndef __sparc64__
18030 #endif
18031 _ACEOF
18032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18033 $EGREP "yes" >/dev/null 2>&1; then :
18034 ac_cv_cpp_def___sparc64__=yes
18035 else
18036 ac_cv_cpp_def___sparc64__=no
18038 rm -f conftest*
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18042 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18043 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18044 CFLAGS="$CFLAGS -D__sparc64__"
18045 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18046 fi ;;
18047 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18048 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18049 if ${ac_cv_cpp_def___sparc__+:} false; then :
18050 $as_echo_n "(cached) " >&6
18051 else
18052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18053 /* end confdefs.h. */
18054 #ifndef __sparc__
18056 #endif
18057 _ACEOF
18058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18059 $EGREP "yes" >/dev/null 2>&1; then :
18060 ac_cv_cpp_def___sparc__=yes
18061 else
18062 ac_cv_cpp_def___sparc__=no
18064 rm -f conftest*
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18068 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18069 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18070 CFLAGS="$CFLAGS -D__sparc__"
18071 LINTFLAGS="$LINTFLAGS -D__sparc__"
18072 fi ;;
18073 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18074 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18075 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18076 $as_echo_n "(cached) " >&6
18077 else
18078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18079 /* end confdefs.h. */
18080 #ifndef __powerpc64__
18082 #endif
18083 _ACEOF
18084 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18085 $EGREP "yes" >/dev/null 2>&1; then :
18086 ac_cv_cpp_def___powerpc64__=yes
18087 else
18088 ac_cv_cpp_def___powerpc64__=no
18090 rm -f conftest*
18093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18094 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18095 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18096 CFLAGS="$CFLAGS -D__powerpc64__"
18097 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18098 fi ;;
18099 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18100 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18101 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18102 $as_echo_n "(cached) " >&6
18103 else
18104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18105 /* end confdefs.h. */
18106 #ifndef __powerpc__
18108 #endif
18109 _ACEOF
18110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18111 $EGREP "yes" >/dev/null 2>&1; then :
18112 ac_cv_cpp_def___powerpc__=yes
18113 else
18114 ac_cv_cpp_def___powerpc__=no
18116 rm -f conftest*
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18120 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18121 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18122 CFLAGS="$CFLAGS -D__powerpc__"
18123 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18124 fi ;;
18125 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18126 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18127 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18128 $as_echo_n "(cached) " >&6
18129 else
18130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18131 /* end confdefs.h. */
18132 #ifndef __aarch64__
18134 #endif
18135 _ACEOF
18136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18137 $EGREP "yes" >/dev/null 2>&1; then :
18138 ac_cv_cpp_def___aarch64__=yes
18139 else
18140 ac_cv_cpp_def___aarch64__=no
18142 rm -f conftest*
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18146 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18147 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18148 CFLAGS="$CFLAGS -D__aarch64__"
18149 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18150 fi ;;
18151 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18152 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18153 if ${ac_cv_cpp_def___arm__+:} false; then :
18154 $as_echo_n "(cached) " >&6
18155 else
18156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18157 /* end confdefs.h. */
18158 #ifndef __arm__
18160 #endif
18161 _ACEOF
18162 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18163 $EGREP "yes" >/dev/null 2>&1; then :
18164 ac_cv_cpp_def___arm__=yes
18165 else
18166 ac_cv_cpp_def___arm__=no
18168 rm -f conftest*
18171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18172 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18173 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18174 CFLAGS="$CFLAGS -D__arm__"
18175 LINTFLAGS="$LINTFLAGS -D__arm__"
18176 fi ;;
18177 esac
18179 case $host_vendor in
18180 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18181 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18182 if ${ac_cv_cpp_def___sun__+:} false; then :
18183 $as_echo_n "(cached) " >&6
18184 else
18185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18186 /* end confdefs.h. */
18187 #ifndef __sun__
18189 #endif
18190 _ACEOF
18191 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18192 $EGREP "yes" >/dev/null 2>&1; then :
18193 ac_cv_cpp_def___sun__=yes
18194 else
18195 ac_cv_cpp_def___sun__=no
18197 rm -f conftest*
18200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18201 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18202 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18203 CFLAGS="$CFLAGS -D__sun__"
18204 LINTFLAGS="$LINTFLAGS -D__sun__"
18205 fi ;;
18206 esac
18212 ac_config_commands="$ac_config_commands include/stamp-h"
18214 $as_echo_n "creating Makefile rules..." >&6
18216 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18217 SOCKET_LIBS = $SOCKET_LIBS
18218 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18219 IOKIT_LIBS = $IOKIT_LIBS
18220 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18221 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18222 CORESERVICES_LIBS = $CORESERVICES_LIBS
18223 APPKIT_LIBS = $APPKIT_LIBS
18224 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18225 SECURITY_LIBS = $SECURITY_LIBS
18226 COREAUDIO_LIBS = $COREAUDIO_LIBS
18227 OPENAL_LIBS = $OPENAL_LIBS
18228 OPENCL_LIBS = $OPENCL_LIBS
18229 QUICKTIME_LIBS = $QUICKTIME_LIBS
18230 CARBON_LIBS = $CARBON_LIBS
18231 PTHREAD_LIBS = $PTHREAD_LIBS
18232 X_CFLAGS = $X_CFLAGS
18233 X_PRE_LIBS = $X_PRE_LIBS
18234 X_LIBS = $X_LIBS
18235 X_EXTRA_LIBS = $X_EXTRA_LIBS
18236 PCAP_LIBS = $PCAP_LIBS
18237 XML2_CFLAGS = $XML2_CFLAGS
18238 XML2_LIBS = $XML2_LIBS
18239 XSLT_CFLAGS = $XSLT_CFLAGS
18240 XSLT_LIBS = $XSLT_LIBS
18241 DBUS_CFLAGS = $DBUS_CFLAGS
18242 DBUS_LIBS = $DBUS_LIBS
18243 HAL_CFLAGS = $HAL_CFLAGS
18244 HAL_LIBS = $HAL_LIBS
18245 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18246 GNUTLS_LIBS = $GNUTLS_LIBS
18247 SANE_CFLAGS = $SANE_CFLAGS
18248 SANE_LIBS = $SANE_LIBS
18249 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18250 GPHOTO2_LIBS = $GPHOTO2_LIBS
18251 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18252 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18253 RESOLV_LIBS = $RESOLV_LIBS
18254 LCMS2_CFLAGS = $LCMS2_CFLAGS
18255 LCMS2_LIBS = $LCMS2_LIBS
18256 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18257 FREETYPE_LIBS = $FREETYPE_LIBS
18258 Z_LIBS = $Z_LIBS
18259 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18260 PULSE_CFLAGS = $PULSE_CFLAGS
18261 PULSE_LIBS = $PULSE_LIBS
18262 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18263 GSTREAMER_LIBS = $GSTREAMER_LIBS
18264 ALSA_LIBS = $ALSA_LIBS
18265 OSS4_CFLAGS = $OSS4_CFLAGS
18266 UDEV_CFLAGS = $UDEV_CFLAGS
18267 UDEV_LIBS = $UDEV_LIBS
18268 SDL2_CFLAGS = $SDL2_CFLAGS
18269 SDL2_LIBS = $SDL2_LIBS
18270 CAPI20_CFLAGS = $CAPI20_CFLAGS
18271 CAPI20_LIBS = $CAPI20_LIBS
18272 CUPS_CFLAGS = $CUPS_CFLAGS
18273 CUPS_LIBS = $CUPS_LIBS
18274 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18275 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18276 KRB5_CFLAGS = $KRB5_CFLAGS
18277 KRB5_LIBS = $KRB5_LIBS
18278 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18279 GSSAPI_LIBS = $GSSAPI_LIBS
18280 JPEG_CFLAGS = $JPEG_CFLAGS
18281 JPEG_LIBS = $JPEG_LIBS
18282 PNG_CFLAGS = $PNG_CFLAGS
18283 PNG_LIBS = $PNG_LIBS
18284 TIFF_CFLAGS = $TIFF_CFLAGS
18285 TIFF_LIBS = $TIFF_LIBS
18286 MPG123_CFLAGS = $MPG123_CFLAGS
18287 MPG123_LIBS = $MPG123_LIBS
18288 KSTAT_LIBS = $KSTAT_LIBS
18289 PROCSTAT_LIBS = $PROCSTAT_LIBS
18290 NETAPI_CFLAGS = $NETAPI_CFLAGS
18291 NETAPI_LIBS = $NETAPI_LIBS
18292 VKD3D_CFLAGS = $VKD3D_CFLAGS
18293 VKD3D_LIBS = $VKD3D_LIBS
18294 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18295 DL_LIBS = $DL_LIBS
18296 POLL_LIBS = $POLL_LIBS
18297 RT_LIBS = $RT_LIBS
18298 LDAP_CFLAGS = $LDAP_CFLAGS
18299 LDAP_LIBS = $LDAP_LIBS
18304 wine_fn_append_rule "
18305 # Rules automatically generated by configure
18307 .INIT: Makefile
18308 .MAKEFILEDEPS:
18309 all: Makefile
18310 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18311 @./config.status Make.tmp Makefile
18312 depend: \$(MAKEDEP) dummy
18313 \$(MAKEDEP)"
18315 if test "x$enable_fonts" != xno; then
18316 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18317 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18318 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18319 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18320 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18321 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18323 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18324 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18325 ac_config_links="$ac_config_links wine:tools/winewrapper"
18326 wine_fn_config_symlink wine
18327 if test "x$enable_win64" != xno; then
18328 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18329 wine_fn_config_symlink wine64
18332 wine_fn_config_makefile dlls/acledit enable_acledit
18333 wine_fn_config_makefile dlls/aclui enable_aclui
18334 wine_fn_config_makefile dlls/activeds enable_activeds
18335 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18336 wine_fn_config_makefile dlls/adsiid enable_adsiid
18337 wine_fn_config_makefile dlls/adsldp enable_adsldp
18338 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18339 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18340 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18341 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18342 wine_fn_config_makefile dlls/advpack enable_advpack
18343 wine_fn_config_makefile dlls/advpack/tests enable_tests
18344 wine_fn_config_makefile dlls/amstream enable_amstream
18345 wine_fn_config_makefile dlls/amstream/tests enable_tests
18346 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18347 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18348 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18349 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18350 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18351 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18352 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18353 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18354 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18355 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18356 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18357 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18358 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18359 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18360 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18361 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18362 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18363 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18364 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18365 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18366 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18367 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18368 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18369 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18370 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18371 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18372 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18373 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18374 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18375 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18376 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18377 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18378 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18379 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18380 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18381 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18382 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18383 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18384 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18385 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18386 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18387 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18388 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18389 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18390 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18391 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18392 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18393 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18394 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
18395 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18396 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18397 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18398 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18399 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18400 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18401 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18402 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18403 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18404 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18405 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18406 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18407 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18408 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18409 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18410 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18411 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18412 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18413 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18414 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18415 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18416 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18417 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18418 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18419 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18420 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18421 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18422 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18423 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18424 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18425 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18426 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18427 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18428 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18429 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18430 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18431 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18432 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18433 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18434 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18435 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18436 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18437 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18438 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18439 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18440 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18441 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18442 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18443 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18444 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18445 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18446 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18447 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18448 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18449 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18450 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18451 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18452 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18453 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18454 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18455 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18456 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18457 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18458 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18459 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18460 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18461 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18462 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18463 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18464 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18465 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18466 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18467 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18468 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18469 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18470 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18471 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18472 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18473 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18474 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18475 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18476 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18477 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18478 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18479 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18480 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18481 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18482 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18483 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18484 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18485 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18486 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18487 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18488 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18489 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18490 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18491 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18492 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18493 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18494 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18495 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18496 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18497 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18498 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18499 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18500 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18501 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18502 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18503 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18504 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18505 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18506 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18507 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18508 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18509 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
18510 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18511 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18512 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18513 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18514 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18515 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18516 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18517 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18518 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18519 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
18520 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18521 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
18522 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
18523 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
18524 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
18525 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
18526 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18527 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18528 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18529 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18530 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18531 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18532 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18533 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18534 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18535 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18536 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18537 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18538 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18539 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18540 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18541 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18542 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18543 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18544 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18545 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18546 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18547 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18548 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
18549 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18550 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
18551 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
18552 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18553 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18554 wine_fn_config_makefile dlls/apphelp enable_apphelp
18555 wine_fn_config_makefile dlls/apphelp/tests enable_tests
18556 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
18557 wine_fn_config_makefile dlls/atl enable_atl
18558 wine_fn_config_makefile dlls/atl/tests enable_tests
18559 wine_fn_config_makefile dlls/atl100 enable_atl100
18560 wine_fn_config_makefile dlls/atl100/tests enable_tests
18561 wine_fn_config_makefile dlls/atl110 enable_atl110
18562 wine_fn_config_makefile dlls/atl80 enable_atl80
18563 wine_fn_config_makefile dlls/atl80/tests enable_tests
18564 wine_fn_config_makefile dlls/atl90 enable_atl90
18565 wine_fn_config_makefile dlls/atmlib enable_atmlib
18566 wine_fn_config_makefile dlls/authz enable_authz
18567 wine_fn_config_makefile dlls/avicap32 enable_avicap32
18568 wine_fn_config_makefile dlls/avifil32 enable_avifil32
18569 wine_fn_config_makefile dlls/avifil32/tests enable_tests
18570 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
18571 wine_fn_config_makefile dlls/avrt enable_avrt
18572 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
18573 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
18574 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
18575 wine_fn_config_makefile dlls/browseui enable_browseui
18576 wine_fn_config_makefile dlls/browseui/tests enable_tests
18577 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
18578 wine_fn_config_makefile dlls/cabinet enable_cabinet
18579 wine_fn_config_makefile dlls/cabinet/tests enable_tests
18580 wine_fn_config_makefile dlls/capi2032 enable_capi2032
18581 wine_fn_config_makefile dlls/cards enable_cards
18582 wine_fn_config_makefile dlls/cdosys enable_cdosys
18583 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
18584 wine_fn_config_makefile dlls/clusapi enable_clusapi
18585 wine_fn_config_makefile dlls/combase enable_combase
18586 wine_fn_config_makefile dlls/combase/tests enable_tests
18587 wine_fn_config_makefile dlls/comcat enable_comcat
18588 wine_fn_config_makefile dlls/comcat/tests enable_tests
18589 wine_fn_config_makefile dlls/comctl32 enable_comctl32
18590 wine_fn_config_makefile dlls/comctl32/tests enable_tests
18591 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
18592 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
18593 wine_fn_config_makefile dlls/comm.drv16 enable_win16
18594 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
18595 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
18596 wine_fn_config_makefile dlls/compstui enable_compstui
18597 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
18598 wine_fn_config_makefile dlls/concrt140 enable_concrt140
18599 wine_fn_config_makefile dlls/connect enable_connect
18600 wine_fn_config_makefile dlls/credui enable_credui
18601 wine_fn_config_makefile dlls/credui/tests enable_tests
18602 wine_fn_config_makefile dlls/crtdll enable_crtdll
18603 wine_fn_config_makefile dlls/crypt32 enable_crypt32
18604 wine_fn_config_makefile dlls/crypt32/tests enable_tests
18605 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
18606 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
18607 wine_fn_config_makefile dlls/cryptext enable_cryptext
18608 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
18609 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
18610 wine_fn_config_makefile dlls/cryptui enable_cryptui
18611 wine_fn_config_makefile dlls/cryptui/tests enable_tests
18612 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
18613 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
18614 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
18615 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
18616 wine_fn_config_makefile dlls/d2d1 enable_d2d1
18617 wine_fn_config_makefile dlls/d2d1/tests enable_tests
18618 wine_fn_config_makefile dlls/d3d10 enable_d3d10
18619 wine_fn_config_makefile dlls/d3d10/tests enable_tests
18620 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
18621 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
18622 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
18623 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
18624 wine_fn_config_makefile dlls/d3d11 enable_d3d11
18625 wine_fn_config_makefile dlls/d3d11/tests enable_tests
18626 wine_fn_config_makefile dlls/d3d12 enable_d3d12
18627 wine_fn_config_makefile dlls/d3d12/tests enable_tests
18628 wine_fn_config_makefile dlls/d3d8 enable_d3d8
18629 wine_fn_config_makefile dlls/d3d8/tests enable_tests
18630 wine_fn_config_makefile dlls/d3d9 enable_d3d9
18631 wine_fn_config_makefile dlls/d3d9/tests enable_tests
18632 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
18633 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
18634 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
18635 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
18636 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
18637 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
18638 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
18639 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
18640 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
18641 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
18642 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
18643 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
18644 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
18645 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
18646 wine_fn_config_makefile dlls/d3dim enable_d3dim
18647 wine_fn_config_makefile dlls/d3drm enable_d3drm
18648 wine_fn_config_makefile dlls/d3drm/tests enable_tests
18649 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
18650 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
18651 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
18652 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
18653 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
18654 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
18655 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
18656 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
18657 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
18658 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
18659 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
18660 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
18661 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
18662 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
18663 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
18664 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
18665 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
18666 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
18667 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
18668 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
18669 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
18670 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
18671 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
18672 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
18673 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
18674 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
18675 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
18676 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
18677 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
18678 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
18679 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
18680 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
18681 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
18682 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
18683 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
18684 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
18685 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
18686 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
18687 wine_fn_config_makefile dlls/davclnt enable_davclnt
18688 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
18689 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
18690 wine_fn_config_makefile dlls/dciman32 enable_dciman32
18691 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
18692 wine_fn_config_makefile dlls/ddraw enable_ddraw
18693 wine_fn_config_makefile dlls/ddraw/tests enable_tests
18694 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
18695 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
18696 wine_fn_config_makefile dlls/devenum enable_devenum
18697 wine_fn_config_makefile dlls/devenum/tests enable_tests
18698 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
18699 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
18700 wine_fn_config_makefile dlls/difxapi enable_difxapi
18701 wine_fn_config_makefile dlls/dinput enable_dinput
18702 wine_fn_config_makefile dlls/dinput/tests enable_tests
18703 wine_fn_config_makefile dlls/dinput8 enable_dinput8
18704 wine_fn_config_makefile dlls/dinput8/tests enable_tests
18705 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
18706 wine_fn_config_makefile dlls/dispex enable_dispex
18707 wine_fn_config_makefile dlls/dispex/tests enable_tests
18708 wine_fn_config_makefile dlls/display.drv16 enable_win16
18709 wine_fn_config_makefile dlls/dmband enable_dmband
18710 wine_fn_config_makefile dlls/dmband/tests enable_tests
18711 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
18712 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
18713 wine_fn_config_makefile dlls/dmime enable_dmime
18714 wine_fn_config_makefile dlls/dmime/tests enable_tests
18715 wine_fn_config_makefile dlls/dmloader enable_dmloader
18716 wine_fn_config_makefile dlls/dmloader/tests enable_tests
18717 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
18718 wine_fn_config_makefile dlls/dmscript enable_dmscript
18719 wine_fn_config_makefile dlls/dmscript/tests enable_tests
18720 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
18721 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
18722 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
18723 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
18724 wine_fn_config_makefile dlls/dmusic enable_dmusic
18725 wine_fn_config_makefile dlls/dmusic/tests enable_tests
18726 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
18727 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
18728 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
18729 wine_fn_config_makefile dlls/dplay enable_dplay
18730 wine_fn_config_makefile dlls/dplayx enable_dplayx
18731 wine_fn_config_makefile dlls/dplayx/tests enable_tests
18732 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
18733 wine_fn_config_makefile dlls/dpnet enable_dpnet
18734 wine_fn_config_makefile dlls/dpnet/tests enable_tests
18735 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
18736 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
18737 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
18738 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
18739 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
18740 wine_fn_config_makefile dlls/drmclien enable_drmclien
18741 wine_fn_config_makefile dlls/dsound enable_dsound
18742 wine_fn_config_makefile dlls/dsound/tests enable_tests
18743 wine_fn_config_makefile dlls/dsquery enable_dsquery
18744 wine_fn_config_makefile dlls/dssenh enable_dssenh
18745 wine_fn_config_makefile dlls/dssenh/tests enable_tests
18746 wine_fn_config_makefile dlls/dswave enable_dswave
18747 wine_fn_config_makefile dlls/dswave/tests enable_tests
18748 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
18749 wine_fn_config_makefile dlls/dwrite enable_dwrite
18750 wine_fn_config_makefile dlls/dwrite/tests enable_tests
18751 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
18752 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
18753 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
18754 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
18755 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
18756 wine_fn_config_makefile dlls/dxgi enable_dxgi
18757 wine_fn_config_makefile dlls/dxgi/tests enable_tests
18758 wine_fn_config_makefile dlls/dxguid enable_dxguid
18759 wine_fn_config_makefile dlls/dxva2 enable_dxva2
18760 wine_fn_config_makefile dlls/esent enable_esent
18761 wine_fn_config_makefile dlls/evr enable_evr
18762 wine_fn_config_makefile dlls/evr/tests enable_tests
18763 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
18764 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
18765 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18766 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18767 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
18768 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18769 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18770 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18771 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18772 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18773 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18774 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18775 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
18776 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
18777 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
18778 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18779 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
18780 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
18781 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18782 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
18783 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18784 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18785 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18786 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
18787 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18788 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
18789 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18790 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
18791 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18792 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18793 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
18794 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
18795 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18796 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
18797 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
18798 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
18799 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18800 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18801 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18802 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
18803 wine_fn_config_makefile dlls/faultrep enable_faultrep
18804 wine_fn_config_makefile dlls/faultrep/tests enable_tests
18805 wine_fn_config_makefile dlls/feclient enable_feclient
18806 wine_fn_config_makefile dlls/fltlib enable_fltlib
18807 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
18808 wine_fn_config_makefile dlls/fntcache enable_fntcache
18809 wine_fn_config_makefile dlls/fontsub enable_fontsub
18810 wine_fn_config_makefile dlls/fusion enable_fusion
18811 wine_fn_config_makefile dlls/fusion/tests enable_tests
18812 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
18813 wine_fn_config_makefile dlls/gameux enable_gameux
18814 wine_fn_config_makefile dlls/gameux/tests enable_tests
18815 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
18816 wine_fn_config_makefile dlls/gdi32 enable_gdi32
18817 wine_fn_config_makefile dlls/gdi32/tests enable_tests
18818 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
18819 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
18820 wine_fn_config_makefile dlls/glu32 enable_glu32
18821 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
18822 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
18823 wine_fn_config_makefile dlls/hal enable_hal
18824 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
18825 wine_fn_config_makefile dlls/hid enable_hid
18826 wine_fn_config_makefile dlls/hid/tests enable_tests
18827 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
18828 wine_fn_config_makefile dlls/hlink enable_hlink
18829 wine_fn_config_makefile dlls/hlink/tests enable_tests
18830 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
18831 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
18832 wine_fn_config_makefile dlls/httpapi enable_httpapi
18833 wine_fn_config_makefile dlls/httpapi/tests enable_tests
18834 wine_fn_config_makefile dlls/iccvid enable_iccvid
18835 wine_fn_config_makefile dlls/icmp enable_icmp
18836 wine_fn_config_makefile dlls/ieframe enable_ieframe
18837 wine_fn_config_makefile dlls/ieframe/tests enable_tests
18838 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
18839 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
18840 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
18841 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
18842 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
18843 wine_fn_config_makefile dlls/imm.dll16 enable_win16
18844 wine_fn_config_makefile dlls/imm32 enable_imm32
18845 wine_fn_config_makefile dlls/imm32/tests enable_tests
18846 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
18847 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
18848 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
18849 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
18850 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
18851 wine_fn_config_makefile dlls/infosoft enable_infosoft
18852 wine_fn_config_makefile dlls/infosoft/tests enable_tests
18853 wine_fn_config_makefile dlls/initpki enable_initpki
18854 wine_fn_config_makefile dlls/inkobj enable_inkobj
18855 wine_fn_config_makefile dlls/inseng enable_inseng
18856 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
18857 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
18858 wine_fn_config_makefile dlls/iprop enable_iprop
18859 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
18860 wine_fn_config_makefile dlls/itircl enable_itircl
18861 wine_fn_config_makefile dlls/itss enable_itss
18862 wine_fn_config_makefile dlls/itss/tests enable_tests
18863 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
18864 wine_fn_config_makefile dlls/jscript enable_jscript
18865 wine_fn_config_makefile dlls/jscript/tests enable_tests
18866 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
18867 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
18868 wine_fn_config_makefile dlls/kerberos enable_kerberos
18869 wine_fn_config_makefile dlls/kernel32 enable_kernel32
18870 wine_fn_config_makefile dlls/kernel32/tests enable_tests
18871 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
18872 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
18873 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
18874 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
18875 wine_fn_config_makefile dlls/ksuser enable_ksuser
18876 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
18877 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
18878 wine_fn_config_makefile dlls/loadperf enable_loadperf
18879 wine_fn_config_makefile dlls/localspl enable_localspl
18880 wine_fn_config_makefile dlls/localspl/tests enable_tests
18881 wine_fn_config_makefile dlls/localui enable_localui
18882 wine_fn_config_makefile dlls/localui/tests enable_tests
18883 wine_fn_config_makefile dlls/lz32 enable_lz32
18884 wine_fn_config_makefile dlls/lz32/tests enable_tests
18885 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
18886 wine_fn_config_makefile dlls/mapi32 enable_mapi32
18887 wine_fn_config_makefile dlls/mapi32/tests enable_tests
18888 wine_fn_config_makefile dlls/mapistub enable_mapistub
18889 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
18890 wine_fn_config_makefile dlls/mcicda enable_mcicda
18891 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
18892 wine_fn_config_makefile dlls/mciseq enable_mciseq
18893 wine_fn_config_makefile dlls/mciwave enable_mciwave
18894 wine_fn_config_makefile dlls/mf enable_mf
18895 wine_fn_config_makefile dlls/mf/tests enable_tests
18896 wine_fn_config_makefile dlls/mf3216 enable_mf3216
18897 wine_fn_config_makefile dlls/mfplat enable_mfplat
18898 wine_fn_config_makefile dlls/mfplat/tests enable_tests
18899 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
18900 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
18901 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
18902 wine_fn_config_makefile dlls/midimap enable_midimap
18903 wine_fn_config_makefile dlls/mlang enable_mlang
18904 wine_fn_config_makefile dlls/mlang/tests enable_tests
18905 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
18906 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
18907 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
18908 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
18909 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
18910 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
18911 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
18912 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
18913 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
18914 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
18915 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
18916 wine_fn_config_makefile dlls/mpr enable_mpr
18917 wine_fn_config_makefile dlls/mpr/tests enable_tests
18918 wine_fn_config_makefile dlls/mprapi enable_mprapi
18919 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
18920 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
18921 wine_fn_config_makefile dlls/msacm32 enable_msacm32
18922 wine_fn_config_makefile dlls/msacm32/tests enable_tests
18923 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
18924 wine_fn_config_makefile dlls/msasn1 enable_msasn1
18925 wine_fn_config_makefile dlls/mscat32 enable_mscat32
18926 wine_fn_config_makefile dlls/mscms enable_mscms
18927 wine_fn_config_makefile dlls/mscms/tests enable_tests
18928 wine_fn_config_makefile dlls/mscoree enable_mscoree
18929 wine_fn_config_makefile dlls/mscoree/tests enable_tests
18930 wine_fn_config_makefile dlls/msctf enable_msctf
18931 wine_fn_config_makefile dlls/msctf/tests enable_tests
18932 wine_fn_config_makefile dlls/msctfp enable_msctfp
18933 wine_fn_config_makefile dlls/msdaps enable_msdaps
18934 wine_fn_config_makefile dlls/msdelta enable_msdelta
18935 wine_fn_config_makefile dlls/msdmo enable_msdmo
18936 wine_fn_config_makefile dlls/msdmo/tests enable_tests
18937 wine_fn_config_makefile dlls/msdrm enable_msdrm
18938 wine_fn_config_makefile dlls/msftedit enable_msftedit
18939 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
18940 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
18941 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
18942 wine_fn_config_makefile dlls/mshtml enable_mshtml
18943 wine_fn_config_makefile dlls/mshtml/tests enable_tests
18944 wine_fn_config_makefile dlls/msi enable_msi
18945 wine_fn_config_makefile dlls/msi/tests enable_tests
18946 wine_fn_config_makefile dlls/msident enable_msident
18947 wine_fn_config_makefile dlls/msimg32 enable_msimg32
18948 wine_fn_config_makefile dlls/msimsg enable_msimsg
18949 wine_fn_config_makefile dlls/msimtf enable_msimtf
18950 wine_fn_config_makefile dlls/msisip enable_msisip
18951 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
18952 wine_fn_config_makefile dlls/msls31 enable_msls31
18953 wine_fn_config_makefile dlls/msnet32 enable_msnet32
18954 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
18955 wine_fn_config_makefile dlls/msports enable_msports
18956 wine_fn_config_makefile dlls/msrle32 enable_msrle32
18957 wine_fn_config_makefile dlls/msrle32/tests enable_tests
18958 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
18959 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
18960 wine_fn_config_makefile dlls/mssign32 enable_mssign32
18961 wine_fn_config_makefile dlls/mssip32 enable_mssip32
18962 wine_fn_config_makefile dlls/mstask enable_mstask
18963 wine_fn_config_makefile dlls/mstask/tests enable_tests
18964 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
18965 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
18966 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
18967 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
18968 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
18969 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
18970 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
18971 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
18972 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
18973 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
18974 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
18975 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
18976 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
18977 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
18978 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
18979 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
18980 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
18981 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
18982 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
18983 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
18984 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
18985 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
18986 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
18987 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
18988 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
18989 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
18990 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
18991 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
18992 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
18993 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
18994 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
18995 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
18996 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
18997 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
18998 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
18999 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19000 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19001 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19002 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19003 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19004 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19005 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19006 wine_fn_config_makefile dlls/mswsock enable_mswsock
19007 wine_fn_config_makefile dlls/msxml enable_msxml
19008 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19009 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19010 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19011 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19012 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19013 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19014 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19015 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19016 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19017 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19018 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19019 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19020 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19021 wine_fn_config_makefile dlls/netprofm enable_netprofm
19022 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19023 wine_fn_config_makefile dlls/newdev enable_newdev
19024 wine_fn_config_makefile dlls/ninput enable_ninput
19025 wine_fn_config_makefile dlls/normaliz enable_normaliz
19026 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19027 wine_fn_config_makefile dlls/npptools enable_npptools
19028 wine_fn_config_makefile dlls/ntdll enable_ntdll
19029 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19030 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19031 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19032 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19033 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19034 wine_fn_config_makefile dlls/ntprint enable_ntprint
19035 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19036 wine_fn_config_makefile dlls/objsel enable_objsel
19037 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19038 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19039 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19040 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19041 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19042 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19043 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19044 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19045 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19046 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19047 wine_fn_config_makefile dlls/ole32 enable_ole32
19048 wine_fn_config_makefile dlls/ole32/tests enable_tests
19049 wine_fn_config_makefile dlls/oleacc enable_oleacc
19050 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19051 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19052 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19053 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19054 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19055 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19056 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19057 wine_fn_config_makefile dlls/oledlg enable_oledlg
19058 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19059 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19060 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19061 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19062 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19063 wine_fn_config_makefile dlls/openal32 enable_openal32
19064 wine_fn_config_makefile dlls/opencl enable_opencl
19065 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19066 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19067 wine_fn_config_makefile dlls/packager enable_packager
19068 wine_fn_config_makefile dlls/packager/tests enable_tests
19069 wine_fn_config_makefile dlls/pdh enable_pdh
19070 wine_fn_config_makefile dlls/pdh/tests enable_tests
19071 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19072 wine_fn_config_makefile dlls/pidgen enable_pidgen
19073 wine_fn_config_makefile dlls/powrprof enable_powrprof
19074 wine_fn_config_makefile dlls/printui enable_printui
19075 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19076 wine_fn_config_makefile dlls/propsys enable_propsys
19077 wine_fn_config_makefile dlls/propsys/tests enable_tests
19078 wine_fn_config_makefile dlls/psapi enable_psapi
19079 wine_fn_config_makefile dlls/psapi/tests enable_tests
19080 wine_fn_config_makefile dlls/pstorec enable_pstorec
19081 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19082 wine_fn_config_makefile dlls/qcap enable_qcap
19083 wine_fn_config_makefile dlls/qcap/tests enable_tests
19084 wine_fn_config_makefile dlls/qedit enable_qedit
19085 wine_fn_config_makefile dlls/qedit/tests enable_tests
19086 wine_fn_config_makefile dlls/qmgr enable_qmgr
19087 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19088 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19089 wine_fn_config_makefile dlls/quartz enable_quartz
19090 wine_fn_config_makefile dlls/quartz/tests enable_tests
19091 wine_fn_config_makefile dlls/query enable_query
19092 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19093 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19094 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19095 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19096 wine_fn_config_makefile dlls/regapi enable_regapi
19097 wine_fn_config_makefile dlls/resutils enable_resutils
19098 wine_fn_config_makefile dlls/riched20 enable_riched20
19099 wine_fn_config_makefile dlls/riched20/tests enable_tests
19100 wine_fn_config_makefile dlls/riched32 enable_riched32
19101 wine_fn_config_makefile dlls/riched32/tests enable_tests
19102 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19103 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19104 wine_fn_config_makefile dlls/rsabase enable_rsabase
19105 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19106 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19107 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19108 wine_fn_config_makefile dlls/rtutils enable_rtutils
19109 wine_fn_config_makefile dlls/samlib enable_samlib
19110 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19111 wine_fn_config_makefile dlls/sapi enable_sapi
19112 wine_fn_config_makefile dlls/sapi/tests enable_tests
19113 wine_fn_config_makefile dlls/sas enable_sas
19114 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19115 wine_fn_config_makefile dlls/sccbase enable_sccbase
19116 wine_fn_config_makefile dlls/schannel enable_schannel
19117 wine_fn_config_makefile dlls/schannel/tests enable_tests
19118 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19119 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19120 wine_fn_config_makefile dlls/scrobj enable_scrobj
19121 wine_fn_config_makefile dlls/scrrun enable_scrrun
19122 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19123 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19124 wine_fn_config_makefile dlls/secur32 enable_secur32
19125 wine_fn_config_makefile dlls/secur32/tests enable_tests
19126 wine_fn_config_makefile dlls/security enable_security
19127 wine_fn_config_makefile dlls/sensapi enable_sensapi
19128 wine_fn_config_makefile dlls/serialui enable_serialui
19129 wine_fn_config_makefile dlls/serialui/tests enable_tests
19130 wine_fn_config_makefile dlls/setupapi enable_setupapi
19131 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19132 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19133 wine_fn_config_makefile dlls/sfc enable_sfc
19134 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19135 wine_fn_config_makefile dlls/shcore enable_shcore
19136 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19137 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19138 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19139 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19140 wine_fn_config_makefile dlls/shell32 enable_shell32
19141 wine_fn_config_makefile dlls/shell32/tests enable_tests
19142 wine_fn_config_makefile dlls/shfolder enable_shfolder
19143 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19144 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19145 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19146 wine_fn_config_makefile dlls/slc enable_slc
19147 wine_fn_config_makefile dlls/slc/tests enable_tests
19148 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19149 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19150 wine_fn_config_makefile dlls/softpub enable_softpub
19151 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19152 wine_fn_config_makefile dlls/spoolss enable_spoolss
19153 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19154 wine_fn_config_makefile dlls/srclient enable_srclient
19155 wine_fn_config_makefile dlls/sspicli enable_sspicli
19156 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19157 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19158 wine_fn_config_makefile dlls/sti enable_sti
19159 wine_fn_config_makefile dlls/sti/tests enable_tests
19160 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19161 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19162 wine_fn_config_makefile dlls/strmbase enable_strmbase
19163 wine_fn_config_makefile dlls/strmdll enable_strmdll
19164 wine_fn_config_makefile dlls/strmiids enable_strmiids
19165 wine_fn_config_makefile dlls/svrapi enable_svrapi
19166 wine_fn_config_makefile dlls/sxs enable_sxs
19167 wine_fn_config_makefile dlls/sxs/tests enable_tests
19168 wine_fn_config_makefile dlls/system.drv16 enable_win16
19169 wine_fn_config_makefile dlls/t2embed enable_t2embed
19170 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19171 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19172 wine_fn_config_makefile dlls/taskschd enable_taskschd
19173 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19174 wine_fn_config_makefile dlls/tdh enable_tdh
19175 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19176 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19177 wine_fn_config_makefile dlls/traffic enable_traffic
19178 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19179 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19180 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19181 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19182 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19183 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19184 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19185 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19186 wine_fn_config_makefile dlls/unicows enable_unicows
19187 wine_fn_config_makefile dlls/updspapi enable_updspapi
19188 wine_fn_config_makefile dlls/url enable_url
19189 wine_fn_config_makefile dlls/urlmon enable_urlmon
19190 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19191 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19192 wine_fn_config_makefile dlls/user.exe16 enable_win16
19193 wine_fn_config_makefile dlls/user32 enable_user32
19194 wine_fn_config_makefile dlls/user32/tests enable_tests
19195 wine_fn_config_makefile dlls/userenv enable_userenv
19196 wine_fn_config_makefile dlls/userenv/tests enable_tests
19197 wine_fn_config_makefile dlls/usp10 enable_usp10
19198 wine_fn_config_makefile dlls/usp10/tests enable_tests
19199 wine_fn_config_makefile dlls/uuid enable_uuid
19200 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19201 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19202 wine_fn_config_makefile dlls/vbscript enable_vbscript
19203 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19204 wine_fn_config_makefile dlls/vcomp enable_vcomp
19205 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19206 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19207 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19208 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19209 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19210 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19211 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19212 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19213 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19214 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19215 wine_fn_config_makefile dlls/version enable_version
19216 wine_fn_config_makefile dlls/version/tests enable_tests
19217 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19218 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19219 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19220 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19221 wine_fn_config_makefile dlls/vssapi enable_vssapi
19222 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19223 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19224 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19225 wine_fn_config_makefile dlls/w32skrnl enable_win16
19226 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19227 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19228 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19229 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19230 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19231 wine_fn_config_makefile dlls/wdscore enable_wdscore
19232 wine_fn_config_makefile dlls/webservices enable_webservices
19233 wine_fn_config_makefile dlls/webservices/tests enable_tests
19234 wine_fn_config_makefile dlls/wer enable_wer
19235 wine_fn_config_makefile dlls/wer/tests enable_tests
19236 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19237 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19238 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19239 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19240 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19241 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19242 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19243 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19244 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19245 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19246 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19247 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19248 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19249 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19250 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19251 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19252 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19253 wine_fn_config_makefile dlls/wined3d enable_wined3d
19254 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19255 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19256 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19257 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19258 wine_fn_config_makefile dlls/winemapi enable_winemapi
19259 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19260 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19261 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19262 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19263 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19264 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19265 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19266 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19267 wine_fn_config_makefile dlls/wing32 enable_wing32
19268 wine_fn_config_makefile dlls/winhttp enable_winhttp
19269 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19270 wine_fn_config_makefile dlls/wininet enable_wininet
19271 wine_fn_config_makefile dlls/wininet/tests enable_tests
19272 wine_fn_config_makefile dlls/winmm enable_winmm
19273 wine_fn_config_makefile dlls/winmm/tests enable_tests
19274 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19275 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19276 wine_fn_config_makefile dlls/winscard enable_winscard
19277 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19278 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19279 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19280 wine_fn_config_makefile dlls/winsta enable_winsta
19281 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19282 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19283 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19284 wine_fn_config_makefile dlls/wintrust enable_wintrust
19285 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19286 wine_fn_config_makefile dlls/winusb enable_winusb
19287 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19288 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19289 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19290 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19291 wine_fn_config_makefile dlls/wmasf enable_wmasf
19292 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
19293 wine_fn_config_makefile dlls/wmi enable_wmi
19294 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19295 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19296 wine_fn_config_makefile dlls/wmp enable_wmp
19297 wine_fn_config_makefile dlls/wmp/tests enable_tests
19298 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19299 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19300 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19301 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19302 wine_fn_config_makefile dlls/wow32 enable_win16
19303 wine_fn_config_makefile dlls/wpc enable_wpc
19304 wine_fn_config_makefile dlls/wpc/tests enable_tests
19305 wine_fn_config_makefile dlls/wpcap enable_wpcap
19306 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19307 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19308 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19309 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19310 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19311 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19312 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19313 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19314 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19315 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19316 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19317 wine_fn_config_makefile dlls/wuapi enable_wuapi
19318 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19319 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19320 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19321 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19322 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19323 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19324 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19325 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19326 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19327 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19328 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19329 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19330 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19331 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19332 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19333 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19334 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19335 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19336 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19337 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19338 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19339 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19340 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19341 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19342 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19343 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19344 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19345 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19346 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19347 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19348 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19349 wine_fn_config_makefile dlls/xmllite enable_xmllite
19350 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19351 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19352 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19353 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19354 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
19355 wine_fn_config_makefile include enable_include
19356 wine_fn_config_makefile libs/port enable_port
19357 wine_fn_config_makefile libs/wine enable_wine
19358 wine_fn_config_makefile libs/wpp enable_wpp
19359 wine_fn_config_makefile loader enable_loader
19360 wine_fn_config_makefile po enable_po
19361 wine_fn_config_makefile programs/arp enable_arp
19362 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19363 wine_fn_config_makefile programs/attrib enable_attrib
19364 wine_fn_config_makefile programs/cabarc enable_cabarc
19365 wine_fn_config_makefile programs/cacls enable_cacls
19366 wine_fn_config_makefile programs/clock enable_clock
19367 wine_fn_config_makefile programs/cmd enable_cmd
19368 wine_fn_config_makefile programs/cmd/tests enable_tests
19369 wine_fn_config_makefile programs/conhost enable_conhost
19370 wine_fn_config_makefile programs/control enable_control
19371 wine_fn_config_makefile programs/cscript enable_cscript
19372 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19373 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19374 wine_fn_config_makefile programs/eject enable_eject
19375 wine_fn_config_makefile programs/expand enable_expand
19376 wine_fn_config_makefile programs/explorer enable_explorer
19377 wine_fn_config_makefile programs/extrac32 enable_extrac32
19378 wine_fn_config_makefile programs/fc enable_fc
19379 wine_fn_config_makefile programs/find enable_find
19380 wine_fn_config_makefile programs/findstr enable_findstr
19381 wine_fn_config_makefile programs/fsutil enable_fsutil
19382 wine_fn_config_makefile programs/hh enable_hh
19383 wine_fn_config_makefile programs/hostname enable_hostname
19384 wine_fn_config_makefile programs/icacls enable_icacls
19385 wine_fn_config_makefile programs/icinfo enable_icinfo
19386 wine_fn_config_makefile programs/iexplore enable_iexplore
19387 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19388 wine_fn_config_makefile programs/lodctr enable_lodctr
19389 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19390 wine_fn_config_makefile programs/mshta enable_mshta
19391 wine_fn_config_makefile programs/msiexec enable_msiexec
19392 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19393 wine_fn_config_makefile programs/net enable_net
19394 wine_fn_config_makefile programs/netsh enable_netsh
19395 wine_fn_config_makefile programs/netstat enable_netstat
19396 wine_fn_config_makefile programs/ngen enable_ngen
19397 wine_fn_config_makefile programs/notepad enable_notepad
19398 wine_fn_config_makefile programs/oleview enable_oleview
19399 wine_fn_config_makefile programs/ping enable_ping
19400 wine_fn_config_makefile programs/plugplay enable_plugplay
19401 wine_fn_config_makefile programs/powershell enable_powershell
19402 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19403 wine_fn_config_makefile programs/progman enable_progman
19404 wine_fn_config_makefile programs/reg enable_reg
19405 wine_fn_config_makefile programs/reg/tests enable_tests
19406 wine_fn_config_makefile programs/regasm enable_regasm
19407 wine_fn_config_makefile programs/regedit enable_regedit
19408 wine_fn_config_makefile programs/regedit/tests enable_tests
19409 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19410 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19411 wine_fn_config_makefile programs/rpcss enable_rpcss
19412 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19413 wine_fn_config_makefile programs/rundll32 enable_rundll32
19414 wine_fn_config_makefile programs/sc enable_sc
19415 wine_fn_config_makefile programs/schtasks enable_schtasks
19416 wine_fn_config_makefile programs/schtasks/tests enable_tests
19417 wine_fn_config_makefile programs/sdbinst enable_sdbinst
19418 wine_fn_config_makefile programs/secedit enable_secedit
19419 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
19420 wine_fn_config_makefile programs/services enable_services
19421 wine_fn_config_makefile programs/services/tests enable_tests
19422 wine_fn_config_makefile programs/shutdown enable_shutdown
19423 wine_fn_config_makefile programs/spoolsv enable_spoolsv
19424 wine_fn_config_makefile programs/start enable_start
19425 wine_fn_config_makefile programs/subst enable_subst
19426 wine_fn_config_makefile programs/svchost enable_svchost
19427 wine_fn_config_makefile programs/systeminfo enable_systeminfo
19428 wine_fn_config_makefile programs/taskkill enable_taskkill
19429 wine_fn_config_makefile programs/tasklist enable_tasklist
19430 wine_fn_config_makefile programs/taskmgr enable_taskmgr
19431 wine_fn_config_makefile programs/termsv enable_termsv
19432 wine_fn_config_makefile programs/uninstaller enable_uninstaller
19433 wine_fn_config_makefile programs/unlodctr enable_unlodctr
19434 wine_fn_config_makefile programs/view enable_view
19435 wine_fn_config_makefile programs/wevtutil enable_wevtutil
19436 wine_fn_config_makefile programs/wineboot enable_wineboot
19437 wine_fn_config_makefile programs/winebrowser enable_winebrowser
19438 wine_fn_config_makefile programs/winecfg enable_winecfg
19439 wine_fn_config_makefile programs/wineconsole enable_wineconsole
19440 wine_fn_config_makefile programs/winedbg enable_winedbg
19441 wine_fn_config_makefile programs/winedevice enable_winedevice
19442 wine_fn_config_makefile programs/winefile enable_winefile
19443 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
19444 wine_fn_config_makefile programs/winemine enable_winemine
19445 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
19446 wine_fn_config_makefile programs/winepath enable_winepath
19447 wine_fn_config_makefile programs/winetest enable_winetest
19448 wine_fn_config_makefile programs/winevdm enable_win16
19449 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
19450 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
19451 wine_fn_config_makefile programs/winmgmt enable_winmgmt
19452 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
19453 wine_fn_config_makefile programs/winver enable_winver
19454 wine_fn_config_makefile programs/wmic enable_wmic
19455 wine_fn_config_makefile programs/wmplayer enable_wmplayer
19456 wine_fn_config_makefile programs/wordpad enable_wordpad
19457 wine_fn_config_makefile programs/write enable_write
19458 wine_fn_config_makefile programs/wscript enable_wscript
19459 wine_fn_config_makefile programs/wscript/tests enable_tests
19460 wine_fn_config_makefile programs/wusa enable_wusa
19461 wine_fn_config_makefile programs/xcopy enable_xcopy
19462 wine_fn_config_makefile programs/xcopy/tests enable_tests
19463 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
19464 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
19465 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
19466 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
19467 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
19468 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
19469 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
19470 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
19471 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
19472 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
19475 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19476 wine_fn_append_file CONFIGURE_TARGETS "tags"
19477 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19478 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19479 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19480 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19481 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19482 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19484 if test "x$enable_tools" != xno
19485 then
19486 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19487 ac_config_commands="$ac_config_commands tools/makedep"
19491 ac_config_commands="$ac_config_commands Makefile"
19494 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19498 if test "x$enable_maintainer_mode" = xyes
19499 then
19500 wine_fn_append_rule "configure: configure.ac aclocal.m4
19501 autoconf --warnings=all
19502 include/config.h.in: include/stamp-h.in
19503 include/stamp-h.in: configure.ac aclocal.m4
19504 autoheader --warnings=all
19505 @echo timestamp > \$@"
19508 if test "x$enable_tools" != xno
19509 then
19510 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19511 @./config.status tools/makedep
19512 Makefile: tools/makedep$ac_exeext
19513 fonts: tools/sfnt2fon
19514 include: tools tools/widl"
19515 else
19516 wine_fn_append_rule "\$(MAKEDEP):
19517 @echo \"You need to run make in $TOOLSDIR first\" && false"
19520 if test -n "$with_wine64"
19521 then
19522 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19523 fonts server:
19524 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19525 $with_wine64/loader/wine:
19526 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19527 $with_wine64/loader/wine-preloader:
19528 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19529 clean::
19530 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19531 else
19532 WINELOADER_INSTALL="wine.inf l_intl.nls"
19534 case $host_os in
19535 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19536 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19537 esac
19540 $as_echo " done" >&6
19541 cat >confcache <<\_ACEOF
19542 # This file is a shell script that caches the results of configure
19543 # tests run on this system so they can be shared between configure
19544 # scripts and configure runs, see configure's option --config-cache.
19545 # It is not useful on other systems. If it contains results you don't
19546 # want to keep, you may remove or edit it.
19548 # config.status only pays attention to the cache file if you give it
19549 # the --recheck option to rerun configure.
19551 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19552 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19553 # following values.
19555 _ACEOF
19557 # The following way of writing the cache mishandles newlines in values,
19558 # but we know of no workaround that is simple, portable, and efficient.
19559 # So, we kill variables containing newlines.
19560 # Ultrix sh set writes to stderr and can't be redirected directly,
19561 # and sets the high bit in the cache file unless we assign to the vars.
19563 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19564 eval ac_val=\$$ac_var
19565 case $ac_val in #(
19566 *${as_nl}*)
19567 case $ac_var in #(
19568 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19569 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19570 esac
19571 case $ac_var in #(
19572 _ | IFS | as_nl) ;; #(
19573 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19574 *) { eval $ac_var=; unset $ac_var;} ;;
19575 esac ;;
19576 esac
19577 done
19579 (set) 2>&1 |
19580 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19581 *${as_nl}ac_space=\ *)
19582 # `set' does not quote correctly, so add quotes: double-quote
19583 # substitution turns \\\\ into \\, and sed turns \\ into \.
19584 sed -n \
19585 "s/'/'\\\\''/g;
19586 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19587 ;; #(
19589 # `set' quotes correctly as required by POSIX, so do not add quotes.
19590 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19592 esac |
19593 sort
19595 sed '
19596 /^ac_cv_env_/b end
19597 t clear
19598 :clear
19599 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19600 t end
19601 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19602 :end' >>confcache
19603 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19604 if test -w "$cache_file"; then
19605 if test "x$cache_file" != "x/dev/null"; then
19606 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19607 $as_echo "$as_me: updating cache $cache_file" >&6;}
19608 if test ! -f "$cache_file" || test -h "$cache_file"; then
19609 cat confcache >"$cache_file"
19610 else
19611 case $cache_file in #(
19612 */* | ?:*)
19613 mv -f confcache "$cache_file"$$ &&
19614 mv -f "$cache_file"$$ "$cache_file" ;; #(
19616 mv -f confcache "$cache_file" ;;
19617 esac
19620 else
19621 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19622 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19625 rm -f confcache
19627 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19628 # Let make expand exec_prefix.
19629 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19631 DEFS=-DHAVE_CONFIG_H
19633 ac_libobjs=
19634 ac_ltlibobjs=
19636 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19637 # 1. Remove the extension, and $U if already installed.
19638 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19639 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19640 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19641 # will be set to the directory where LIBOBJS objects are built.
19642 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19643 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19644 done
19645 LIBOBJS=$ac_libobjs
19647 LTLIBOBJS=$ac_ltlibobjs
19651 : "${CONFIG_STATUS=./config.status}"
19652 ac_write_fail=0
19653 ac_clean_files_save=$ac_clean_files
19654 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19655 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19656 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19657 as_write_fail=0
19658 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19659 #! $SHELL
19660 # Generated by $as_me.
19661 # Run this file to recreate the current configuration.
19662 # Compiler output produced by configure, useful for debugging
19663 # configure, is in config.log if it exists.
19665 debug=false
19666 ac_cs_recheck=false
19667 ac_cs_silent=false
19669 SHELL=\${CONFIG_SHELL-$SHELL}
19670 export SHELL
19671 _ASEOF
19672 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19673 ## -------------------- ##
19674 ## M4sh Initialization. ##
19675 ## -------------------- ##
19677 # Be more Bourne compatible
19678 DUALCASE=1; export DUALCASE # for MKS sh
19679 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19680 emulate sh
19681 NULLCMD=:
19682 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19683 # is contrary to our usage. Disable this feature.
19684 alias -g '${1+"$@"}'='"$@"'
19685 setopt NO_GLOB_SUBST
19686 else
19687 case `(set -o) 2>/dev/null` in #(
19688 *posix*) :
19689 set -o posix ;; #(
19690 *) :
19692 esac
19696 as_nl='
19698 export as_nl
19699 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19700 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19701 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19702 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19703 # Prefer a ksh shell builtin over an external printf program on Solaris,
19704 # but without wasting forks for bash or zsh.
19705 if test -z "$BASH_VERSION$ZSH_VERSION" \
19706 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19707 as_echo='print -r --'
19708 as_echo_n='print -rn --'
19709 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19710 as_echo='printf %s\n'
19711 as_echo_n='printf %s'
19712 else
19713 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19714 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19715 as_echo_n='/usr/ucb/echo -n'
19716 else
19717 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19718 as_echo_n_body='eval
19719 arg=$1;
19720 case $arg in #(
19721 *"$as_nl"*)
19722 expr "X$arg" : "X\\(.*\\)$as_nl";
19723 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19724 esac;
19725 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19727 export as_echo_n_body
19728 as_echo_n='sh -c $as_echo_n_body as_echo'
19730 export as_echo_body
19731 as_echo='sh -c $as_echo_body as_echo'
19734 # The user is always right.
19735 if test "${PATH_SEPARATOR+set}" != set; then
19736 PATH_SEPARATOR=:
19737 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19738 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19739 PATH_SEPARATOR=';'
19744 # IFS
19745 # We need space, tab and new line, in precisely that order. Quoting is
19746 # there to prevent editors from complaining about space-tab.
19747 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19748 # splitting by setting IFS to empty value.)
19749 IFS=" "" $as_nl"
19751 # Find who we are. Look in the path if we contain no directory separator.
19752 as_myself=
19753 case $0 in #((
19754 *[\\/]* ) as_myself=$0 ;;
19755 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19756 for as_dir in $PATH
19758 IFS=$as_save_IFS
19759 test -z "$as_dir" && as_dir=.
19760 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19761 done
19762 IFS=$as_save_IFS
19765 esac
19766 # We did not find ourselves, most probably we were run as `sh COMMAND'
19767 # in which case we are not to be found in the path.
19768 if test "x$as_myself" = x; then
19769 as_myself=$0
19771 if test ! -f "$as_myself"; then
19772 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19773 exit 1
19776 # Unset variables that we do not need and which cause bugs (e.g. in
19777 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19778 # suppresses any "Segmentation fault" message there. '((' could
19779 # trigger a bug in pdksh 5.2.14.
19780 for as_var in BASH_ENV ENV MAIL MAILPATH
19781 do eval test x\${$as_var+set} = xset \
19782 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19783 done
19784 PS1='$ '
19785 PS2='> '
19786 PS4='+ '
19788 # NLS nuisances.
19789 LC_ALL=C
19790 export LC_ALL
19791 LANGUAGE=C
19792 export LANGUAGE
19794 # CDPATH.
19795 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19798 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19799 # ----------------------------------------
19800 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19801 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19802 # script with STATUS, using 1 if that was 0.
19803 as_fn_error ()
19805 as_status=$1; test $as_status -eq 0 && as_status=1
19806 if test "$4"; then
19807 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19808 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19810 $as_echo "$as_me: error: $2" >&2
19811 as_fn_exit $as_status
19812 } # as_fn_error
19815 # as_fn_set_status STATUS
19816 # -----------------------
19817 # Set $? to STATUS, without forking.
19818 as_fn_set_status ()
19820 return $1
19821 } # as_fn_set_status
19823 # as_fn_exit STATUS
19824 # -----------------
19825 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19826 as_fn_exit ()
19828 set +e
19829 as_fn_set_status $1
19830 exit $1
19831 } # as_fn_exit
19833 # as_fn_unset VAR
19834 # ---------------
19835 # Portably unset VAR.
19836 as_fn_unset ()
19838 { eval $1=; unset $1;}
19840 as_unset=as_fn_unset
19841 # as_fn_append VAR VALUE
19842 # ----------------------
19843 # Append the text in VALUE to the end of the definition contained in VAR. Take
19844 # advantage of any shell optimizations that allow amortized linear growth over
19845 # repeated appends, instead of the typical quadratic growth present in naive
19846 # implementations.
19847 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19848 eval 'as_fn_append ()
19850 eval $1+=\$2
19852 else
19853 as_fn_append ()
19855 eval $1=\$$1\$2
19857 fi # as_fn_append
19859 # as_fn_arith ARG...
19860 # ------------------
19861 # Perform arithmetic evaluation on the ARGs, and store the result in the
19862 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19863 # must be portable across $(()) and expr.
19864 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19865 eval 'as_fn_arith ()
19867 as_val=$(( $* ))
19869 else
19870 as_fn_arith ()
19872 as_val=`expr "$@" || test $? -eq 1`
19874 fi # as_fn_arith
19877 if expr a : '\(a\)' >/dev/null 2>&1 &&
19878 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19879 as_expr=expr
19880 else
19881 as_expr=false
19884 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19885 as_basename=basename
19886 else
19887 as_basename=false
19890 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19891 as_dirname=dirname
19892 else
19893 as_dirname=false
19896 as_me=`$as_basename -- "$0" ||
19897 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19898 X"$0" : 'X\(//\)$' \| \
19899 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19900 $as_echo X/"$0" |
19901 sed '/^.*\/\([^/][^/]*\)\/*$/{
19902 s//\1/
19905 /^X\/\(\/\/\)$/{
19906 s//\1/
19909 /^X\/\(\/\).*/{
19910 s//\1/
19913 s/.*/./; q'`
19915 # Avoid depending upon Character Ranges.
19916 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19917 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19918 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19919 as_cr_digits='0123456789'
19920 as_cr_alnum=$as_cr_Letters$as_cr_digits
19922 ECHO_C= ECHO_N= ECHO_T=
19923 case `echo -n x` in #(((((
19924 -n*)
19925 case `echo 'xy\c'` in
19926 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19927 xy) ECHO_C='\c';;
19928 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19929 ECHO_T=' ';;
19930 esac;;
19932 ECHO_N='-n';;
19933 esac
19935 rm -f conf$$ conf$$.exe conf$$.file
19936 if test -d conf$$.dir; then
19937 rm -f conf$$.dir/conf$$.file
19938 else
19939 rm -f conf$$.dir
19940 mkdir conf$$.dir 2>/dev/null
19942 if (echo >conf$$.file) 2>/dev/null; then
19943 if ln -s conf$$.file conf$$ 2>/dev/null; then
19944 as_ln_s='ln -s'
19945 # ... but there are two gotchas:
19946 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19947 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19948 # In both cases, we have to default to `cp -pR'.
19949 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19950 as_ln_s='cp -pR'
19951 elif ln conf$$.file conf$$ 2>/dev/null; then
19952 as_ln_s=ln
19953 else
19954 as_ln_s='cp -pR'
19956 else
19957 as_ln_s='cp -pR'
19959 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19960 rmdir conf$$.dir 2>/dev/null
19963 # as_fn_mkdir_p
19964 # -------------
19965 # Create "$as_dir" as a directory, including parents if necessary.
19966 as_fn_mkdir_p ()
19969 case $as_dir in #(
19970 -*) as_dir=./$as_dir;;
19971 esac
19972 test -d "$as_dir" || eval $as_mkdir_p || {
19973 as_dirs=
19974 while :; do
19975 case $as_dir in #(
19976 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19977 *) as_qdir=$as_dir;;
19978 esac
19979 as_dirs="'$as_qdir' $as_dirs"
19980 as_dir=`$as_dirname -- "$as_dir" ||
19981 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19982 X"$as_dir" : 'X\(//\)[^/]' \| \
19983 X"$as_dir" : 'X\(//\)$' \| \
19984 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19985 $as_echo X"$as_dir" |
19986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19987 s//\1/
19990 /^X\(\/\/\)[^/].*/{
19991 s//\1/
19994 /^X\(\/\/\)$/{
19995 s//\1/
19998 /^X\(\/\).*/{
19999 s//\1/
20002 s/.*/./; q'`
20003 test -d "$as_dir" && break
20004 done
20005 test -z "$as_dirs" || eval "mkdir $as_dirs"
20006 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20009 } # as_fn_mkdir_p
20010 if mkdir -p . 2>/dev/null; then
20011 as_mkdir_p='mkdir -p "$as_dir"'
20012 else
20013 test -d ./-p && rmdir ./-p
20014 as_mkdir_p=false
20018 # as_fn_executable_p FILE
20019 # -----------------------
20020 # Test if FILE is an executable regular file.
20021 as_fn_executable_p ()
20023 test -f "$1" && test -x "$1"
20024 } # as_fn_executable_p
20025 as_test_x='test -x'
20026 as_executable_p=as_fn_executable_p
20028 # Sed expression to map a string onto a valid CPP name.
20029 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20031 # Sed expression to map a string onto a valid variable name.
20032 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20035 exec 6>&1
20036 ## ----------------------------------- ##
20037 ## Main body of $CONFIG_STATUS script. ##
20038 ## ----------------------------------- ##
20039 _ASEOF
20040 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20043 # Save the log message, to keep $0 and so on meaningful, and to
20044 # report actual input values of CONFIG_FILES etc. instead of their
20045 # values after options handling.
20046 ac_log="
20047 This file was extended by Wine $as_me 3.9, which was
20048 generated by GNU Autoconf 2.69. Invocation command line was
20050 CONFIG_FILES = $CONFIG_FILES
20051 CONFIG_HEADERS = $CONFIG_HEADERS
20052 CONFIG_LINKS = $CONFIG_LINKS
20053 CONFIG_COMMANDS = $CONFIG_COMMANDS
20054 $ $0 $@
20056 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20059 _ACEOF
20061 case $ac_config_files in *"
20062 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20063 esac
20065 case $ac_config_headers in *"
20066 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20067 esac
20070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20071 # Files that config.status was made for.
20072 config_files="$ac_config_files"
20073 config_headers="$ac_config_headers"
20074 config_links="$ac_config_links"
20075 config_commands="$ac_config_commands"
20077 _ACEOF
20079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20080 ac_cs_usage="\
20081 \`$as_me' instantiates files and other configuration actions
20082 from templates according to the current configuration. Unless the files
20083 and actions are specified as TAGs, all are instantiated by default.
20085 Usage: $0 [OPTION]... [TAG]...
20087 -h, --help print this help, then exit
20088 -V, --version print version number and configuration settings, then exit
20089 --config print configuration, then exit
20090 -q, --quiet, --silent
20091 do not print progress messages
20092 -d, --debug don't remove temporary files
20093 --recheck update $as_me by reconfiguring in the same conditions
20094 --file=FILE[:TEMPLATE]
20095 instantiate the configuration file FILE
20096 --header=FILE[:TEMPLATE]
20097 instantiate the configuration header FILE
20099 Configuration files:
20100 $config_files
20102 Configuration headers:
20103 $config_headers
20105 Configuration links:
20106 $config_links
20108 Configuration commands:
20109 $config_commands
20111 Report bugs to <wine-devel@winehq.org>.
20112 Wine home page: <https://www.winehq.org>."
20114 _ACEOF
20115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20116 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20117 ac_cs_version="\\
20118 Wine config.status 3.9
20119 configured by $0, generated by GNU Autoconf 2.69,
20120 with options \\"\$ac_cs_config\\"
20122 Copyright (C) 2012 Free Software Foundation, Inc.
20123 This config.status script is free software; the Free Software Foundation
20124 gives unlimited permission to copy, distribute and modify it."
20126 ac_pwd='$ac_pwd'
20127 srcdir='$srcdir'
20128 test -n "\$AWK" || AWK=awk
20129 _ACEOF
20131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20132 # The default lists apply if the user does not specify any file.
20133 ac_need_defaults=:
20134 while test $# != 0
20136 case $1 in
20137 --*=?*)
20138 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20139 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20140 ac_shift=:
20142 --*=)
20143 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20144 ac_optarg=
20145 ac_shift=:
20148 ac_option=$1
20149 ac_optarg=$2
20150 ac_shift=shift
20152 esac
20154 case $ac_option in
20155 # Handling of the options.
20156 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20157 ac_cs_recheck=: ;;
20158 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20159 $as_echo "$ac_cs_version"; exit ;;
20160 --config | --confi | --conf | --con | --co | --c )
20161 $as_echo "$ac_cs_config"; exit ;;
20162 --debug | --debu | --deb | --de | --d | -d )
20163 debug=: ;;
20164 --file | --fil | --fi | --f )
20165 $ac_shift
20166 case $ac_optarg in
20167 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20168 '') as_fn_error $? "missing file argument" ;;
20169 esac
20170 as_fn_append CONFIG_FILES " '$ac_optarg'"
20171 ac_need_defaults=false;;
20172 --header | --heade | --head | --hea )
20173 $ac_shift
20174 case $ac_optarg in
20175 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20176 esac
20177 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20178 ac_need_defaults=false;;
20179 --he | --h)
20180 # Conflict between --help and --header
20181 as_fn_error $? "ambiguous option: \`$1'
20182 Try \`$0 --help' for more information.";;
20183 --help | --hel | -h )
20184 $as_echo "$ac_cs_usage"; exit ;;
20185 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20186 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20187 ac_cs_silent=: ;;
20189 # This is an error.
20190 -*) as_fn_error $? "unrecognized option: \`$1'
20191 Try \`$0 --help' for more information." ;;
20193 *) as_fn_append ac_config_targets " $1"
20194 ac_need_defaults=false ;;
20196 esac
20197 shift
20198 done
20200 ac_configure_extra_args=
20202 if $ac_cs_silent; then
20203 exec 6>/dev/null
20204 ac_configure_extra_args="$ac_configure_extra_args --silent"
20207 _ACEOF
20208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20209 if \$ac_cs_recheck; then
20210 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20211 shift
20212 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20213 CONFIG_SHELL='$SHELL'
20214 export CONFIG_SHELL
20215 exec "\$@"
20218 _ACEOF
20219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20220 exec 5>>config.log
20222 echo
20223 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20224 ## Running $as_me. ##
20225 _ASBOX
20226 $as_echo "$ac_log"
20227 } >&5
20229 _ACEOF
20230 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20232 # INIT-COMMANDS
20234 wine_fn_output_makedep ()
20236 as_dir=tools; as_fn_mkdir_p
20237 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20239 wine_fn_output_makefile ()
20241 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20242 `cat $wine_rules_file`
20243 _WINE_EOF
20244 as_fn_error $? "could not create Makefile" "$LINENO" 5
20247 _ACEOF
20249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20251 # Handling of arguments.
20252 for ac_config_target in $ac_config_targets
20254 case $ac_config_target in
20255 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20256 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20257 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20258 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20259 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20260 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20261 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20262 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20263 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20264 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20265 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20266 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20267 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20269 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20270 esac
20271 done
20274 # If the user did not use the arguments to specify the items to instantiate,
20275 # then the envvar interface is used. Set only those that are not.
20276 # We use the long form for the default assignment because of an extremely
20277 # bizarre bug on SunOS 4.1.3.
20278 if $ac_need_defaults; then
20279 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20280 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20281 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20282 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20285 # Have a temporary directory for convenience. Make it in the build tree
20286 # simply because there is no reason against having it here, and in addition,
20287 # creating and moving files from /tmp can sometimes cause problems.
20288 # Hook for its removal unless debugging.
20289 # Note that there is a small window in which the directory will not be cleaned:
20290 # after its creation but before its name has been assigned to `$tmp'.
20291 $debug ||
20293 tmp= ac_tmp=
20294 trap 'exit_status=$?
20295 : "${ac_tmp:=$tmp}"
20296 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20298 trap 'as_fn_exit 1' 1 2 13 15
20300 # Create a (secure) tmp directory for tmp files.
20303 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20304 test -d "$tmp"
20305 } ||
20307 tmp=./conf$$-$RANDOM
20308 (umask 077 && mkdir "$tmp")
20309 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20310 ac_tmp=$tmp
20312 # Set up the scripts for CONFIG_FILES section.
20313 # No need to generate them if there are no CONFIG_FILES.
20314 # This happens for instance with `./config.status config.h'.
20315 if test -n "$CONFIG_FILES"; then
20318 ac_cr=`echo X | tr X '\015'`
20319 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20320 # But we know of no other shell where ac_cr would be empty at this
20321 # point, so we can use a bashism as a fallback.
20322 if test "x$ac_cr" = x; then
20323 eval ac_cr=\$\'\\r\'
20325 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20326 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20327 ac_cs_awk_cr='\\r'
20328 else
20329 ac_cs_awk_cr=$ac_cr
20332 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20333 _ACEOF
20337 echo "cat >conf$$subs.awk <<_ACEOF" &&
20338 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20339 echo "_ACEOF"
20340 } >conf$$subs.sh ||
20341 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20342 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20343 ac_delim='%!_!# '
20344 for ac_last_try in false false false false false :; do
20345 . ./conf$$subs.sh ||
20346 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20348 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20349 if test $ac_delim_n = $ac_delim_num; then
20350 break
20351 elif $ac_last_try; then
20352 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20353 else
20354 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20356 done
20357 rm -f conf$$subs.sh
20359 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20360 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20361 _ACEOF
20362 sed -n '
20364 s/^/S["/; s/!.*/"]=/
20367 s/^[^!]*!//
20368 :repl
20369 t repl
20370 s/'"$ac_delim"'$//
20371 t delim
20374 s/\(.\{148\}\)..*/\1/
20375 t more1
20376 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20379 b repl
20380 :more1
20381 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20384 s/.\{148\}//
20385 t nl
20386 :delim
20388 s/\(.\{148\}\)..*/\1/
20389 t more2
20390 s/["\\]/\\&/g; s/^/"/; s/$/"/
20393 :more2
20394 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20397 s/.\{148\}//
20398 t delim
20399 ' <conf$$subs.awk | sed '
20400 /^[^""]/{
20402 s/\n//
20404 ' >>$CONFIG_STATUS || ac_write_fail=1
20405 rm -f conf$$subs.awk
20406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20407 _ACAWK
20408 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20409 for (key in S) S_is_set[key] = 1
20410 FS = "\a"
20414 line = $ 0
20415 nfields = split(line, field, "@")
20416 substed = 0
20417 len = length(field[1])
20418 for (i = 2; i < nfields; i++) {
20419 key = field[i]
20420 keylen = length(key)
20421 if (S_is_set[key]) {
20422 value = S[key]
20423 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20424 len += length(value) + length(field[++i])
20425 substed = 1
20426 } else
20427 len += 1 + keylen
20430 print line
20433 _ACAWK
20434 _ACEOF
20435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20436 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20437 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20438 else
20440 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20441 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20442 _ACEOF
20444 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20445 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20446 # trailing colons and then remove the whole line if VPATH becomes empty
20447 # (actually we leave an empty line to preserve line numbers).
20448 if test "x$srcdir" = x.; then
20449 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20451 s///
20452 s/^/:/
20453 s/[ ]*$/:/
20454 s/:\$(srcdir):/:/g
20455 s/:\${srcdir}:/:/g
20456 s/:@srcdir@:/:/g
20457 s/^:*//
20458 s/:*$//
20460 s/\(=[ ]*\).*/\1/
20462 s/\n//
20463 s/^[^=]*=[ ]*$//
20467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20468 fi # test -n "$CONFIG_FILES"
20470 # Set up the scripts for CONFIG_HEADERS section.
20471 # No need to generate them if there are no CONFIG_HEADERS.
20472 # This happens for instance with `./config.status Makefile'.
20473 if test -n "$CONFIG_HEADERS"; then
20474 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20475 BEGIN {
20476 _ACEOF
20478 # Transform confdefs.h into an awk script `defines.awk', embedded as
20479 # here-document in config.status, that substitutes the proper values into
20480 # config.h.in to produce config.h.
20482 # Create a delimiter string that does not exist in confdefs.h, to ease
20483 # handling of long lines.
20484 ac_delim='%!_!# '
20485 for ac_last_try in false false :; do
20486 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20487 if test -z "$ac_tt"; then
20488 break
20489 elif $ac_last_try; then
20490 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20491 else
20492 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20494 done
20496 # For the awk script, D is an array of macro values keyed by name,
20497 # likewise P contains macro parameters if any. Preserve backslash
20498 # newline sequences.
20500 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20501 sed -n '
20502 s/.\{148\}/&'"$ac_delim"'/g
20503 t rset
20504 :rset
20505 s/^[ ]*#[ ]*define[ ][ ]*/ /
20506 t def
20508 :def
20509 s/\\$//
20510 t bsnl
20511 s/["\\]/\\&/g
20512 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20513 D["\1"]=" \3"/p
20514 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20516 :bsnl
20517 s/["\\]/\\&/g
20518 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20519 D["\1"]=" \3\\\\\\n"\\/p
20520 t cont
20521 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20522 t cont
20524 :cont
20526 s/.\{148\}/&'"$ac_delim"'/g
20527 t clear
20528 :clear
20529 s/\\$//
20530 t bsnlc
20531 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20533 :bsnlc
20534 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20535 b cont
20536 ' <confdefs.h | sed '
20537 s/'"$ac_delim"'/"\\\
20538 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20541 for (key in D) D_is_set[key] = 1
20542 FS = "\a"
20544 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20545 line = \$ 0
20546 split(line, arg, " ")
20547 if (arg[1] == "#") {
20548 defundef = arg[2]
20549 mac1 = arg[3]
20550 } else {
20551 defundef = substr(arg[1], 2)
20552 mac1 = arg[2]
20554 split(mac1, mac2, "(") #)
20555 macro = mac2[1]
20556 prefix = substr(line, 1, index(line, defundef) - 1)
20557 if (D_is_set[macro]) {
20558 # Preserve the white space surrounding the "#".
20559 print prefix "define", macro P[macro] D[macro]
20560 next
20561 } else {
20562 # Replace #undef with comments. This is necessary, for example,
20563 # in the case of _POSIX_SOURCE, which is predefined and required
20564 # on some systems where configure will not decide to define it.
20565 if (defundef == "undef") {
20566 print "/*", prefix defundef, macro, "*/"
20567 next
20571 { print }
20572 _ACAWK
20573 _ACEOF
20574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20575 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20576 fi # test -n "$CONFIG_HEADERS"
20579 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20580 shift
20581 for ac_tag
20583 case $ac_tag in
20584 :[FHLC]) ac_mode=$ac_tag; continue;;
20585 esac
20586 case $ac_mode$ac_tag in
20587 :[FHL]*:*);;
20588 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20589 :[FH]-) ac_tag=-:-;;
20590 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20591 esac
20592 ac_save_IFS=$IFS
20593 IFS=:
20594 set x $ac_tag
20595 IFS=$ac_save_IFS
20596 shift
20597 ac_file=$1
20598 shift
20600 case $ac_mode in
20601 :L) ac_source=$1;;
20602 :[FH])
20603 ac_file_inputs=
20604 for ac_f
20606 case $ac_f in
20607 -) ac_f="$ac_tmp/stdin";;
20608 *) # Look for the file first in the build tree, then in the source tree
20609 # (if the path is not absolute). The absolute path cannot be DOS-style,
20610 # because $ac_f cannot contain `:'.
20611 test -f "$ac_f" ||
20612 case $ac_f in
20613 [\\/$]*) false;;
20614 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20615 esac ||
20616 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20617 esac
20618 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20619 as_fn_append ac_file_inputs " '$ac_f'"
20620 done
20622 # Let's still pretend it is `configure' which instantiates (i.e., don't
20623 # use $as_me), people would be surprised to read:
20624 # /* config.h. Generated by config.status. */
20625 configure_input='Generated from '`
20626 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20627 `' by configure.'
20628 if test x"$ac_file" != x-; then
20629 configure_input="$ac_file. $configure_input"
20630 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20631 $as_echo "$as_me: creating $ac_file" >&6;}
20633 # Neutralize special characters interpreted by sed in replacement strings.
20634 case $configure_input in #(
20635 *\&* | *\|* | *\\* )
20636 ac_sed_conf_input=`$as_echo "$configure_input" |
20637 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20638 *) ac_sed_conf_input=$configure_input;;
20639 esac
20641 case $ac_tag in
20642 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20643 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20644 esac
20646 esac
20648 ac_dir=`$as_dirname -- "$ac_file" ||
20649 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20650 X"$ac_file" : 'X\(//\)[^/]' \| \
20651 X"$ac_file" : 'X\(//\)$' \| \
20652 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20653 $as_echo X"$ac_file" |
20654 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20655 s//\1/
20658 /^X\(\/\/\)[^/].*/{
20659 s//\1/
20662 /^X\(\/\/\)$/{
20663 s//\1/
20666 /^X\(\/\).*/{
20667 s//\1/
20670 s/.*/./; q'`
20671 as_dir="$ac_dir"; as_fn_mkdir_p
20672 ac_builddir=.
20674 case "$ac_dir" in
20675 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20677 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20678 # A ".." for each directory in $ac_dir_suffix.
20679 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20680 case $ac_top_builddir_sub in
20681 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20682 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20683 esac ;;
20684 esac
20685 ac_abs_top_builddir=$ac_pwd
20686 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20687 # for backward compatibility:
20688 ac_top_builddir=$ac_top_build_prefix
20690 case $srcdir in
20691 .) # We are building in place.
20692 ac_srcdir=.
20693 ac_top_srcdir=$ac_top_builddir_sub
20694 ac_abs_top_srcdir=$ac_pwd ;;
20695 [\\/]* | ?:[\\/]* ) # Absolute name.
20696 ac_srcdir=$srcdir$ac_dir_suffix;
20697 ac_top_srcdir=$srcdir
20698 ac_abs_top_srcdir=$srcdir ;;
20699 *) # Relative name.
20700 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20701 ac_top_srcdir=$ac_top_build_prefix$srcdir
20702 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20703 esac
20704 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20707 case $ac_mode in
20710 # CONFIG_FILE
20713 _ACEOF
20715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20716 # If the template does not know about datarootdir, expand it.
20717 # FIXME: This hack should be removed a few years after 2.60.
20718 ac_datarootdir_hack=; ac_datarootdir_seen=
20719 ac_sed_dataroot='
20720 /datarootdir/ {
20724 /@datadir@/p
20725 /@docdir@/p
20726 /@infodir@/p
20727 /@localedir@/p
20728 /@mandir@/p'
20729 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20730 *datarootdir*) ac_datarootdir_seen=yes;;
20731 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20733 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20734 _ACEOF
20735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20736 ac_datarootdir_hack='
20737 s&@datadir@&$datadir&g
20738 s&@docdir@&$docdir&g
20739 s&@infodir@&$infodir&g
20740 s&@localedir@&$localedir&g
20741 s&@mandir@&$mandir&g
20742 s&\\\${datarootdir}&$datarootdir&g' ;;
20743 esac
20744 _ACEOF
20746 # Neutralize VPATH when `$srcdir' = `.'.
20747 # Shell code in configure.ac might set extrasub.
20748 # FIXME: do we really want to maintain this feature?
20749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20750 ac_sed_extra="$ac_vpsub
20751 $extrasub
20752 _ACEOF
20753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20755 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20756 s|@configure_input@|$ac_sed_conf_input|;t t
20757 s&@top_builddir@&$ac_top_builddir_sub&;t t
20758 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20759 s&@srcdir@&$ac_srcdir&;t t
20760 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20761 s&@top_srcdir@&$ac_top_srcdir&;t t
20762 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20763 s&@builddir@&$ac_builddir&;t t
20764 s&@abs_builddir@&$ac_abs_builddir&;t t
20765 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20766 $ac_datarootdir_hack
20768 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20769 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20771 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20772 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20773 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20774 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20776 which seems to be undefined. Please make sure it is defined" >&5
20777 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20778 which seems to be undefined. Please make sure it is defined" >&2;}
20780 rm -f "$ac_tmp/stdin"
20781 case $ac_file in
20782 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20783 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20784 esac \
20785 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20789 # CONFIG_HEADER
20791 if test x"$ac_file" != x-; then
20793 $as_echo "/* $configure_input */" \
20794 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20795 } >"$ac_tmp/config.h" \
20796 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20797 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20798 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20799 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20800 else
20801 rm -f "$ac_file"
20802 mv "$ac_tmp/config.h" "$ac_file" \
20803 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20805 else
20806 $as_echo "/* $configure_input */" \
20807 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20808 || as_fn_error $? "could not create -" "$LINENO" 5
20813 # CONFIG_LINK
20816 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20818 else
20819 # Prefer the file from the source tree if names are identical.
20820 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20821 ac_source=$srcdir/$ac_source
20824 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20825 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20827 if test ! -r "$ac_source"; then
20828 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20830 rm -f "$ac_file"
20832 # Try a relative symlink, then a hard link, then a copy.
20833 case $ac_source in
20834 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20835 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20836 esac
20837 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20838 ln "$ac_source" "$ac_file" 2>/dev/null ||
20839 cp -p "$ac_source" "$ac_file" ||
20840 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20843 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20844 $as_echo "$as_me: executing $ac_file commands" >&6;}
20846 esac
20849 case $ac_file$ac_mode in
20850 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20851 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20852 "Makefile":C) wine_fn_output_makefile Makefile ;;
20854 esac
20855 done # for ac_tag
20858 as_fn_exit 0
20859 _ACEOF
20860 ac_clean_files=$ac_clean_files_save
20862 test $ac_write_fail = 0 ||
20863 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20866 # configure is writing to config.log, and then calls config.status.
20867 # config.status does its own redirection, appending to config.log.
20868 # Unfortunately, on DOS this fails, as config.log is still kept open
20869 # by configure, so config.status won't be able to write to it; its
20870 # output is simply discarded. So we exec the FD to /dev/null,
20871 # effectively closing config.log, so it can be properly (re)opened and
20872 # appended to by config.status. When coming back to configure, we
20873 # need to make the FD available again.
20874 if test "$no_create" != yes; then
20875 ac_cs_success=:
20876 ac_config_status_args=
20877 test "$silent" = yes &&
20878 ac_config_status_args="$ac_config_status_args --quiet"
20879 exec 5>/dev/null
20880 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20881 exec 5>>config.log
20882 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20883 # would make configure fail if this is the last instruction.
20884 $ac_cs_success || as_fn_exit 1
20886 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20888 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20892 if test "$no_create" = "yes"
20893 then
20894 exit 0
20897 ac_save_IFS="$IFS"
20898 if test "x$wine_notices" != x; then
20899 echo >&6
20900 IFS="|"
20901 for msg in $wine_notices; do
20902 IFS="$ac_save_IFS"
20903 if ${msg:+false} :; then :
20905 else
20906 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20907 $as_echo "$as_me: $msg" >&6;}
20909 done
20911 IFS="|"
20912 for msg in $wine_warnings; do
20913 IFS="$ac_save_IFS"
20914 if ${msg:+false} :; then :
20916 else
20917 echo >&2
20918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20919 $as_echo "$as_me: WARNING: $msg" >&2;}
20921 done
20922 IFS="$ac_save_IFS"
20924 $as_echo "
20925 $as_me: Finished. Do '${ac_make}' to compile Wine.
20926 " >&6