ucrtbase: Add _crt_at_quick_exit stub.
[wine.git] / configure
blob431d56d0738c4218425b6e03b61cf94e3232f186
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.11.
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.11'
584 PACKAGE_STRING='Wine 3.11'
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_dism
1670 enable_dpnsvr
1671 enable_dxdiag
1672 enable_eject
1673 enable_expand
1674 enable_explorer
1675 enable_extrac32
1676 enable_fc
1677 enable_find
1678 enable_findstr
1679 enable_fsutil
1680 enable_hh
1681 enable_hostname
1682 enable_icacls
1683 enable_icinfo
1684 enable_iexplore
1685 enable_ipconfig
1686 enable_lodctr
1687 enable_mofcomp
1688 enable_mshta
1689 enable_msiexec
1690 enable_msinfo32
1691 enable_net
1692 enable_netsh
1693 enable_netstat
1694 enable_ngen
1695 enable_notepad
1696 enable_oleview
1697 enable_ping
1698 enable_plugplay
1699 enable_powershell
1700 enable_presentationfontcache
1701 enable_progman
1702 enable_reg
1703 enable_regasm
1704 enable_regedit
1705 enable_regsvcs
1706 enable_regsvr32
1707 enable_rpcss
1708 enable_rundll32
1709 enable_sc
1710 enable_schtasks
1711 enable_sdbinst
1712 enable_secedit
1713 enable_servicemodelreg
1714 enable_services
1715 enable_shutdown
1716 enable_spoolsv
1717 enable_start
1718 enable_subst
1719 enable_svchost
1720 enable_systeminfo
1721 enable_taskkill
1722 enable_tasklist
1723 enable_taskmgr
1724 enable_termsv
1725 enable_uninstaller
1726 enable_unlodctr
1727 enable_view
1728 enable_wevtutil
1729 enable_wineboot
1730 enable_winebrowser
1731 enable_winecfg
1732 enable_wineconsole
1733 enable_winedbg
1734 enable_winedevice
1735 enable_winefile
1736 enable_winemenubuilder
1737 enable_winemine
1738 enable_winemsibuilder
1739 enable_winepath
1740 enable_winetest
1741 enable_winhlp32
1742 enable_winmgmt
1743 enable_winver
1744 enable_wmic
1745 enable_wmplayer
1746 enable_wordpad
1747 enable_write
1748 enable_wscript
1749 enable_wusa
1750 enable_xcopy
1751 enable_server
1752 enable_tools
1753 enable_sfnt2fon
1754 enable_widl
1755 enable_winebuild
1756 enable_winedump
1757 enable_winegcc
1758 enable_winemaker
1759 enable_wmc
1760 enable_wrc
1762 ac_precious_vars='build_alias
1763 host_alias
1764 target_alias
1766 CFLAGS
1767 LDFLAGS
1768 LIBS
1769 CPPFLAGS
1771 CXXFLAGS
1774 XMKMF
1775 XML2_CFLAGS
1776 XML2_LIBS
1777 XSLT_CFLAGS
1778 XSLT_LIBS
1779 DBUS_CFLAGS
1780 DBUS_LIBS
1781 HAL_CFLAGS
1782 HAL_LIBS
1783 GNUTLS_CFLAGS
1784 GNUTLS_LIBS
1785 SANE_CFLAGS
1786 SANE_LIBS
1787 GPHOTO2_CFLAGS
1788 GPHOTO2_LIBS
1789 GPHOTO2_PORT_CFLAGS
1790 GPHOTO2_PORT_LIBS
1791 LCMS2_CFLAGS
1792 LCMS2_LIBS
1793 FREETYPE_CFLAGS
1794 FREETYPE_LIBS
1795 PULSE_CFLAGS
1796 PULSE_LIBS
1797 GSTREAMER_CFLAGS
1798 GSTREAMER_LIBS
1799 UDEV_CFLAGS
1800 UDEV_LIBS
1801 SDL2_CFLAGS
1802 SDL2_LIBS
1803 CAPI20_CFLAGS
1804 CAPI20_LIBS
1805 CUPS_CFLAGS
1806 CUPS_LIBS
1807 FONTCONFIG_CFLAGS
1808 FONTCONFIG_LIBS
1809 KRB5_CFLAGS
1810 KRB5_LIBS
1811 GSSAPI_CFLAGS
1812 GSSAPI_LIBS
1813 JPEG_CFLAGS
1814 JPEG_LIBS
1815 PNG_CFLAGS
1816 PNG_LIBS
1817 TIFF_CFLAGS
1818 TIFF_LIBS
1819 MPG123_CFLAGS
1820 MPG123_LIBS
1821 NETAPI_CFLAGS
1822 NETAPI_LIBS
1823 VKD3D_CFLAGS
1824 VKD3D_LIBS
1825 LDAP_CFLAGS
1826 LDAP_LIBS'
1829 # Initialize some variables set by options.
1830 ac_init_help=
1831 ac_init_version=false
1832 ac_unrecognized_opts=
1833 ac_unrecognized_sep=
1834 # The variables have the same names as the options, with
1835 # dashes changed to underlines.
1836 cache_file=/dev/null
1837 exec_prefix=NONE
1838 no_create=
1839 no_recursion=
1840 prefix=NONE
1841 program_prefix=NONE
1842 program_suffix=NONE
1843 program_transform_name=s,x,x,
1844 silent=
1845 site=
1846 srcdir=
1847 verbose=
1848 x_includes=NONE
1849 x_libraries=NONE
1851 # Installation directory options.
1852 # These are left unexpanded so users can "make install exec_prefix=/foo"
1853 # and all the variables that are supposed to be based on exec_prefix
1854 # by default will actually change.
1855 # Use braces instead of parens because sh, perl, etc. also accept them.
1856 # (The list follows the same order as the GNU Coding Standards.)
1857 bindir='${exec_prefix}/bin'
1858 sbindir='${exec_prefix}/sbin'
1859 libexecdir='${exec_prefix}/libexec'
1860 datarootdir='${prefix}/share'
1861 datadir='${datarootdir}'
1862 sysconfdir='${prefix}/etc'
1863 sharedstatedir='${prefix}/com'
1864 localstatedir='${prefix}/var'
1865 runstatedir='${localstatedir}/run'
1866 includedir='${prefix}/include'
1867 oldincludedir='/usr/include'
1868 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1869 infodir='${datarootdir}/info'
1870 htmldir='${docdir}'
1871 dvidir='${docdir}'
1872 pdfdir='${docdir}'
1873 psdir='${docdir}'
1874 libdir='${exec_prefix}/lib'
1875 localedir='${datarootdir}/locale'
1876 mandir='${datarootdir}/man'
1878 ac_prev=
1879 ac_dashdash=
1880 for ac_option
1882 # If the previous option needs an argument, assign it.
1883 if test -n "$ac_prev"; then
1884 eval $ac_prev=\$ac_option
1885 ac_prev=
1886 continue
1889 case $ac_option in
1890 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1891 *=) ac_optarg= ;;
1892 *) ac_optarg=yes ;;
1893 esac
1895 # Accept the important Cygnus configure options, so we can diagnose typos.
1897 case $ac_dashdash$ac_option in
1899 ac_dashdash=yes ;;
1901 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1902 ac_prev=bindir ;;
1903 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1904 bindir=$ac_optarg ;;
1906 -build | --build | --buil | --bui | --bu)
1907 ac_prev=build_alias ;;
1908 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1909 build_alias=$ac_optarg ;;
1911 -cache-file | --cache-file | --cache-fil | --cache-fi \
1912 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1913 ac_prev=cache_file ;;
1914 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1915 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1916 cache_file=$ac_optarg ;;
1918 --config-cache | -C)
1919 cache_file=config.cache ;;
1921 -datadir | --datadir | --datadi | --datad)
1922 ac_prev=datadir ;;
1923 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1924 datadir=$ac_optarg ;;
1926 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1927 | --dataroo | --dataro | --datar)
1928 ac_prev=datarootdir ;;
1929 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1930 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1931 datarootdir=$ac_optarg ;;
1933 -disable-* | --disable-*)
1934 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1935 # Reject names that are not valid shell variable names.
1936 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1937 as_fn_error $? "invalid feature name: $ac_useropt"
1938 ac_useropt_orig=$ac_useropt
1939 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1940 case $ac_user_opts in
1942 "enable_$ac_useropt"
1943 "*) ;;
1944 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1945 ac_unrecognized_sep=', ';;
1946 esac
1947 eval enable_$ac_useropt=no ;;
1949 -docdir | --docdir | --docdi | --doc | --do)
1950 ac_prev=docdir ;;
1951 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1952 docdir=$ac_optarg ;;
1954 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1955 ac_prev=dvidir ;;
1956 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1957 dvidir=$ac_optarg ;;
1959 -enable-* | --enable-*)
1960 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1961 # Reject names that are not valid shell variable names.
1962 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1963 as_fn_error $? "invalid feature name: $ac_useropt"
1964 ac_useropt_orig=$ac_useropt
1965 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1966 case $ac_user_opts in
1968 "enable_$ac_useropt"
1969 "*) ;;
1970 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1971 ac_unrecognized_sep=', ';;
1972 esac
1973 eval enable_$ac_useropt=\$ac_optarg ;;
1975 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1976 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1977 | --exec | --exe | --ex)
1978 ac_prev=exec_prefix ;;
1979 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1980 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1981 | --exec=* | --exe=* | --ex=*)
1982 exec_prefix=$ac_optarg ;;
1984 -gas | --gas | --ga | --g)
1985 # Obsolete; use --with-gas.
1986 with_gas=yes ;;
1988 -help | --help | --hel | --he | -h)
1989 ac_init_help=long ;;
1990 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1991 ac_init_help=recursive ;;
1992 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1993 ac_init_help=short ;;
1995 -host | --host | --hos | --ho)
1996 ac_prev=host_alias ;;
1997 -host=* | --host=* | --hos=* | --ho=*)
1998 host_alias=$ac_optarg ;;
2000 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2001 ac_prev=htmldir ;;
2002 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2003 | --ht=*)
2004 htmldir=$ac_optarg ;;
2006 -includedir | --includedir | --includedi | --included | --include \
2007 | --includ | --inclu | --incl | --inc)
2008 ac_prev=includedir ;;
2009 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2010 | --includ=* | --inclu=* | --incl=* | --inc=*)
2011 includedir=$ac_optarg ;;
2013 -infodir | --infodir | --infodi | --infod | --info | --inf)
2014 ac_prev=infodir ;;
2015 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2016 infodir=$ac_optarg ;;
2018 -libdir | --libdir | --libdi | --libd)
2019 ac_prev=libdir ;;
2020 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2021 libdir=$ac_optarg ;;
2023 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2024 | --libexe | --libex | --libe)
2025 ac_prev=libexecdir ;;
2026 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2027 | --libexe=* | --libex=* | --libe=*)
2028 libexecdir=$ac_optarg ;;
2030 -localedir | --localedir | --localedi | --localed | --locale)
2031 ac_prev=localedir ;;
2032 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2033 localedir=$ac_optarg ;;
2035 -localstatedir | --localstatedir | --localstatedi | --localstated \
2036 | --localstate | --localstat | --localsta | --localst | --locals)
2037 ac_prev=localstatedir ;;
2038 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2039 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2040 localstatedir=$ac_optarg ;;
2042 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2043 ac_prev=mandir ;;
2044 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2045 mandir=$ac_optarg ;;
2047 -nfp | --nfp | --nf)
2048 # Obsolete; use --without-fp.
2049 with_fp=no ;;
2051 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2052 | --no-cr | --no-c | -n)
2053 no_create=yes ;;
2055 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2056 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2057 no_recursion=yes ;;
2059 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2060 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2061 | --oldin | --oldi | --old | --ol | --o)
2062 ac_prev=oldincludedir ;;
2063 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2064 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2065 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2066 oldincludedir=$ac_optarg ;;
2068 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2069 ac_prev=prefix ;;
2070 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2071 prefix=$ac_optarg ;;
2073 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2074 | --program-pre | --program-pr | --program-p)
2075 ac_prev=program_prefix ;;
2076 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2077 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2078 program_prefix=$ac_optarg ;;
2080 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2081 | --program-suf | --program-su | --program-s)
2082 ac_prev=program_suffix ;;
2083 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2084 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2085 program_suffix=$ac_optarg ;;
2087 -program-transform-name | --program-transform-name \
2088 | --program-transform-nam | --program-transform-na \
2089 | --program-transform-n | --program-transform- \
2090 | --program-transform | --program-transfor \
2091 | --program-transfo | --program-transf \
2092 | --program-trans | --program-tran \
2093 | --progr-tra | --program-tr | --program-t)
2094 ac_prev=program_transform_name ;;
2095 -program-transform-name=* | --program-transform-name=* \
2096 | --program-transform-nam=* | --program-transform-na=* \
2097 | --program-transform-n=* | --program-transform-=* \
2098 | --program-transform=* | --program-transfor=* \
2099 | --program-transfo=* | --program-transf=* \
2100 | --program-trans=* | --program-tran=* \
2101 | --progr-tra=* | --program-tr=* | --program-t=*)
2102 program_transform_name=$ac_optarg ;;
2104 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2105 ac_prev=pdfdir ;;
2106 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2107 pdfdir=$ac_optarg ;;
2109 -psdir | --psdir | --psdi | --psd | --ps)
2110 ac_prev=psdir ;;
2111 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2112 psdir=$ac_optarg ;;
2114 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2115 | -silent | --silent | --silen | --sile | --sil)
2116 silent=yes ;;
2118 -runstatedir | --runstatedir | --runstatedi | --runstated \
2119 | --runstate | --runstat | --runsta | --runst | --runs \
2120 | --run | --ru | --r)
2121 ac_prev=runstatedir ;;
2122 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2123 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2124 | --run=* | --ru=* | --r=*)
2125 runstatedir=$ac_optarg ;;
2127 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2128 ac_prev=sbindir ;;
2129 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2130 | --sbi=* | --sb=*)
2131 sbindir=$ac_optarg ;;
2133 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2134 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2135 | --sharedst | --shareds | --shared | --share | --shar \
2136 | --sha | --sh)
2137 ac_prev=sharedstatedir ;;
2138 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2139 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2140 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2141 | --sha=* | --sh=*)
2142 sharedstatedir=$ac_optarg ;;
2144 -site | --site | --sit)
2145 ac_prev=site ;;
2146 -site=* | --site=* | --sit=*)
2147 site=$ac_optarg ;;
2149 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2150 ac_prev=srcdir ;;
2151 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2152 srcdir=$ac_optarg ;;
2154 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2155 | --syscon | --sysco | --sysc | --sys | --sy)
2156 ac_prev=sysconfdir ;;
2157 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2158 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2159 sysconfdir=$ac_optarg ;;
2161 -target | --target | --targe | --targ | --tar | --ta | --t)
2162 ac_prev=target_alias ;;
2163 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2164 target_alias=$ac_optarg ;;
2166 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2167 verbose=yes ;;
2169 -version | --version | --versio | --versi | --vers | -V)
2170 ac_init_version=: ;;
2172 -with-* | --with-*)
2173 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2174 # Reject names that are not valid shell variable names.
2175 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2176 as_fn_error $? "invalid package name: $ac_useropt"
2177 ac_useropt_orig=$ac_useropt
2178 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2179 case $ac_user_opts in
2181 "with_$ac_useropt"
2182 "*) ;;
2183 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2184 ac_unrecognized_sep=', ';;
2185 esac
2186 eval with_$ac_useropt=\$ac_optarg ;;
2188 -without-* | --without-*)
2189 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2190 # Reject names that are not valid shell variable names.
2191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2192 as_fn_error $? "invalid package name: $ac_useropt"
2193 ac_useropt_orig=$ac_useropt
2194 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2195 case $ac_user_opts in
2197 "with_$ac_useropt"
2198 "*) ;;
2199 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2200 ac_unrecognized_sep=', ';;
2201 esac
2202 eval with_$ac_useropt=no ;;
2204 --x)
2205 # Obsolete; use --with-x.
2206 with_x=yes ;;
2208 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2209 | --x-incl | --x-inc | --x-in | --x-i)
2210 ac_prev=x_includes ;;
2211 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2212 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2213 x_includes=$ac_optarg ;;
2215 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2216 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2217 ac_prev=x_libraries ;;
2218 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2219 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2220 x_libraries=$ac_optarg ;;
2222 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2223 Try \`$0 --help' for more information"
2226 *=*)
2227 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2228 # Reject names that are not valid shell variable names.
2229 case $ac_envvar in #(
2230 '' | [0-9]* | *[!_$as_cr_alnum]* )
2231 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2232 esac
2233 eval $ac_envvar=\$ac_optarg
2234 export $ac_envvar ;;
2237 # FIXME: should be removed in autoconf 3.0.
2238 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2239 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2240 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2241 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2244 esac
2245 done
2247 if test -n "$ac_prev"; then
2248 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2249 as_fn_error $? "missing argument to $ac_option"
2252 if test -n "$ac_unrecognized_opts"; then
2253 case $enable_option_checking in
2254 no) ;;
2255 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2256 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2257 esac
2260 # Check all directory arguments for consistency.
2261 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2262 datadir sysconfdir sharedstatedir localstatedir includedir \
2263 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2264 libdir localedir mandir runstatedir
2266 eval ac_val=\$$ac_var
2267 # Remove trailing slashes.
2268 case $ac_val in
2269 */ )
2270 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2271 eval $ac_var=\$ac_val;;
2272 esac
2273 # Be sure to have absolute directory names.
2274 case $ac_val in
2275 [\\/$]* | ?:[\\/]* ) continue;;
2276 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2277 esac
2278 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2279 done
2281 # There might be people who depend on the old broken behavior: `$host'
2282 # used to hold the argument of --host etc.
2283 # FIXME: To remove some day.
2284 build=$build_alias
2285 host=$host_alias
2286 target=$target_alias
2288 # FIXME: To remove some day.
2289 if test "x$host_alias" != x; then
2290 if test "x$build_alias" = x; then
2291 cross_compiling=maybe
2292 elif test "x$build_alias" != "x$host_alias"; then
2293 cross_compiling=yes
2297 ac_tool_prefix=
2298 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2300 test "$silent" = yes && exec 6>/dev/null
2303 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2304 ac_ls_di=`ls -di .` &&
2305 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2306 as_fn_error $? "working directory cannot be determined"
2307 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2308 as_fn_error $? "pwd does not report name of working directory"
2311 # Find the source files, if location was not specified.
2312 if test -z "$srcdir"; then
2313 ac_srcdir_defaulted=yes
2314 # Try the directory containing this script, then the parent directory.
2315 ac_confdir=`$as_dirname -- "$as_myself" ||
2316 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2317 X"$as_myself" : 'X\(//\)[^/]' \| \
2318 X"$as_myself" : 'X\(//\)$' \| \
2319 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2320 $as_echo X"$as_myself" |
2321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2322 s//\1/
2325 /^X\(\/\/\)[^/].*/{
2326 s//\1/
2329 /^X\(\/\/\)$/{
2330 s//\1/
2333 /^X\(\/\).*/{
2334 s//\1/
2337 s/.*/./; q'`
2338 srcdir=$ac_confdir
2339 if test ! -r "$srcdir/$ac_unique_file"; then
2340 srcdir=..
2342 else
2343 ac_srcdir_defaulted=no
2345 if test ! -r "$srcdir/$ac_unique_file"; then
2346 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2347 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2349 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2350 ac_abs_confdir=`(
2351 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2352 pwd)`
2353 # When building in place, set srcdir=.
2354 if test "$ac_abs_confdir" = "$ac_pwd"; then
2355 srcdir=.
2357 # Remove unnecessary trailing slashes from srcdir.
2358 # Double slashes in file names in object file debugging info
2359 # mess up M-x gdb in Emacs.
2360 case $srcdir in
2361 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2362 esac
2363 for ac_var in $ac_precious_vars; do
2364 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2365 eval ac_env_${ac_var}_value=\$${ac_var}
2366 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2367 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2368 done
2371 # Report the --help message.
2373 if test "$ac_init_help" = "long"; then
2374 # Omit some internal or obsolete options to make the list less imposing.
2375 # This message is too long to be a string in the A/UX 3.1 sh.
2376 cat <<_ACEOF
2377 \`configure' configures Wine 3.11 to adapt to many kinds of systems.
2379 Usage: $0 [OPTION]... [VAR=VALUE]...
2381 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2382 VAR=VALUE. See below for descriptions of some of the useful variables.
2384 Defaults for the options are specified in brackets.
2386 Configuration:
2387 -h, --help display this help and exit
2388 --help=short display options specific to this package
2389 --help=recursive display the short help of all the included packages
2390 -V, --version display version information and exit
2391 -q, --quiet, --silent do not print \`checking ...' messages
2392 --cache-file=FILE cache test results in FILE [disabled]
2393 -C, --config-cache alias for \`--cache-file=config.cache'
2394 -n, --no-create do not create output files
2395 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2397 Installation directories:
2398 --prefix=PREFIX install architecture-independent files in PREFIX
2399 [$ac_default_prefix]
2400 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2401 [PREFIX]
2403 By default, \`make install' will install all the files in
2404 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2405 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2406 for instance \`--prefix=\$HOME'.
2408 For better control, use the options below.
2410 Fine tuning of the installation directories:
2411 --bindir=DIR user executables [EPREFIX/bin]
2412 --sbindir=DIR system admin executables [EPREFIX/sbin]
2413 --libexecdir=DIR program executables [EPREFIX/libexec]
2414 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2415 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2416 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2417 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2418 --libdir=DIR object code libraries [EPREFIX/lib]
2419 --includedir=DIR C header files [PREFIX/include]
2420 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2421 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2422 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2423 --infodir=DIR info documentation [DATAROOTDIR/info]
2424 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2425 --mandir=DIR man documentation [DATAROOTDIR/man]
2426 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2427 --htmldir=DIR html documentation [DOCDIR]
2428 --dvidir=DIR dvi documentation [DOCDIR]
2429 --pdfdir=DIR pdf documentation [DOCDIR]
2430 --psdir=DIR ps documentation [DOCDIR]
2431 _ACEOF
2433 cat <<\_ACEOF
2435 X features:
2436 --x-includes=DIR X include files are in DIR
2437 --x-libraries=DIR X library files are in DIR
2439 System types:
2440 --build=BUILD configure for building on BUILD [guessed]
2441 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2442 _ACEOF
2445 if test -n "$ac_init_help"; then
2446 case $ac_init_help in
2447 short | recursive ) echo "Configuration of Wine 3.11:";;
2448 esac
2449 cat <<\_ACEOF
2451 Optional Features:
2452 --disable-option-checking ignore unrecognized --enable/--with options
2453 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2454 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2455 --disable-win16 do not include Win16 support
2456 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2457 binaries)
2458 --disable-tests do not build the regression tests
2459 --enable-maintainer-mode
2460 enable maintainer-specific build rules
2461 --disable-largefile omit support for large files
2463 Optional Packages:
2464 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2465 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2466 --without-alsa do not use the Alsa sound support
2467 --without-capi do not use CAPI (ISDN support)
2468 --without-cms do not use CMS (color management support)
2469 --without-coreaudio do not use the CoreAudio sound support
2470 --without-cups do not use CUPS
2471 --without-curses do not use (n)curses
2472 --without-dbus do not use DBus (dynamic device support)
2473 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2474 --without-fontconfig do not use fontconfig
2475 --without-freetype do not use the FreeType library
2476 --without-gettext do not use gettext
2477 --with-gettextpo use the GetTextPO library to rebuild po files
2478 --without-gphoto do not use gphoto (Digital Camera support)
2479 --without-glu do not use the GLU library
2480 --without-gnutls do not use GnuTLS (schannel support)
2481 --without-gsm do not use libgsm (GSM 06.10 codec support)
2482 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2483 --without-gstreamer do not use GStreamer (codecs support)
2484 --without-hal do not use HAL (dynamic device support)
2485 --without-jpeg do not use JPEG
2486 --without-krb5 do not use krb5 (Kerberos)
2487 --without-ldap do not use LDAP
2488 --without-mpg123 do not use the mpg123 library
2489 --without-netapi do not use the Samba NetAPI library
2490 --without-openal do not use OpenAL
2491 --without-opencl do not use OpenCL
2492 --without-opengl do not use OpenGL
2493 --without-osmesa do not use the OSMesa library
2494 --without-oss do not use the OSS sound support
2495 --without-pcap do not use the Packet Capture library
2496 --without-png do not use PNG
2497 --without-pthread do not use the pthread library
2498 --without-pulse do not use PulseAudio sound support
2499 --without-sane do not use SANE (scanner support)
2500 --without-sdl do not use SDL
2501 --without-tiff do not use TIFF
2502 --without-udev do not use udev (plug and play support)
2503 --without-v4l do not use v4l1 (v4l support)
2504 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2505 --without-vulkan do not use Vulkan
2506 --without-xcomposite do not use the Xcomposite extension
2507 --without-xcursor do not use the Xcursor extension
2508 --without-xfixes do not use Xfixes for clipboard change notifications
2509 --without-xinerama do not use Xinerama (multi-monitor support)
2510 --without-xinput do not use the Xinput extension
2511 --without-xinput2 do not use the Xinput 2 extension
2512 --without-xml do not use XML
2513 --without-xrandr do not use Xrandr (resolution changes)
2514 --without-xrender do not use the Xrender extension
2515 --without-xshape do not use the Xshape extension
2516 --without-xshm do not use XShm (shared memory extension)
2517 --without-xslt do not use XSLT
2518 --without-xxf86vm do not use XFree video mode extension
2519 --without-zlib do not use Zlib (data compression)
2520 --with-wine-tools=DIR use Wine tools from directory DIR
2521 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2522 --with-x use the X Window System
2524 Some influential environment variables:
2525 CC C compiler command
2526 CFLAGS C compiler flags
2527 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2528 nonstandard directory <lib dir>
2529 LIBS libraries to pass to the linker, e.g. -l<library>
2530 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2531 you have headers in a nonstandard directory <include dir>
2532 CXX C++ compiler command
2533 CXXFLAGS C++ compiler flags
2534 CPP C preprocessor
2535 XMKMF Path to xmkmf, Makefile generator for X Window System
2536 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2537 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2538 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2539 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2540 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2541 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2542 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2543 HAL_LIBS Linker flags for hal, overriding pkg-config
2544 GNUTLS_CFLAGS
2545 C compiler flags for gnutls, overriding pkg-config
2546 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2547 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2548 SANE_LIBS Linker flags for libsane, overriding pkg-config
2549 GPHOTO2_CFLAGS
2550 C compiler flags for libgphoto2, overriding pkg-config
2551 GPHOTO2_LIBS
2552 Linker flags for libgphoto2, overriding pkg-config
2553 GPHOTO2_PORT_CFLAGS
2554 C compiler flags for libgphoto2_port, overriding pkg-config
2555 GPHOTO2_PORT_LIBS
2556 Linker flags for libgphoto2_port, overriding pkg-config
2557 LCMS2_CFLAGS
2558 C compiler flags for lcms2, overriding pkg-config
2559 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2560 FREETYPE_CFLAGS
2561 C compiler flags for freetype2, overriding pkg-config
2562 FREETYPE_LIBS
2563 Linker flags for freetype2, overriding pkg-config
2564 PULSE_CFLAGS
2565 C compiler flags for libpulse, overriding pkg-config
2566 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2567 GSTREAMER_CFLAGS
2568 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2569 gstreamer-audio-1.0, overriding pkg-config
2570 GSTREAMER_LIBS
2571 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2572 gstreamer-audio-1.0, overriding pkg-config
2573 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2574 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2575 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2576 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2577 CAPI20_CFLAGS
2578 C compiler flags for capi20, overriding pkg-config
2579 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2580 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2581 CUPS_LIBS Linker flags for cups, overriding pkg-config
2582 FONTCONFIG_CFLAGS
2583 C compiler flags for fontconfig, overriding pkg-config
2584 FONTCONFIG_LIBS
2585 Linker flags for fontconfig, overriding pkg-config
2586 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2587 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2588 GSSAPI_CFLAGS
2589 C compiler flags for krb5-gssapi, overriding pkg-config
2590 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2591 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2592 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2593 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2594 PNG_LIBS Linker flags for libpng, overriding pkg-config
2595 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2596 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2597 MPG123_CFLAGS
2598 C compiler flags for libmpg123, overriding pkg-config
2599 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2600 NETAPI_CFLAGS
2601 C compiler flags for netapi, overriding pkg-config
2602 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2603 VKD3D_CFLAGS
2604 C compiler flags for libvkd3d, overriding pkg-config
2605 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2606 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2607 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2609 Use these variables to override the choices made by `configure' or to help
2610 it to find libraries and programs with nonstandard names/locations.
2612 Report bugs to <wine-devel@winehq.org>.
2613 Wine home page: <https://www.winehq.org>.
2614 _ACEOF
2615 ac_status=$?
2618 if test "$ac_init_help" = "recursive"; then
2619 # If there are subdirs, report their specific --help.
2620 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2621 test -d "$ac_dir" ||
2622 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2623 continue
2624 ac_builddir=.
2626 case "$ac_dir" in
2627 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2629 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2630 # A ".." for each directory in $ac_dir_suffix.
2631 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2632 case $ac_top_builddir_sub in
2633 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2634 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2635 esac ;;
2636 esac
2637 ac_abs_top_builddir=$ac_pwd
2638 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2639 # for backward compatibility:
2640 ac_top_builddir=$ac_top_build_prefix
2642 case $srcdir in
2643 .) # We are building in place.
2644 ac_srcdir=.
2645 ac_top_srcdir=$ac_top_builddir_sub
2646 ac_abs_top_srcdir=$ac_pwd ;;
2647 [\\/]* | ?:[\\/]* ) # Absolute name.
2648 ac_srcdir=$srcdir$ac_dir_suffix;
2649 ac_top_srcdir=$srcdir
2650 ac_abs_top_srcdir=$srcdir ;;
2651 *) # Relative name.
2652 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2653 ac_top_srcdir=$ac_top_build_prefix$srcdir
2654 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2655 esac
2656 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2658 cd "$ac_dir" || { ac_status=$?; continue; }
2659 # Check for guested configure.
2660 if test -f "$ac_srcdir/configure.gnu"; then
2661 echo &&
2662 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2663 elif test -f "$ac_srcdir/configure"; then
2664 echo &&
2665 $SHELL "$ac_srcdir/configure" --help=recursive
2666 else
2667 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2668 fi || ac_status=$?
2669 cd "$ac_pwd" || { ac_status=$?; break; }
2670 done
2673 test -n "$ac_init_help" && exit $ac_status
2674 if $ac_init_version; then
2675 cat <<\_ACEOF
2676 Wine configure 3.11
2677 generated by GNU Autoconf 2.69
2679 Copyright (C) 2012 Free Software Foundation, Inc.
2680 This configure script is free software; the Free Software Foundation
2681 gives unlimited permission to copy, distribute and modify it.
2682 _ACEOF
2683 exit
2686 ## ------------------------ ##
2687 ## Autoconf initialization. ##
2688 ## ------------------------ ##
2690 # ac_fn_c_try_compile LINENO
2691 # --------------------------
2692 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2693 ac_fn_c_try_compile ()
2695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2696 rm -f conftest.$ac_objext
2697 if { { ac_try="$ac_compile"
2698 case "(($ac_try" in
2699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2700 *) ac_try_echo=$ac_try;;
2701 esac
2702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2703 $as_echo "$ac_try_echo"; } >&5
2704 (eval "$ac_compile") 2>conftest.err
2705 ac_status=$?
2706 if test -s conftest.err; then
2707 grep -v '^ *+' conftest.err >conftest.er1
2708 cat conftest.er1 >&5
2709 mv -f conftest.er1 conftest.err
2711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2712 test $ac_status = 0; } && {
2713 test -z "$ac_c_werror_flag" ||
2714 test ! -s conftest.err
2715 } && test -s conftest.$ac_objext; then :
2716 ac_retval=0
2717 else
2718 $as_echo "$as_me: failed program was:" >&5
2719 sed 's/^/| /' conftest.$ac_ext >&5
2721 ac_retval=1
2723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2724 as_fn_set_status $ac_retval
2726 } # ac_fn_c_try_compile
2728 # ac_fn_cxx_try_compile LINENO
2729 # ----------------------------
2730 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2731 ac_fn_cxx_try_compile ()
2733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2734 rm -f conftest.$ac_objext
2735 if { { ac_try="$ac_compile"
2736 case "(($ac_try" in
2737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738 *) ac_try_echo=$ac_try;;
2739 esac
2740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2741 $as_echo "$ac_try_echo"; } >&5
2742 (eval "$ac_compile") 2>conftest.err
2743 ac_status=$?
2744 if test -s conftest.err; then
2745 grep -v '^ *+' conftest.err >conftest.er1
2746 cat conftest.er1 >&5
2747 mv -f conftest.er1 conftest.err
2749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2750 test $ac_status = 0; } && {
2751 test -z "$ac_cxx_werror_flag" ||
2752 test ! -s conftest.err
2753 } && test -s conftest.$ac_objext; then :
2754 ac_retval=0
2755 else
2756 $as_echo "$as_me: failed program was:" >&5
2757 sed 's/^/| /' conftest.$ac_ext >&5
2759 ac_retval=1
2761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2762 as_fn_set_status $ac_retval
2764 } # ac_fn_cxx_try_compile
2766 # ac_fn_c_try_link LINENO
2767 # -----------------------
2768 # Try to link conftest.$ac_ext, and return whether this succeeded.
2769 ac_fn_c_try_link ()
2771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2772 rm -f conftest.$ac_objext conftest$ac_exeext
2773 if { { ac_try="$ac_link"
2774 case "(($ac_try" in
2775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2776 *) ac_try_echo=$ac_try;;
2777 esac
2778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2779 $as_echo "$ac_try_echo"; } >&5
2780 (eval "$ac_link") 2>conftest.err
2781 ac_status=$?
2782 if test -s conftest.err; then
2783 grep -v '^ *+' conftest.err >conftest.er1
2784 cat conftest.er1 >&5
2785 mv -f conftest.er1 conftest.err
2787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2788 test $ac_status = 0; } && {
2789 test -z "$ac_c_werror_flag" ||
2790 test ! -s conftest.err
2791 } && test -s conftest$ac_exeext && {
2792 test "$cross_compiling" = yes ||
2793 test -x conftest$ac_exeext
2794 }; then :
2795 ac_retval=0
2796 else
2797 $as_echo "$as_me: failed program was:" >&5
2798 sed 's/^/| /' conftest.$ac_ext >&5
2800 ac_retval=1
2802 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2803 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2804 # interfere with the next link command; also delete a directory that is
2805 # left behind by Apple's compiler. We do this before executing the actions.
2806 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2808 as_fn_set_status $ac_retval
2810 } # ac_fn_c_try_link
2812 # ac_fn_c_try_cpp LINENO
2813 # ----------------------
2814 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2815 ac_fn_c_try_cpp ()
2817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2818 if { { ac_try="$ac_cpp conftest.$ac_ext"
2819 case "(($ac_try" in
2820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2821 *) ac_try_echo=$ac_try;;
2822 esac
2823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2824 $as_echo "$ac_try_echo"; } >&5
2825 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2826 ac_status=$?
2827 if test -s conftest.err; then
2828 grep -v '^ *+' conftest.err >conftest.er1
2829 cat conftest.er1 >&5
2830 mv -f conftest.er1 conftest.err
2832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2833 test $ac_status = 0; } > conftest.i && {
2834 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2835 test ! -s conftest.err
2836 }; then :
2837 ac_retval=0
2838 else
2839 $as_echo "$as_me: failed program was:" >&5
2840 sed 's/^/| /' conftest.$ac_ext >&5
2842 ac_retval=1
2844 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2845 as_fn_set_status $ac_retval
2847 } # ac_fn_c_try_cpp
2849 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2850 # -------------------------------------------------------
2851 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2852 # the include files in INCLUDES and setting the cache variable VAR
2853 # accordingly.
2854 ac_fn_c_check_header_mongrel ()
2856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2857 if eval \${$3+:} false; then :
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2859 $as_echo_n "checking for $2... " >&6; }
2860 if eval \${$3+:} false; then :
2861 $as_echo_n "(cached) " >&6
2863 eval ac_res=\$$3
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2865 $as_echo "$ac_res" >&6; }
2866 else
2867 # Is the header compilable?
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2869 $as_echo_n "checking $2 usability... " >&6; }
2870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2871 /* end confdefs.h. */
2873 #include <$2>
2874 _ACEOF
2875 if ac_fn_c_try_compile "$LINENO"; then :
2876 ac_header_compiler=yes
2877 else
2878 ac_header_compiler=no
2880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2882 $as_echo "$ac_header_compiler" >&6; }
2884 # Is the header present?
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2886 $as_echo_n "checking $2 presence... " >&6; }
2887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h. */
2889 #include <$2>
2890 _ACEOF
2891 if ac_fn_c_try_cpp "$LINENO"; then :
2892 ac_header_preproc=yes
2893 else
2894 ac_header_preproc=no
2896 rm -f conftest.err conftest.i conftest.$ac_ext
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2898 $as_echo "$ac_header_preproc" >&6; }
2900 # So? What about this header?
2901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2902 yes:no: )
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2904 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2906 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2908 no:yes:* )
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2910 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2912 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2914 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2916 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2918 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2919 ( $as_echo "## ------------------------------------ ##
2920 ## Report this to wine-devel@winehq.org ##
2921 ## ------------------------------------ ##"
2922 ) | sed "s/^/$as_me: WARNING: /" >&2
2924 esac
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2926 $as_echo_n "checking for $2... " >&6; }
2927 if eval \${$3+:} false; then :
2928 $as_echo_n "(cached) " >&6
2929 else
2930 eval "$3=\$ac_header_compiler"
2932 eval ac_res=\$$3
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2934 $as_echo "$ac_res" >&6; }
2936 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2938 } # ac_fn_c_check_header_mongrel
2940 # ac_fn_c_try_run LINENO
2941 # ----------------------
2942 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2943 # that executables *can* be run.
2944 ac_fn_c_try_run ()
2946 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2947 if { { ac_try="$ac_link"
2948 case "(($ac_try" in
2949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2950 *) ac_try_echo=$ac_try;;
2951 esac
2952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2953 $as_echo "$ac_try_echo"; } >&5
2954 (eval "$ac_link") 2>&5
2955 ac_status=$?
2956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2957 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2958 { { case "(($ac_try" in
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2961 esac
2962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2963 $as_echo "$ac_try_echo"; } >&5
2964 (eval "$ac_try") 2>&5
2965 ac_status=$?
2966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2967 test $ac_status = 0; }; }; then :
2968 ac_retval=0
2969 else
2970 $as_echo "$as_me: program exited with status $ac_status" >&5
2971 $as_echo "$as_me: failed program was:" >&5
2972 sed 's/^/| /' conftest.$ac_ext >&5
2974 ac_retval=$ac_status
2976 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2978 as_fn_set_status $ac_retval
2980 } # ac_fn_c_try_run
2982 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2983 # -------------------------------------------------------
2984 # Tests whether HEADER exists and can be compiled using the include files in
2985 # INCLUDES, setting the cache variable VAR accordingly.
2986 ac_fn_c_check_header_compile ()
2988 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2990 $as_echo_n "checking for $2... " >&6; }
2991 if eval \${$3+:} false; then :
2992 $as_echo_n "(cached) " >&6
2993 else
2994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2995 /* end confdefs.h. */
2997 #include <$2>
2998 _ACEOF
2999 if ac_fn_c_try_compile "$LINENO"; then :
3000 eval "$3=yes"
3001 else
3002 eval "$3=no"
3004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3006 eval ac_res=\$$3
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3008 $as_echo "$ac_res" >&6; }
3009 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3011 } # ac_fn_c_check_header_compile
3013 # ac_fn_c_check_func LINENO FUNC VAR
3014 # ----------------------------------
3015 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3016 ac_fn_c_check_func ()
3018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3020 $as_echo_n "checking for $2... " >&6; }
3021 if eval \${$3+:} false; then :
3022 $as_echo_n "(cached) " >&6
3023 else
3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 /* end confdefs.h. */
3026 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3028 #define $2 innocuous_$2
3030 /* System header to define __stub macros and hopefully few prototypes,
3031 which can conflict with char $2 (); below.
3032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3033 <limits.h> exists even on freestanding compilers. */
3035 #ifdef __STDC__
3036 # include <limits.h>
3037 #else
3038 # include <assert.h>
3039 #endif
3041 #undef $2
3043 /* Override any GCC internal prototype to avoid an error.
3044 Use char because int might match the return type of a GCC
3045 builtin and then its argument prototype would still apply. */
3046 #ifdef __cplusplus
3047 extern "C"
3048 #endif
3049 char $2 ();
3050 /* The GNU C library defines this for functions which it implements
3051 to always fail with ENOSYS. Some functions are actually named
3052 something starting with __ and the normal name is an alias. */
3053 #if defined __stub_$2 || defined __stub___$2
3054 choke me
3055 #endif
3058 main ()
3060 return $2 ();
3062 return 0;
3064 _ACEOF
3065 if ac_fn_c_try_link "$LINENO"; then :
3066 eval "$3=yes"
3067 else
3068 eval "$3=no"
3070 rm -f core conftest.err conftest.$ac_objext \
3071 conftest$ac_exeext conftest.$ac_ext
3073 eval ac_res=\$$3
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3075 $as_echo "$ac_res" >&6; }
3076 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3078 } # ac_fn_c_check_func
3080 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3081 # ----------------------------------------------------
3082 # Tries to find if the field MEMBER exists in type AGGR, after including
3083 # INCLUDES, setting cache variable VAR accordingly.
3084 ac_fn_c_check_member ()
3086 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3088 $as_echo_n "checking for $2.$3... " >&6; }
3089 if eval \${$4+:} false; then :
3090 $as_echo_n "(cached) " >&6
3091 else
3092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3093 /* end confdefs.h. */
3096 main ()
3098 static $2 ac_aggr;
3099 if (ac_aggr.$3)
3100 return 0;
3102 return 0;
3104 _ACEOF
3105 if ac_fn_c_try_compile "$LINENO"; then :
3106 eval "$4=yes"
3107 else
3108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3109 /* end confdefs.h. */
3112 main ()
3114 static $2 ac_aggr;
3115 if (sizeof ac_aggr.$3)
3116 return 0;
3118 return 0;
3120 _ACEOF
3121 if ac_fn_c_try_compile "$LINENO"; then :
3122 eval "$4=yes"
3123 else
3124 eval "$4=no"
3126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3130 eval ac_res=\$$4
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3132 $as_echo "$ac_res" >&6; }
3133 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3135 } # ac_fn_c_check_member
3137 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3138 # -------------------------------------------
3139 # Tests whether TYPE exists after having included INCLUDES, setting cache
3140 # variable VAR accordingly.
3141 ac_fn_c_check_type ()
3143 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3145 $as_echo_n "checking for $2... " >&6; }
3146 if eval \${$3+:} false; then :
3147 $as_echo_n "(cached) " >&6
3148 else
3149 eval "$3=no"
3150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3151 /* end confdefs.h. */
3154 main ()
3156 if (sizeof ($2))
3157 return 0;
3159 return 0;
3161 _ACEOF
3162 if ac_fn_c_try_compile "$LINENO"; then :
3163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3164 /* end confdefs.h. */
3167 main ()
3169 if (sizeof (($2)))
3170 return 0;
3172 return 0;
3174 _ACEOF
3175 if ac_fn_c_try_compile "$LINENO"; then :
3177 else
3178 eval "$3=yes"
3180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3184 eval ac_res=\$$3
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3186 $as_echo "$ac_res" >&6; }
3187 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3189 } # ac_fn_c_check_type
3190 cat >config.log <<_ACEOF
3191 This file contains any messages produced by compilers while
3192 running configure, to aid debugging if configure makes a mistake.
3194 It was created by Wine $as_me 3.11, which was
3195 generated by GNU Autoconf 2.69. Invocation command line was
3197 $ $0 $@
3199 _ACEOF
3200 exec 5>>config.log
3202 cat <<_ASUNAME
3203 ## --------- ##
3204 ## Platform. ##
3205 ## --------- ##
3207 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3208 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3209 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3210 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3211 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3213 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3214 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3216 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3217 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3218 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3219 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3220 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3221 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3222 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3224 _ASUNAME
3226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3227 for as_dir in $PATH
3229 IFS=$as_save_IFS
3230 test -z "$as_dir" && as_dir=.
3231 $as_echo "PATH: $as_dir"
3232 done
3233 IFS=$as_save_IFS
3235 } >&5
3237 cat >&5 <<_ACEOF
3240 ## ----------- ##
3241 ## Core tests. ##
3242 ## ----------- ##
3244 _ACEOF
3247 # Keep a trace of the command line.
3248 # Strip out --no-create and --no-recursion so they do not pile up.
3249 # Strip out --silent because we don't want to record it for future runs.
3250 # Also quote any args containing shell meta-characters.
3251 # Make two passes to allow for proper duplicate-argument suppression.
3252 ac_configure_args=
3253 ac_configure_args0=
3254 ac_configure_args1=
3255 ac_must_keep_next=false
3256 for ac_pass in 1 2
3258 for ac_arg
3260 case $ac_arg in
3261 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3262 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3263 | -silent | --silent | --silen | --sile | --sil)
3264 continue ;;
3265 *\'*)
3266 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3267 esac
3268 case $ac_pass in
3269 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3271 as_fn_append ac_configure_args1 " '$ac_arg'"
3272 if test $ac_must_keep_next = true; then
3273 ac_must_keep_next=false # Got value, back to normal.
3274 else
3275 case $ac_arg in
3276 *=* | --config-cache | -C | -disable-* | --disable-* \
3277 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3278 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3279 | -with-* | --with-* | -without-* | --without-* | --x)
3280 case "$ac_configure_args0 " in
3281 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3282 esac
3284 -* ) ac_must_keep_next=true ;;
3285 esac
3287 as_fn_append ac_configure_args " '$ac_arg'"
3289 esac
3290 done
3291 done
3292 { ac_configure_args0=; unset ac_configure_args0;}
3293 { ac_configure_args1=; unset ac_configure_args1;}
3295 # When interrupted or exit'd, cleanup temporary files, and complete
3296 # config.log. We remove comments because anyway the quotes in there
3297 # would cause problems or look ugly.
3298 # WARNING: Use '\'' to represent an apostrophe within the trap.
3299 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3300 trap 'exit_status=$?
3301 # Save into config.log some information that might help in debugging.
3303 echo
3305 $as_echo "## ---------------- ##
3306 ## Cache variables. ##
3307 ## ---------------- ##"
3308 echo
3309 # The following way of writing the cache mishandles newlines in values,
3311 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3312 eval ac_val=\$$ac_var
3313 case $ac_val in #(
3314 *${as_nl}*)
3315 case $ac_var in #(
3316 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3317 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3318 esac
3319 case $ac_var in #(
3320 _ | IFS | as_nl) ;; #(
3321 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3322 *) { eval $ac_var=; unset $ac_var;} ;;
3323 esac ;;
3324 esac
3325 done
3326 (set) 2>&1 |
3327 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3328 *${as_nl}ac_space=\ *)
3329 sed -n \
3330 "s/'\''/'\''\\\\'\'''\''/g;
3331 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3332 ;; #(
3334 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3336 esac |
3337 sort
3339 echo
3341 $as_echo "## ----------------- ##
3342 ## Output variables. ##
3343 ## ----------------- ##"
3344 echo
3345 for ac_var in $ac_subst_vars
3347 eval ac_val=\$$ac_var
3348 case $ac_val in
3349 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3350 esac
3351 $as_echo "$ac_var='\''$ac_val'\''"
3352 done | sort
3353 echo
3355 if test -n "$ac_subst_files"; then
3356 $as_echo "## ------------------- ##
3357 ## File substitutions. ##
3358 ## ------------------- ##"
3359 echo
3360 for ac_var in $ac_subst_files
3362 eval ac_val=\$$ac_var
3363 case $ac_val in
3364 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3365 esac
3366 $as_echo "$ac_var='\''$ac_val'\''"
3367 done | sort
3368 echo
3371 if test -s confdefs.h; then
3372 $as_echo "## ----------- ##
3373 ## confdefs.h. ##
3374 ## ----------- ##"
3375 echo
3376 cat confdefs.h
3377 echo
3379 test "$ac_signal" != 0 &&
3380 $as_echo "$as_me: caught signal $ac_signal"
3381 $as_echo "$as_me: exit $exit_status"
3382 } >&5
3383 rm -f core *.core core.conftest.* &&
3384 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3385 exit $exit_status
3387 for ac_signal in 1 2 13 15; do
3388 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3389 done
3390 ac_signal=0
3392 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3393 rm -f -r conftest* confdefs.h
3395 $as_echo "/* confdefs.h */" > confdefs.h
3397 # Predefined preprocessor variables.
3399 cat >>confdefs.h <<_ACEOF
3400 #define PACKAGE_NAME "$PACKAGE_NAME"
3401 _ACEOF
3403 cat >>confdefs.h <<_ACEOF
3404 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3405 _ACEOF
3407 cat >>confdefs.h <<_ACEOF
3408 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3409 _ACEOF
3411 cat >>confdefs.h <<_ACEOF
3412 #define PACKAGE_STRING "$PACKAGE_STRING"
3413 _ACEOF
3415 cat >>confdefs.h <<_ACEOF
3416 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3417 _ACEOF
3419 cat >>confdefs.h <<_ACEOF
3420 #define PACKAGE_URL "$PACKAGE_URL"
3421 _ACEOF
3424 # Let the site file select an alternate cache file if it wants to.
3425 # Prefer an explicitly selected file to automatically selected ones.
3426 ac_site_file1=NONE
3427 ac_site_file2=NONE
3428 if test -n "$CONFIG_SITE"; then
3429 # We do not want a PATH search for config.site.
3430 case $CONFIG_SITE in #((
3431 -*) ac_site_file1=./$CONFIG_SITE;;
3432 */*) ac_site_file1=$CONFIG_SITE;;
3433 *) ac_site_file1=./$CONFIG_SITE;;
3434 esac
3435 elif test "x$prefix" != xNONE; then
3436 ac_site_file1=$prefix/share/config.site
3437 ac_site_file2=$prefix/etc/config.site
3438 else
3439 ac_site_file1=$ac_default_prefix/share/config.site
3440 ac_site_file2=$ac_default_prefix/etc/config.site
3442 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3444 test "x$ac_site_file" = xNONE && continue
3445 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3447 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3448 sed 's/^/| /' "$ac_site_file" >&5
3449 . "$ac_site_file" \
3450 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3452 as_fn_error $? "failed to load site script $ac_site_file
3453 See \`config.log' for more details" "$LINENO" 5; }
3455 done
3457 if test -r "$cache_file"; then
3458 # Some versions of bash will fail to source /dev/null (special files
3459 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3460 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3462 $as_echo "$as_me: loading cache $cache_file" >&6;}
3463 case $cache_file in
3464 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3465 *) . "./$cache_file";;
3466 esac
3468 else
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3470 $as_echo "$as_me: creating cache $cache_file" >&6;}
3471 >$cache_file
3474 # Check that the precious variables saved in the cache have kept the same
3475 # value.
3476 ac_cache_corrupted=false
3477 for ac_var in $ac_precious_vars; do
3478 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3479 eval ac_new_set=\$ac_env_${ac_var}_set
3480 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3481 eval ac_new_val=\$ac_env_${ac_var}_value
3482 case $ac_old_set,$ac_new_set in
3483 set,)
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3485 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3486 ac_cache_corrupted=: ;;
3487 ,set)
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3489 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3490 ac_cache_corrupted=: ;;
3491 ,);;
3493 if test "x$ac_old_val" != "x$ac_new_val"; then
3494 # differences in whitespace do not lead to failure.
3495 ac_old_val_w=`echo x $ac_old_val`
3496 ac_new_val_w=`echo x $ac_new_val`
3497 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3499 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3500 ac_cache_corrupted=:
3501 else
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3503 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3504 eval $ac_var=\$ac_old_val
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3507 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3509 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3510 fi;;
3511 esac
3512 # Pass precious variables to config.status.
3513 if test "$ac_new_set" = set; then
3514 case $ac_new_val in
3515 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3516 *) ac_arg=$ac_var=$ac_new_val ;;
3517 esac
3518 case " $ac_configure_args " in
3519 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3520 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3521 esac
3523 done
3524 if $ac_cache_corrupted; then
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3528 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3529 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3531 ## -------------------- ##
3532 ## Main body of script. ##
3533 ## -------------------- ##
3535 ac_ext=c
3536 ac_cpp='$CPP $CPPFLAGS'
3537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3543 ac_config_headers="$ac_config_headers include/config.h"
3545 ac_aux_dir=
3546 for ac_dir in tools "$srcdir"/tools; do
3547 if test -f "$ac_dir/install-sh"; then
3548 ac_aux_dir=$ac_dir
3549 ac_install_sh="$ac_aux_dir/install-sh -c"
3550 break
3551 elif test -f "$ac_dir/install.sh"; then
3552 ac_aux_dir=$ac_dir
3553 ac_install_sh="$ac_aux_dir/install.sh -c"
3554 break
3555 elif test -f "$ac_dir/shtool"; then
3556 ac_aux_dir=$ac_dir
3557 ac_install_sh="$ac_aux_dir/shtool install -c"
3558 break
3560 done
3561 if test -z "$ac_aux_dir"; then
3562 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3565 # These three variables are undocumented and unsupported,
3566 # and are intended to be withdrawn in a future Autoconf release.
3567 # They can cause serious problems if a builder's source tree is in a directory
3568 # whose full name contains unusual characters.
3569 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3570 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3571 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3575 libwine_version="1.0"
3579 # Check whether --enable-win16 was given.
3580 if test "${enable_win16+set}" = set; then :
3581 enableval=$enable_win16;
3584 # Check whether --enable-win64 was given.
3585 if test "${enable_win64+set}" = set; then :
3586 enableval=$enable_win64;
3589 # Check whether --enable-tests was given.
3590 if test "${enable_tests+set}" = set; then :
3591 enableval=$enable_tests;
3594 # Check whether --enable-maintainer-mode was given.
3595 if test "${enable_maintainer_mode+set}" = set; then :
3596 enableval=$enable_maintainer_mode;
3601 # Check whether --with-alsa was given.
3602 if test "${with_alsa+set}" = set; then :
3603 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3607 # Check whether --with-capi was given.
3608 if test "${with_capi+set}" = set; then :
3609 withval=$with_capi;
3613 # Check whether --with-cms was given.
3614 if test "${with_cms+set}" = set; then :
3615 withval=$with_cms;
3619 # Check whether --with-coreaudio was given.
3620 if test "${with_coreaudio+set}" = set; then :
3621 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3625 # Check whether --with-cups was given.
3626 if test "${with_cups+set}" = set; then :
3627 withval=$with_cups;
3631 # Check whether --with-curses was given.
3632 if test "${with_curses+set}" = set; then :
3633 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3637 # Check whether --with-dbus was given.
3638 if test "${with_dbus+set}" = set; then :
3639 withval=$with_dbus;
3643 # Check whether --with-float-abi was given.
3644 if test "${with_float_abi+set}" = set; then :
3645 withval=$with_float_abi;
3649 # Check whether --with-fontconfig was given.
3650 if test "${with_fontconfig+set}" = set; then :
3651 withval=$with_fontconfig;
3655 # Check whether --with-freetype was given.
3656 if test "${with_freetype+set}" = set; then :
3657 withval=$with_freetype;
3661 # Check whether --with-gettext was given.
3662 if test "${with_gettext+set}" = set; then :
3663 withval=$with_gettext;
3667 # Check whether --with-gettextpo was given.
3668 if test "${with_gettextpo+set}" = set; then :
3669 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3673 # Check whether --with-gphoto was given.
3674 if test "${with_gphoto+set}" = set; then :
3675 withval=$with_gphoto;
3679 # Check whether --with-glu was given.
3680 if test "${with_glu+set}" = set; then :
3681 withval=$with_glu;
3685 # Check whether --with-gnutls was given.
3686 if test "${with_gnutls+set}" = set; then :
3687 withval=$with_gnutls;
3691 # Check whether --with-gsm was given.
3692 if test "${with_gsm+set}" = set; then :
3693 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3697 # Check whether --with-gssapi was given.
3698 if test "${with_gssapi+set}" = set; then :
3699 withval=$with_gssapi;
3703 # Check whether --with-gstreamer was given.
3704 if test "${with_gstreamer+set}" = set; then :
3705 withval=$with_gstreamer;
3709 # Check whether --with-hal was given.
3710 if test "${with_hal+set}" = set; then :
3711 withval=$with_hal;
3715 # Check whether --with-jpeg was given.
3716 if test "${with_jpeg+set}" = set; then :
3717 withval=$with_jpeg;
3721 # Check whether --with-krb5 was given.
3722 if test "${with_krb5+set}" = set; then :
3723 withval=$with_krb5;
3727 # Check whether --with-ldap was given.
3728 if test "${with_ldap+set}" = set; then :
3729 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3733 # Check whether --with-mpg123 was given.
3734 if test "${with_mpg123+set}" = set; then :
3735 withval=$with_mpg123;
3739 # Check whether --with-netapi was given.
3740 if test "${with_netapi+set}" = set; then :
3741 withval=$with_netapi;
3745 # Check whether --with-openal was given.
3746 if test "${with_openal+set}" = set; then :
3747 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3751 # Check whether --with-opencl was given.
3752 if test "${with_opencl+set}" = set; then :
3753 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3757 # Check whether --with-opengl was given.
3758 if test "${with_opengl+set}" = set; then :
3759 withval=$with_opengl;
3763 # Check whether --with-osmesa was given.
3764 if test "${with_osmesa+set}" = set; then :
3765 withval=$with_osmesa;
3769 # Check whether --with-oss was given.
3770 if test "${with_oss+set}" = set; then :
3771 withval=$with_oss;
3775 # Check whether --with-pcap was given.
3776 if test "${with_pcap+set}" = set; then :
3777 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3781 # Check whether --with-png was given.
3782 if test "${with_png+set}" = set; then :
3783 withval=$with_png;
3787 # Check whether --with-pthread was given.
3788 if test "${with_pthread+set}" = set; then :
3789 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3793 # Check whether --with-pulse was given.
3794 if test "${with_pulse+set}" = set; then :
3795 withval=$with_pulse;
3799 # Check whether --with-sane was given.
3800 if test "${with_sane+set}" = set; then :
3801 withval=$with_sane;
3805 # Check whether --with-sdl was given.
3806 if test "${with_sdl+set}" = set; then :
3807 withval=$with_sdl;
3811 # Check whether --with-tiff was given.
3812 if test "${with_tiff+set}" = set; then :
3813 withval=$with_tiff;
3817 # Check whether --with-udev was given.
3818 if test "${with_udev+set}" = set; then :
3819 withval=$with_udev;
3823 # Check whether --with-v4l was given.
3824 if test "${with_v4l+set}" = set; then :
3825 withval=$with_v4l;
3829 # Check whether --with-vkd3d was given.
3830 if test "${with_vkd3d+set}" = set; then :
3831 withval=$with_vkd3d;
3835 # Check whether --with-vulkan was given.
3836 if test "${with_vulkan+set}" = set; then :
3837 withval=$with_vulkan;
3841 # Check whether --with-xcomposite was given.
3842 if test "${with_xcomposite+set}" = set; then :
3843 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3847 # Check whether --with-xcursor was given.
3848 if test "${with_xcursor+set}" = set; then :
3849 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3853 # Check whether --with-xfixes was given.
3854 if test "${with_xfixes+set}" = set; then :
3855 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3859 # Check whether --with-xinerama was given.
3860 if test "${with_xinerama+set}" = set; then :
3861 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3865 # Check whether --with-xinput was given.
3866 if test "${with_xinput+set}" = set; then :
3867 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3871 # Check whether --with-xinput2 was given.
3872 if test "${with_xinput2+set}" = set; then :
3873 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3877 # Check whether --with-xml was given.
3878 if test "${with_xml+set}" = set; then :
3879 withval=$with_xml;
3883 # Check whether --with-xrandr was given.
3884 if test "${with_xrandr+set}" = set; then :
3885 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3889 # Check whether --with-xrender was given.
3890 if test "${with_xrender+set}" = set; then :
3891 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3895 # Check whether --with-xshape was given.
3896 if test "${with_xshape+set}" = set; then :
3897 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3901 # Check whether --with-xshm was given.
3902 if test "${with_xshm+set}" = set; then :
3903 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3907 # Check whether --with-xslt was given.
3908 if test "${with_xslt+set}" = set; then :
3909 withval=$with_xslt;
3913 # Check whether --with-xxf86vm was given.
3914 if test "${with_xxf86vm+set}" = set; then :
3915 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
3919 # Check whether --with-zlib was given.
3920 if test "${with_zlib+set}" = set; then :
3921 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3926 # Check whether --with-wine-tools was given.
3927 if test "${with_wine_tools+set}" = set; then :
3928 withval=$with_wine_tools;
3932 # Check whether --with-wine64 was given.
3933 if test "${with_wine64+set}" = set; then :
3934 withval=$with_wine64;
3938 # Make sure we can run config.sub.
3939 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3940 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3943 $as_echo_n "checking build system type... " >&6; }
3944 if ${ac_cv_build+:} false; then :
3945 $as_echo_n "(cached) " >&6
3946 else
3947 ac_build_alias=$build_alias
3948 test "x$ac_build_alias" = x &&
3949 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3950 test "x$ac_build_alias" = x &&
3951 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3952 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3953 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3957 $as_echo "$ac_cv_build" >&6; }
3958 case $ac_cv_build in
3959 *-*-*) ;;
3960 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3961 esac
3962 build=$ac_cv_build
3963 ac_save_IFS=$IFS; IFS='-'
3964 set x $ac_cv_build
3965 shift
3966 build_cpu=$1
3967 build_vendor=$2
3968 shift; shift
3969 # Remember, the first character of IFS is used to create $*,
3970 # except with old shells:
3971 build_os=$*
3972 IFS=$ac_save_IFS
3973 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3977 $as_echo_n "checking host system type... " >&6; }
3978 if ${ac_cv_host+:} false; then :
3979 $as_echo_n "(cached) " >&6
3980 else
3981 if test "x$host_alias" = x; then
3982 ac_cv_host=$ac_cv_build
3983 else
3984 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3985 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3990 $as_echo "$ac_cv_host" >&6; }
3991 case $ac_cv_host in
3992 *-*-*) ;;
3993 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3994 esac
3995 host=$ac_cv_host
3996 ac_save_IFS=$IFS; IFS='-'
3997 set x $ac_cv_host
3998 shift
3999 host_cpu=$1
4000 host_vendor=$2
4001 shift; shift
4002 # Remember, the first character of IFS is used to create $*,
4003 # except with old shells:
4004 host_os=$*
4005 IFS=$ac_save_IFS
4006 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4010 case "$srcdir" in
4011 .) ;;
4012 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4013 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4014 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4015 fi ;;
4016 esac
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4020 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4021 set x ${MAKE-make}
4022 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4023 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4024 $as_echo_n "(cached) " >&6
4025 else
4026 cat >conftest.make <<\_ACEOF
4027 SHELL = /bin/sh
4028 all:
4029 @echo '@@@%%%=$(MAKE)=@@@%%%'
4030 _ACEOF
4031 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4032 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4033 *@@@%%%=?*=@@@%%%*)
4034 eval ac_cv_prog_make_${ac_make}_set=yes;;
4036 eval ac_cv_prog_make_${ac_make}_set=no;;
4037 esac
4038 rm -f conftest.make
4040 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4042 $as_echo "yes" >&6; }
4043 SET_MAKE=
4044 else
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4046 $as_echo "no" >&6; }
4047 SET_MAKE="MAKE=${MAKE-make}"
4050 ac_ext=c
4051 ac_cpp='$CPP $CPPFLAGS'
4052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4055 if test -n "$ac_tool_prefix"; then
4056 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4057 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4059 $as_echo_n "checking for $ac_word... " >&6; }
4060 if ${ac_cv_prog_CC+:} false; then :
4061 $as_echo_n "(cached) " >&6
4062 else
4063 if test -n "$CC"; then
4064 ac_cv_prog_CC="$CC" # Let the user override the test.
4065 else
4066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4067 for as_dir in $PATH
4069 IFS=$as_save_IFS
4070 test -z "$as_dir" && as_dir=.
4071 for ac_exec_ext in '' $ac_executable_extensions; do
4072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4073 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4075 break 2
4077 done
4078 done
4079 IFS=$as_save_IFS
4083 CC=$ac_cv_prog_CC
4084 if test -n "$CC"; then
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4086 $as_echo "$CC" >&6; }
4087 else
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4089 $as_echo "no" >&6; }
4094 if test -z "$ac_cv_prog_CC"; then
4095 ac_ct_CC=$CC
4096 # Extract the first word of "gcc", so it can be a program name with args.
4097 set dummy gcc; ac_word=$2
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4099 $as_echo_n "checking for $ac_word... " >&6; }
4100 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4101 $as_echo_n "(cached) " >&6
4102 else
4103 if test -n "$ac_ct_CC"; then
4104 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4105 else
4106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4107 for as_dir in $PATH
4109 IFS=$as_save_IFS
4110 test -z "$as_dir" && as_dir=.
4111 for ac_exec_ext in '' $ac_executable_extensions; do
4112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4113 ac_cv_prog_ac_ct_CC="gcc"
4114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4115 break 2
4117 done
4118 done
4119 IFS=$as_save_IFS
4123 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4124 if test -n "$ac_ct_CC"; then
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4126 $as_echo "$ac_ct_CC" >&6; }
4127 else
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4129 $as_echo "no" >&6; }
4132 if test "x$ac_ct_CC" = x; then
4133 CC=""
4134 else
4135 case $cross_compiling:$ac_tool_warned in
4136 yes:)
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4139 ac_tool_warned=yes ;;
4140 esac
4141 CC=$ac_ct_CC
4143 else
4144 CC="$ac_cv_prog_CC"
4147 if test -z "$CC"; then
4148 if test -n "$ac_tool_prefix"; then
4149 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4150 set dummy ${ac_tool_prefix}cc; ac_word=$2
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4152 $as_echo_n "checking for $ac_word... " >&6; }
4153 if ${ac_cv_prog_CC+:} false; then :
4154 $as_echo_n "(cached) " >&6
4155 else
4156 if test -n "$CC"; then
4157 ac_cv_prog_CC="$CC" # Let the user override the test.
4158 else
4159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4160 for as_dir in $PATH
4162 IFS=$as_save_IFS
4163 test -z "$as_dir" && as_dir=.
4164 for ac_exec_ext in '' $ac_executable_extensions; do
4165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4166 ac_cv_prog_CC="${ac_tool_prefix}cc"
4167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4168 break 2
4170 done
4171 done
4172 IFS=$as_save_IFS
4176 CC=$ac_cv_prog_CC
4177 if test -n "$CC"; then
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4179 $as_echo "$CC" >&6; }
4180 else
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4182 $as_echo "no" >&6; }
4188 if test -z "$CC"; then
4189 # Extract the first word of "cc", so it can be a program name with args.
4190 set dummy cc; ac_word=$2
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4192 $as_echo_n "checking for $ac_word... " >&6; }
4193 if ${ac_cv_prog_CC+:} false; then :
4194 $as_echo_n "(cached) " >&6
4195 else
4196 if test -n "$CC"; then
4197 ac_cv_prog_CC="$CC" # Let the user override the test.
4198 else
4199 ac_prog_rejected=no
4200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4201 for as_dir in $PATH
4203 IFS=$as_save_IFS
4204 test -z "$as_dir" && as_dir=.
4205 for ac_exec_ext in '' $ac_executable_extensions; do
4206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4207 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4208 ac_prog_rejected=yes
4209 continue
4211 ac_cv_prog_CC="cc"
4212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4213 break 2
4215 done
4216 done
4217 IFS=$as_save_IFS
4219 if test $ac_prog_rejected = yes; then
4220 # We found a bogon in the path, so make sure we never use it.
4221 set dummy $ac_cv_prog_CC
4222 shift
4223 if test $# != 0; then
4224 # We chose a different compiler from the bogus one.
4225 # However, it has the same basename, so the bogon will be chosen
4226 # first if we set CC to just the basename; use the full file name.
4227 shift
4228 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4233 CC=$ac_cv_prog_CC
4234 if test -n "$CC"; then
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4236 $as_echo "$CC" >&6; }
4237 else
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4239 $as_echo "no" >&6; }
4244 if test -z "$CC"; then
4245 if test -n "$ac_tool_prefix"; then
4246 for ac_prog in cl.exe
4248 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4249 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4251 $as_echo_n "checking for $ac_word... " >&6; }
4252 if ${ac_cv_prog_CC+:} false; then :
4253 $as_echo_n "(cached) " >&6
4254 else
4255 if test -n "$CC"; then
4256 ac_cv_prog_CC="$CC" # Let the user override the test.
4257 else
4258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4259 for as_dir in $PATH
4261 IFS=$as_save_IFS
4262 test -z "$as_dir" && as_dir=.
4263 for ac_exec_ext in '' $ac_executable_extensions; do
4264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4265 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4267 break 2
4269 done
4270 done
4271 IFS=$as_save_IFS
4275 CC=$ac_cv_prog_CC
4276 if test -n "$CC"; then
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4278 $as_echo "$CC" >&6; }
4279 else
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4281 $as_echo "no" >&6; }
4285 test -n "$CC" && break
4286 done
4288 if test -z "$CC"; then
4289 ac_ct_CC=$CC
4290 for ac_prog in cl.exe
4292 # Extract the first word of "$ac_prog", so it can be a program name with args.
4293 set dummy $ac_prog; ac_word=$2
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4295 $as_echo_n "checking for $ac_word... " >&6; }
4296 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4297 $as_echo_n "(cached) " >&6
4298 else
4299 if test -n "$ac_ct_CC"; then
4300 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4301 else
4302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4303 for as_dir in $PATH
4305 IFS=$as_save_IFS
4306 test -z "$as_dir" && as_dir=.
4307 for ac_exec_ext in '' $ac_executable_extensions; do
4308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4309 ac_cv_prog_ac_ct_CC="$ac_prog"
4310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4311 break 2
4313 done
4314 done
4315 IFS=$as_save_IFS
4319 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4320 if test -n "$ac_ct_CC"; then
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4322 $as_echo "$ac_ct_CC" >&6; }
4323 else
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4325 $as_echo "no" >&6; }
4329 test -n "$ac_ct_CC" && break
4330 done
4332 if test "x$ac_ct_CC" = x; then
4333 CC=""
4334 else
4335 case $cross_compiling:$ac_tool_warned in
4336 yes:)
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4339 ac_tool_warned=yes ;;
4340 esac
4341 CC=$ac_ct_CC
4348 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4350 as_fn_error $? "no acceptable C compiler found in \$PATH
4351 See \`config.log' for more details" "$LINENO" 5; }
4353 # Provide some information about the compiler.
4354 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4355 set X $ac_compile
4356 ac_compiler=$2
4357 for ac_option in --version -v -V -qversion; do
4358 { { ac_try="$ac_compiler $ac_option >&5"
4359 case "(($ac_try" in
4360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4361 *) ac_try_echo=$ac_try;;
4362 esac
4363 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4364 $as_echo "$ac_try_echo"; } >&5
4365 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4366 ac_status=$?
4367 if test -s conftest.err; then
4368 sed '10a\
4369 ... rest of stderr output deleted ...
4370 10q' conftest.err >conftest.er1
4371 cat conftest.er1 >&5
4373 rm -f conftest.er1 conftest.err
4374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4375 test $ac_status = 0; }
4376 done
4378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4379 /* end confdefs.h. */
4382 main ()
4386 return 0;
4388 _ACEOF
4389 ac_clean_files_save=$ac_clean_files
4390 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4391 # Try to create an executable without -o first, disregard a.out.
4392 # It will help us diagnose broken compilers, and finding out an intuition
4393 # of exeext.
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4395 $as_echo_n "checking whether the C compiler works... " >&6; }
4396 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4398 # The possible output files:
4399 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4401 ac_rmfiles=
4402 for ac_file in $ac_files
4404 case $ac_file in
4405 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4406 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4407 esac
4408 done
4409 rm -f $ac_rmfiles
4411 if { { ac_try="$ac_link_default"
4412 case "(($ac_try" in
4413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4414 *) ac_try_echo=$ac_try;;
4415 esac
4416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4417 $as_echo "$ac_try_echo"; } >&5
4418 (eval "$ac_link_default") 2>&5
4419 ac_status=$?
4420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4421 test $ac_status = 0; }; then :
4422 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4423 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4424 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4425 # so that the user can short-circuit this test for compilers unknown to
4426 # Autoconf.
4427 for ac_file in $ac_files ''
4429 test -f "$ac_file" || continue
4430 case $ac_file in
4431 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4433 [ab].out )
4434 # We found the default executable, but exeext='' is most
4435 # certainly right.
4436 break;;
4437 *.* )
4438 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4439 then :; else
4440 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4442 # We set ac_cv_exeext here because the later test for it is not
4443 # safe: cross compilers may not add the suffix if given an `-o'
4444 # argument, so we may need to know it at that point already.
4445 # Even if this section looks crufty: it has the advantage of
4446 # actually working.
4447 break;;
4449 break;;
4450 esac
4451 done
4452 test "$ac_cv_exeext" = no && ac_cv_exeext=
4454 else
4455 ac_file=''
4457 if test -z "$ac_file"; then :
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4459 $as_echo "no" >&6; }
4460 $as_echo "$as_me: failed program was:" >&5
4461 sed 's/^/| /' conftest.$ac_ext >&5
4463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4465 as_fn_error 77 "C compiler cannot create executables
4466 See \`config.log' for more details" "$LINENO" 5; }
4467 else
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4469 $as_echo "yes" >&6; }
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4472 $as_echo_n "checking for C compiler default output file name... " >&6; }
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4474 $as_echo "$ac_file" >&6; }
4475 ac_exeext=$ac_cv_exeext
4477 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4478 ac_clean_files=$ac_clean_files_save
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4480 $as_echo_n "checking for suffix of executables... " >&6; }
4481 if { { ac_try="$ac_link"
4482 case "(($ac_try" in
4483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4484 *) ac_try_echo=$ac_try;;
4485 esac
4486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4487 $as_echo "$ac_try_echo"; } >&5
4488 (eval "$ac_link") 2>&5
4489 ac_status=$?
4490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4491 test $ac_status = 0; }; then :
4492 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4493 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4494 # work properly (i.e., refer to `conftest.exe'), while it won't with
4495 # `rm'.
4496 for ac_file in conftest.exe conftest conftest.*; do
4497 test -f "$ac_file" || continue
4498 case $ac_file in
4499 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4500 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4501 break;;
4502 * ) break;;
4503 esac
4504 done
4505 else
4506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4508 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4509 See \`config.log' for more details" "$LINENO" 5; }
4511 rm -f conftest conftest$ac_cv_exeext
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4513 $as_echo "$ac_cv_exeext" >&6; }
4515 rm -f conftest.$ac_ext
4516 EXEEXT=$ac_cv_exeext
4517 ac_exeext=$EXEEXT
4518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4519 /* end confdefs.h. */
4520 #include <stdio.h>
4522 main ()
4524 FILE *f = fopen ("conftest.out", "w");
4525 return ferror (f) || fclose (f) != 0;
4528 return 0;
4530 _ACEOF
4531 ac_clean_files="$ac_clean_files conftest.out"
4532 # Check that the compiler produces executables we can run. If not, either
4533 # the compiler is broken, or we cross compile.
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4535 $as_echo_n "checking whether we are cross compiling... " >&6; }
4536 if test "$cross_compiling" != yes; then
4537 { { ac_try="$ac_link"
4538 case "(($ac_try" in
4539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4540 *) ac_try_echo=$ac_try;;
4541 esac
4542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4543 $as_echo "$ac_try_echo"; } >&5
4544 (eval "$ac_link") 2>&5
4545 ac_status=$?
4546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4547 test $ac_status = 0; }
4548 if { ac_try='./conftest$ac_cv_exeext'
4549 { { case "(($ac_try" in
4550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4551 *) ac_try_echo=$ac_try;;
4552 esac
4553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4554 $as_echo "$ac_try_echo"; } >&5
4555 (eval "$ac_try") 2>&5
4556 ac_status=$?
4557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4558 test $ac_status = 0; }; }; then
4559 cross_compiling=no
4560 else
4561 if test "$cross_compiling" = maybe; then
4562 cross_compiling=yes
4563 else
4564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4566 as_fn_error $? "cannot run C compiled programs.
4567 If you meant to cross compile, use \`--host'.
4568 See \`config.log' for more details" "$LINENO" 5; }
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4573 $as_echo "$cross_compiling" >&6; }
4575 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4576 ac_clean_files=$ac_clean_files_save
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4578 $as_echo_n "checking for suffix of object files... " >&6; }
4579 if ${ac_cv_objext+:} false; then :
4580 $as_echo_n "(cached) " >&6
4581 else
4582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4583 /* end confdefs.h. */
4586 main ()
4590 return 0;
4592 _ACEOF
4593 rm -f conftest.o conftest.obj
4594 if { { ac_try="$ac_compile"
4595 case "(($ac_try" in
4596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4597 *) ac_try_echo=$ac_try;;
4598 esac
4599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4600 $as_echo "$ac_try_echo"; } >&5
4601 (eval "$ac_compile") 2>&5
4602 ac_status=$?
4603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4604 test $ac_status = 0; }; then :
4605 for ac_file in conftest.o conftest.obj conftest.*; do
4606 test -f "$ac_file" || continue;
4607 case $ac_file in
4608 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4609 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4610 break;;
4611 esac
4612 done
4613 else
4614 $as_echo "$as_me: failed program was:" >&5
4615 sed 's/^/| /' conftest.$ac_ext >&5
4617 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4619 as_fn_error $? "cannot compute suffix of object files: cannot compile
4620 See \`config.log' for more details" "$LINENO" 5; }
4622 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4625 $as_echo "$ac_cv_objext" >&6; }
4626 OBJEXT=$ac_cv_objext
4627 ac_objext=$OBJEXT
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4629 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4630 if ${ac_cv_c_compiler_gnu+:} false; then :
4631 $as_echo_n "(cached) " >&6
4632 else
4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4637 main ()
4639 #ifndef __GNUC__
4640 choke me
4641 #endif
4644 return 0;
4646 _ACEOF
4647 if ac_fn_c_try_compile "$LINENO"; then :
4648 ac_compiler_gnu=yes
4649 else
4650 ac_compiler_gnu=no
4652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4653 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4657 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4658 if test $ac_compiler_gnu = yes; then
4659 GCC=yes
4660 else
4661 GCC=
4663 ac_test_CFLAGS=${CFLAGS+set}
4664 ac_save_CFLAGS=$CFLAGS
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4666 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4667 if ${ac_cv_prog_cc_g+:} false; then :
4668 $as_echo_n "(cached) " >&6
4669 else
4670 ac_save_c_werror_flag=$ac_c_werror_flag
4671 ac_c_werror_flag=yes
4672 ac_cv_prog_cc_g=no
4673 CFLAGS="-g"
4674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4675 /* end confdefs.h. */
4678 main ()
4682 return 0;
4684 _ACEOF
4685 if ac_fn_c_try_compile "$LINENO"; then :
4686 ac_cv_prog_cc_g=yes
4687 else
4688 CFLAGS=""
4689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4690 /* end confdefs.h. */
4693 main ()
4697 return 0;
4699 _ACEOF
4700 if ac_fn_c_try_compile "$LINENO"; then :
4702 else
4703 ac_c_werror_flag=$ac_save_c_werror_flag
4704 CFLAGS="-g"
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4709 main ()
4713 return 0;
4715 _ACEOF
4716 if ac_fn_c_try_compile "$LINENO"; then :
4717 ac_cv_prog_cc_g=yes
4719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4724 ac_c_werror_flag=$ac_save_c_werror_flag
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4727 $as_echo "$ac_cv_prog_cc_g" >&6; }
4728 if test "$ac_test_CFLAGS" = set; then
4729 CFLAGS=$ac_save_CFLAGS
4730 elif test $ac_cv_prog_cc_g = yes; then
4731 if test "$GCC" = yes; then
4732 CFLAGS="-g -O2"
4733 else
4734 CFLAGS="-g"
4736 else
4737 if test "$GCC" = yes; then
4738 CFLAGS="-O2"
4739 else
4740 CFLAGS=
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4744 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4745 if ${ac_cv_prog_cc_c89+:} false; then :
4746 $as_echo_n "(cached) " >&6
4747 else
4748 ac_cv_prog_cc_c89=no
4749 ac_save_CC=$CC
4750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4751 /* end confdefs.h. */
4752 #include <stdarg.h>
4753 #include <stdio.h>
4754 struct stat;
4755 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4756 struct buf { int x; };
4757 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4758 static char *e (p, i)
4759 char **p;
4760 int i;
4762 return p[i];
4764 static char *f (char * (*g) (char **, int), char **p, ...)
4766 char *s;
4767 va_list v;
4768 va_start (v,p);
4769 s = g (p, va_arg (v,int));
4770 va_end (v);
4771 return s;
4774 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4775 function prototypes and stuff, but not '\xHH' hex character constants.
4776 These don't provoke an error unfortunately, instead are silently treated
4777 as 'x'. The following induces an error, until -std is added to get
4778 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4779 array size at least. It's necessary to write '\x00'==0 to get something
4780 that's true only with -std. */
4781 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4783 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4784 inside strings and character constants. */
4785 #define FOO(x) 'x'
4786 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4788 int test (int i, double x);
4789 struct s1 {int (*f) (int a);};
4790 struct s2 {int (*f) (double a);};
4791 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4792 int argc;
4793 char **argv;
4795 main ()
4797 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4799 return 0;
4801 _ACEOF
4802 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4803 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4805 CC="$ac_save_CC $ac_arg"
4806 if ac_fn_c_try_compile "$LINENO"; then :
4807 ac_cv_prog_cc_c89=$ac_arg
4809 rm -f core conftest.err conftest.$ac_objext
4810 test "x$ac_cv_prog_cc_c89" != "xno" && break
4811 done
4812 rm -f conftest.$ac_ext
4813 CC=$ac_save_CC
4816 # AC_CACHE_VAL
4817 case "x$ac_cv_prog_cc_c89" in
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4820 $as_echo "none needed" >&6; } ;;
4821 xno)
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4823 $as_echo "unsupported" >&6; } ;;
4825 CC="$CC $ac_cv_prog_cc_c89"
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4827 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4828 esac
4829 if test "x$ac_cv_prog_cc_c89" != xno; then :
4833 ac_ext=c
4834 ac_cpp='$CPP $CPPFLAGS'
4835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4839 ac_ext=cpp
4840 ac_cpp='$CXXCPP $CPPFLAGS'
4841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4844 if test -z "$CXX"; then
4845 if test -n "$CCC"; then
4846 CXX=$CCC
4847 else
4848 if test -n "$ac_tool_prefix"; then
4849 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4851 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4852 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4854 $as_echo_n "checking for $ac_word... " >&6; }
4855 if ${ac_cv_prog_CXX+:} false; then :
4856 $as_echo_n "(cached) " >&6
4857 else
4858 if test -n "$CXX"; then
4859 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4860 else
4861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4862 for as_dir in $PATH
4864 IFS=$as_save_IFS
4865 test -z "$as_dir" && as_dir=.
4866 for ac_exec_ext in '' $ac_executable_extensions; do
4867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4868 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4870 break 2
4872 done
4873 done
4874 IFS=$as_save_IFS
4878 CXX=$ac_cv_prog_CXX
4879 if test -n "$CXX"; then
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4881 $as_echo "$CXX" >&6; }
4882 else
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884 $as_echo "no" >&6; }
4888 test -n "$CXX" && break
4889 done
4891 if test -z "$CXX"; then
4892 ac_ct_CXX=$CXX
4893 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4895 # Extract the first word of "$ac_prog", so it can be a program name with args.
4896 set dummy $ac_prog; ac_word=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4900 $as_echo_n "(cached) " >&6
4901 else
4902 if test -n "$ac_ct_CXX"; then
4903 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4904 else
4905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4906 for as_dir in $PATH
4908 IFS=$as_save_IFS
4909 test -z "$as_dir" && as_dir=.
4910 for ac_exec_ext in '' $ac_executable_extensions; do
4911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_ac_ct_CXX="$ac_prog"
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4914 break 2
4916 done
4917 done
4918 IFS=$as_save_IFS
4922 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4923 if test -n "$ac_ct_CXX"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4925 $as_echo "$ac_ct_CXX" >&6; }
4926 else
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4932 test -n "$ac_ct_CXX" && break
4933 done
4935 if test "x$ac_ct_CXX" = x; then
4936 CXX="g++"
4937 else
4938 case $cross_compiling:$ac_tool_warned in
4939 yes:)
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4941 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4942 ac_tool_warned=yes ;;
4943 esac
4944 CXX=$ac_ct_CXX
4950 # Provide some information about the compiler.
4951 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4952 set X $ac_compile
4953 ac_compiler=$2
4954 for ac_option in --version -v -V -qversion; do
4955 { { ac_try="$ac_compiler $ac_option >&5"
4956 case "(($ac_try" in
4957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4958 *) ac_try_echo=$ac_try;;
4959 esac
4960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4961 $as_echo "$ac_try_echo"; } >&5
4962 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4963 ac_status=$?
4964 if test -s conftest.err; then
4965 sed '10a\
4966 ... rest of stderr output deleted ...
4967 10q' conftest.err >conftest.er1
4968 cat conftest.er1 >&5
4970 rm -f conftest.er1 conftest.err
4971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4972 test $ac_status = 0; }
4973 done
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4976 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4977 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4978 $as_echo_n "(cached) " >&6
4979 else
4980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4981 /* end confdefs.h. */
4984 main ()
4986 #ifndef __GNUC__
4987 choke me
4988 #endif
4991 return 0;
4993 _ACEOF
4994 if ac_fn_cxx_try_compile "$LINENO"; then :
4995 ac_compiler_gnu=yes
4996 else
4997 ac_compiler_gnu=no
4999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5000 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5004 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5005 if test $ac_compiler_gnu = yes; then
5006 GXX=yes
5007 else
5008 GXX=
5010 ac_test_CXXFLAGS=${CXXFLAGS+set}
5011 ac_save_CXXFLAGS=$CXXFLAGS
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5013 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5014 if ${ac_cv_prog_cxx_g+:} false; then :
5015 $as_echo_n "(cached) " >&6
5016 else
5017 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5018 ac_cxx_werror_flag=yes
5019 ac_cv_prog_cxx_g=no
5020 CXXFLAGS="-g"
5021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5022 /* end confdefs.h. */
5025 main ()
5029 return 0;
5031 _ACEOF
5032 if ac_fn_cxx_try_compile "$LINENO"; then :
5033 ac_cv_prog_cxx_g=yes
5034 else
5035 CXXFLAGS=""
5036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5037 /* end confdefs.h. */
5040 main ()
5044 return 0;
5046 _ACEOF
5047 if ac_fn_cxx_try_compile "$LINENO"; then :
5049 else
5050 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5051 CXXFLAGS="-g"
5052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5053 /* end confdefs.h. */
5056 main ()
5060 return 0;
5062 _ACEOF
5063 if ac_fn_cxx_try_compile "$LINENO"; then :
5064 ac_cv_prog_cxx_g=yes
5066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5071 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5074 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5075 if test "$ac_test_CXXFLAGS" = set; then
5076 CXXFLAGS=$ac_save_CXXFLAGS
5077 elif test $ac_cv_prog_cxx_g = yes; then
5078 if test "$GXX" = yes; then
5079 CXXFLAGS="-g -O2"
5080 else
5081 CXXFLAGS="-g"
5083 else
5084 if test "$GXX" = yes; then
5085 CXXFLAGS="-O2"
5086 else
5087 CXXFLAGS=
5090 ac_ext=c
5091 ac_cpp='$CPP $CPPFLAGS'
5092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5096 if test -n "$ac_tool_prefix"; then
5097 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5098 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5100 $as_echo_n "checking for $ac_word... " >&6; }
5101 if ${ac_cv_prog_CPPBIN+:} false; then :
5102 $as_echo_n "(cached) " >&6
5103 else
5104 if test -n "$CPPBIN"; then
5105 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5106 else
5107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5108 for as_dir in $PATH
5110 IFS=$as_save_IFS
5111 test -z "$as_dir" && as_dir=.
5112 for ac_exec_ext in '' $ac_executable_extensions; do
5113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5114 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5116 break 2
5118 done
5119 done
5120 IFS=$as_save_IFS
5124 CPPBIN=$ac_cv_prog_CPPBIN
5125 if test -n "$CPPBIN"; then
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5127 $as_echo "$CPPBIN" >&6; }
5128 else
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5130 $as_echo "no" >&6; }
5135 if test -z "$ac_cv_prog_CPPBIN"; then
5136 ac_ct_CPPBIN=$CPPBIN
5137 # Extract the first word of "cpp", so it can be a program name with args.
5138 set dummy cpp; ac_word=$2
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5140 $as_echo_n "checking for $ac_word... " >&6; }
5141 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5142 $as_echo_n "(cached) " >&6
5143 else
5144 if test -n "$ac_ct_CPPBIN"; then
5145 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5146 else
5147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5148 for as_dir in $PATH
5150 IFS=$as_save_IFS
5151 test -z "$as_dir" && as_dir=.
5152 for ac_exec_ext in '' $ac_executable_extensions; do
5153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5154 ac_cv_prog_ac_ct_CPPBIN="cpp"
5155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5156 break 2
5158 done
5159 done
5160 IFS=$as_save_IFS
5164 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5165 if test -n "$ac_ct_CPPBIN"; then
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5167 $as_echo "$ac_ct_CPPBIN" >&6; }
5168 else
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5170 $as_echo "no" >&6; }
5173 if test "x$ac_ct_CPPBIN" = x; then
5174 CPPBIN="cpp"
5175 else
5176 case $cross_compiling:$ac_tool_warned in
5177 yes:)
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5180 ac_tool_warned=yes ;;
5181 esac
5182 CPPBIN=$ac_ct_CPPBIN
5184 else
5185 CPPBIN="$ac_cv_prog_CPPBIN"
5189 cat >>confdefs.h <<_ACEOF
5190 #define EXEEXT "$ac_exeext"
5191 _ACEOF
5193 if test -n "$ac_tool_prefix"; then
5194 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5195 set dummy ${ac_tool_prefix}ld; ac_word=$2
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5197 $as_echo_n "checking for $ac_word... " >&6; }
5198 if ${ac_cv_prog_LD+:} false; then :
5199 $as_echo_n "(cached) " >&6
5200 else
5201 if test -n "$LD"; then
5202 ac_cv_prog_LD="$LD" # Let the user override the test.
5203 else
5204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5205 for as_dir in $PATH
5207 IFS=$as_save_IFS
5208 test -z "$as_dir" && as_dir=.
5209 for ac_exec_ext in '' $ac_executable_extensions; do
5210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5211 ac_cv_prog_LD="${ac_tool_prefix}ld"
5212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5213 break 2
5215 done
5216 done
5217 IFS=$as_save_IFS
5221 LD=$ac_cv_prog_LD
5222 if test -n "$LD"; then
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5224 $as_echo "$LD" >&6; }
5225 else
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5227 $as_echo "no" >&6; }
5232 if test -z "$ac_cv_prog_LD"; then
5233 ac_ct_LD=$LD
5234 # Extract the first word of "ld", so it can be a program name with args.
5235 set dummy ld; ac_word=$2
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5237 $as_echo_n "checking for $ac_word... " >&6; }
5238 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5239 $as_echo_n "(cached) " >&6
5240 else
5241 if test -n "$ac_ct_LD"; then
5242 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5243 else
5244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5245 for as_dir in $PATH
5247 IFS=$as_save_IFS
5248 test -z "$as_dir" && as_dir=.
5249 for ac_exec_ext in '' $ac_executable_extensions; do
5250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5251 ac_cv_prog_ac_ct_LD="ld"
5252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5253 break 2
5255 done
5256 done
5257 IFS=$as_save_IFS
5261 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5262 if test -n "$ac_ct_LD"; then
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5264 $as_echo "$ac_ct_LD" >&6; }
5265 else
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5267 $as_echo "no" >&6; }
5270 if test "x$ac_ct_LD" = x; then
5271 LD=""
5272 else
5273 case $cross_compiling:$ac_tool_warned in
5274 yes:)
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5276 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5277 ac_tool_warned=yes ;;
5278 esac
5279 LD=$ac_ct_LD
5281 else
5282 LD="$ac_cv_prog_LD"
5286 case $host in
5287 *-darwin*)
5288 with_fontconfig=${with_fontconfig:-no}
5290 *-mingw32*|*-cygwin*)
5291 enable_win16=${enable_win16:-no}
5292 CFLAGS="$CFLAGS -D_WIN32"
5294 esac
5296 case $host in
5297 x86_64*|amd64*)
5298 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5299 then
5300 CC="$CC -m32"
5301 CXX="$CXX -m32"
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5303 $as_echo_n "checking whether $CC works... " >&6; }
5305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5306 /* end confdefs.h. */
5309 main ()
5313 return 0;
5315 _ACEOF
5316 if ac_fn_c_try_link "$LINENO"; then :
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5318 $as_echo "yes" >&6; }
5319 else
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5321 $as_echo "no" >&6; }
5322 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5324 rm -f core conftest.err conftest.$ac_objext \
5325 conftest$ac_exeext conftest.$ac_ext
5326 host_cpu="i386"
5327 notice_platform="32-bit "
5328 TARGETFLAGS="-m32"
5330 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5331 export PKG_CONFIG_PATH
5332 enable_win16=${enable_win16:-yes}
5333 else
5334 if test "x${GCC}" = "xyes"
5335 then
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5337 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5339 /* end confdefs.h. */
5340 #include <stdarg.h>
5342 main ()
5344 void func(__builtin_ms_va_list *args);
5346 return 0;
5348 _ACEOF
5349 if ac_fn_c_try_compile "$LINENO"; then :
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5351 $as_echo "yes" >&6; }
5352 else
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5354 $as_echo "no" >&6; }
5355 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5359 CC="$CC -m64"
5360 CXX="$CXX -m64"
5361 host_cpu="x86_64"
5362 notice_platform="64-bit "
5363 TARGETFLAGS="-m64"
5367 arm*)
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5369 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5371 /* end confdefs.h. */
5372 int ac_test(int i) { return i; }
5374 main ()
5376 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5378 return 0;
5380 _ACEOF
5381 if ac_fn_c_try_link "$LINENO"; then :
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5383 $as_echo "yes" >&6; }
5384 else
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5386 $as_echo "no" >&6; }
5387 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5389 rm -f core conftest.err conftest.$ac_objext \
5390 conftest$ac_exeext conftest.$ac_ext
5391 case $with_float_abi in
5392 soft|softfp|hard)
5393 float_abi=$with_float_abi ;;
5395 case $host_os in
5396 *eabihf)
5397 float_abi=hard ;;
5399 float_abi=softfp
5400 saved_CFLAGS=$CFLAGS
5401 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5403 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5405 /* end confdefs.h. */
5408 main ()
5410 asm("vmrs r2,fpscr");
5412 return 0;
5414 _ACEOF
5415 if ac_fn_c_try_link "$LINENO"; then :
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5417 $as_echo "yes" >&6; }
5418 else
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5420 $as_echo "no" >&6; }
5421 float_abi=soft
5422 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5424 rm -f core conftest.err conftest.$ac_objext \
5425 conftest$ac_exeext conftest.$ac_ext
5426 CFLAGS=$saved_CFLAGS
5427 esac
5429 esac
5430 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5431 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5434 aarch64*)
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5436 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5438 /* end confdefs.h. */
5439 #include <stdarg.h>
5441 main ()
5443 void func(__builtin_ms_va_list *args);
5445 return 0;
5447 _ACEOF
5448 if ac_fn_c_try_compile "$LINENO"; then :
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5450 $as_echo "yes" >&6; }
5451 else
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5453 $as_echo "no" >&6; }
5454 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5458 i[3456789]86*)
5459 enable_win16=${enable_win16:-yes}
5461 esac
5463 enable_win16=${enable_win16:-no}
5464 enable_win64=${enable_win64:-no}
5466 enable_winetest=${enable_winetest:-$enable_tests}
5468 if test -n "$with_wine64"
5469 then
5470 if test "x$enable_win64" = "xyes"
5471 then
5472 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5473 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5475 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5476 You should create a separate build directory and run configure from there." "$LINENO" 5
5477 enable_fonts=${enable_fonts:-no}
5478 enable_server=${enable_server:-no}
5479 wine64_disable=\#
5481 elif test "x$enable_win64" = "xyes"
5482 then
5483 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5487 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5488 if ${wine_cv_toolsdir+:} false; then :
5489 $as_echo_n "(cached) " >&6
5490 else
5491 wine_cv_toolsdir="$with_wine_tools"
5492 if test -z "$with_wine_tools"; then
5493 if test "$cross_compiling" = "yes"; then
5494 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5495 elif test -n "$with_wine64"; then
5496 wine_cv_toolsdir="$with_wine64"
5499 if test -z "$wine_cv_toolsdir"; then
5500 wine_makedep=tools/makedep
5501 wine_cv_toolsdir="\$(top_builddir)"
5502 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5503 wine_makedep=$wine_cv_toolsdir/tools/makedep
5504 case "$wine_cv_toolsdir" in
5505 /*) ;;
5506 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5507 esac
5508 enable_tools=${enable_tools:-no}
5509 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5510 else
5511 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5515 $as_echo "$wine_cv_toolsdir" >&6; }
5516 TOOLSDIR=$wine_cv_toolsdir
5518 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5519 then
5520 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5524 for ac_prog in flex
5526 # Extract the first word of "$ac_prog", so it can be a program name with args.
5527 set dummy $ac_prog; ac_word=$2
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5529 $as_echo_n "checking for $ac_word... " >&6; }
5530 if ${ac_cv_prog_FLEX+:} false; then :
5531 $as_echo_n "(cached) " >&6
5532 else
5533 if test -n "$FLEX"; then
5534 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5535 else
5536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5537 for as_dir in $PATH
5539 IFS=$as_save_IFS
5540 test -z "$as_dir" && as_dir=.
5541 for ac_exec_ext in '' $ac_executable_extensions; do
5542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5543 ac_cv_prog_FLEX="$ac_prog"
5544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5545 break 2
5547 done
5548 done
5549 IFS=$as_save_IFS
5553 FLEX=$ac_cv_prog_FLEX
5554 if test -n "$FLEX"; then
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5556 $as_echo "$FLEX" >&6; }
5557 else
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5559 $as_echo "no" >&6; }
5563 test -n "$FLEX" && break
5564 done
5565 test -n "$FLEX" || FLEX="none"
5567 if test "$FLEX" = "none"
5568 then
5569 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5572 $as_echo_n "checking whether flex is recent enough... " >&6; }
5573 cat >conftest.l <<EOF
5574 %top{
5575 #include "prediluvian.h"
5579 if $FLEX -t conftest.l >/dev/null 2>&5
5580 then
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5582 $as_echo "yes" >&6; }
5583 else
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5585 $as_echo "no" >&6; }
5586 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5589 for ac_prog in bison
5591 # Extract the first word of "$ac_prog", so it can be a program name with args.
5592 set dummy $ac_prog; ac_word=$2
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5594 $as_echo_n "checking for $ac_word... " >&6; }
5595 if ${ac_cv_prog_BISON+:} false; then :
5596 $as_echo_n "(cached) " >&6
5597 else
5598 if test -n "$BISON"; then
5599 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5600 else
5601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5602 for as_dir in $PATH
5604 IFS=$as_save_IFS
5605 test -z "$as_dir" && as_dir=.
5606 for ac_exec_ext in '' $ac_executable_extensions; do
5607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5608 ac_cv_prog_BISON="$ac_prog"
5609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 break 2
5612 done
5613 done
5614 IFS=$as_save_IFS
5618 BISON=$ac_cv_prog_BISON
5619 if test -n "$BISON"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5621 $as_echo "$BISON" >&6; }
5622 else
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5628 test -n "$BISON" && break
5629 done
5630 test -n "$BISON" || BISON="none"
5632 if test "$BISON" = "none"
5633 then
5634 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5637 if test -n "$ac_tool_prefix"; then
5638 for ac_prog in ar gar
5640 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5641 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5643 $as_echo_n "checking for $ac_word... " >&6; }
5644 if ${ac_cv_prog_AR+:} false; then :
5645 $as_echo_n "(cached) " >&6
5646 else
5647 if test -n "$AR"; then
5648 ac_cv_prog_AR="$AR" # Let the user override the test.
5649 else
5650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5651 for as_dir in $PATH
5653 IFS=$as_save_IFS
5654 test -z "$as_dir" && as_dir=.
5655 for ac_exec_ext in '' $ac_executable_extensions; do
5656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5657 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5659 break 2
5661 done
5662 done
5663 IFS=$as_save_IFS
5667 AR=$ac_cv_prog_AR
5668 if test -n "$AR"; then
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5670 $as_echo "$AR" >&6; }
5671 else
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5673 $as_echo "no" >&6; }
5677 test -n "$AR" && break
5678 done
5680 if test -z "$AR"; then
5681 ac_ct_AR=$AR
5682 for ac_prog in ar gar
5684 # Extract the first word of "$ac_prog", so it can be a program name with args.
5685 set dummy $ac_prog; ac_word=$2
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687 $as_echo_n "checking for $ac_word... " >&6; }
5688 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5689 $as_echo_n "(cached) " >&6
5690 else
5691 if test -n "$ac_ct_AR"; then
5692 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5693 else
5694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5695 for as_dir in $PATH
5697 IFS=$as_save_IFS
5698 test -z "$as_dir" && as_dir=.
5699 for ac_exec_ext in '' $ac_executable_extensions; do
5700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5701 ac_cv_prog_ac_ct_AR="$ac_prog"
5702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5703 break 2
5705 done
5706 done
5707 IFS=$as_save_IFS
5711 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5712 if test -n "$ac_ct_AR"; then
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5714 $as_echo "$ac_ct_AR" >&6; }
5715 else
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5717 $as_echo "no" >&6; }
5721 test -n "$ac_ct_AR" && break
5722 done
5724 if test "x$ac_ct_AR" = x; then
5725 AR="ar"
5726 else
5727 case $cross_compiling:$ac_tool_warned in
5728 yes:)
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5731 ac_tool_warned=yes ;;
5732 esac
5733 AR=$ac_ct_AR
5737 if test -n "$ac_tool_prefix"; then
5738 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5739 set dummy ${ac_tool_prefix}strip; ac_word=$2
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5741 $as_echo_n "checking for $ac_word... " >&6; }
5742 if ${ac_cv_prog_STRIP+:} false; then :
5743 $as_echo_n "(cached) " >&6
5744 else
5745 if test -n "$STRIP"; then
5746 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5747 else
5748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5749 for as_dir in $PATH
5751 IFS=$as_save_IFS
5752 test -z "$as_dir" && as_dir=.
5753 for ac_exec_ext in '' $ac_executable_extensions; do
5754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5755 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5757 break 2
5759 done
5760 done
5761 IFS=$as_save_IFS
5765 STRIP=$ac_cv_prog_STRIP
5766 if test -n "$STRIP"; then
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5768 $as_echo "$STRIP" >&6; }
5769 else
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5771 $as_echo "no" >&6; }
5776 if test -z "$ac_cv_prog_STRIP"; then
5777 ac_ct_STRIP=$STRIP
5778 # Extract the first word of "strip", so it can be a program name with args.
5779 set dummy strip; ac_word=$2
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5781 $as_echo_n "checking for $ac_word... " >&6; }
5782 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5783 $as_echo_n "(cached) " >&6
5784 else
5785 if test -n "$ac_ct_STRIP"; then
5786 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5787 else
5788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5789 for as_dir in $PATH
5791 IFS=$as_save_IFS
5792 test -z "$as_dir" && as_dir=.
5793 for ac_exec_ext in '' $ac_executable_extensions; do
5794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5795 ac_cv_prog_ac_ct_STRIP="strip"
5796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5797 break 2
5799 done
5800 done
5801 IFS=$as_save_IFS
5805 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5806 if test -n "$ac_ct_STRIP"; then
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5808 $as_echo "$ac_ct_STRIP" >&6; }
5809 else
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5811 $as_echo "no" >&6; }
5814 if test "x$ac_ct_STRIP" = x; then
5815 STRIP="strip"
5816 else
5817 case $cross_compiling:$ac_tool_warned in
5818 yes:)
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5821 ac_tool_warned=yes ;;
5822 esac
5823 STRIP=$ac_ct_STRIP
5825 else
5826 STRIP="$ac_cv_prog_STRIP"
5829 ARFLAGS=rc
5831 if test -n "$ac_tool_prefix"; then
5832 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5833 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5835 $as_echo_n "checking for $ac_word... " >&6; }
5836 if ${ac_cv_prog_RANLIB+:} false; then :
5837 $as_echo_n "(cached) " >&6
5838 else
5839 if test -n "$RANLIB"; then
5840 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5841 else
5842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5843 for as_dir in $PATH
5845 IFS=$as_save_IFS
5846 test -z "$as_dir" && as_dir=.
5847 for ac_exec_ext in '' $ac_executable_extensions; do
5848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5849 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5851 break 2
5853 done
5854 done
5855 IFS=$as_save_IFS
5859 RANLIB=$ac_cv_prog_RANLIB
5860 if test -n "$RANLIB"; then
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5862 $as_echo "$RANLIB" >&6; }
5863 else
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5865 $as_echo "no" >&6; }
5870 if test -z "$ac_cv_prog_RANLIB"; then
5871 ac_ct_RANLIB=$RANLIB
5872 # Extract the first word of "ranlib", so it can be a program name with args.
5873 set dummy ranlib; ac_word=$2
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5875 $as_echo_n "checking for $ac_word... " >&6; }
5876 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5877 $as_echo_n "(cached) " >&6
5878 else
5879 if test -n "$ac_ct_RANLIB"; then
5880 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5881 else
5882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883 for as_dir in $PATH
5885 IFS=$as_save_IFS
5886 test -z "$as_dir" && as_dir=.
5887 for ac_exec_ext in '' $ac_executable_extensions; do
5888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5889 ac_cv_prog_ac_ct_RANLIB="ranlib"
5890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5891 break 2
5893 done
5894 done
5895 IFS=$as_save_IFS
5899 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5900 if test -n "$ac_ct_RANLIB"; then
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5902 $as_echo "$ac_ct_RANLIB" >&6; }
5903 else
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5905 $as_echo "no" >&6; }
5908 if test "x$ac_ct_RANLIB" = x; then
5909 RANLIB=":"
5910 else
5911 case $cross_compiling:$ac_tool_warned in
5912 yes:)
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5915 ac_tool_warned=yes ;;
5916 esac
5917 RANLIB=$ac_ct_RANLIB
5919 else
5920 RANLIB="$ac_cv_prog_RANLIB"
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5924 $as_echo_n "checking whether ln -s works... " >&6; }
5925 LN_S=$as_ln_s
5926 if test "$LN_S" = "ln -s"; then
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5928 $as_echo "yes" >&6; }
5929 else
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5931 $as_echo "no, using $LN_S" >&6; }
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5935 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5936 if ${ac_cv_path_GREP+:} false; then :
5937 $as_echo_n "(cached) " >&6
5938 else
5939 if test -z "$GREP"; then
5940 ac_path_GREP_found=false
5941 # Loop through the user's path and test for each of PROGNAME-LIST
5942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5945 IFS=$as_save_IFS
5946 test -z "$as_dir" && as_dir=.
5947 for ac_prog in grep ggrep; do
5948 for ac_exec_ext in '' $ac_executable_extensions; do
5949 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5950 as_fn_executable_p "$ac_path_GREP" || continue
5951 # Check for GNU ac_path_GREP and select it if it is found.
5952 # Check for GNU $ac_path_GREP
5953 case `"$ac_path_GREP" --version 2>&1` in
5954 *GNU*)
5955 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5957 ac_count=0
5958 $as_echo_n 0123456789 >"conftest.in"
5959 while :
5961 cat "conftest.in" "conftest.in" >"conftest.tmp"
5962 mv "conftest.tmp" "conftest.in"
5963 cp "conftest.in" "conftest.nl"
5964 $as_echo 'GREP' >> "conftest.nl"
5965 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5966 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5967 as_fn_arith $ac_count + 1 && ac_count=$as_val
5968 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5969 # Best one so far, save it but keep looking for a better one
5970 ac_cv_path_GREP="$ac_path_GREP"
5971 ac_path_GREP_max=$ac_count
5973 # 10*(2^10) chars as input seems more than enough
5974 test $ac_count -gt 10 && break
5975 done
5976 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5977 esac
5979 $ac_path_GREP_found && break 3
5980 done
5981 done
5982 done
5983 IFS=$as_save_IFS
5984 if test -z "$ac_cv_path_GREP"; then
5985 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5987 else
5988 ac_cv_path_GREP=$GREP
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5993 $as_echo "$ac_cv_path_GREP" >&6; }
5994 GREP="$ac_cv_path_GREP"
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5998 $as_echo_n "checking for egrep... " >&6; }
5999 if ${ac_cv_path_EGREP+:} false; then :
6000 $as_echo_n "(cached) " >&6
6001 else
6002 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6003 then ac_cv_path_EGREP="$GREP -E"
6004 else
6005 if test -z "$EGREP"; then
6006 ac_path_EGREP_found=false
6007 # Loop through the user's path and test for each of PROGNAME-LIST
6008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6009 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6011 IFS=$as_save_IFS
6012 test -z "$as_dir" && as_dir=.
6013 for ac_prog in egrep; do
6014 for ac_exec_ext in '' $ac_executable_extensions; do
6015 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6016 as_fn_executable_p "$ac_path_EGREP" || continue
6017 # Check for GNU ac_path_EGREP and select it if it is found.
6018 # Check for GNU $ac_path_EGREP
6019 case `"$ac_path_EGREP" --version 2>&1` in
6020 *GNU*)
6021 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6023 ac_count=0
6024 $as_echo_n 0123456789 >"conftest.in"
6025 while :
6027 cat "conftest.in" "conftest.in" >"conftest.tmp"
6028 mv "conftest.tmp" "conftest.in"
6029 cp "conftest.in" "conftest.nl"
6030 $as_echo 'EGREP' >> "conftest.nl"
6031 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6032 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6033 as_fn_arith $ac_count + 1 && ac_count=$as_val
6034 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6035 # Best one so far, save it but keep looking for a better one
6036 ac_cv_path_EGREP="$ac_path_EGREP"
6037 ac_path_EGREP_max=$ac_count
6039 # 10*(2^10) chars as input seems more than enough
6040 test $ac_count -gt 10 && break
6041 done
6042 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6043 esac
6045 $ac_path_EGREP_found && break 3
6046 done
6047 done
6048 done
6049 IFS=$as_save_IFS
6050 if test -z "$ac_cv_path_EGREP"; then
6051 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6053 else
6054 ac_cv_path_EGREP=$EGREP
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6060 $as_echo "$ac_cv_path_EGREP" >&6; }
6061 EGREP="$ac_cv_path_EGREP"
6064 # Extract the first word of "ldconfig", so it can be a program name with args.
6065 set dummy ldconfig; ac_word=$2
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067 $as_echo_n "checking for $ac_word... " >&6; }
6068 if ${ac_cv_path_LDCONFIG+:} false; then :
6069 $as_echo_n "(cached) " >&6
6070 else
6071 case $LDCONFIG in
6072 [\\/]* | ?:[\\/]*)
6073 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6077 for as_dir in /sbin /usr/sbin $PATH
6079 IFS=$as_save_IFS
6080 test -z "$as_dir" && as_dir=.
6081 for ac_exec_ext in '' $ac_executable_extensions; do
6082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6083 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6085 break 2
6087 done
6088 done
6089 IFS=$as_save_IFS
6091 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6093 esac
6095 LDCONFIG=$ac_cv_path_LDCONFIG
6096 if test -n "$LDCONFIG"; then
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6098 $as_echo "$LDCONFIG" >&6; }
6099 else
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6101 $as_echo "no" >&6; }
6105 for ac_prog in msgfmt
6107 # Extract the first word of "$ac_prog", so it can be a program name with args.
6108 set dummy $ac_prog; ac_word=$2
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6110 $as_echo_n "checking for $ac_word... " >&6; }
6111 if ${ac_cv_prog_MSGFMT+:} false; then :
6112 $as_echo_n "(cached) " >&6
6113 else
6114 if test -n "$MSGFMT"; then
6115 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6116 else
6117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6118 for as_dir in $PATH
6120 IFS=$as_save_IFS
6121 test -z "$as_dir" && as_dir=.
6122 for ac_exec_ext in '' $ac_executable_extensions; do
6123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6124 ac_cv_prog_MSGFMT="$ac_prog"
6125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6126 break 2
6128 done
6129 done
6130 IFS=$as_save_IFS
6134 MSGFMT=$ac_cv_prog_MSGFMT
6135 if test -n "$MSGFMT"; then
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6137 $as_echo "$MSGFMT" >&6; }
6138 else
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6140 $as_echo "no" >&6; }
6144 test -n "$MSGFMT" && break
6145 done
6146 test -n "$MSGFMT" || MSGFMT="false"
6148 if ${ac_tool_prefix+:} false; then :
6149 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6150 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6152 $as_echo_n "checking for $ac_word... " >&6; }
6153 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6154 $as_echo_n "(cached) " >&6
6155 else
6156 if test -n "$PKG_CONFIG"; then
6157 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6158 else
6159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6160 for as_dir in $PATH
6162 IFS=$as_save_IFS
6163 test -z "$as_dir" && as_dir=.
6164 for ac_exec_ext in '' $ac_executable_extensions; do
6165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6166 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6168 break 2
6170 done
6171 done
6172 IFS=$as_save_IFS
6176 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6177 if test -n "$PKG_CONFIG"; then
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6179 $as_echo "$PKG_CONFIG" >&6; }
6180 else
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6182 $as_echo "no" >&6; }
6187 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6188 if test "x$cross_compiling" = xyes; then :
6190 else
6191 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6192 # Extract the first word of "pkg-config", so it can be a program name with args.
6193 set dummy pkg-config; ac_word=$2
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6195 $as_echo_n "checking for $ac_word... " >&6; }
6196 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6197 $as_echo_n "(cached) " >&6
6198 else
6199 if test -n "$PKG_CONFIG"; then
6200 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6201 else
6202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6203 for as_dir in $PATH
6205 IFS=$as_save_IFS
6206 test -z "$as_dir" && as_dir=.
6207 for ac_exec_ext in '' $ac_executable_extensions; do
6208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6209 ac_cv_prog_PKG_CONFIG="pkg-config"
6210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6211 break 2
6213 done
6214 done
6215 IFS=$as_save_IFS
6219 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6220 if test -n "$PKG_CONFIG"; then
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6222 $as_echo "$PKG_CONFIG" >&6; }
6223 else
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6225 $as_echo "no" >&6; }
6230 else
6231 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6234 if test "x$enable_maintainer_mode" != "xyes"
6235 then
6236 FONTFORGE=""
6237 RSVG=""
6238 CONVERT=""
6239 ICOTOOL=""
6240 else
6241 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6242 for ac_prog in fontforge
6244 # Extract the first word of "$ac_prog", so it can be a program name with args.
6245 set dummy $ac_prog; ac_word=$2
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6247 $as_echo_n "checking for $ac_word... " >&6; }
6248 if ${ac_cv_prog_FONTFORGE+:} false; then :
6249 $as_echo_n "(cached) " >&6
6250 else
6251 if test -n "$FONTFORGE"; then
6252 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6253 else
6254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6255 for as_dir in $PATH
6257 IFS=$as_save_IFS
6258 test -z "$as_dir" && as_dir=.
6259 for ac_exec_ext in '' $ac_executable_extensions; do
6260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6261 ac_cv_prog_FONTFORGE="$ac_prog"
6262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6263 break 2
6265 done
6266 done
6267 IFS=$as_save_IFS
6271 FONTFORGE=$ac_cv_prog_FONTFORGE
6272 if test -n "$FONTFORGE"; then
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6274 $as_echo "$FONTFORGE" >&6; }
6275 else
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6277 $as_echo "no" >&6; }
6281 test -n "$FONTFORGE" && break
6282 done
6283 test -n "$FONTFORGE" || FONTFORGE="false"
6285 for ac_prog in rsvg-convert rsvg
6287 # Extract the first word of "$ac_prog", so it can be a program name with args.
6288 set dummy $ac_prog; ac_word=$2
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6290 $as_echo_n "checking for $ac_word... " >&6; }
6291 if ${ac_cv_prog_RSVG+:} false; then :
6292 $as_echo_n "(cached) " >&6
6293 else
6294 if test -n "$RSVG"; then
6295 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6296 else
6297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6298 for as_dir in $PATH
6300 IFS=$as_save_IFS
6301 test -z "$as_dir" && as_dir=.
6302 for ac_exec_ext in '' $ac_executable_extensions; do
6303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6304 ac_cv_prog_RSVG="$ac_prog"
6305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6306 break 2
6308 done
6309 done
6310 IFS=$as_save_IFS
6314 RSVG=$ac_cv_prog_RSVG
6315 if test -n "$RSVG"; then
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6317 $as_echo "$RSVG" >&6; }
6318 else
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6320 $as_echo "no" >&6; }
6324 test -n "$RSVG" && break
6325 done
6326 test -n "$RSVG" || RSVG="false"
6328 for ac_prog in convert
6330 # Extract the first word of "$ac_prog", so it can be a program name with args.
6331 set dummy $ac_prog; ac_word=$2
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6333 $as_echo_n "checking for $ac_word... " >&6; }
6334 if ${ac_cv_prog_CONVERT+:} false; then :
6335 $as_echo_n "(cached) " >&6
6336 else
6337 if test -n "$CONVERT"; then
6338 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6339 else
6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 for as_dir in $PATH
6343 IFS=$as_save_IFS
6344 test -z "$as_dir" && as_dir=.
6345 for ac_exec_ext in '' $ac_executable_extensions; do
6346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6347 ac_cv_prog_CONVERT="$ac_prog"
6348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6349 break 2
6351 done
6352 done
6353 IFS=$as_save_IFS
6357 CONVERT=$ac_cv_prog_CONVERT
6358 if test -n "$CONVERT"; then
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6360 $as_echo "$CONVERT" >&6; }
6361 else
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6363 $as_echo "no" >&6; }
6367 test -n "$CONVERT" && break
6368 done
6369 test -n "$CONVERT" || CONVERT="false"
6371 for ac_prog in icotool
6373 # Extract the first word of "$ac_prog", so it can be a program name with args.
6374 set dummy $ac_prog; ac_word=$2
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6376 $as_echo_n "checking for $ac_word... " >&6; }
6377 if ${ac_cv_prog_ICOTOOL+:} false; then :
6378 $as_echo_n "(cached) " >&6
6379 else
6380 if test -n "$ICOTOOL"; then
6381 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6382 else
6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6384 for as_dir in $PATH
6386 IFS=$as_save_IFS
6387 test -z "$as_dir" && as_dir=.
6388 for ac_exec_ext in '' $ac_executable_extensions; do
6389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6390 ac_cv_prog_ICOTOOL="$ac_prog"
6391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6392 break 2
6394 done
6395 done
6396 IFS=$as_save_IFS
6400 ICOTOOL=$ac_cv_prog_ICOTOOL
6401 if test -n "$ICOTOOL"; then
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6403 $as_echo "$ICOTOOL" >&6; }
6404 else
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6406 $as_echo "no" >&6; }
6410 test -n "$ICOTOOL" && break
6411 done
6412 test -n "$ICOTOOL" || ICOTOOL="false"
6414 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6415 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6417 if test "$CONVERT" = false
6418 then
6419 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6420 else
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6422 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6423 convert_version=`convert --version | head -n1`
6424 if test "x$convert_version" != "x"
6425 then
6426 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6427 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6428 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6429 then
6430 CONVERT=false
6433 if test "$CONVERT" = false
6434 then
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6436 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6437 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6438 else
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6440 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6444 if test "$ICOTOOL" = false
6445 then
6446 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6447 else
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6449 $as_echo_n "checking for recent enough icotool... " >&6; }
6450 icotool_version=`icotool --version | head -n1`
6451 if test "x$icotool_version" != "x"
6452 then
6453 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6454 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6455 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6456 then
6457 ICOTOOL=false
6458 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6461 if test "$ICOTOOL" = false
6462 then
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6464 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6465 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6466 else
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6468 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6472 with_gettext=yes
6473 with_gettextpo=yes
6474 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6477 test "x$with_gettext" != xno || MSGFMT=false
6478 if test "$MSGFMT" != "false"
6479 then
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6481 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6482 cat >conftest.po <<EOF
6483 # comment
6484 msgctxt "ctxt"
6485 msgid "id"
6486 msgstr "str"
6488 if $MSGFMT -o /dev/null conftest.po 2>&5
6489 then
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6491 $as_echo "yes" >&6; }
6492 else
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6494 $as_echo "no" >&6; }
6495 MSGFMT=false
6498 if test "$MSGFMT" = false; then :
6499 case "x$with_gettext" in
6500 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6501 xno) ;;
6502 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6503 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6504 esac
6505 enable_po=${enable_po:-no}
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6510 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6511 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6512 $as_echo_n "(cached) " >&6
6513 else
6514 ac_check_lib_save_LIBS=$LIBS
6515 LIBS="-li386 $LIBS"
6516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6517 /* end confdefs.h. */
6519 /* Override any GCC internal prototype to avoid an error.
6520 Use char because int might match the return type of a GCC
6521 builtin and then its argument prototype would still apply. */
6522 #ifdef __cplusplus
6523 extern "C"
6524 #endif
6525 char i386_set_ldt ();
6527 main ()
6529 return i386_set_ldt ();
6531 return 0;
6533 _ACEOF
6534 if ac_fn_c_try_link "$LINENO"; then :
6535 ac_cv_lib_i386_i386_set_ldt=yes
6536 else
6537 ac_cv_lib_i386_i386_set_ldt=no
6539 rm -f core conftest.err conftest.$ac_objext \
6540 conftest$ac_exeext conftest.$ac_ext
6541 LIBS=$ac_check_lib_save_LIBS
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6544 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6545 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6546 cat >>confdefs.h <<_ACEOF
6547 #define HAVE_LIBI386 1
6548 _ACEOF
6550 LIBS="-li386 $LIBS"
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6555 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6556 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6557 $as_echo_n "(cached) " >&6
6558 else
6559 ac_check_lib_save_LIBS=$LIBS
6560 LIBS="-lossaudio $LIBS"
6561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6562 /* end confdefs.h. */
6564 /* Override any GCC internal prototype to avoid an error.
6565 Use char because int might match the return type of a GCC
6566 builtin and then its argument prototype would still apply. */
6567 #ifdef __cplusplus
6568 extern "C"
6569 #endif
6570 char _oss_ioctl ();
6572 main ()
6574 return _oss_ioctl ();
6576 return 0;
6578 _ACEOF
6579 if ac_fn_c_try_link "$LINENO"; then :
6580 ac_cv_lib_ossaudio__oss_ioctl=yes
6581 else
6582 ac_cv_lib_ossaudio__oss_ioctl=no
6584 rm -f core conftest.err conftest.$ac_objext \
6585 conftest$ac_exeext conftest.$ac_ext
6586 LIBS=$ac_check_lib_save_LIBS
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6589 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6590 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6591 cat >>confdefs.h <<_ACEOF
6592 #define HAVE_LIBOSSAUDIO 1
6593 _ACEOF
6595 LIBS="-lossaudio $LIBS"
6600 OPENGL_LIBS=""
6604 # Check whether --enable-largefile was given.
6605 if test "${enable_largefile+set}" = set; then :
6606 enableval=$enable_largefile;
6609 if test "$enable_largefile" != no; then
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6612 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6613 if ${ac_cv_sys_largefile_CC+:} false; then :
6614 $as_echo_n "(cached) " >&6
6615 else
6616 ac_cv_sys_largefile_CC=no
6617 if test "$GCC" != yes; then
6618 ac_save_CC=$CC
6619 while :; do
6620 # IRIX 6.2 and later do not support large files by default,
6621 # so use the C compiler's -n32 option if that helps.
6622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6623 /* end confdefs.h. */
6624 #include <sys/types.h>
6625 /* Check that off_t can represent 2**63 - 1 correctly.
6626 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6627 since some C++ compilers masquerading as C compilers
6628 incorrectly reject 9223372036854775807. */
6629 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6630 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6631 && LARGE_OFF_T % 2147483647 == 1)
6632 ? 1 : -1];
6634 main ()
6638 return 0;
6640 _ACEOF
6641 if ac_fn_c_try_compile "$LINENO"; then :
6642 break
6644 rm -f core conftest.err conftest.$ac_objext
6645 CC="$CC -n32"
6646 if ac_fn_c_try_compile "$LINENO"; then :
6647 ac_cv_sys_largefile_CC=' -n32'; break
6649 rm -f core conftest.err conftest.$ac_objext
6650 break
6651 done
6652 CC=$ac_save_CC
6653 rm -f conftest.$ac_ext
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6657 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6658 if test "$ac_cv_sys_largefile_CC" != no; then
6659 CC=$CC$ac_cv_sys_largefile_CC
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6663 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6664 if ${ac_cv_sys_file_offset_bits+:} false; then :
6665 $as_echo_n "(cached) " >&6
6666 else
6667 while :; do
6668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6669 /* end confdefs.h. */
6670 #include <sys/types.h>
6671 /* Check that off_t can represent 2**63 - 1 correctly.
6672 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6673 since some C++ compilers masquerading as C compilers
6674 incorrectly reject 9223372036854775807. */
6675 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6676 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6677 && LARGE_OFF_T % 2147483647 == 1)
6678 ? 1 : -1];
6680 main ()
6684 return 0;
6686 _ACEOF
6687 if ac_fn_c_try_compile "$LINENO"; then :
6688 ac_cv_sys_file_offset_bits=no; break
6690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6692 /* end confdefs.h. */
6693 #define _FILE_OFFSET_BITS 64
6694 #include <sys/types.h>
6695 /* Check that off_t can represent 2**63 - 1 correctly.
6696 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6697 since some C++ compilers masquerading as C compilers
6698 incorrectly reject 9223372036854775807. */
6699 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6700 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6701 && LARGE_OFF_T % 2147483647 == 1)
6702 ? 1 : -1];
6704 main ()
6708 return 0;
6710 _ACEOF
6711 if ac_fn_c_try_compile "$LINENO"; then :
6712 ac_cv_sys_file_offset_bits=64; break
6714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6715 ac_cv_sys_file_offset_bits=unknown
6716 break
6717 done
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6720 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6721 case $ac_cv_sys_file_offset_bits in #(
6722 no | unknown) ;;
6724 cat >>confdefs.h <<_ACEOF
6725 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6726 _ACEOF
6728 esac
6729 rm -rf conftest*
6730 if test $ac_cv_sys_file_offset_bits = unknown; then
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6732 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6733 if ${ac_cv_sys_large_files+:} false; then :
6734 $as_echo_n "(cached) " >&6
6735 else
6736 while :; do
6737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6738 /* end confdefs.h. */
6739 #include <sys/types.h>
6740 /* Check that off_t can represent 2**63 - 1 correctly.
6741 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6742 since some C++ compilers masquerading as C compilers
6743 incorrectly reject 9223372036854775807. */
6744 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6745 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6746 && LARGE_OFF_T % 2147483647 == 1)
6747 ? 1 : -1];
6749 main ()
6753 return 0;
6755 _ACEOF
6756 if ac_fn_c_try_compile "$LINENO"; then :
6757 ac_cv_sys_large_files=no; break
6759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6761 /* end confdefs.h. */
6762 #define _LARGE_FILES 1
6763 #include <sys/types.h>
6764 /* Check that off_t can represent 2**63 - 1 correctly.
6765 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6766 since some C++ compilers masquerading as C compilers
6767 incorrectly reject 9223372036854775807. */
6768 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6769 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6770 && LARGE_OFF_T % 2147483647 == 1)
6771 ? 1 : -1];
6773 main ()
6777 return 0;
6779 _ACEOF
6780 if ac_fn_c_try_compile "$LINENO"; then :
6781 ac_cv_sys_large_files=1; break
6783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6784 ac_cv_sys_large_files=unknown
6785 break
6786 done
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6789 $as_echo "$ac_cv_sys_large_files" >&6; }
6790 case $ac_cv_sys_large_files in #(
6791 no | unknown) ;;
6793 cat >>confdefs.h <<_ACEOF
6794 #define _LARGE_FILES $ac_cv_sys_large_files
6795 _ACEOF
6797 esac
6798 rm -rf conftest*
6805 ac_ext=c
6806 ac_cpp='$CPP $CPPFLAGS'
6807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6811 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6812 # On Suns, sometimes $CPP names a directory.
6813 if test -n "$CPP" && test -d "$CPP"; then
6814 CPP=
6816 if test -z "$CPP"; then
6817 if ${ac_cv_prog_CPP+:} false; then :
6818 $as_echo_n "(cached) " >&6
6819 else
6820 # Double quotes because CPP needs to be expanded
6821 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6823 ac_preproc_ok=false
6824 for ac_c_preproc_warn_flag in '' yes
6826 # Use a header file that comes with gcc, so configuring glibc
6827 # with a fresh cross-compiler works.
6828 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6829 # <limits.h> exists even on freestanding compilers.
6830 # On the NeXT, cc -E runs the code through the compiler's parser,
6831 # not just through cpp. "Syntax error" is here to catch this case.
6832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6833 /* end confdefs.h. */
6834 #ifdef __STDC__
6835 # include <limits.h>
6836 #else
6837 # include <assert.h>
6838 #endif
6839 Syntax error
6840 _ACEOF
6841 if ac_fn_c_try_cpp "$LINENO"; then :
6843 else
6844 # Broken: fails on valid input.
6845 continue
6847 rm -f conftest.err conftest.i conftest.$ac_ext
6849 # OK, works on sane cases. Now check whether nonexistent headers
6850 # can be detected and how.
6851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6852 /* end confdefs.h. */
6853 #include <ac_nonexistent.h>
6854 _ACEOF
6855 if ac_fn_c_try_cpp "$LINENO"; then :
6856 # Broken: success on invalid input.
6857 continue
6858 else
6859 # Passes both tests.
6860 ac_preproc_ok=:
6861 break
6863 rm -f conftest.err conftest.i conftest.$ac_ext
6865 done
6866 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6867 rm -f conftest.i conftest.err conftest.$ac_ext
6868 if $ac_preproc_ok; then :
6869 break
6872 done
6873 ac_cv_prog_CPP=$CPP
6876 CPP=$ac_cv_prog_CPP
6877 else
6878 ac_cv_prog_CPP=$CPP
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6881 $as_echo "$CPP" >&6; }
6882 ac_preproc_ok=false
6883 for ac_c_preproc_warn_flag in '' yes
6885 # Use a header file that comes with gcc, so configuring glibc
6886 # with a fresh cross-compiler works.
6887 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6888 # <limits.h> exists even on freestanding compilers.
6889 # On the NeXT, cc -E runs the code through the compiler's parser,
6890 # not just through cpp. "Syntax error" is here to catch this case.
6891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6892 /* end confdefs.h. */
6893 #ifdef __STDC__
6894 # include <limits.h>
6895 #else
6896 # include <assert.h>
6897 #endif
6898 Syntax error
6899 _ACEOF
6900 if ac_fn_c_try_cpp "$LINENO"; then :
6902 else
6903 # Broken: fails on valid input.
6904 continue
6906 rm -f conftest.err conftest.i conftest.$ac_ext
6908 # OK, works on sane cases. Now check whether nonexistent headers
6909 # can be detected and how.
6910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6911 /* end confdefs.h. */
6912 #include <ac_nonexistent.h>
6913 _ACEOF
6914 if ac_fn_c_try_cpp "$LINENO"; then :
6915 # Broken: success on invalid input.
6916 continue
6917 else
6918 # Passes both tests.
6919 ac_preproc_ok=:
6920 break
6922 rm -f conftest.err conftest.i conftest.$ac_ext
6924 done
6925 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6926 rm -f conftest.i conftest.err conftest.$ac_ext
6927 if $ac_preproc_ok; then :
6929 else
6930 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6931 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6932 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6933 See \`config.log' for more details" "$LINENO" 5; }
6936 ac_ext=c
6937 ac_cpp='$CPP $CPPFLAGS'
6938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6944 $as_echo_n "checking for ANSI C header files... " >&6; }
6945 if ${ac_cv_header_stdc+:} false; then :
6946 $as_echo_n "(cached) " >&6
6947 else
6948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6949 /* end confdefs.h. */
6950 #include <stdlib.h>
6951 #include <stdarg.h>
6952 #include <string.h>
6953 #include <float.h>
6956 main ()
6960 return 0;
6962 _ACEOF
6963 if ac_fn_c_try_compile "$LINENO"; then :
6964 ac_cv_header_stdc=yes
6965 else
6966 ac_cv_header_stdc=no
6968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6970 if test $ac_cv_header_stdc = yes; then
6971 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6973 /* end confdefs.h. */
6974 #include <string.h>
6976 _ACEOF
6977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6978 $EGREP "memchr" >/dev/null 2>&1; then :
6980 else
6981 ac_cv_header_stdc=no
6983 rm -f conftest*
6987 if test $ac_cv_header_stdc = yes; then
6988 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6990 /* end confdefs.h. */
6991 #include <stdlib.h>
6993 _ACEOF
6994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6995 $EGREP "free" >/dev/null 2>&1; then :
6997 else
6998 ac_cv_header_stdc=no
7000 rm -f conftest*
7004 if test $ac_cv_header_stdc = yes; then
7005 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7006 if test "$cross_compiling" = yes; then :
7008 else
7009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7010 /* end confdefs.h. */
7011 #include <ctype.h>
7012 #include <stdlib.h>
7013 #if ((' ' & 0x0FF) == 0x020)
7014 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7015 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7016 #else
7017 # define ISLOWER(c) \
7018 (('a' <= (c) && (c) <= 'i') \
7019 || ('j' <= (c) && (c) <= 'r') \
7020 || ('s' <= (c) && (c) <= 'z'))
7021 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7022 #endif
7024 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7026 main ()
7028 int i;
7029 for (i = 0; i < 256; i++)
7030 if (XOR (islower (i), ISLOWER (i))
7031 || toupper (i) != TOUPPER (i))
7032 return 2;
7033 return 0;
7035 _ACEOF
7036 if ac_fn_c_try_run "$LINENO"; then :
7038 else
7039 ac_cv_header_stdc=no
7041 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7042 conftest.$ac_objext conftest.beam conftest.$ac_ext
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7048 $as_echo "$ac_cv_header_stdc" >&6; }
7049 if test $ac_cv_header_stdc = yes; then
7051 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7055 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7056 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7057 inttypes.h stdint.h unistd.h
7058 do :
7059 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7060 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7062 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7063 cat >>confdefs.h <<_ACEOF
7064 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7065 _ACEOF
7069 done
7072 for ac_header in \
7073 AL/al.h \
7074 ApplicationServices/ApplicationServices.h \
7075 AudioToolbox/AudioConverter.h \
7076 AudioUnit/AudioUnit.h \
7077 AudioUnit/AudioComponent.h \
7078 CL/cl.h \
7079 Carbon/Carbon.h \
7080 CommonCrypto/CommonCryptor.h \
7081 CoreAudio/CoreAudio.h \
7082 CoreServices/CoreServices.h \
7083 DiskArbitration/DiskArbitration.h \
7084 EGL/egl.h \
7085 IOKit/IOKitLib.h \
7086 IOKit/hid/IOHIDLib.h \
7087 OpenAL/al.h \
7088 OpenCL/opencl.h \
7089 QuickTime/ImageCompression.h \
7090 Security/Security.h \
7091 alias.h \
7092 alsa/asoundlib.h \
7093 arpa/inet.h \
7094 arpa/nameser.h \
7095 asm/types.h \
7096 asm/user.h \
7097 curses.h \
7098 direct.h \
7099 dirent.h \
7100 dlfcn.h \
7101 elf.h \
7102 float.h \
7103 fnmatch.h \
7104 getopt.h \
7105 gettext-po.h \
7106 grp.h \
7107 gsm.h \
7108 gsm/gsm.h \
7109 ieeefp.h \
7110 inet/mib2.h \
7111 io.h \
7112 kstat.h \
7113 libproc.h \
7114 link.h \
7115 linux/cdrom.h \
7116 linux/compiler.h \
7117 linux/filter.h \
7118 linux/hdreg.h \
7119 linux/hidraw.h \
7120 linux/input.h \
7121 linux/ioctl.h \
7122 linux/joystick.h \
7123 linux/major.h \
7124 linux/param.h \
7125 linux/serial.h \
7126 linux/types.h \
7127 linux/ucdrom.h \
7128 lwp.h \
7129 mach-o/nlist.h \
7130 mach-o/loader.h \
7131 mach/mach.h \
7132 mach/machine.h \
7133 machine/cpu.h \
7134 machine/limits.h \
7135 machine/sysarch.h \
7136 mntent.h \
7137 ncurses.h \
7138 netdb.h \
7139 netinet/in.h \
7140 netinet/in_systm.h \
7141 netinet/tcp.h \
7142 netinet/tcp_fsm.h \
7143 pcap/pcap.h \
7144 poll.h \
7145 port.h \
7146 process.h \
7147 pthread.h \
7148 pwd.h \
7149 sched.h \
7150 scsi/scsi.h \
7151 scsi/scsi_ioctl.h \
7152 scsi/sg.h \
7153 stdbool.h \
7154 stdint.h \
7155 stropts.h \
7156 sys/asoundlib.h \
7157 sys/attr.h \
7158 sys/auxv.h \
7159 sys/cdio.h \
7160 sys/elf32.h \
7161 sys/epoll.h \
7162 sys/event.h \
7163 sys/exec_elf.h \
7164 sys/filio.h \
7165 sys/inotify.h \
7166 sys/ioctl.h \
7167 sys/ipc.h \
7168 sys/limits.h \
7169 sys/link.h \
7170 sys/mman.h \
7171 sys/modem.h \
7172 sys/msg.h \
7173 sys/mtio.h \
7174 sys/param.h \
7175 sys/poll.h \
7176 sys/prctl.h \
7177 sys/protosw.h \
7178 sys/ptrace.h \
7179 sys/queue.h \
7180 sys/resource.h \
7181 sys/scsiio.h \
7182 sys/shm.h \
7183 sys/signal.h \
7184 sys/socket.h \
7185 sys/socketvar.h \
7186 sys/sockio.h \
7187 sys/statvfs.h \
7188 sys/strtio.h \
7189 sys/syscall.h \
7190 sys/sysinfo.h \
7191 sys/tihdr.h \
7192 sys/time.h \
7193 sys/timeout.h \
7194 sys/times.h \
7195 sys/uio.h \
7196 sys/user.h \
7197 sys/utsname.h \
7198 sys/vnode.h \
7199 sys/wait.h \
7200 syscall.h \
7201 termios.h \
7202 unistd.h \
7203 utime.h \
7204 valgrind/memcheck.h \
7205 valgrind/valgrind.h \
7206 zlib.h
7208 do :
7209 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7210 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7211 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7212 cat >>confdefs.h <<_ACEOF
7213 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7214 _ACEOF
7218 done
7220 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7221 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7223 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7228 if test $ac_cv_header_sys_mkdev_h = no; then
7229 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7230 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7232 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7239 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7240 if ${ac_cv_header_stat_broken+:} false; then :
7241 $as_echo_n "(cached) " >&6
7242 else
7243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7244 /* end confdefs.h. */
7245 #include <sys/types.h>
7246 #include <sys/stat.h>
7248 #if defined S_ISBLK && defined S_IFDIR
7249 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7250 #endif
7252 #if defined S_ISBLK && defined S_IFCHR
7253 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7254 #endif
7256 #if defined S_ISLNK && defined S_IFREG
7257 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7258 #endif
7260 #if defined S_ISSOCK && defined S_IFREG
7261 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7262 #endif
7264 _ACEOF
7265 if ac_fn_c_try_compile "$LINENO"; then :
7266 ac_cv_header_stat_broken=no
7267 else
7268 ac_cv_header_stat_broken=yes
7270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7273 $as_echo "$ac_cv_header_stat_broken" >&6; }
7274 if test $ac_cv_header_stat_broken = yes; then
7276 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7282 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7283 do :
7284 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7285 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7286 #ifdef HAVE_SYS_PARAM_H
7287 # include <sys/param.h>
7288 #endif
7290 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7291 cat >>confdefs.h <<_ACEOF
7292 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7293 _ACEOF
7297 done
7300 for ac_header in \
7301 netinet/ip.h \
7302 net/if.h \
7303 net/if_arp.h \
7304 net/if_dl.h \
7305 net/if_types.h \
7306 net/route.h \
7307 netinet/if_ether.h \
7308 netinet/if_inarp.h \
7309 netinet/in_pcb.h \
7310 netinet/ip_icmp.h \
7311 netinet/ip_var.h \
7312 netinet/udp.h \
7313 netipx/ipx.h \
7314 sys/un.h \
7316 do :
7317 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7318 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7319 #ifdef HAVE_SYS_SOCKET_H
7320 # include <sys/socket.h>
7321 #endif
7322 #ifdef HAVE_SYS_SOCKETVAR_H
7323 # include <sys/socketvar.h>
7324 #endif
7325 #ifdef HAVE_NET_ROUTE_H
7326 # include <net/route.h>
7327 #endif
7328 #ifdef HAVE_NETINET_IN_H
7329 # include <netinet/in.h>
7330 #endif
7331 #ifdef HAVE_NETINET_IN_SYSTM_H
7332 # include <netinet/in_systm.h>
7333 #endif
7334 #ifdef HAVE_NET_IF_H
7335 # include <net/if.h>
7336 #endif
7337 #ifdef HAVE_NETINET_IP_H
7338 # include <netinet/ip.h>
7339 #endif
7341 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7342 cat >>confdefs.h <<_ACEOF
7343 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7344 _ACEOF
7348 done
7351 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7352 do :
7353 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7354 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7355 #ifdef HAVE_ALIAS_H
7356 # include <alias.h>
7357 #endif
7358 #ifdef HAVE_SYS_SOCKET_H
7359 # include <sys/socket.h>
7360 #endif
7361 #ifdef HAVE_SYS_SOCKETVAR_H
7362 # include <sys/socketvar.h>
7363 #endif
7364 #ifdef HAVE_SYS_TIMEOUT_H
7365 # include <sys/timeout.h>
7366 #endif
7367 #ifdef HAVE_NETINET_IN_H
7368 # include <netinet/in.h>
7369 #endif
7370 #ifdef HAVE_NETINET_IN_SYSTM_H
7371 # include <netinet/in_systm.h>
7372 #endif
7373 #ifdef HAVE_NETINET_IP_H
7374 # include <netinet/ip.h>
7375 #endif
7376 #ifdef HAVE_NETINET_IP_VAR_H
7377 # include <netinet/ip_var.h>
7378 #endif
7379 #ifdef HAVE_NETINET_IP_ICMP_H
7380 # include <netinet/ip_icmp.h>
7381 #endif
7382 #ifdef HAVE_NETINET_UDP_H
7383 # include <netinet/udp.h>
7384 #endif
7385 #ifdef HAVE_NETINET_TCP_H
7386 # include <netinet/tcp.h>
7387 #endif
7388 #ifdef HAVE_NETINET_TCP_TIMER_H
7389 #include <netinet/tcp_timer.h>
7390 #endif
7392 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7393 cat >>confdefs.h <<_ACEOF
7394 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7395 _ACEOF
7399 done
7402 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7403 do :
7404 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7405 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7406 #ifdef HAVE_ASM_TYPES_H
7407 # include <asm/types.h>
7408 #endif
7409 #ifdef HAVE_SYS_SOCKET_H
7410 # include <sys/socket.h>
7411 #endif
7412 #ifdef HAVE_LINUX_TYPES_H
7413 # include <linux/types.h>
7414 #endif
7416 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7417 cat >>confdefs.h <<_ACEOF
7418 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7419 _ACEOF
7423 done
7426 for ac_header in mach-o/dyld_images.h
7427 do :
7428 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7429 # include <stdbool.h>
7430 #endif
7431 #ifdef HAVE_STDINT_H
7432 # include <stdint.h>
7433 #endif
7435 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7436 cat >>confdefs.h <<_ACEOF
7437 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7438 _ACEOF
7442 done
7445 for ac_header in resolv.h
7446 do :
7447 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7448 #ifdef HAVE_SYS_SOCKET_H
7449 # include <sys/socket.h>
7450 #endif
7451 #ifdef HAVE_NETINET_IN_H
7452 # include <netinet/in.h>
7453 #endif
7454 #ifdef HAVE_ARPA_NAMESER_H
7455 # include <arpa/nameser.h>
7456 #endif
7458 if test "x$ac_cv_header_resolv_h" = xyes; then :
7459 cat >>confdefs.h <<_ACEOF
7460 #define HAVE_RESOLV_H 1
7461 _ACEOF
7465 done
7468 for ac_header in ifaddrs.h
7469 do :
7470 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7472 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7473 cat >>confdefs.h <<_ACEOF
7474 #define HAVE_IFADDRS_H 1
7475 _ACEOF
7479 done
7482 for ac_header in sys/ucontext.h
7483 do :
7484 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7486 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7487 cat >>confdefs.h <<_ACEOF
7488 #define HAVE_SYS_UCONTEXT_H 1
7489 _ACEOF
7493 done
7496 for ac_header in sys/thr.h
7497 do :
7498 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7499 #ifdef HAVE_SYS_UCONTEXT_H
7500 #include <sys/ucontext.h>
7501 #endif
7503 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7504 cat >>confdefs.h <<_ACEOF
7505 #define HAVE_SYS_THR_H 1
7506 _ACEOF
7510 done
7513 for ac_header in pthread_np.h
7514 do :
7515 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7516 #include <pthread.h>
7517 #endif
7519 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7520 cat >>confdefs.h <<_ACEOF
7521 #define HAVE_PTHREAD_NP_H 1
7522 _ACEOF
7526 done
7529 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7530 do :
7531 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7532 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7533 #include <sys/time.h>
7534 #endif
7535 #include <sys/types.h>
7536 #ifdef HAVE_ASM_TYPES_H
7537 #include <asm/types.h>
7538 #endif
7540 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7541 cat >>confdefs.h <<_ACEOF
7542 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7543 _ACEOF
7547 done
7550 for ac_header in libprocstat.h
7551 do :
7552 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7553 #include <sys/param.h>
7554 #endif
7555 #ifdef HAVE_SYS_QUEUE_H
7556 #include <sys/queue.h>
7557 #endif
7558 #ifdef HAVE_SYS_SOCKET_H
7559 #include <sys/socket.h>
7560 #endif
7562 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7563 cat >>confdefs.h <<_ACEOF
7564 #define HAVE_LIBPROCSTAT_H 1
7565 _ACEOF
7569 done
7573 DLLFLAGS="-D_REENTRANT"
7575 LDRPATH_INSTALL=""
7577 LDRPATH_LOCAL=""
7579 LDEXECFLAGS=""
7581 WINELOADER_LDFLAGS=""
7583 LIBEXT="so"
7584 DLLEXT=".so"
7585 IMPLIBEXT="def"
7586 # Extract the first word of "ldd", so it can be a program name with args.
7587 set dummy ldd; ac_word=$2
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7589 $as_echo_n "checking for $ac_word... " >&6; }
7590 if ${ac_cv_path_LDD+:} false; then :
7591 $as_echo_n "(cached) " >&6
7592 else
7593 case $LDD in
7594 [\\/]* | ?:[\\/]*)
7595 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7599 as_dummy="/sbin:/usr/sbin:$PATH"
7600 for as_dir in $as_dummy
7602 IFS=$as_save_IFS
7603 test -z "$as_dir" && as_dir=.
7604 for ac_exec_ext in '' $ac_executable_extensions; do
7605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7606 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7608 break 2
7610 done
7611 done
7612 IFS=$as_save_IFS
7614 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7616 esac
7618 LDD=$ac_cv_path_LDD
7619 if test -n "$LDD"; then
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7621 $as_echo "$LDD" >&6; }
7622 else
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7624 $as_echo "no" >&6; }
7628 if test -n "$ac_tool_prefix"; then
7629 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7630 set dummy ${ac_tool_prefix}otool; ac_word=$2
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7632 $as_echo_n "checking for $ac_word... " >&6; }
7633 if ${ac_cv_prog_OTOOL+:} false; then :
7634 $as_echo_n "(cached) " >&6
7635 else
7636 if test -n "$OTOOL"; then
7637 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7638 else
7639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7640 for as_dir in $PATH
7642 IFS=$as_save_IFS
7643 test -z "$as_dir" && as_dir=.
7644 for ac_exec_ext in '' $ac_executable_extensions; do
7645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7646 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7648 break 2
7650 done
7651 done
7652 IFS=$as_save_IFS
7656 OTOOL=$ac_cv_prog_OTOOL
7657 if test -n "$OTOOL"; then
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7659 $as_echo "$OTOOL" >&6; }
7660 else
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7662 $as_echo "no" >&6; }
7667 if test -z "$ac_cv_prog_OTOOL"; then
7668 ac_ct_OTOOL=$OTOOL
7669 # Extract the first word of "otool", so it can be a program name with args.
7670 set dummy otool; ac_word=$2
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7672 $as_echo_n "checking for $ac_word... " >&6; }
7673 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7674 $as_echo_n "(cached) " >&6
7675 else
7676 if test -n "$ac_ct_OTOOL"; then
7677 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7678 else
7679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7680 for as_dir in $PATH
7682 IFS=$as_save_IFS
7683 test -z "$as_dir" && as_dir=.
7684 for ac_exec_ext in '' $ac_executable_extensions; do
7685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7686 ac_cv_prog_ac_ct_OTOOL="otool"
7687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7688 break 2
7690 done
7691 done
7692 IFS=$as_save_IFS
7696 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7697 if test -n "$ac_ct_OTOOL"; then
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7699 $as_echo "$ac_ct_OTOOL" >&6; }
7700 else
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7702 $as_echo "no" >&6; }
7705 if test "x$ac_ct_OTOOL" = x; then
7706 OTOOL="otool"
7707 else
7708 case $cross_compiling:$ac_tool_warned in
7709 yes:)
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7712 ac_tool_warned=yes ;;
7713 esac
7714 OTOOL=$ac_ct_OTOOL
7716 else
7717 OTOOL="$ac_cv_prog_OTOOL"
7720 if test -n "$ac_tool_prefix"; then
7721 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7722 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7724 $as_echo_n "checking for $ac_word... " >&6; }
7725 if ${ac_cv_prog_READELF+:} false; then :
7726 $as_echo_n "(cached) " >&6
7727 else
7728 if test -n "$READELF"; then
7729 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7730 else
7731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7732 for as_dir in $PATH
7734 IFS=$as_save_IFS
7735 test -z "$as_dir" && as_dir=.
7736 for ac_exec_ext in '' $ac_executable_extensions; do
7737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7738 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7740 break 2
7742 done
7743 done
7744 IFS=$as_save_IFS
7748 READELF=$ac_cv_prog_READELF
7749 if test -n "$READELF"; then
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7751 $as_echo "$READELF" >&6; }
7752 else
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7754 $as_echo "no" >&6; }
7759 if test -z "$ac_cv_prog_READELF"; then
7760 ac_ct_READELF=$READELF
7761 # Extract the first word of "readelf", so it can be a program name with args.
7762 set dummy readelf; ac_word=$2
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7764 $as_echo_n "checking for $ac_word... " >&6; }
7765 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7766 $as_echo_n "(cached) " >&6
7767 else
7768 if test -n "$ac_ct_READELF"; then
7769 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7770 else
7771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7772 for as_dir in $PATH
7774 IFS=$as_save_IFS
7775 test -z "$as_dir" && as_dir=.
7776 for ac_exec_ext in '' $ac_executable_extensions; do
7777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7778 ac_cv_prog_ac_ct_READELF="readelf"
7779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7780 break 2
7782 done
7783 done
7784 IFS=$as_save_IFS
7788 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7789 if test -n "$ac_ct_READELF"; then
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7791 $as_echo "$ac_ct_READELF" >&6; }
7792 else
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7794 $as_echo "no" >&6; }
7797 if test "x$ac_ct_READELF" = x; then
7798 READELF="true"
7799 else
7800 case $cross_compiling:$ac_tool_warned in
7801 yes:)
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7804 ac_tool_warned=yes ;;
7805 esac
7806 READELF=$ac_ct_READELF
7808 else
7809 READELF="$ac_cv_prog_READELF"
7812 wine_rules_file=conf$$rules.make
7813 rm -f $wine_rules_file
7814 SUBDIRS=""
7816 DISABLED_SUBDIRS=""
7818 CONFIGURE_TARGETS=""
7821 wine_fn_append_file ()
7823 as_fn_append $1 " \\$as_nl $2"
7826 wine_fn_append_rule ()
7828 $as_echo "$1" >>$wine_rules_file
7831 wine_fn_config_makefile ()
7833 wine_fn_append_file SUBDIRS $1
7834 if eval test \"x\$"$2"\" = x"no"; then :
7835 wine_fn_append_file DISABLED_SUBDIRS $1
7839 wine_fn_config_symlink ()
7841 ac_links=$@
7842 wine_fn_append_rule \
7843 "$ac_links:
7844 @./config.status \$@"
7845 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7848 wine_binary="wine"
7849 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7850 WINELOADER_PROGRAMS="$wine_binary"
7852 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7854 case $host_os in
7855 cygwin*|mingw32*)
7856 if test -n "$ac_tool_prefix"; then
7857 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7858 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7860 $as_echo_n "checking for $ac_word... " >&6; }
7861 if ${ac_cv_prog_DLLTOOL+:} false; then :
7862 $as_echo_n "(cached) " >&6
7863 else
7864 if test -n "$DLLTOOL"; then
7865 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7866 else
7867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7868 for as_dir in $PATH
7870 IFS=$as_save_IFS
7871 test -z "$as_dir" && as_dir=.
7872 for ac_exec_ext in '' $ac_executable_extensions; do
7873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7874 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7876 break 2
7878 done
7879 done
7880 IFS=$as_save_IFS
7884 DLLTOOL=$ac_cv_prog_DLLTOOL
7885 if test -n "$DLLTOOL"; then
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7887 $as_echo "$DLLTOOL" >&6; }
7888 else
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7890 $as_echo "no" >&6; }
7895 if test -z "$ac_cv_prog_DLLTOOL"; then
7896 ac_ct_DLLTOOL=$DLLTOOL
7897 # Extract the first word of "dlltool", so it can be a program name with args.
7898 set dummy dlltool; ac_word=$2
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7900 $as_echo_n "checking for $ac_word... " >&6; }
7901 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7902 $as_echo_n "(cached) " >&6
7903 else
7904 if test -n "$ac_ct_DLLTOOL"; then
7905 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7906 else
7907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7908 for as_dir in $PATH
7910 IFS=$as_save_IFS
7911 test -z "$as_dir" && as_dir=.
7912 for ac_exec_ext in '' $ac_executable_extensions; do
7913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7914 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7916 break 2
7918 done
7919 done
7920 IFS=$as_save_IFS
7924 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7925 if test -n "$ac_ct_DLLTOOL"; then
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7927 $as_echo "$ac_ct_DLLTOOL" >&6; }
7928 else
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7930 $as_echo "no" >&6; }
7933 if test "x$ac_ct_DLLTOOL" = x; then
7934 DLLTOOL="false"
7935 else
7936 case $cross_compiling:$ac_tool_warned in
7937 yes:)
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7939 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7940 ac_tool_warned=yes ;;
7941 esac
7942 DLLTOOL=$ac_ct_DLLTOOL
7944 else
7945 DLLTOOL="$ac_cv_prog_DLLTOOL"
7948 LIBEXT="dll"
7949 DLLEXT=""
7950 IMPLIBEXT="a"
7951 enable_iphlpapi=${enable_iphlpapi:-no}
7952 enable_kernel32=${enable_kernel32:-no}
7953 enable_msvcrt=${enable_msvcrt:-no}
7954 enable_ntdll=${enable_ntdll:-no}
7955 enable_ws2_32=${enable_ws2_32:-no}
7956 enable_loader=${enable_loader:-no}
7957 enable_server=${enable_server:-no}
7958 with_x=${with_x:-no}
7959 with_pthread=${with_pthread:-no}
7961 crtlibs=""
7962 case $host_os in
7963 mingw32*)
7964 crtlibs="-lmsvcrt"
7965 SOCKET_LIBS="-lws2_32"
7967 esac
7969 LIBWINE_SHAREDLIB="libwine.dll"
7971 LIBWINE_IMPORTLIB="libwine.a"
7973 LIBWINE_INSTALL_LIB="libwine.dll"
7975 LIBWINE_INSTALL_DEV="libwine.a"
7977 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7979 LIBWINE_DEPENDS="wine.def"
7983 darwin*|macosx*)
7984 for ac_header in libunwind.h
7985 do :
7986 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7987 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7988 cat >>confdefs.h <<_ACEOF
7989 #define HAVE_LIBUNWIND_H 1
7990 _ACEOF
7994 done
7996 LIBEXT="dylib"
7997 DLLFLAGS="$DLLFLAGS -fPIC"
7998 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7999 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8000 COREFOUNDATION_LIBS="-framework CoreFoundation"
8002 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8004 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8006 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8008 CORESERVICES_LIBS="-framework CoreServices"
8010 APPKIT_LIBS="-framework AppKit"
8012 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8014 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8015 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8016 $as_echo_n "(cached) " >&6
8017 else
8018 ac_wine_try_cflags_saved=$CFLAGS
8019 CFLAGS="$CFLAGS -Wl,-no_pie"
8020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8021 /* end confdefs.h. */
8022 int main(int argc, char **argv) { return 0; }
8023 _ACEOF
8024 if ac_fn_c_try_link "$LINENO"; then :
8025 ac_cv_cflags__Wl__no_pie=yes
8026 else
8027 ac_cv_cflags__Wl__no_pie=no
8029 rm -f core conftest.err conftest.$ac_objext \
8030 conftest$ac_exeext conftest.$ac_ext
8031 CFLAGS=$ac_wine_try_cflags_saved
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8034 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8035 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8036 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8038 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8039 then
8040 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8043 if test "$ac_cv_header_Security_Security_h" = "yes"
8044 then
8045 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8047 ac_save_LIBS="$LIBS"
8048 LIBS="$LIBS $SECURITY_LIBS"
8049 for ac_func in SSLCopyPeerCertificates
8050 do :
8051 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8052 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8053 cat >>confdefs.h <<_ACEOF
8054 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8055 _ACEOF
8058 done
8060 LIBS="$ac_save_LIBS"
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/dbghelp/tests enable_tests
18691 wine_fn_config_makefile dlls/dciman32 enable_dciman32
18692 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
18693 wine_fn_config_makefile dlls/ddraw enable_ddraw
18694 wine_fn_config_makefile dlls/ddraw/tests enable_tests
18695 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
18696 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
18697 wine_fn_config_makefile dlls/devenum enable_devenum
18698 wine_fn_config_makefile dlls/devenum/tests enable_tests
18699 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
18700 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
18701 wine_fn_config_makefile dlls/difxapi enable_difxapi
18702 wine_fn_config_makefile dlls/dinput enable_dinput
18703 wine_fn_config_makefile dlls/dinput/tests enable_tests
18704 wine_fn_config_makefile dlls/dinput8 enable_dinput8
18705 wine_fn_config_makefile dlls/dinput8/tests enable_tests
18706 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
18707 wine_fn_config_makefile dlls/dispex enable_dispex
18708 wine_fn_config_makefile dlls/dispex/tests enable_tests
18709 wine_fn_config_makefile dlls/display.drv16 enable_win16
18710 wine_fn_config_makefile dlls/dmband enable_dmband
18711 wine_fn_config_makefile dlls/dmband/tests enable_tests
18712 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
18713 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
18714 wine_fn_config_makefile dlls/dmime enable_dmime
18715 wine_fn_config_makefile dlls/dmime/tests enable_tests
18716 wine_fn_config_makefile dlls/dmloader enable_dmloader
18717 wine_fn_config_makefile dlls/dmloader/tests enable_tests
18718 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
18719 wine_fn_config_makefile dlls/dmscript enable_dmscript
18720 wine_fn_config_makefile dlls/dmscript/tests enable_tests
18721 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
18722 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
18723 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
18724 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
18725 wine_fn_config_makefile dlls/dmusic enable_dmusic
18726 wine_fn_config_makefile dlls/dmusic/tests enable_tests
18727 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
18728 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
18729 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
18730 wine_fn_config_makefile dlls/dplay enable_dplay
18731 wine_fn_config_makefile dlls/dplayx enable_dplayx
18732 wine_fn_config_makefile dlls/dplayx/tests enable_tests
18733 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
18734 wine_fn_config_makefile dlls/dpnet enable_dpnet
18735 wine_fn_config_makefile dlls/dpnet/tests enable_tests
18736 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
18737 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
18738 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
18739 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
18740 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
18741 wine_fn_config_makefile dlls/drmclien enable_drmclien
18742 wine_fn_config_makefile dlls/dsound enable_dsound
18743 wine_fn_config_makefile dlls/dsound/tests enable_tests
18744 wine_fn_config_makefile dlls/dsquery enable_dsquery
18745 wine_fn_config_makefile dlls/dssenh enable_dssenh
18746 wine_fn_config_makefile dlls/dssenh/tests enable_tests
18747 wine_fn_config_makefile dlls/dswave enable_dswave
18748 wine_fn_config_makefile dlls/dswave/tests enable_tests
18749 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
18750 wine_fn_config_makefile dlls/dwrite enable_dwrite
18751 wine_fn_config_makefile dlls/dwrite/tests enable_tests
18752 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
18753 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
18754 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
18755 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
18756 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
18757 wine_fn_config_makefile dlls/dxgi enable_dxgi
18758 wine_fn_config_makefile dlls/dxgi/tests enable_tests
18759 wine_fn_config_makefile dlls/dxguid enable_dxguid
18760 wine_fn_config_makefile dlls/dxva2 enable_dxva2
18761 wine_fn_config_makefile dlls/esent enable_esent
18762 wine_fn_config_makefile dlls/evr enable_evr
18763 wine_fn_config_makefile dlls/evr/tests enable_tests
18764 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
18765 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
18766 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18767 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18768 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
18769 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18770 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18771 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18772 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18773 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18774 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18775 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18776 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
18777 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
18778 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
18779 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18780 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
18781 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
18782 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18783 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
18784 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18785 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18786 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18787 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
18788 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18789 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
18790 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18791 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
18792 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18793 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18794 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
18795 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
18796 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18797 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
18798 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
18799 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
18800 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18801 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18802 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18803 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
18804 wine_fn_config_makefile dlls/faultrep enable_faultrep
18805 wine_fn_config_makefile dlls/faultrep/tests enable_tests
18806 wine_fn_config_makefile dlls/feclient enable_feclient
18807 wine_fn_config_makefile dlls/fltlib enable_fltlib
18808 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
18809 wine_fn_config_makefile dlls/fntcache enable_fntcache
18810 wine_fn_config_makefile dlls/fontsub enable_fontsub
18811 wine_fn_config_makefile dlls/fusion enable_fusion
18812 wine_fn_config_makefile dlls/fusion/tests enable_tests
18813 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
18814 wine_fn_config_makefile dlls/gameux enable_gameux
18815 wine_fn_config_makefile dlls/gameux/tests enable_tests
18816 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
18817 wine_fn_config_makefile dlls/gdi32 enable_gdi32
18818 wine_fn_config_makefile dlls/gdi32/tests enable_tests
18819 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
18820 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
18821 wine_fn_config_makefile dlls/glu32 enable_glu32
18822 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
18823 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
18824 wine_fn_config_makefile dlls/hal enable_hal
18825 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
18826 wine_fn_config_makefile dlls/hid enable_hid
18827 wine_fn_config_makefile dlls/hid/tests enable_tests
18828 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
18829 wine_fn_config_makefile dlls/hlink enable_hlink
18830 wine_fn_config_makefile dlls/hlink/tests enable_tests
18831 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
18832 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
18833 wine_fn_config_makefile dlls/httpapi enable_httpapi
18834 wine_fn_config_makefile dlls/httpapi/tests enable_tests
18835 wine_fn_config_makefile dlls/iccvid enable_iccvid
18836 wine_fn_config_makefile dlls/icmp enable_icmp
18837 wine_fn_config_makefile dlls/ieframe enable_ieframe
18838 wine_fn_config_makefile dlls/ieframe/tests enable_tests
18839 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
18840 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
18841 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
18842 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
18843 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
18844 wine_fn_config_makefile dlls/imm.dll16 enable_win16
18845 wine_fn_config_makefile dlls/imm32 enable_imm32
18846 wine_fn_config_makefile dlls/imm32/tests enable_tests
18847 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
18848 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
18849 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
18850 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
18851 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
18852 wine_fn_config_makefile dlls/infosoft enable_infosoft
18853 wine_fn_config_makefile dlls/infosoft/tests enable_tests
18854 wine_fn_config_makefile dlls/initpki enable_initpki
18855 wine_fn_config_makefile dlls/inkobj enable_inkobj
18856 wine_fn_config_makefile dlls/inseng enable_inseng
18857 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
18858 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
18859 wine_fn_config_makefile dlls/iprop enable_iprop
18860 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
18861 wine_fn_config_makefile dlls/itircl enable_itircl
18862 wine_fn_config_makefile dlls/itss enable_itss
18863 wine_fn_config_makefile dlls/itss/tests enable_tests
18864 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
18865 wine_fn_config_makefile dlls/jscript enable_jscript
18866 wine_fn_config_makefile dlls/jscript/tests enable_tests
18867 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
18868 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
18869 wine_fn_config_makefile dlls/kerberos enable_kerberos
18870 wine_fn_config_makefile dlls/kernel32 enable_kernel32
18871 wine_fn_config_makefile dlls/kernel32/tests enable_tests
18872 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
18873 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
18874 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
18875 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
18876 wine_fn_config_makefile dlls/ksuser enable_ksuser
18877 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
18878 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
18879 wine_fn_config_makefile dlls/loadperf enable_loadperf
18880 wine_fn_config_makefile dlls/localspl enable_localspl
18881 wine_fn_config_makefile dlls/localspl/tests enable_tests
18882 wine_fn_config_makefile dlls/localui enable_localui
18883 wine_fn_config_makefile dlls/localui/tests enable_tests
18884 wine_fn_config_makefile dlls/lz32 enable_lz32
18885 wine_fn_config_makefile dlls/lz32/tests enable_tests
18886 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
18887 wine_fn_config_makefile dlls/mapi32 enable_mapi32
18888 wine_fn_config_makefile dlls/mapi32/tests enable_tests
18889 wine_fn_config_makefile dlls/mapistub enable_mapistub
18890 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
18891 wine_fn_config_makefile dlls/mcicda enable_mcicda
18892 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
18893 wine_fn_config_makefile dlls/mciseq enable_mciseq
18894 wine_fn_config_makefile dlls/mciwave enable_mciwave
18895 wine_fn_config_makefile dlls/mf enable_mf
18896 wine_fn_config_makefile dlls/mf/tests enable_tests
18897 wine_fn_config_makefile dlls/mf3216 enable_mf3216
18898 wine_fn_config_makefile dlls/mfplat enable_mfplat
18899 wine_fn_config_makefile dlls/mfplat/tests enable_tests
18900 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
18901 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
18902 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
18903 wine_fn_config_makefile dlls/midimap enable_midimap
18904 wine_fn_config_makefile dlls/mlang enable_mlang
18905 wine_fn_config_makefile dlls/mlang/tests enable_tests
18906 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
18907 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
18908 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
18909 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
18910 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
18911 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
18912 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
18913 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
18914 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
18915 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
18916 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
18917 wine_fn_config_makefile dlls/mpr enable_mpr
18918 wine_fn_config_makefile dlls/mpr/tests enable_tests
18919 wine_fn_config_makefile dlls/mprapi enable_mprapi
18920 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
18921 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
18922 wine_fn_config_makefile dlls/msacm32 enable_msacm32
18923 wine_fn_config_makefile dlls/msacm32/tests enable_tests
18924 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
18925 wine_fn_config_makefile dlls/msasn1 enable_msasn1
18926 wine_fn_config_makefile dlls/mscat32 enable_mscat32
18927 wine_fn_config_makefile dlls/mscms enable_mscms
18928 wine_fn_config_makefile dlls/mscms/tests enable_tests
18929 wine_fn_config_makefile dlls/mscoree enable_mscoree
18930 wine_fn_config_makefile dlls/mscoree/tests enable_tests
18931 wine_fn_config_makefile dlls/msctf enable_msctf
18932 wine_fn_config_makefile dlls/msctf/tests enable_tests
18933 wine_fn_config_makefile dlls/msctfp enable_msctfp
18934 wine_fn_config_makefile dlls/msdaps enable_msdaps
18935 wine_fn_config_makefile dlls/msdelta enable_msdelta
18936 wine_fn_config_makefile dlls/msdmo enable_msdmo
18937 wine_fn_config_makefile dlls/msdmo/tests enable_tests
18938 wine_fn_config_makefile dlls/msdrm enable_msdrm
18939 wine_fn_config_makefile dlls/msftedit enable_msftedit
18940 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
18941 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
18942 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
18943 wine_fn_config_makefile dlls/mshtml enable_mshtml
18944 wine_fn_config_makefile dlls/mshtml/tests enable_tests
18945 wine_fn_config_makefile dlls/msi enable_msi
18946 wine_fn_config_makefile dlls/msi/tests enable_tests
18947 wine_fn_config_makefile dlls/msident enable_msident
18948 wine_fn_config_makefile dlls/msimg32 enable_msimg32
18949 wine_fn_config_makefile dlls/msimsg enable_msimsg
18950 wine_fn_config_makefile dlls/msimtf enable_msimtf
18951 wine_fn_config_makefile dlls/msisip enable_msisip
18952 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
18953 wine_fn_config_makefile dlls/msls31 enable_msls31
18954 wine_fn_config_makefile dlls/msnet32 enable_msnet32
18955 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
18956 wine_fn_config_makefile dlls/msports enable_msports
18957 wine_fn_config_makefile dlls/msrle32 enable_msrle32
18958 wine_fn_config_makefile dlls/msrle32/tests enable_tests
18959 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
18960 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
18961 wine_fn_config_makefile dlls/mssign32 enable_mssign32
18962 wine_fn_config_makefile dlls/mssip32 enable_mssip32
18963 wine_fn_config_makefile dlls/mstask enable_mstask
18964 wine_fn_config_makefile dlls/mstask/tests enable_tests
18965 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
18966 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
18967 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
18968 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
18969 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
18970 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
18971 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
18972 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
18973 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
18974 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
18975 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
18976 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
18977 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
18978 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
18979 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
18980 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
18981 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
18982 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
18983 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
18984 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
18985 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
18986 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
18987 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
18988 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
18989 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
18990 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
18991 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
18992 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
18993 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
18994 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
18995 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
18996 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
18997 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
18998 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
18999 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19000 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19001 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19002 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19003 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19004 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19005 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19006 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19007 wine_fn_config_makefile dlls/mswsock enable_mswsock
19008 wine_fn_config_makefile dlls/msxml enable_msxml
19009 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19010 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19011 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19012 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19013 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19014 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19015 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19016 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19017 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19018 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19019 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19020 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19021 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19022 wine_fn_config_makefile dlls/netprofm enable_netprofm
19023 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19024 wine_fn_config_makefile dlls/newdev enable_newdev
19025 wine_fn_config_makefile dlls/ninput enable_ninput
19026 wine_fn_config_makefile dlls/ninput/tests enable_tests
19027 wine_fn_config_makefile dlls/normaliz enable_normaliz
19028 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19029 wine_fn_config_makefile dlls/npptools enable_npptools
19030 wine_fn_config_makefile dlls/ntdll enable_ntdll
19031 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19032 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19033 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19034 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19035 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19036 wine_fn_config_makefile dlls/ntprint enable_ntprint
19037 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19038 wine_fn_config_makefile dlls/objsel enable_objsel
19039 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19040 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19041 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19042 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19043 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19044 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19045 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19046 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19047 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19048 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19049 wine_fn_config_makefile dlls/ole32 enable_ole32
19050 wine_fn_config_makefile dlls/ole32/tests enable_tests
19051 wine_fn_config_makefile dlls/oleacc enable_oleacc
19052 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19053 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19054 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19055 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19056 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19057 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19058 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19059 wine_fn_config_makefile dlls/oledlg enable_oledlg
19060 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19061 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19062 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19063 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19064 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19065 wine_fn_config_makefile dlls/openal32 enable_openal32
19066 wine_fn_config_makefile dlls/opencl enable_opencl
19067 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19068 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19069 wine_fn_config_makefile dlls/packager enable_packager
19070 wine_fn_config_makefile dlls/packager/tests enable_tests
19071 wine_fn_config_makefile dlls/pdh enable_pdh
19072 wine_fn_config_makefile dlls/pdh/tests enable_tests
19073 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19074 wine_fn_config_makefile dlls/pidgen enable_pidgen
19075 wine_fn_config_makefile dlls/powrprof enable_powrprof
19076 wine_fn_config_makefile dlls/printui enable_printui
19077 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19078 wine_fn_config_makefile dlls/propsys enable_propsys
19079 wine_fn_config_makefile dlls/propsys/tests enable_tests
19080 wine_fn_config_makefile dlls/psapi enable_psapi
19081 wine_fn_config_makefile dlls/psapi/tests enable_tests
19082 wine_fn_config_makefile dlls/pstorec enable_pstorec
19083 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19084 wine_fn_config_makefile dlls/qcap enable_qcap
19085 wine_fn_config_makefile dlls/qcap/tests enable_tests
19086 wine_fn_config_makefile dlls/qedit enable_qedit
19087 wine_fn_config_makefile dlls/qedit/tests enable_tests
19088 wine_fn_config_makefile dlls/qmgr enable_qmgr
19089 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19090 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19091 wine_fn_config_makefile dlls/quartz enable_quartz
19092 wine_fn_config_makefile dlls/quartz/tests enable_tests
19093 wine_fn_config_makefile dlls/query enable_query
19094 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19095 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19096 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19097 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19098 wine_fn_config_makefile dlls/regapi enable_regapi
19099 wine_fn_config_makefile dlls/resutils enable_resutils
19100 wine_fn_config_makefile dlls/riched20 enable_riched20
19101 wine_fn_config_makefile dlls/riched20/tests enable_tests
19102 wine_fn_config_makefile dlls/riched32 enable_riched32
19103 wine_fn_config_makefile dlls/riched32/tests enable_tests
19104 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19105 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19106 wine_fn_config_makefile dlls/rsabase enable_rsabase
19107 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19108 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19109 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19110 wine_fn_config_makefile dlls/rtutils enable_rtutils
19111 wine_fn_config_makefile dlls/samlib enable_samlib
19112 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19113 wine_fn_config_makefile dlls/sapi enable_sapi
19114 wine_fn_config_makefile dlls/sapi/tests enable_tests
19115 wine_fn_config_makefile dlls/sas enable_sas
19116 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19117 wine_fn_config_makefile dlls/sccbase enable_sccbase
19118 wine_fn_config_makefile dlls/schannel enable_schannel
19119 wine_fn_config_makefile dlls/schannel/tests enable_tests
19120 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19121 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19122 wine_fn_config_makefile dlls/scrobj enable_scrobj
19123 wine_fn_config_makefile dlls/scrrun enable_scrrun
19124 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19125 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19126 wine_fn_config_makefile dlls/secur32 enable_secur32
19127 wine_fn_config_makefile dlls/secur32/tests enable_tests
19128 wine_fn_config_makefile dlls/security enable_security
19129 wine_fn_config_makefile dlls/sensapi enable_sensapi
19130 wine_fn_config_makefile dlls/serialui enable_serialui
19131 wine_fn_config_makefile dlls/serialui/tests enable_tests
19132 wine_fn_config_makefile dlls/setupapi enable_setupapi
19133 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19134 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19135 wine_fn_config_makefile dlls/sfc enable_sfc
19136 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19137 wine_fn_config_makefile dlls/shcore enable_shcore
19138 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19139 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19140 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19141 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19142 wine_fn_config_makefile dlls/shell32 enable_shell32
19143 wine_fn_config_makefile dlls/shell32/tests enable_tests
19144 wine_fn_config_makefile dlls/shfolder enable_shfolder
19145 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19146 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19147 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19148 wine_fn_config_makefile dlls/slc enable_slc
19149 wine_fn_config_makefile dlls/slc/tests enable_tests
19150 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19151 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19152 wine_fn_config_makefile dlls/softpub enable_softpub
19153 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19154 wine_fn_config_makefile dlls/spoolss enable_spoolss
19155 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19156 wine_fn_config_makefile dlls/srclient enable_srclient
19157 wine_fn_config_makefile dlls/sspicli enable_sspicli
19158 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19159 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19160 wine_fn_config_makefile dlls/sti enable_sti
19161 wine_fn_config_makefile dlls/sti/tests enable_tests
19162 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19163 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19164 wine_fn_config_makefile dlls/strmbase enable_strmbase
19165 wine_fn_config_makefile dlls/strmdll enable_strmdll
19166 wine_fn_config_makefile dlls/strmiids enable_strmiids
19167 wine_fn_config_makefile dlls/svrapi enable_svrapi
19168 wine_fn_config_makefile dlls/sxs enable_sxs
19169 wine_fn_config_makefile dlls/sxs/tests enable_tests
19170 wine_fn_config_makefile dlls/system.drv16 enable_win16
19171 wine_fn_config_makefile dlls/t2embed enable_t2embed
19172 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19173 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19174 wine_fn_config_makefile dlls/taskschd enable_taskschd
19175 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19176 wine_fn_config_makefile dlls/tdh enable_tdh
19177 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19178 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19179 wine_fn_config_makefile dlls/traffic enable_traffic
19180 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19181 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19182 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19183 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19184 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19185 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19186 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19187 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19188 wine_fn_config_makefile dlls/unicows enable_unicows
19189 wine_fn_config_makefile dlls/updspapi enable_updspapi
19190 wine_fn_config_makefile dlls/url enable_url
19191 wine_fn_config_makefile dlls/urlmon enable_urlmon
19192 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19193 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19194 wine_fn_config_makefile dlls/user.exe16 enable_win16
19195 wine_fn_config_makefile dlls/user32 enable_user32
19196 wine_fn_config_makefile dlls/user32/tests enable_tests
19197 wine_fn_config_makefile dlls/userenv enable_userenv
19198 wine_fn_config_makefile dlls/userenv/tests enable_tests
19199 wine_fn_config_makefile dlls/usp10 enable_usp10
19200 wine_fn_config_makefile dlls/usp10/tests enable_tests
19201 wine_fn_config_makefile dlls/uuid enable_uuid
19202 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19203 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19204 wine_fn_config_makefile dlls/vbscript enable_vbscript
19205 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19206 wine_fn_config_makefile dlls/vcomp enable_vcomp
19207 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19208 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19209 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19210 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19211 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19212 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19213 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19214 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19215 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19216 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19217 wine_fn_config_makefile dlls/version enable_version
19218 wine_fn_config_makefile dlls/version/tests enable_tests
19219 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19220 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19221 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19222 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19223 wine_fn_config_makefile dlls/vssapi enable_vssapi
19224 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19225 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19226 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
19227 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19228 wine_fn_config_makefile dlls/w32skrnl enable_win16
19229 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19230 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19231 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19232 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19233 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19234 wine_fn_config_makefile dlls/wdscore enable_wdscore
19235 wine_fn_config_makefile dlls/webservices enable_webservices
19236 wine_fn_config_makefile dlls/webservices/tests enable_tests
19237 wine_fn_config_makefile dlls/wer enable_wer
19238 wine_fn_config_makefile dlls/wer/tests enable_tests
19239 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19240 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19241 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19242 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19243 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19244 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19245 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19246 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19247 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19248 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19249 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19250 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19251 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19252 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19253 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19254 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19255 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19256 wine_fn_config_makefile dlls/wined3d enable_wined3d
19257 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19258 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19259 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19260 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19261 wine_fn_config_makefile dlls/winemapi enable_winemapi
19262 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19263 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19264 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19265 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19266 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19267 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19268 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19269 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19270 wine_fn_config_makefile dlls/wing32 enable_wing32
19271 wine_fn_config_makefile dlls/winhttp enable_winhttp
19272 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19273 wine_fn_config_makefile dlls/wininet enable_wininet
19274 wine_fn_config_makefile dlls/wininet/tests enable_tests
19275 wine_fn_config_makefile dlls/winmm enable_winmm
19276 wine_fn_config_makefile dlls/winmm/tests enable_tests
19277 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19278 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19279 wine_fn_config_makefile dlls/winscard enable_winscard
19280 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19281 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19282 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19283 wine_fn_config_makefile dlls/winsta enable_winsta
19284 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19285 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19286 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19287 wine_fn_config_makefile dlls/wintrust enable_wintrust
19288 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19289 wine_fn_config_makefile dlls/winusb enable_winusb
19290 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19291 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19292 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19293 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19294 wine_fn_config_makefile dlls/wmasf enable_wmasf
19295 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
19296 wine_fn_config_makefile dlls/wmi enable_wmi
19297 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19298 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19299 wine_fn_config_makefile dlls/wmp enable_wmp
19300 wine_fn_config_makefile dlls/wmp/tests enable_tests
19301 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19302 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19303 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19304 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19305 wine_fn_config_makefile dlls/wow32 enable_win16
19306 wine_fn_config_makefile dlls/wpc enable_wpc
19307 wine_fn_config_makefile dlls/wpc/tests enable_tests
19308 wine_fn_config_makefile dlls/wpcap enable_wpcap
19309 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19310 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19311 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19312 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19313 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19314 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19315 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19316 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19317 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19318 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19319 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19320 wine_fn_config_makefile dlls/wuapi enable_wuapi
19321 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19322 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19323 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19324 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19325 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19326 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19327 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19328 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19329 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19330 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19331 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19332 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19333 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19334 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19335 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19336 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19337 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19338 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19339 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19340 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19341 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19342 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19343 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19344 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19345 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19346 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19347 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19348 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19349 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19350 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19351 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19352 wine_fn_config_makefile dlls/xmllite enable_xmllite
19353 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19354 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19355 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19356 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19357 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
19358 wine_fn_config_makefile include enable_include
19359 wine_fn_config_makefile libs/port enable_port
19360 wine_fn_config_makefile libs/wine enable_wine
19361 wine_fn_config_makefile libs/wpp enable_wpp
19362 wine_fn_config_makefile loader enable_loader
19363 wine_fn_config_makefile po enable_po
19364 wine_fn_config_makefile programs/arp enable_arp
19365 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19366 wine_fn_config_makefile programs/attrib enable_attrib
19367 wine_fn_config_makefile programs/cabarc enable_cabarc
19368 wine_fn_config_makefile programs/cacls enable_cacls
19369 wine_fn_config_makefile programs/clock enable_clock
19370 wine_fn_config_makefile programs/cmd enable_cmd
19371 wine_fn_config_makefile programs/cmd/tests enable_tests
19372 wine_fn_config_makefile programs/conhost enable_conhost
19373 wine_fn_config_makefile programs/control enable_control
19374 wine_fn_config_makefile programs/cscript enable_cscript
19375 wine_fn_config_makefile programs/dism enable_dism
19376 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19377 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19378 wine_fn_config_makefile programs/eject enable_eject
19379 wine_fn_config_makefile programs/expand enable_expand
19380 wine_fn_config_makefile programs/explorer enable_explorer
19381 wine_fn_config_makefile programs/extrac32 enable_extrac32
19382 wine_fn_config_makefile programs/fc enable_fc
19383 wine_fn_config_makefile programs/find enable_find
19384 wine_fn_config_makefile programs/findstr enable_findstr
19385 wine_fn_config_makefile programs/fsutil enable_fsutil
19386 wine_fn_config_makefile programs/hh enable_hh
19387 wine_fn_config_makefile programs/hostname enable_hostname
19388 wine_fn_config_makefile programs/icacls enable_icacls
19389 wine_fn_config_makefile programs/icinfo enable_icinfo
19390 wine_fn_config_makefile programs/iexplore enable_iexplore
19391 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19392 wine_fn_config_makefile programs/lodctr enable_lodctr
19393 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19394 wine_fn_config_makefile programs/mshta enable_mshta
19395 wine_fn_config_makefile programs/msiexec enable_msiexec
19396 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19397 wine_fn_config_makefile programs/net enable_net
19398 wine_fn_config_makefile programs/netsh enable_netsh
19399 wine_fn_config_makefile programs/netstat enable_netstat
19400 wine_fn_config_makefile programs/ngen enable_ngen
19401 wine_fn_config_makefile programs/notepad enable_notepad
19402 wine_fn_config_makefile programs/oleview enable_oleview
19403 wine_fn_config_makefile programs/ping enable_ping
19404 wine_fn_config_makefile programs/plugplay enable_plugplay
19405 wine_fn_config_makefile programs/powershell enable_powershell
19406 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19407 wine_fn_config_makefile programs/progman enable_progman
19408 wine_fn_config_makefile programs/reg enable_reg
19409 wine_fn_config_makefile programs/reg/tests enable_tests
19410 wine_fn_config_makefile programs/regasm enable_regasm
19411 wine_fn_config_makefile programs/regedit enable_regedit
19412 wine_fn_config_makefile programs/regedit/tests enable_tests
19413 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19414 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19415 wine_fn_config_makefile programs/rpcss enable_rpcss
19416 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19417 wine_fn_config_makefile programs/rundll32 enable_rundll32
19418 wine_fn_config_makefile programs/sc enable_sc
19419 wine_fn_config_makefile programs/schtasks enable_schtasks
19420 wine_fn_config_makefile programs/schtasks/tests enable_tests
19421 wine_fn_config_makefile programs/sdbinst enable_sdbinst
19422 wine_fn_config_makefile programs/secedit enable_secedit
19423 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
19424 wine_fn_config_makefile programs/services enable_services
19425 wine_fn_config_makefile programs/services/tests enable_tests
19426 wine_fn_config_makefile programs/shutdown enable_shutdown
19427 wine_fn_config_makefile programs/spoolsv enable_spoolsv
19428 wine_fn_config_makefile programs/start enable_start
19429 wine_fn_config_makefile programs/subst enable_subst
19430 wine_fn_config_makefile programs/svchost enable_svchost
19431 wine_fn_config_makefile programs/systeminfo enable_systeminfo
19432 wine_fn_config_makefile programs/taskkill enable_taskkill
19433 wine_fn_config_makefile programs/tasklist enable_tasklist
19434 wine_fn_config_makefile programs/taskmgr enable_taskmgr
19435 wine_fn_config_makefile programs/termsv enable_termsv
19436 wine_fn_config_makefile programs/uninstaller enable_uninstaller
19437 wine_fn_config_makefile programs/unlodctr enable_unlodctr
19438 wine_fn_config_makefile programs/view enable_view
19439 wine_fn_config_makefile programs/wevtutil enable_wevtutil
19440 wine_fn_config_makefile programs/wineboot enable_wineboot
19441 wine_fn_config_makefile programs/winebrowser enable_winebrowser
19442 wine_fn_config_makefile programs/winecfg enable_winecfg
19443 wine_fn_config_makefile programs/wineconsole enable_wineconsole
19444 wine_fn_config_makefile programs/winedbg enable_winedbg
19445 wine_fn_config_makefile programs/winedevice enable_winedevice
19446 wine_fn_config_makefile programs/winefile enable_winefile
19447 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
19448 wine_fn_config_makefile programs/winemine enable_winemine
19449 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
19450 wine_fn_config_makefile programs/winepath enable_winepath
19451 wine_fn_config_makefile programs/winetest enable_winetest
19452 wine_fn_config_makefile programs/winevdm enable_win16
19453 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
19454 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
19455 wine_fn_config_makefile programs/winmgmt enable_winmgmt
19456 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
19457 wine_fn_config_makefile programs/winver enable_winver
19458 wine_fn_config_makefile programs/wmic enable_wmic
19459 wine_fn_config_makefile programs/wmplayer enable_wmplayer
19460 wine_fn_config_makefile programs/wordpad enable_wordpad
19461 wine_fn_config_makefile programs/write enable_write
19462 wine_fn_config_makefile programs/wscript enable_wscript
19463 wine_fn_config_makefile programs/wscript/tests enable_tests
19464 wine_fn_config_makefile programs/wusa enable_wusa
19465 wine_fn_config_makefile programs/xcopy enable_xcopy
19466 wine_fn_config_makefile programs/xcopy/tests enable_tests
19467 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
19468 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
19469 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
19470 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
19471 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
19472 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
19473 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
19474 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
19475 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
19476 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
19479 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19480 wine_fn_append_file CONFIGURE_TARGETS "tags"
19481 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19482 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19483 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19484 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19485 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19486 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19488 if test "x$enable_tools" != xno
19489 then
19490 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19491 ac_config_commands="$ac_config_commands tools/makedep"
19495 ac_config_commands="$ac_config_commands Makefile"
19498 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19502 if test "x$enable_maintainer_mode" = xyes
19503 then
19504 wine_fn_append_rule "configure: configure.ac aclocal.m4
19505 autoconf --warnings=all
19506 include/config.h.in: include/stamp-h.in
19507 include/stamp-h.in: configure.ac aclocal.m4
19508 autoheader --warnings=all
19509 @echo timestamp > \$@"
19512 if test "x$enable_tools" != xno
19513 then
19514 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19515 @./config.status tools/makedep
19516 Makefile: tools/makedep$ac_exeext
19517 fonts: tools/sfnt2fon
19518 include: tools tools/widl"
19519 else
19520 wine_fn_append_rule "\$(MAKEDEP):
19521 @echo \"You need to run make in $TOOLSDIR first\" && false"
19524 if test -n "$with_wine64"
19525 then
19526 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19527 fonts server:
19528 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19529 $with_wine64/loader/wine:
19530 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19531 $with_wine64/loader/wine-preloader:
19532 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19533 clean::
19534 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19535 else
19536 WINELOADER_INSTALL="wine.inf l_intl.nls"
19538 case $host_os in
19539 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19540 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19541 esac
19544 $as_echo " done" >&6
19545 cat >confcache <<\_ACEOF
19546 # This file is a shell script that caches the results of configure
19547 # tests run on this system so they can be shared between configure
19548 # scripts and configure runs, see configure's option --config-cache.
19549 # It is not useful on other systems. If it contains results you don't
19550 # want to keep, you may remove or edit it.
19552 # config.status only pays attention to the cache file if you give it
19553 # the --recheck option to rerun configure.
19555 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19556 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19557 # following values.
19559 _ACEOF
19561 # The following way of writing the cache mishandles newlines in values,
19562 # but we know of no workaround that is simple, portable, and efficient.
19563 # So, we kill variables containing newlines.
19564 # Ultrix sh set writes to stderr and can't be redirected directly,
19565 # and sets the high bit in the cache file unless we assign to the vars.
19567 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19568 eval ac_val=\$$ac_var
19569 case $ac_val in #(
19570 *${as_nl}*)
19571 case $ac_var in #(
19572 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19573 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19574 esac
19575 case $ac_var in #(
19576 _ | IFS | as_nl) ;; #(
19577 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19578 *) { eval $ac_var=; unset $ac_var;} ;;
19579 esac ;;
19580 esac
19581 done
19583 (set) 2>&1 |
19584 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19585 *${as_nl}ac_space=\ *)
19586 # `set' does not quote correctly, so add quotes: double-quote
19587 # substitution turns \\\\ into \\, and sed turns \\ into \.
19588 sed -n \
19589 "s/'/'\\\\''/g;
19590 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19591 ;; #(
19593 # `set' quotes correctly as required by POSIX, so do not add quotes.
19594 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19596 esac |
19597 sort
19599 sed '
19600 /^ac_cv_env_/b end
19601 t clear
19602 :clear
19603 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19604 t end
19605 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19606 :end' >>confcache
19607 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19608 if test -w "$cache_file"; then
19609 if test "x$cache_file" != "x/dev/null"; then
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19611 $as_echo "$as_me: updating cache $cache_file" >&6;}
19612 if test ! -f "$cache_file" || test -h "$cache_file"; then
19613 cat confcache >"$cache_file"
19614 else
19615 case $cache_file in #(
19616 */* | ?:*)
19617 mv -f confcache "$cache_file"$$ &&
19618 mv -f "$cache_file"$$ "$cache_file" ;; #(
19620 mv -f confcache "$cache_file" ;;
19621 esac
19624 else
19625 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19626 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19629 rm -f confcache
19631 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19632 # Let make expand exec_prefix.
19633 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19635 DEFS=-DHAVE_CONFIG_H
19637 ac_libobjs=
19638 ac_ltlibobjs=
19640 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19641 # 1. Remove the extension, and $U if already installed.
19642 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19643 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19644 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19645 # will be set to the directory where LIBOBJS objects are built.
19646 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19647 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19648 done
19649 LIBOBJS=$ac_libobjs
19651 LTLIBOBJS=$ac_ltlibobjs
19655 : "${CONFIG_STATUS=./config.status}"
19656 ac_write_fail=0
19657 ac_clean_files_save=$ac_clean_files
19658 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19660 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19661 as_write_fail=0
19662 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19663 #! $SHELL
19664 # Generated by $as_me.
19665 # Run this file to recreate the current configuration.
19666 # Compiler output produced by configure, useful for debugging
19667 # configure, is in config.log if it exists.
19669 debug=false
19670 ac_cs_recheck=false
19671 ac_cs_silent=false
19673 SHELL=\${CONFIG_SHELL-$SHELL}
19674 export SHELL
19675 _ASEOF
19676 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19677 ## -------------------- ##
19678 ## M4sh Initialization. ##
19679 ## -------------------- ##
19681 # Be more Bourne compatible
19682 DUALCASE=1; export DUALCASE # for MKS sh
19683 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19684 emulate sh
19685 NULLCMD=:
19686 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19687 # is contrary to our usage. Disable this feature.
19688 alias -g '${1+"$@"}'='"$@"'
19689 setopt NO_GLOB_SUBST
19690 else
19691 case `(set -o) 2>/dev/null` in #(
19692 *posix*) :
19693 set -o posix ;; #(
19694 *) :
19696 esac
19700 as_nl='
19702 export as_nl
19703 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19704 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19705 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19706 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19707 # Prefer a ksh shell builtin over an external printf program on Solaris,
19708 # but without wasting forks for bash or zsh.
19709 if test -z "$BASH_VERSION$ZSH_VERSION" \
19710 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19711 as_echo='print -r --'
19712 as_echo_n='print -rn --'
19713 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19714 as_echo='printf %s\n'
19715 as_echo_n='printf %s'
19716 else
19717 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19718 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19719 as_echo_n='/usr/ucb/echo -n'
19720 else
19721 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19722 as_echo_n_body='eval
19723 arg=$1;
19724 case $arg in #(
19725 *"$as_nl"*)
19726 expr "X$arg" : "X\\(.*\\)$as_nl";
19727 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19728 esac;
19729 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19731 export as_echo_n_body
19732 as_echo_n='sh -c $as_echo_n_body as_echo'
19734 export as_echo_body
19735 as_echo='sh -c $as_echo_body as_echo'
19738 # The user is always right.
19739 if test "${PATH_SEPARATOR+set}" != set; then
19740 PATH_SEPARATOR=:
19741 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19742 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19743 PATH_SEPARATOR=';'
19748 # IFS
19749 # We need space, tab and new line, in precisely that order. Quoting is
19750 # there to prevent editors from complaining about space-tab.
19751 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19752 # splitting by setting IFS to empty value.)
19753 IFS=" "" $as_nl"
19755 # Find who we are. Look in the path if we contain no directory separator.
19756 as_myself=
19757 case $0 in #((
19758 *[\\/]* ) as_myself=$0 ;;
19759 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19760 for as_dir in $PATH
19762 IFS=$as_save_IFS
19763 test -z "$as_dir" && as_dir=.
19764 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19765 done
19766 IFS=$as_save_IFS
19769 esac
19770 # We did not find ourselves, most probably we were run as `sh COMMAND'
19771 # in which case we are not to be found in the path.
19772 if test "x$as_myself" = x; then
19773 as_myself=$0
19775 if test ! -f "$as_myself"; then
19776 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19777 exit 1
19780 # Unset variables that we do not need and which cause bugs (e.g. in
19781 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19782 # suppresses any "Segmentation fault" message there. '((' could
19783 # trigger a bug in pdksh 5.2.14.
19784 for as_var in BASH_ENV ENV MAIL MAILPATH
19785 do eval test x\${$as_var+set} = xset \
19786 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19787 done
19788 PS1='$ '
19789 PS2='> '
19790 PS4='+ '
19792 # NLS nuisances.
19793 LC_ALL=C
19794 export LC_ALL
19795 LANGUAGE=C
19796 export LANGUAGE
19798 # CDPATH.
19799 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19802 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19803 # ----------------------------------------
19804 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19805 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19806 # script with STATUS, using 1 if that was 0.
19807 as_fn_error ()
19809 as_status=$1; test $as_status -eq 0 && as_status=1
19810 if test "$4"; then
19811 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19812 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19814 $as_echo "$as_me: error: $2" >&2
19815 as_fn_exit $as_status
19816 } # as_fn_error
19819 # as_fn_set_status STATUS
19820 # -----------------------
19821 # Set $? to STATUS, without forking.
19822 as_fn_set_status ()
19824 return $1
19825 } # as_fn_set_status
19827 # as_fn_exit STATUS
19828 # -----------------
19829 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19830 as_fn_exit ()
19832 set +e
19833 as_fn_set_status $1
19834 exit $1
19835 } # as_fn_exit
19837 # as_fn_unset VAR
19838 # ---------------
19839 # Portably unset VAR.
19840 as_fn_unset ()
19842 { eval $1=; unset $1;}
19844 as_unset=as_fn_unset
19845 # as_fn_append VAR VALUE
19846 # ----------------------
19847 # Append the text in VALUE to the end of the definition contained in VAR. Take
19848 # advantage of any shell optimizations that allow amortized linear growth over
19849 # repeated appends, instead of the typical quadratic growth present in naive
19850 # implementations.
19851 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19852 eval 'as_fn_append ()
19854 eval $1+=\$2
19856 else
19857 as_fn_append ()
19859 eval $1=\$$1\$2
19861 fi # as_fn_append
19863 # as_fn_arith ARG...
19864 # ------------------
19865 # Perform arithmetic evaluation on the ARGs, and store the result in the
19866 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19867 # must be portable across $(()) and expr.
19868 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19869 eval 'as_fn_arith ()
19871 as_val=$(( $* ))
19873 else
19874 as_fn_arith ()
19876 as_val=`expr "$@" || test $? -eq 1`
19878 fi # as_fn_arith
19881 if expr a : '\(a\)' >/dev/null 2>&1 &&
19882 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19883 as_expr=expr
19884 else
19885 as_expr=false
19888 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19889 as_basename=basename
19890 else
19891 as_basename=false
19894 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19895 as_dirname=dirname
19896 else
19897 as_dirname=false
19900 as_me=`$as_basename -- "$0" ||
19901 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19902 X"$0" : 'X\(//\)$' \| \
19903 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19904 $as_echo X/"$0" |
19905 sed '/^.*\/\([^/][^/]*\)\/*$/{
19906 s//\1/
19909 /^X\/\(\/\/\)$/{
19910 s//\1/
19913 /^X\/\(\/\).*/{
19914 s//\1/
19917 s/.*/./; q'`
19919 # Avoid depending upon Character Ranges.
19920 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19921 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19922 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19923 as_cr_digits='0123456789'
19924 as_cr_alnum=$as_cr_Letters$as_cr_digits
19926 ECHO_C= ECHO_N= ECHO_T=
19927 case `echo -n x` in #(((((
19928 -n*)
19929 case `echo 'xy\c'` in
19930 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19931 xy) ECHO_C='\c';;
19932 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19933 ECHO_T=' ';;
19934 esac;;
19936 ECHO_N='-n';;
19937 esac
19939 rm -f conf$$ conf$$.exe conf$$.file
19940 if test -d conf$$.dir; then
19941 rm -f conf$$.dir/conf$$.file
19942 else
19943 rm -f conf$$.dir
19944 mkdir conf$$.dir 2>/dev/null
19946 if (echo >conf$$.file) 2>/dev/null; then
19947 if ln -s conf$$.file conf$$ 2>/dev/null; then
19948 as_ln_s='ln -s'
19949 # ... but there are two gotchas:
19950 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19951 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19952 # In both cases, we have to default to `cp -pR'.
19953 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19954 as_ln_s='cp -pR'
19955 elif ln conf$$.file conf$$ 2>/dev/null; then
19956 as_ln_s=ln
19957 else
19958 as_ln_s='cp -pR'
19960 else
19961 as_ln_s='cp -pR'
19963 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19964 rmdir conf$$.dir 2>/dev/null
19967 # as_fn_mkdir_p
19968 # -------------
19969 # Create "$as_dir" as a directory, including parents if necessary.
19970 as_fn_mkdir_p ()
19973 case $as_dir in #(
19974 -*) as_dir=./$as_dir;;
19975 esac
19976 test -d "$as_dir" || eval $as_mkdir_p || {
19977 as_dirs=
19978 while :; do
19979 case $as_dir in #(
19980 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19981 *) as_qdir=$as_dir;;
19982 esac
19983 as_dirs="'$as_qdir' $as_dirs"
19984 as_dir=`$as_dirname -- "$as_dir" ||
19985 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19986 X"$as_dir" : 'X\(//\)[^/]' \| \
19987 X"$as_dir" : 'X\(//\)$' \| \
19988 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19989 $as_echo X"$as_dir" |
19990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19991 s//\1/
19994 /^X\(\/\/\)[^/].*/{
19995 s//\1/
19998 /^X\(\/\/\)$/{
19999 s//\1/
20002 /^X\(\/\).*/{
20003 s//\1/
20006 s/.*/./; q'`
20007 test -d "$as_dir" && break
20008 done
20009 test -z "$as_dirs" || eval "mkdir $as_dirs"
20010 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20013 } # as_fn_mkdir_p
20014 if mkdir -p . 2>/dev/null; then
20015 as_mkdir_p='mkdir -p "$as_dir"'
20016 else
20017 test -d ./-p && rmdir ./-p
20018 as_mkdir_p=false
20022 # as_fn_executable_p FILE
20023 # -----------------------
20024 # Test if FILE is an executable regular file.
20025 as_fn_executable_p ()
20027 test -f "$1" && test -x "$1"
20028 } # as_fn_executable_p
20029 as_test_x='test -x'
20030 as_executable_p=as_fn_executable_p
20032 # Sed expression to map a string onto a valid CPP name.
20033 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20035 # Sed expression to map a string onto a valid variable name.
20036 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20039 exec 6>&1
20040 ## ----------------------------------- ##
20041 ## Main body of $CONFIG_STATUS script. ##
20042 ## ----------------------------------- ##
20043 _ASEOF
20044 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20047 # Save the log message, to keep $0 and so on meaningful, and to
20048 # report actual input values of CONFIG_FILES etc. instead of their
20049 # values after options handling.
20050 ac_log="
20051 This file was extended by Wine $as_me 3.11, which was
20052 generated by GNU Autoconf 2.69. Invocation command line was
20054 CONFIG_FILES = $CONFIG_FILES
20055 CONFIG_HEADERS = $CONFIG_HEADERS
20056 CONFIG_LINKS = $CONFIG_LINKS
20057 CONFIG_COMMANDS = $CONFIG_COMMANDS
20058 $ $0 $@
20060 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20063 _ACEOF
20065 case $ac_config_files in *"
20066 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20067 esac
20069 case $ac_config_headers in *"
20070 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20071 esac
20074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20075 # Files that config.status was made for.
20076 config_files="$ac_config_files"
20077 config_headers="$ac_config_headers"
20078 config_links="$ac_config_links"
20079 config_commands="$ac_config_commands"
20081 _ACEOF
20083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20084 ac_cs_usage="\
20085 \`$as_me' instantiates files and other configuration actions
20086 from templates according to the current configuration. Unless the files
20087 and actions are specified as TAGs, all are instantiated by default.
20089 Usage: $0 [OPTION]... [TAG]...
20091 -h, --help print this help, then exit
20092 -V, --version print version number and configuration settings, then exit
20093 --config print configuration, then exit
20094 -q, --quiet, --silent
20095 do not print progress messages
20096 -d, --debug don't remove temporary files
20097 --recheck update $as_me by reconfiguring in the same conditions
20098 --file=FILE[:TEMPLATE]
20099 instantiate the configuration file FILE
20100 --header=FILE[:TEMPLATE]
20101 instantiate the configuration header FILE
20103 Configuration files:
20104 $config_files
20106 Configuration headers:
20107 $config_headers
20109 Configuration links:
20110 $config_links
20112 Configuration commands:
20113 $config_commands
20115 Report bugs to <wine-devel@winehq.org>.
20116 Wine home page: <https://www.winehq.org>."
20118 _ACEOF
20119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20120 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20121 ac_cs_version="\\
20122 Wine config.status 3.11
20123 configured by $0, generated by GNU Autoconf 2.69,
20124 with options \\"\$ac_cs_config\\"
20126 Copyright (C) 2012 Free Software Foundation, Inc.
20127 This config.status script is free software; the Free Software Foundation
20128 gives unlimited permission to copy, distribute and modify it."
20130 ac_pwd='$ac_pwd'
20131 srcdir='$srcdir'
20132 test -n "\$AWK" || AWK=awk
20133 _ACEOF
20135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20136 # The default lists apply if the user does not specify any file.
20137 ac_need_defaults=:
20138 while test $# != 0
20140 case $1 in
20141 --*=?*)
20142 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20143 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20144 ac_shift=:
20146 --*=)
20147 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20148 ac_optarg=
20149 ac_shift=:
20152 ac_option=$1
20153 ac_optarg=$2
20154 ac_shift=shift
20156 esac
20158 case $ac_option in
20159 # Handling of the options.
20160 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20161 ac_cs_recheck=: ;;
20162 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20163 $as_echo "$ac_cs_version"; exit ;;
20164 --config | --confi | --conf | --con | --co | --c )
20165 $as_echo "$ac_cs_config"; exit ;;
20166 --debug | --debu | --deb | --de | --d | -d )
20167 debug=: ;;
20168 --file | --fil | --fi | --f )
20169 $ac_shift
20170 case $ac_optarg in
20171 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20172 '') as_fn_error $? "missing file argument" ;;
20173 esac
20174 as_fn_append CONFIG_FILES " '$ac_optarg'"
20175 ac_need_defaults=false;;
20176 --header | --heade | --head | --hea )
20177 $ac_shift
20178 case $ac_optarg in
20179 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20180 esac
20181 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20182 ac_need_defaults=false;;
20183 --he | --h)
20184 # Conflict between --help and --header
20185 as_fn_error $? "ambiguous option: \`$1'
20186 Try \`$0 --help' for more information.";;
20187 --help | --hel | -h )
20188 $as_echo "$ac_cs_usage"; exit ;;
20189 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20190 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20191 ac_cs_silent=: ;;
20193 # This is an error.
20194 -*) as_fn_error $? "unrecognized option: \`$1'
20195 Try \`$0 --help' for more information." ;;
20197 *) as_fn_append ac_config_targets " $1"
20198 ac_need_defaults=false ;;
20200 esac
20201 shift
20202 done
20204 ac_configure_extra_args=
20206 if $ac_cs_silent; then
20207 exec 6>/dev/null
20208 ac_configure_extra_args="$ac_configure_extra_args --silent"
20211 _ACEOF
20212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20213 if \$ac_cs_recheck; then
20214 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20215 shift
20216 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20217 CONFIG_SHELL='$SHELL'
20218 export CONFIG_SHELL
20219 exec "\$@"
20222 _ACEOF
20223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20224 exec 5>>config.log
20226 echo
20227 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20228 ## Running $as_me. ##
20229 _ASBOX
20230 $as_echo "$ac_log"
20231 } >&5
20233 _ACEOF
20234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20236 # INIT-COMMANDS
20238 wine_fn_output_makedep ()
20240 as_dir=tools; as_fn_mkdir_p
20241 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20243 wine_fn_output_makefile ()
20245 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20246 `cat $wine_rules_file`
20247 _WINE_EOF
20248 as_fn_error $? "could not create Makefile" "$LINENO" 5
20251 _ACEOF
20253 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20255 # Handling of arguments.
20256 for ac_config_target in $ac_config_targets
20258 case $ac_config_target in
20259 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20260 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20261 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20262 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20263 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20264 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20265 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20266 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20267 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20268 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20269 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20270 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20271 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20273 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20274 esac
20275 done
20278 # If the user did not use the arguments to specify the items to instantiate,
20279 # then the envvar interface is used. Set only those that are not.
20280 # We use the long form for the default assignment because of an extremely
20281 # bizarre bug on SunOS 4.1.3.
20282 if $ac_need_defaults; then
20283 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20284 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20285 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20286 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20289 # Have a temporary directory for convenience. Make it in the build tree
20290 # simply because there is no reason against having it here, and in addition,
20291 # creating and moving files from /tmp can sometimes cause problems.
20292 # Hook for its removal unless debugging.
20293 # Note that there is a small window in which the directory will not be cleaned:
20294 # after its creation but before its name has been assigned to `$tmp'.
20295 $debug ||
20297 tmp= ac_tmp=
20298 trap 'exit_status=$?
20299 : "${ac_tmp:=$tmp}"
20300 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20302 trap 'as_fn_exit 1' 1 2 13 15
20304 # Create a (secure) tmp directory for tmp files.
20307 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20308 test -d "$tmp"
20309 } ||
20311 tmp=./conf$$-$RANDOM
20312 (umask 077 && mkdir "$tmp")
20313 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20314 ac_tmp=$tmp
20316 # Set up the scripts for CONFIG_FILES section.
20317 # No need to generate them if there are no CONFIG_FILES.
20318 # This happens for instance with `./config.status config.h'.
20319 if test -n "$CONFIG_FILES"; then
20322 ac_cr=`echo X | tr X '\015'`
20323 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20324 # But we know of no other shell where ac_cr would be empty at this
20325 # point, so we can use a bashism as a fallback.
20326 if test "x$ac_cr" = x; then
20327 eval ac_cr=\$\'\\r\'
20329 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20330 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20331 ac_cs_awk_cr='\\r'
20332 else
20333 ac_cs_awk_cr=$ac_cr
20336 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20337 _ACEOF
20341 echo "cat >conf$$subs.awk <<_ACEOF" &&
20342 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20343 echo "_ACEOF"
20344 } >conf$$subs.sh ||
20345 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20346 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20347 ac_delim='%!_!# '
20348 for ac_last_try in false false false false false :; do
20349 . ./conf$$subs.sh ||
20350 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20352 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20353 if test $ac_delim_n = $ac_delim_num; then
20354 break
20355 elif $ac_last_try; then
20356 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20357 else
20358 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20360 done
20361 rm -f conf$$subs.sh
20363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20364 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20365 _ACEOF
20366 sed -n '
20368 s/^/S["/; s/!.*/"]=/
20371 s/^[^!]*!//
20372 :repl
20373 t repl
20374 s/'"$ac_delim"'$//
20375 t delim
20378 s/\(.\{148\}\)..*/\1/
20379 t more1
20380 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20383 b repl
20384 :more1
20385 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20388 s/.\{148\}//
20389 t nl
20390 :delim
20392 s/\(.\{148\}\)..*/\1/
20393 t more2
20394 s/["\\]/\\&/g; s/^/"/; s/$/"/
20397 :more2
20398 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20401 s/.\{148\}//
20402 t delim
20403 ' <conf$$subs.awk | sed '
20404 /^[^""]/{
20406 s/\n//
20408 ' >>$CONFIG_STATUS || ac_write_fail=1
20409 rm -f conf$$subs.awk
20410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20411 _ACAWK
20412 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20413 for (key in S) S_is_set[key] = 1
20414 FS = "\a"
20418 line = $ 0
20419 nfields = split(line, field, "@")
20420 substed = 0
20421 len = length(field[1])
20422 for (i = 2; i < nfields; i++) {
20423 key = field[i]
20424 keylen = length(key)
20425 if (S_is_set[key]) {
20426 value = S[key]
20427 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20428 len += length(value) + length(field[++i])
20429 substed = 1
20430 } else
20431 len += 1 + keylen
20434 print line
20437 _ACAWK
20438 _ACEOF
20439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20440 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20441 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20442 else
20444 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20445 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20446 _ACEOF
20448 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20449 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20450 # trailing colons and then remove the whole line if VPATH becomes empty
20451 # (actually we leave an empty line to preserve line numbers).
20452 if test "x$srcdir" = x.; then
20453 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20455 s///
20456 s/^/:/
20457 s/[ ]*$/:/
20458 s/:\$(srcdir):/:/g
20459 s/:\${srcdir}:/:/g
20460 s/:@srcdir@:/:/g
20461 s/^:*//
20462 s/:*$//
20464 s/\(=[ ]*\).*/\1/
20466 s/\n//
20467 s/^[^=]*=[ ]*$//
20471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20472 fi # test -n "$CONFIG_FILES"
20474 # Set up the scripts for CONFIG_HEADERS section.
20475 # No need to generate them if there are no CONFIG_HEADERS.
20476 # This happens for instance with `./config.status Makefile'.
20477 if test -n "$CONFIG_HEADERS"; then
20478 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20479 BEGIN {
20480 _ACEOF
20482 # Transform confdefs.h into an awk script `defines.awk', embedded as
20483 # here-document in config.status, that substitutes the proper values into
20484 # config.h.in to produce config.h.
20486 # Create a delimiter string that does not exist in confdefs.h, to ease
20487 # handling of long lines.
20488 ac_delim='%!_!# '
20489 for ac_last_try in false false :; do
20490 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20491 if test -z "$ac_tt"; then
20492 break
20493 elif $ac_last_try; then
20494 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20495 else
20496 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20498 done
20500 # For the awk script, D is an array of macro values keyed by name,
20501 # likewise P contains macro parameters if any. Preserve backslash
20502 # newline sequences.
20504 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20505 sed -n '
20506 s/.\{148\}/&'"$ac_delim"'/g
20507 t rset
20508 :rset
20509 s/^[ ]*#[ ]*define[ ][ ]*/ /
20510 t def
20512 :def
20513 s/\\$//
20514 t bsnl
20515 s/["\\]/\\&/g
20516 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20517 D["\1"]=" \3"/p
20518 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20520 :bsnl
20521 s/["\\]/\\&/g
20522 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20523 D["\1"]=" \3\\\\\\n"\\/p
20524 t cont
20525 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20526 t cont
20528 :cont
20530 s/.\{148\}/&'"$ac_delim"'/g
20531 t clear
20532 :clear
20533 s/\\$//
20534 t bsnlc
20535 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20537 :bsnlc
20538 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20539 b cont
20540 ' <confdefs.h | sed '
20541 s/'"$ac_delim"'/"\\\
20542 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20545 for (key in D) D_is_set[key] = 1
20546 FS = "\a"
20548 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20549 line = \$ 0
20550 split(line, arg, " ")
20551 if (arg[1] == "#") {
20552 defundef = arg[2]
20553 mac1 = arg[3]
20554 } else {
20555 defundef = substr(arg[1], 2)
20556 mac1 = arg[2]
20558 split(mac1, mac2, "(") #)
20559 macro = mac2[1]
20560 prefix = substr(line, 1, index(line, defundef) - 1)
20561 if (D_is_set[macro]) {
20562 # Preserve the white space surrounding the "#".
20563 print prefix "define", macro P[macro] D[macro]
20564 next
20565 } else {
20566 # Replace #undef with comments. This is necessary, for example,
20567 # in the case of _POSIX_SOURCE, which is predefined and required
20568 # on some systems where configure will not decide to define it.
20569 if (defundef == "undef") {
20570 print "/*", prefix defundef, macro, "*/"
20571 next
20575 { print }
20576 _ACAWK
20577 _ACEOF
20578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20579 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20580 fi # test -n "$CONFIG_HEADERS"
20583 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20584 shift
20585 for ac_tag
20587 case $ac_tag in
20588 :[FHLC]) ac_mode=$ac_tag; continue;;
20589 esac
20590 case $ac_mode$ac_tag in
20591 :[FHL]*:*);;
20592 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20593 :[FH]-) ac_tag=-:-;;
20594 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20595 esac
20596 ac_save_IFS=$IFS
20597 IFS=:
20598 set x $ac_tag
20599 IFS=$ac_save_IFS
20600 shift
20601 ac_file=$1
20602 shift
20604 case $ac_mode in
20605 :L) ac_source=$1;;
20606 :[FH])
20607 ac_file_inputs=
20608 for ac_f
20610 case $ac_f in
20611 -) ac_f="$ac_tmp/stdin";;
20612 *) # Look for the file first in the build tree, then in the source tree
20613 # (if the path is not absolute). The absolute path cannot be DOS-style,
20614 # because $ac_f cannot contain `:'.
20615 test -f "$ac_f" ||
20616 case $ac_f in
20617 [\\/$]*) false;;
20618 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20619 esac ||
20620 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20621 esac
20622 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20623 as_fn_append ac_file_inputs " '$ac_f'"
20624 done
20626 # Let's still pretend it is `configure' which instantiates (i.e., don't
20627 # use $as_me), people would be surprised to read:
20628 # /* config.h. Generated by config.status. */
20629 configure_input='Generated from '`
20630 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20631 `' by configure.'
20632 if test x"$ac_file" != x-; then
20633 configure_input="$ac_file. $configure_input"
20634 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20635 $as_echo "$as_me: creating $ac_file" >&6;}
20637 # Neutralize special characters interpreted by sed in replacement strings.
20638 case $configure_input in #(
20639 *\&* | *\|* | *\\* )
20640 ac_sed_conf_input=`$as_echo "$configure_input" |
20641 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20642 *) ac_sed_conf_input=$configure_input;;
20643 esac
20645 case $ac_tag in
20646 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20647 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20648 esac
20650 esac
20652 ac_dir=`$as_dirname -- "$ac_file" ||
20653 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20654 X"$ac_file" : 'X\(//\)[^/]' \| \
20655 X"$ac_file" : 'X\(//\)$' \| \
20656 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20657 $as_echo X"$ac_file" |
20658 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20659 s//\1/
20662 /^X\(\/\/\)[^/].*/{
20663 s//\1/
20666 /^X\(\/\/\)$/{
20667 s//\1/
20670 /^X\(\/\).*/{
20671 s//\1/
20674 s/.*/./; q'`
20675 as_dir="$ac_dir"; as_fn_mkdir_p
20676 ac_builddir=.
20678 case "$ac_dir" in
20679 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20681 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20682 # A ".." for each directory in $ac_dir_suffix.
20683 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20684 case $ac_top_builddir_sub in
20685 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20686 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20687 esac ;;
20688 esac
20689 ac_abs_top_builddir=$ac_pwd
20690 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20691 # for backward compatibility:
20692 ac_top_builddir=$ac_top_build_prefix
20694 case $srcdir in
20695 .) # We are building in place.
20696 ac_srcdir=.
20697 ac_top_srcdir=$ac_top_builddir_sub
20698 ac_abs_top_srcdir=$ac_pwd ;;
20699 [\\/]* | ?:[\\/]* ) # Absolute name.
20700 ac_srcdir=$srcdir$ac_dir_suffix;
20701 ac_top_srcdir=$srcdir
20702 ac_abs_top_srcdir=$srcdir ;;
20703 *) # Relative name.
20704 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20705 ac_top_srcdir=$ac_top_build_prefix$srcdir
20706 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20707 esac
20708 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20711 case $ac_mode in
20714 # CONFIG_FILE
20717 _ACEOF
20719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20720 # If the template does not know about datarootdir, expand it.
20721 # FIXME: This hack should be removed a few years after 2.60.
20722 ac_datarootdir_hack=; ac_datarootdir_seen=
20723 ac_sed_dataroot='
20724 /datarootdir/ {
20728 /@datadir@/p
20729 /@docdir@/p
20730 /@infodir@/p
20731 /@localedir@/p
20732 /@mandir@/p'
20733 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20734 *datarootdir*) ac_datarootdir_seen=yes;;
20735 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20737 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20738 _ACEOF
20739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20740 ac_datarootdir_hack='
20741 s&@datadir@&$datadir&g
20742 s&@docdir@&$docdir&g
20743 s&@infodir@&$infodir&g
20744 s&@localedir@&$localedir&g
20745 s&@mandir@&$mandir&g
20746 s&\\\${datarootdir}&$datarootdir&g' ;;
20747 esac
20748 _ACEOF
20750 # Neutralize VPATH when `$srcdir' = `.'.
20751 # Shell code in configure.ac might set extrasub.
20752 # FIXME: do we really want to maintain this feature?
20753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20754 ac_sed_extra="$ac_vpsub
20755 $extrasub
20756 _ACEOF
20757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20759 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20760 s|@configure_input@|$ac_sed_conf_input|;t t
20761 s&@top_builddir@&$ac_top_builddir_sub&;t t
20762 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20763 s&@srcdir@&$ac_srcdir&;t t
20764 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20765 s&@top_srcdir@&$ac_top_srcdir&;t t
20766 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20767 s&@builddir@&$ac_builddir&;t t
20768 s&@abs_builddir@&$ac_abs_builddir&;t t
20769 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20770 $ac_datarootdir_hack
20772 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20773 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20775 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20776 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20777 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20778 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20780 which seems to be undefined. Please make sure it is defined" >&5
20781 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20782 which seems to be undefined. Please make sure it is defined" >&2;}
20784 rm -f "$ac_tmp/stdin"
20785 case $ac_file in
20786 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20787 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20788 esac \
20789 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20793 # CONFIG_HEADER
20795 if test x"$ac_file" != x-; then
20797 $as_echo "/* $configure_input */" \
20798 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20799 } >"$ac_tmp/config.h" \
20800 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20801 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20802 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20803 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20804 else
20805 rm -f "$ac_file"
20806 mv "$ac_tmp/config.h" "$ac_file" \
20807 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20809 else
20810 $as_echo "/* $configure_input */" \
20811 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20812 || as_fn_error $? "could not create -" "$LINENO" 5
20817 # CONFIG_LINK
20820 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20822 else
20823 # Prefer the file from the source tree if names are identical.
20824 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20825 ac_source=$srcdir/$ac_source
20828 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20829 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20831 if test ! -r "$ac_source"; then
20832 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20834 rm -f "$ac_file"
20836 # Try a relative symlink, then a hard link, then a copy.
20837 case $ac_source in
20838 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20839 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20840 esac
20841 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20842 ln "$ac_source" "$ac_file" 2>/dev/null ||
20843 cp -p "$ac_source" "$ac_file" ||
20844 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20847 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20848 $as_echo "$as_me: executing $ac_file commands" >&6;}
20850 esac
20853 case $ac_file$ac_mode in
20854 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20855 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20856 "Makefile":C) wine_fn_output_makefile Makefile ;;
20858 esac
20859 done # for ac_tag
20862 as_fn_exit 0
20863 _ACEOF
20864 ac_clean_files=$ac_clean_files_save
20866 test $ac_write_fail = 0 ||
20867 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20870 # configure is writing to config.log, and then calls config.status.
20871 # config.status does its own redirection, appending to config.log.
20872 # Unfortunately, on DOS this fails, as config.log is still kept open
20873 # by configure, so config.status won't be able to write to it; its
20874 # output is simply discarded. So we exec the FD to /dev/null,
20875 # effectively closing config.log, so it can be properly (re)opened and
20876 # appended to by config.status. When coming back to configure, we
20877 # need to make the FD available again.
20878 if test "$no_create" != yes; then
20879 ac_cs_success=:
20880 ac_config_status_args=
20881 test "$silent" = yes &&
20882 ac_config_status_args="$ac_config_status_args --quiet"
20883 exec 5>/dev/null
20884 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20885 exec 5>>config.log
20886 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20887 # would make configure fail if this is the last instruction.
20888 $ac_cs_success || as_fn_exit 1
20890 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20892 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20896 if test "$no_create" = "yes"
20897 then
20898 exit 0
20901 ac_save_IFS="$IFS"
20902 if test "x$wine_notices" != x; then
20903 echo >&6
20904 IFS="|"
20905 for msg in $wine_notices; do
20906 IFS="$ac_save_IFS"
20907 if ${msg:+false} :; then :
20909 else
20910 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20911 $as_echo "$as_me: $msg" >&6;}
20913 done
20915 IFS="|"
20916 for msg in $wine_warnings; do
20917 IFS="$ac_save_IFS"
20918 if ${msg:+false} :; then :
20920 else
20921 echo >&2
20922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20923 $as_echo "$as_me: WARNING: $msg" >&2;}
20925 done
20926 IFS="$ac_save_IFS"
20928 $as_echo "
20929 $as_me: Finished. Do '${ac_make}' to compile Wine.
20930 " >&6