shell32/tests: Use the available ARRAY_SIZE() macro.
[wine.git] / configure
blobbcb660d56982b00f6dd826c7d6205b6a7ed5a630
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.10.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
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.10'
584 PACKAGE_STRING='Wine 3.10'
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.10 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.10:";;
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.10
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.10, 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"
8061 with_gnutls=${with_gnutls:-no}
8063 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8064 then
8065 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8066 then
8067 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8069 else
8070 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8073 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8074 ac_save_LIBS="$LIBS"
8075 LIBS="$LIBS $COREAUDIO_LIBS"
8076 for ac_func in AUGraphAddNode
8077 do :
8078 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8079 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8080 cat >>confdefs.h <<_ACEOF
8081 #define HAVE_AUGRAPHADDNODE 1
8082 _ACEOF
8085 done
8087 LIBS="$ac_save_LIBS"
8089 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8090 then
8091 OPENAL_LIBS="-framework OpenAL"
8094 cat >>confdefs.h <<_ACEOF
8095 #define HAVE_OPENAL 1
8096 _ACEOF
8098 ac_cv_lib_openal=yes
8100 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8101 then
8102 OPENCL_LIBS="-framework OpenCL"
8104 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8106 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8107 then
8108 ac_save_LIBS="$LIBS"
8109 LIBS="$LIBS $IOKIT_LIBS"
8110 for ac_func in IOHIDManagerCreate
8111 do :
8112 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8113 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8114 cat >>confdefs.h <<_ACEOF
8115 #define HAVE_IOHIDMANAGERCREATE 1
8116 _ACEOF
8119 done
8121 LIBS="$ac_save_LIBS"
8123 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8124 then
8125 ac_save_LIBS="$LIBS"
8126 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8128 $as_echo_n "checking for the QuickTime framework... " >&6; }
8129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8130 /* end confdefs.h. */
8131 #include <QuickTime/ImageCompression.h>
8133 main ()
8135 CodecManagerVersion(NULL);
8137 return 0;
8139 _ACEOF
8140 if ac_fn_c_try_link "$LINENO"; then :
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8142 $as_echo "yes" >&6; }
8143 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8145 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8146 else
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8148 $as_echo "no" >&6; }
8149 ac_cv_header_QuickTime_ImageCompression_h=no
8151 rm -f core conftest.err conftest.$ac_objext \
8152 conftest$ac_exeext conftest.$ac_ext
8153 LIBS="$ac_save_LIBS"
8155 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8156 then
8157 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8159 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8160 then
8161 CARBON_LIBS="-framework Carbon"
8165 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8166 then
8167 ac_save_LIBS="$LIBS"
8168 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8169 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8170 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8171 enable_winemac_drv=${enable_winemac_drv:-yes}
8174 LIBS="$ac_save_LIBS"
8177 if test "x$enable_win16" = "xyes"
8178 then
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8180 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8181 if test "$cross_compiling" = yes; then :
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8183 $as_echo "cross-compiling, assuming yes" >&6; }
8184 else
8185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8186 /* end confdefs.h. */
8187 asm(".text\n"
8188 "bad:\tnop;nop\n"
8189 "good:\tnop;nop\n\t"
8190 ".globl _testfunc\n"
8191 "_testfunc:\tcallw good");
8192 extern void testfunc();
8194 main ()
8196 unsigned short *p = (unsigned short *)testfunc;
8197 return p[0] != 0xe866 || p[1] != 0xfffa
8199 return 0;
8201 _ACEOF
8202 if ac_fn_c_try_run "$LINENO"; then :
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8204 $as_echo "yes" >&6; }
8205 else
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8207 $as_echo "no" >&6; }
8208 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
8210 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8211 conftest.$ac_objext conftest.beam conftest.$ac_ext
8216 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8218 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8220 LIBWINE_INSTALL_DEV="libwine.dylib"
8222 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8224 WINELOADER_DEPENDS="wine_info.plist"
8228 linux-android*)
8229 DLLFLAGS="$DLLFLAGS -fPIC"
8230 LDEXECFLAGS="-Wl,-pie"
8231 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8233 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8234 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8235 $as_echo_n "(cached) " >&6
8236 else
8237 ac_wine_try_cflags_saved=$CFLAGS
8238 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8240 /* end confdefs.h. */
8241 int main(int argc, char **argv) { return 0; }
8242 _ACEOF
8243 if ac_fn_c_try_link "$LINENO"; then :
8244 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8245 else
8246 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8248 rm -f core conftest.err conftest.$ac_objext \
8249 conftest$ac_exeext conftest.$ac_ext
8250 CFLAGS=$ac_wine_try_cflags_saved
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8253 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8254 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8255 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8257 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8259 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8260 if eval \${$as_ac_var+:} false; then :
8261 $as_echo_n "(cached) " >&6
8262 else
8263 ac_wine_try_cflags_saved=$CFLAGS
8264 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8266 /* end confdefs.h. */
8267 int main(int argc, char **argv) { return 0; }
8268 _ACEOF
8269 if ac_fn_c_try_link "$LINENO"; then :
8270 eval "$as_ac_var=yes"
8271 else
8272 eval "$as_ac_var=no"
8274 rm -f core conftest.err conftest.$ac_objext \
8275 conftest$ac_exeext conftest.$ac_ext
8276 CFLAGS=$ac_wine_try_cflags_saved
8278 eval ac_res=\$$as_ac_var
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8280 $as_echo "$ac_res" >&6; }
8281 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8282 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8283 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8284 else
8285 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8287 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8288 if eval \${$as_ac_var+:} false; then :
8289 $as_echo_n "(cached) " >&6
8290 else
8291 ac_wine_try_cflags_saved=$CFLAGS
8292 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8294 /* end confdefs.h. */
8295 int main(int argc, char **argv) { return 0; }
8296 _ACEOF
8297 if ac_fn_c_try_link "$LINENO"; then :
8298 eval "$as_ac_var=yes"
8299 else
8300 eval "$as_ac_var=no"
8302 rm -f core conftest.err conftest.$ac_objext \
8303 conftest$ac_exeext conftest.$ac_ext
8304 CFLAGS=$ac_wine_try_cflags_saved
8306 eval ac_res=\$$as_ac_var
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8308 $as_echo "$ac_res" >&6; }
8309 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8310 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8311 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8315 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8316 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8317 $as_echo_n "(cached) " >&6
8318 else
8319 ac_wine_try_cflags_saved=$CFLAGS
8320 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8322 /* end confdefs.h. */
8323 int main(int argc, char **argv) { return 0; }
8324 _ACEOF
8325 if ac_fn_c_try_link "$LINENO"; then :
8326 ac_cv_cflags__Wl___enable_new_dtags=yes
8327 else
8328 ac_cv_cflags__Wl___enable_new_dtags=no
8330 rm -f core conftest.err conftest.$ac_objext \
8331 conftest$ac_exeext conftest.$ac_ext
8332 CFLAGS=$ac_wine_try_cflags_saved
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8335 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8336 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8337 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8340 LIBWINE_SHAREDLIB="libwine.so"
8342 LIBWINE_INSTALL_LIB="libwine.so"
8344 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8348 $as_echo_n "checking for -lEGL... " >&6; }
8349 if ${ac_cv_lib_soname_EGL+:} false; then :
8350 $as_echo_n "(cached) " >&6
8351 else
8352 ac_check_soname_save_LIBS=$LIBS
8353 LIBS="-lEGL $LIBS"
8354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8355 /* end confdefs.h. */
8357 /* Override any GCC internal prototype to avoid an error.
8358 Use char because int might match the return type of a GCC
8359 builtin and then its argument prototype would still apply. */
8360 #ifdef __cplusplus
8361 extern "C"
8362 #endif
8363 char eglGetProcAddress ();
8365 main ()
8367 return eglGetProcAddress ();
8369 return 0;
8371 _ACEOF
8372 if ac_fn_c_try_link "$LINENO"; then :
8373 case "$LIBEXT" in
8374 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8375 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'` ;;
8376 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8377 if ${ac_cv_lib_soname_EGL:+false} :; then :
8378 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8379 fi ;;
8380 esac
8382 rm -f core conftest.err conftest.$ac_objext \
8383 conftest$ac_exeext conftest.$ac_ext
8384 LIBS=$ac_check_soname_save_LIBS
8386 if ${ac_cv_lib_soname_EGL:+false} :; then :
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8388 $as_echo "not found" >&6; }
8390 else
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8392 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8394 cat >>confdefs.h <<_ACEOF
8395 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8396 _ACEOF
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8401 $as_echo_n "checking for -lGLESv2... " >&6; }
8402 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8403 $as_echo_n "(cached) " >&6
8404 else
8405 ac_check_soname_save_LIBS=$LIBS
8406 LIBS="-lGLESv2 $LIBS"
8407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8408 /* end confdefs.h. */
8410 /* Override any GCC internal prototype to avoid an error.
8411 Use char because int might match the return type of a GCC
8412 builtin and then its argument prototype would still apply. */
8413 #ifdef __cplusplus
8414 extern "C"
8415 #endif
8416 char glFlush ();
8418 main ()
8420 return glFlush ();
8422 return 0;
8424 _ACEOF
8425 if ac_fn_c_try_link "$LINENO"; then :
8426 case "$LIBEXT" in
8427 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8428 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'` ;;
8429 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8430 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8431 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8432 fi ;;
8433 esac
8435 rm -f core conftest.err conftest.$ac_objext \
8436 conftest$ac_exeext conftest.$ac_ext
8437 LIBS=$ac_check_soname_save_LIBS
8439 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8441 $as_echo "not found" >&6; }
8443 else
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8445 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8447 cat >>confdefs.h <<_ACEOF
8448 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8449 _ACEOF
8454 if test "x$exec_prefix" = xNONE
8455 then
8456 case $host_cpu in
8457 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8458 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8459 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8460 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8461 esac
8466 DLLFLAGS="$DLLFLAGS -fPIC"
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8468 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8469 if ${ac_cv_c_dll_gnuelf+:} false; then :
8470 $as_echo_n "(cached) " >&6
8471 else
8472 ac_wine_try_cflags_saved=$CFLAGS
8473 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8475 /* end confdefs.h. */
8476 void myfunc() {}
8477 _ACEOF
8478 if ac_fn_c_try_link "$LINENO"; then :
8479 ac_cv_c_dll_gnuelf="yes"
8480 else
8481 ac_cv_c_dll_gnuelf="no"
8483 rm -f core conftest.err conftest.$ac_objext \
8484 conftest$ac_exeext conftest.$ac_ext
8485 CFLAGS=$ac_wine_try_cflags_saved
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8488 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8489 if test "$ac_cv_c_dll_gnuelf" = "yes"
8490 then
8491 LIBWINE_LDFLAGS="-shared"
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8493 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8494 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8495 $as_echo_n "(cached) " >&6
8496 else
8497 ac_wine_try_cflags_saved=$CFLAGS
8498 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8500 /* end confdefs.h. */
8501 int main(int argc, char **argv) { return 0; }
8502 _ACEOF
8503 if ac_fn_c_try_link "$LINENO"; then :
8504 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8505 else
8506 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8508 rm -f core conftest.err conftest.$ac_objext \
8509 conftest$ac_exeext conftest.$ac_ext
8510 CFLAGS=$ac_wine_try_cflags_saved
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8513 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8514 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8515 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8516 else
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8518 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8519 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8520 $as_echo_n "(cached) " >&6
8521 else
8522 ac_wine_try_cflags_saved=$CFLAGS
8523 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8525 /* end confdefs.h. */
8526 int main(int argc, char **argv) { return 0; }
8527 _ACEOF
8528 if ac_fn_c_try_link "$LINENO"; then :
8529 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8530 else
8531 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8533 rm -f core conftest.err conftest.$ac_objext \
8534 conftest$ac_exeext conftest.$ac_ext
8535 CFLAGS=$ac_wine_try_cflags_saved
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8538 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8539 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8540 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8544 echo '{ global: *; };' >conftest.map
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8546 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8547 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8548 $as_echo_n "(cached) " >&6
8549 else
8550 ac_wine_try_cflags_saved=$CFLAGS
8551 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8553 /* end confdefs.h. */
8554 int main(int argc, char **argv) { return 0; }
8555 _ACEOF
8556 if ac_fn_c_try_link "$LINENO"; then :
8557 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8558 else
8559 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8561 rm -f core conftest.err conftest.$ac_objext \
8562 conftest$ac_exeext conftest.$ac_ext
8563 CFLAGS=$ac_wine_try_cflags_saved
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8566 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8567 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8568 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8570 rm -f conftest.map
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8573 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8574 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8575 $as_echo_n "(cached) " >&6
8576 else
8577 ac_wine_try_cflags_saved=$CFLAGS
8578 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8580 /* end confdefs.h. */
8581 int main(int argc, char **argv) { return 0; }
8582 _ACEOF
8583 if ac_fn_c_try_link "$LINENO"; then :
8584 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8585 else
8586 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8588 rm -f core conftest.err conftest.$ac_objext \
8589 conftest$ac_exeext conftest.$ac_ext
8590 CFLAGS=$ac_wine_try_cflags_saved
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8593 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8594 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8595 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8598 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8600 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8601 if eval \${$as_ac_var+:} false; then :
8602 $as_echo_n "(cached) " >&6
8603 else
8604 ac_wine_try_cflags_saved=$CFLAGS
8605 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8607 /* end confdefs.h. */
8608 int main(int argc, char **argv) { return 0; }
8609 _ACEOF
8610 if ac_fn_c_try_link "$LINENO"; then :
8611 eval "$as_ac_var=yes"
8612 else
8613 eval "$as_ac_var=no"
8615 rm -f core conftest.err conftest.$ac_objext \
8616 conftest$ac_exeext conftest.$ac_ext
8617 CFLAGS=$ac_wine_try_cflags_saved
8619 eval ac_res=\$$as_ac_var
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8621 $as_echo "$ac_res" >&6; }
8622 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8623 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8624 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8625 else
8626 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8628 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8629 if eval \${$as_ac_var+:} false; then :
8630 $as_echo_n "(cached) " >&6
8631 else
8632 ac_wine_try_cflags_saved=$CFLAGS
8633 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8635 /* end confdefs.h. */
8636 int main(int argc, char **argv) { return 0; }
8637 _ACEOF
8638 if ac_fn_c_try_link "$LINENO"; then :
8639 eval "$as_ac_var=yes"
8640 else
8641 eval "$as_ac_var=no"
8643 rm -f core conftest.err conftest.$ac_objext \
8644 conftest$ac_exeext conftest.$ac_ext
8645 CFLAGS=$ac_wine_try_cflags_saved
8647 eval ac_res=\$$as_ac_var
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8649 $as_echo "$ac_res" >&6; }
8650 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8651 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8652 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8657 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8658 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8659 $as_echo_n "(cached) " >&6
8660 else
8661 ac_wine_try_cflags_saved=$CFLAGS
8662 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8664 /* end confdefs.h. */
8665 int main(int argc, char **argv) { return 0; }
8666 _ACEOF
8667 if ac_fn_c_try_link "$LINENO"; then :
8668 ac_cv_cflags__Wl___enable_new_dtags=yes
8669 else
8670 ac_cv_cflags__Wl___enable_new_dtags=no
8672 rm -f core conftest.err conftest.$ac_objext \
8673 conftest$ac_exeext conftest.$ac_ext
8674 CFLAGS=$ac_wine_try_cflags_saved
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8677 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8678 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8679 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8682 case $host_cpu in
8683 *i[3456789]86* | x86_64 | *aarch64*)
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8685 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8686 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8687 $as_echo_n "(cached) " >&6
8688 else
8689 ac_wine_try_cflags_saved=$CFLAGS
8690 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8692 /* end confdefs.h. */
8693 int main(int argc, char **argv) { return 0; }
8694 _ACEOF
8695 if ac_fn_c_try_link "$LINENO"; then :
8696 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8697 else
8698 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8700 rm -f core conftest.err conftest.$ac_objext \
8701 conftest$ac_exeext conftest.$ac_ext
8702 CFLAGS=$ac_wine_try_cflags_saved
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8705 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8706 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8707 case $host_os in
8708 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8709 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8710 esac
8711 else
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8713 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8714 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8715 $as_echo_n "(cached) " >&6
8716 else
8717 ac_wine_try_cflags_saved=$CFLAGS
8718 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8720 /* end confdefs.h. */
8721 int main(int argc, char **argv) { return 0; }
8722 _ACEOF
8723 if ac_fn_c_try_link "$LINENO"; then :
8724 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8725 else
8726 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8728 rm -f core conftest.err conftest.$ac_objext \
8729 conftest$ac_exeext conftest.$ac_ext
8730 CFLAGS=$ac_wine_try_cflags_saved
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8733 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8734 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8735 case $host_os in
8736 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8737 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8738 esac
8740 # Extract the first word of "prelink", so it can be a program name with args.
8741 set dummy prelink; ac_word=$2
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8743 $as_echo_n "checking for $ac_word... " >&6; }
8744 if ${ac_cv_path_PRELINK+:} false; then :
8745 $as_echo_n "(cached) " >&6
8746 else
8747 case $PRELINK in
8748 [\\/]* | ?:[\\/]*)
8749 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8753 for as_dir in /sbin /usr/sbin $PATH
8755 IFS=$as_save_IFS
8756 test -z "$as_dir" && as_dir=.
8757 for ac_exec_ext in '' $ac_executable_extensions; do
8758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8759 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8761 break 2
8763 done
8764 done
8765 IFS=$as_save_IFS
8767 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8769 esac
8771 PRELINK=$ac_cv_path_PRELINK
8772 if test -n "$PRELINK"; then
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8774 $as_echo "$PRELINK" >&6; }
8775 else
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8777 $as_echo "no" >&6; }
8781 if test "x$PRELINK" = xfalse
8782 then
8783 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8787 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8788 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8789 $as_echo_n "(cached) " >&6
8790 else
8791 ac_wine_try_cflags_saved=$CFLAGS
8792 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8794 /* end confdefs.h. */
8795 int main(int argc, char **argv) { return 0; }
8796 _ACEOF
8797 if ac_fn_c_try_link "$LINENO"; then :
8798 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8799 else
8800 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8802 rm -f core conftest.err conftest.$ac_objext \
8803 conftest$ac_exeext conftest.$ac_ext
8804 CFLAGS=$ac_wine_try_cflags_saved
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8807 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8808 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8809 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8812 esac
8814 else
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8816 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8817 if ${ac_cv_c_dll_unixware+:} false; then :
8818 $as_echo_n "(cached) " >&6
8819 else
8820 ac_wine_try_cflags_saved=$CFLAGS
8821 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8823 /* end confdefs.h. */
8824 void myfunc() {}
8825 _ACEOF
8826 if ac_fn_c_try_link "$LINENO"; then :
8827 ac_cv_c_dll_unixware="yes"
8828 else
8829 ac_cv_c_dll_unixware="no"
8831 rm -f core conftest.err conftest.$ac_objext \
8832 conftest$ac_exeext conftest.$ac_ext
8833 CFLAGS=$ac_wine_try_cflags_saved
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8836 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8837 if test "$ac_cv_c_dll_unixware" = "yes"
8838 then
8839 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8842 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8844 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8846 LIBWINE_INSTALL_DEV="libwine.so"
8848 LIBWINE_DEPENDS="wine.map"
8851 esac
8853 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8854 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8855 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8856 enable_winemac_drv=${enable_winemac_drv:-no}
8857 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8859 CROSSTARGET=""
8861 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8862 then
8863 case "$host_cpu" in
8864 aarch64*)
8865 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
8866 arm*)
8867 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8868 i[3456789]86*)
8869 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
8870 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8871 mingw32-gcc" ;;
8872 x86_64)
8873 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
8874 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8876 ac_prefix_list="" ;;
8877 esac
8878 for ac_prog in $ac_prefix_list
8880 # Extract the first word of "$ac_prog", so it can be a program name with args.
8881 set dummy $ac_prog; ac_word=$2
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8883 $as_echo_n "checking for $ac_word... " >&6; }
8884 if ${ac_cv_prog_CROSSCC+:} false; then :
8885 $as_echo_n "(cached) " >&6
8886 else
8887 if test -n "$CROSSCC"; then
8888 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8889 else
8890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8891 for as_dir in $PATH
8893 IFS=$as_save_IFS
8894 test -z "$as_dir" && as_dir=.
8895 for ac_exec_ext in '' $ac_executable_extensions; do
8896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8897 ac_cv_prog_CROSSCC="$ac_prog"
8898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8899 break 2
8901 done
8902 done
8903 IFS=$as_save_IFS
8907 CROSSCC=$ac_cv_prog_CROSSCC
8908 if test -n "$CROSSCC"; then
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8910 $as_echo "$CROSSCC" >&6; }
8911 else
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8913 $as_echo "no" >&6; }
8917 test -n "$CROSSCC" && break
8918 done
8919 test -n "$CROSSCC" || CROSSCC="false"
8921 if test "$CROSSCC" != "false"
8922 then
8923 ac_save_CC="$CC"
8924 CC="$CROSSCC"
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8926 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8928 /* end confdefs.h. */
8931 main ()
8935 return 0;
8937 _ACEOF
8938 if ac_fn_c_try_compile "$LINENO"; then :
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8940 $as_echo "yes" >&6; }
8941 set x $CROSSCC
8942 shift
8943 while test $# -ge 1
8945 case "$1" in
8946 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8947 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8948 esac
8949 shift
8950 done
8951 else
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8953 $as_echo "no" >&6; }
8955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8956 CC="$ac_save_CC"
8957 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8963 if test "$ac_cv_header_pthread_h" = "yes"
8964 then
8965 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8966 if test "x$ac_cv_func_pthread_create" = xyes; then :
8968 else
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8970 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8971 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8972 $as_echo_n "(cached) " >&6
8973 else
8974 ac_check_lib_save_LIBS=$LIBS
8975 LIBS="-lpthread $LIBS"
8976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8977 /* end confdefs.h. */
8979 /* Override any GCC internal prototype to avoid an error.
8980 Use char because int might match the return type of a GCC
8981 builtin and then its argument prototype would still apply. */
8982 #ifdef __cplusplus
8983 extern "C"
8984 #endif
8985 char pthread_create ();
8987 main ()
8989 return pthread_create ();
8991 return 0;
8993 _ACEOF
8994 if ac_fn_c_try_link "$LINENO"; then :
8995 ac_cv_lib_pthread_pthread_create=yes
8996 else
8997 ac_cv_lib_pthread_pthread_create=no
8999 rm -f core conftest.err conftest.$ac_objext \
9000 conftest$ac_exeext conftest.$ac_ext
9001 LIBS=$ac_check_lib_save_LIBS
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9004 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9005 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9006 PTHREAD_LIBS="-lpthread"
9013 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9014 case "x$with_pthread" in
9015 xno) ;;
9016 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9017 Wine cannot support threads without libpthread.
9018 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9019 esac
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9025 $as_echo_n "checking for X... " >&6; }
9028 # Check whether --with-x was given.
9029 if test "${with_x+set}" = set; then :
9030 withval=$with_x;
9033 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9034 if test "x$with_x" = xno; then
9035 # The user explicitly disabled X.
9036 have_x=disabled
9037 else
9038 case $x_includes,$x_libraries in #(
9039 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9040 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9041 $as_echo_n "(cached) " >&6
9042 else
9043 # One or both of the vars are not set, and there is no cached value.
9044 ac_x_includes=no ac_x_libraries=no
9045 rm -f -r conftest.dir
9046 if mkdir conftest.dir; then
9047 cd conftest.dir
9048 cat >Imakefile <<'_ACEOF'
9049 incroot:
9050 @echo incroot='${INCROOT}'
9051 usrlibdir:
9052 @echo usrlibdir='${USRLIBDIR}'
9053 libdir:
9054 @echo libdir='${LIBDIR}'
9055 _ACEOF
9056 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9057 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9058 for ac_var in incroot usrlibdir libdir; do
9059 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9060 done
9061 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9062 for ac_extension in a so sl dylib la dll; do
9063 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9064 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9065 ac_im_usrlibdir=$ac_im_libdir; break
9067 done
9068 # Screen out bogus values from the imake configuration. They are
9069 # bogus both because they are the default anyway, and because
9070 # using them would break gcc on systems where it needs fixed includes.
9071 case $ac_im_incroot in
9072 /usr/include) ac_x_includes= ;;
9073 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9074 esac
9075 case $ac_im_usrlibdir in
9076 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9077 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9078 esac
9080 cd ..
9081 rm -f -r conftest.dir
9084 # Standard set of common directories for X headers.
9085 # Check X11 before X11Rn because it is often a symlink to the current release.
9086 ac_x_header_dirs='
9087 /usr/X11/include
9088 /usr/X11R7/include
9089 /usr/X11R6/include
9090 /usr/X11R5/include
9091 /usr/X11R4/include
9093 /usr/include/X11
9094 /usr/include/X11R7
9095 /usr/include/X11R6
9096 /usr/include/X11R5
9097 /usr/include/X11R4
9099 /usr/local/X11/include
9100 /usr/local/X11R7/include
9101 /usr/local/X11R6/include
9102 /usr/local/X11R5/include
9103 /usr/local/X11R4/include
9105 /usr/local/include/X11
9106 /usr/local/include/X11R7
9107 /usr/local/include/X11R6
9108 /usr/local/include/X11R5
9109 /usr/local/include/X11R4
9111 /usr/X386/include
9112 /usr/x386/include
9113 /usr/XFree86/include/X11
9115 /usr/include
9116 /usr/local/include
9117 /usr/unsupported/include
9118 /usr/athena/include
9119 /usr/local/x11r5/include
9120 /usr/lpp/Xamples/include
9122 /usr/openwin/include
9123 /usr/openwin/share/include'
9125 if test "$ac_x_includes" = no; then
9126 # Guess where to find include files, by looking for Xlib.h.
9127 # First, try using that file with no special directory specified.
9128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9129 /* end confdefs.h. */
9130 #include <X11/Xlib.h>
9131 _ACEOF
9132 if ac_fn_c_try_cpp "$LINENO"; then :
9133 # We can compile using X headers with no special include directory.
9134 ac_x_includes=
9135 else
9136 for ac_dir in $ac_x_header_dirs; do
9137 if test -r "$ac_dir/X11/Xlib.h"; then
9138 ac_x_includes=$ac_dir
9139 break
9141 done
9143 rm -f conftest.err conftest.i conftest.$ac_ext
9144 fi # $ac_x_includes = no
9146 if test "$ac_x_libraries" = no; then
9147 # Check for the libraries.
9148 # See if we find them without any special options.
9149 # Don't add to $LIBS permanently.
9150 ac_save_LIBS=$LIBS
9151 LIBS="-lX11 $LIBS"
9152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9153 /* end confdefs.h. */
9154 #include <X11/Xlib.h>
9156 main ()
9158 XrmInitialize ()
9160 return 0;
9162 _ACEOF
9163 if ac_fn_c_try_link "$LINENO"; then :
9164 LIBS=$ac_save_LIBS
9165 # We can link X programs with no special library path.
9166 ac_x_libraries=
9167 else
9168 LIBS=$ac_save_LIBS
9169 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9171 # Don't even attempt the hair of trying to link an X program!
9172 for ac_extension in a so sl dylib la dll; do
9173 if test -r "$ac_dir/libX11.$ac_extension"; then
9174 ac_x_libraries=$ac_dir
9175 break 2
9177 done
9178 done
9180 rm -f core conftest.err conftest.$ac_objext \
9181 conftest$ac_exeext conftest.$ac_ext
9182 fi # $ac_x_libraries = no
9184 case $ac_x_includes,$ac_x_libraries in #(
9185 no,* | *,no | *\'*)
9186 # Didn't find X, or a directory has "'" in its name.
9187 ac_cv_have_x="have_x=no";; #(
9189 # Record where we found X for the cache.
9190 ac_cv_have_x="have_x=yes\
9191 ac_x_includes='$ac_x_includes'\
9192 ac_x_libraries='$ac_x_libraries'"
9193 esac
9195 ;; #(
9196 *) have_x=yes;;
9197 esac
9198 eval "$ac_cv_have_x"
9199 fi # $with_x != no
9201 if test "$have_x" != yes; then
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9203 $as_echo "$have_x" >&6; }
9204 no_x=yes
9205 else
9206 # If each of the values was on the command line, it overrides each guess.
9207 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9208 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9209 # Update the cache value to reflect the command line values.
9210 ac_cv_have_x="have_x=yes\
9211 ac_x_includes='$x_includes'\
9212 ac_x_libraries='$x_libraries'"
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9214 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9217 if test "$no_x" = yes; then
9218 # Not all programs may use this symbol, but it does not hurt to define it.
9220 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9222 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9223 else
9224 if test -n "$x_includes"; then
9225 X_CFLAGS="$X_CFLAGS -I$x_includes"
9228 # It would also be nice to do this for all -L options, not just this one.
9229 if test -n "$x_libraries"; then
9230 X_LIBS="$X_LIBS -L$x_libraries"
9231 # For Solaris; some versions of Sun CC require a space after -R and
9232 # others require no space. Words are not sufficient . . . .
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9234 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9235 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9236 ac_xsave_c_werror_flag=$ac_c_werror_flag
9237 ac_c_werror_flag=yes
9238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9239 /* end confdefs.h. */
9242 main ()
9246 return 0;
9248 _ACEOF
9249 if ac_fn_c_try_link "$LINENO"; then :
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9251 $as_echo "no" >&6; }
9252 X_LIBS="$X_LIBS -R$x_libraries"
9253 else
9254 LIBS="$ac_xsave_LIBS -R $x_libraries"
9255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9256 /* end confdefs.h. */
9259 main ()
9263 return 0;
9265 _ACEOF
9266 if ac_fn_c_try_link "$LINENO"; then :
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9268 $as_echo "yes" >&6; }
9269 X_LIBS="$X_LIBS -R $x_libraries"
9270 else
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9272 $as_echo "neither works" >&6; }
9274 rm -f core conftest.err conftest.$ac_objext \
9275 conftest$ac_exeext conftest.$ac_ext
9277 rm -f core conftest.err conftest.$ac_objext \
9278 conftest$ac_exeext conftest.$ac_ext
9279 ac_c_werror_flag=$ac_xsave_c_werror_flag
9280 LIBS=$ac_xsave_LIBS
9283 # Check for system-dependent libraries X programs must link with.
9284 # Do this before checking for the system-independent R6 libraries
9285 # (-lICE), since we may need -lsocket or whatever for X linking.
9287 if test "$ISC" = yes; then
9288 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9289 else
9290 # Martyn Johnson says this is needed for Ultrix, if the X
9291 # libraries were built with DECnet support. And Karl Berry says
9292 # the Alpha needs dnet_stub (dnet does not exist).
9293 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9295 /* end confdefs.h. */
9297 /* Override any GCC internal prototype to avoid an error.
9298 Use char because int might match the return type of a GCC
9299 builtin and then its argument prototype would still apply. */
9300 #ifdef __cplusplus
9301 extern "C"
9302 #endif
9303 char XOpenDisplay ();
9305 main ()
9307 return XOpenDisplay ();
9309 return 0;
9311 _ACEOF
9312 if ac_fn_c_try_link "$LINENO"; then :
9314 else
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9316 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9317 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9318 $as_echo_n "(cached) " >&6
9319 else
9320 ac_check_lib_save_LIBS=$LIBS
9321 LIBS="-ldnet $LIBS"
9322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9323 /* end confdefs.h. */
9325 /* Override any GCC internal prototype to avoid an error.
9326 Use char because int might match the return type of a GCC
9327 builtin and then its argument prototype would still apply. */
9328 #ifdef __cplusplus
9329 extern "C"
9330 #endif
9331 char dnet_ntoa ();
9333 main ()
9335 return dnet_ntoa ();
9337 return 0;
9339 _ACEOF
9340 if ac_fn_c_try_link "$LINENO"; then :
9341 ac_cv_lib_dnet_dnet_ntoa=yes
9342 else
9343 ac_cv_lib_dnet_dnet_ntoa=no
9345 rm -f core conftest.err conftest.$ac_objext \
9346 conftest$ac_exeext conftest.$ac_ext
9347 LIBS=$ac_check_lib_save_LIBS
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9350 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9351 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9352 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9355 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9357 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9358 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9359 $as_echo_n "(cached) " >&6
9360 else
9361 ac_check_lib_save_LIBS=$LIBS
9362 LIBS="-ldnet_stub $LIBS"
9363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9364 /* end confdefs.h. */
9366 /* Override any GCC internal prototype to avoid an error.
9367 Use char because int might match the return type of a GCC
9368 builtin and then its argument prototype would still apply. */
9369 #ifdef __cplusplus
9370 extern "C"
9371 #endif
9372 char dnet_ntoa ();
9374 main ()
9376 return dnet_ntoa ();
9378 return 0;
9380 _ACEOF
9381 if ac_fn_c_try_link "$LINENO"; then :
9382 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9383 else
9384 ac_cv_lib_dnet_stub_dnet_ntoa=no
9386 rm -f core conftest.err conftest.$ac_objext \
9387 conftest$ac_exeext conftest.$ac_ext
9388 LIBS=$ac_check_lib_save_LIBS
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9391 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9392 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9393 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9398 rm -f core conftest.err conftest.$ac_objext \
9399 conftest$ac_exeext conftest.$ac_ext
9400 LIBS="$ac_xsave_LIBS"
9402 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9403 # to get the SysV transport functions.
9404 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9405 # needs -lnsl.
9406 # The nsl library prevents programs from opening the X display
9407 # on Irix 5.2, according to T.E. Dickey.
9408 # The functions gethostbyname, getservbyname, and inet_addr are
9409 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9410 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9411 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9415 if test $ac_cv_func_gethostbyname = no; then
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9417 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9418 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9419 $as_echo_n "(cached) " >&6
9420 else
9421 ac_check_lib_save_LIBS=$LIBS
9422 LIBS="-lnsl $LIBS"
9423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9424 /* end confdefs.h. */
9426 /* Override any GCC internal prototype to avoid an error.
9427 Use char because int might match the return type of a GCC
9428 builtin and then its argument prototype would still apply. */
9429 #ifdef __cplusplus
9430 extern "C"
9431 #endif
9432 char gethostbyname ();
9434 main ()
9436 return gethostbyname ();
9438 return 0;
9440 _ACEOF
9441 if ac_fn_c_try_link "$LINENO"; then :
9442 ac_cv_lib_nsl_gethostbyname=yes
9443 else
9444 ac_cv_lib_nsl_gethostbyname=no
9446 rm -f core conftest.err conftest.$ac_objext \
9447 conftest$ac_exeext conftest.$ac_ext
9448 LIBS=$ac_check_lib_save_LIBS
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9451 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9452 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9453 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9456 if test $ac_cv_lib_nsl_gethostbyname = no; then
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9458 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9459 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9460 $as_echo_n "(cached) " >&6
9461 else
9462 ac_check_lib_save_LIBS=$LIBS
9463 LIBS="-lbsd $LIBS"
9464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9465 /* end confdefs.h. */
9467 /* Override any GCC internal prototype to avoid an error.
9468 Use char because int might match the return type of a GCC
9469 builtin and then its argument prototype would still apply. */
9470 #ifdef __cplusplus
9471 extern "C"
9472 #endif
9473 char gethostbyname ();
9475 main ()
9477 return gethostbyname ();
9479 return 0;
9481 _ACEOF
9482 if ac_fn_c_try_link "$LINENO"; then :
9483 ac_cv_lib_bsd_gethostbyname=yes
9484 else
9485 ac_cv_lib_bsd_gethostbyname=no
9487 rm -f core conftest.err conftest.$ac_objext \
9488 conftest$ac_exeext conftest.$ac_ext
9489 LIBS=$ac_check_lib_save_LIBS
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9492 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9493 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9494 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9500 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9501 # socket/setsockopt and other routines are undefined under SCO ODT
9502 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9503 # on later versions), says Simon Leinen: it contains gethostby*
9504 # variants that don't use the name server (or something). -lsocket
9505 # must be given before -lnsl if both are needed. We assume that
9506 # if connect needs -lnsl, so does gethostbyname.
9507 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9508 if test "x$ac_cv_func_connect" = xyes; then :
9512 if test $ac_cv_func_connect = no; then
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9514 $as_echo_n "checking for connect in -lsocket... " >&6; }
9515 if ${ac_cv_lib_socket_connect+:} false; then :
9516 $as_echo_n "(cached) " >&6
9517 else
9518 ac_check_lib_save_LIBS=$LIBS
9519 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9521 /* end confdefs.h. */
9523 /* Override any GCC internal prototype to avoid an error.
9524 Use char because int might match the return type of a GCC
9525 builtin and then its argument prototype would still apply. */
9526 #ifdef __cplusplus
9527 extern "C"
9528 #endif
9529 char connect ();
9531 main ()
9533 return connect ();
9535 return 0;
9537 _ACEOF
9538 if ac_fn_c_try_link "$LINENO"; then :
9539 ac_cv_lib_socket_connect=yes
9540 else
9541 ac_cv_lib_socket_connect=no
9543 rm -f core conftest.err conftest.$ac_objext \
9544 conftest$ac_exeext conftest.$ac_ext
9545 LIBS=$ac_check_lib_save_LIBS
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9548 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9549 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9550 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9555 # Guillermo Gomez says -lposix is necessary on A/UX.
9556 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9557 if test "x$ac_cv_func_remove" = xyes; then :
9561 if test $ac_cv_func_remove = no; then
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9563 $as_echo_n "checking for remove in -lposix... " >&6; }
9564 if ${ac_cv_lib_posix_remove+:} false; then :
9565 $as_echo_n "(cached) " >&6
9566 else
9567 ac_check_lib_save_LIBS=$LIBS
9568 LIBS="-lposix $LIBS"
9569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9570 /* end confdefs.h. */
9572 /* Override any GCC internal prototype to avoid an error.
9573 Use char because int might match the return type of a GCC
9574 builtin and then its argument prototype would still apply. */
9575 #ifdef __cplusplus
9576 extern "C"
9577 #endif
9578 char remove ();
9580 main ()
9582 return remove ();
9584 return 0;
9586 _ACEOF
9587 if ac_fn_c_try_link "$LINENO"; then :
9588 ac_cv_lib_posix_remove=yes
9589 else
9590 ac_cv_lib_posix_remove=no
9592 rm -f core conftest.err conftest.$ac_objext \
9593 conftest$ac_exeext conftest.$ac_ext
9594 LIBS=$ac_check_lib_save_LIBS
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9597 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9598 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9599 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9604 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9605 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9606 if test "x$ac_cv_func_shmat" = xyes; then :
9610 if test $ac_cv_func_shmat = no; then
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9612 $as_echo_n "checking for shmat in -lipc... " >&6; }
9613 if ${ac_cv_lib_ipc_shmat+:} false; then :
9614 $as_echo_n "(cached) " >&6
9615 else
9616 ac_check_lib_save_LIBS=$LIBS
9617 LIBS="-lipc $LIBS"
9618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9619 /* end confdefs.h. */
9621 /* Override any GCC internal prototype to avoid an error.
9622 Use char because int might match the return type of a GCC
9623 builtin and then its argument prototype would still apply. */
9624 #ifdef __cplusplus
9625 extern "C"
9626 #endif
9627 char shmat ();
9629 main ()
9631 return shmat ();
9633 return 0;
9635 _ACEOF
9636 if ac_fn_c_try_link "$LINENO"; then :
9637 ac_cv_lib_ipc_shmat=yes
9638 else
9639 ac_cv_lib_ipc_shmat=no
9641 rm -f core conftest.err conftest.$ac_objext \
9642 conftest$ac_exeext conftest.$ac_ext
9643 LIBS=$ac_check_lib_save_LIBS
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9646 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9647 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9648 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9654 # Check for libraries that X11R6 Xt/Xaw programs need.
9655 ac_save_LDFLAGS=$LDFLAGS
9656 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9657 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9658 # check for ICE first), but we must link in the order -lSM -lICE or
9659 # we get undefined symbols. So assume we have SM if we have ICE.
9660 # These have to be linked with before -lX11, unlike the other
9661 # libraries we check for below, so use a different variable.
9662 # John Interrante, Karl Berry
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9664 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9665 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9666 $as_echo_n "(cached) " >&6
9667 else
9668 ac_check_lib_save_LIBS=$LIBS
9669 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9671 /* end confdefs.h. */
9673 /* Override any GCC internal prototype to avoid an error.
9674 Use char because int might match the return type of a GCC
9675 builtin and then its argument prototype would still apply. */
9676 #ifdef __cplusplus
9677 extern "C"
9678 #endif
9679 char IceConnectionNumber ();
9681 main ()
9683 return IceConnectionNumber ();
9685 return 0;
9687 _ACEOF
9688 if ac_fn_c_try_link "$LINENO"; then :
9689 ac_cv_lib_ICE_IceConnectionNumber=yes
9690 else
9691 ac_cv_lib_ICE_IceConnectionNumber=no
9693 rm -f core conftest.err conftest.$ac_objext \
9694 conftest$ac_exeext conftest.$ac_ext
9695 LIBS=$ac_check_lib_save_LIBS
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9698 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9699 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9700 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9703 LDFLAGS=$ac_save_LDFLAGS
9708 if test "$have_x" = "yes"
9709 then
9710 ac_save_CPPFLAGS="$CPPFLAGS"
9711 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9714 $as_echo_n "checking for -lX11... " >&6; }
9715 if ${ac_cv_lib_soname_X11+:} false; then :
9716 $as_echo_n "(cached) " >&6
9717 else
9718 ac_check_soname_save_LIBS=$LIBS
9719 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9721 /* end confdefs.h. */
9723 /* Override any GCC internal prototype to avoid an error.
9724 Use char because int might match the return type of a GCC
9725 builtin and then its argument prototype would still apply. */
9726 #ifdef __cplusplus
9727 extern "C"
9728 #endif
9729 char XCreateWindow ();
9731 main ()
9733 return XCreateWindow ();
9735 return 0;
9737 _ACEOF
9738 if ac_fn_c_try_link "$LINENO"; then :
9739 case "$LIBEXT" in
9740 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9741 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'` ;;
9742 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9743 if ${ac_cv_lib_soname_X11:+false} :; then :
9744 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9745 fi ;;
9746 esac
9748 rm -f core conftest.err conftest.$ac_objext \
9749 conftest$ac_exeext conftest.$ac_ext
9750 LIBS=$ac_check_soname_save_LIBS
9752 if ${ac_cv_lib_soname_X11:+false} :; then :
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9754 $as_echo "not found" >&6; }
9756 else
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9758 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9760 cat >>confdefs.h <<_ACEOF
9761 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9762 _ACEOF
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9767 $as_echo_n "checking for -lXext... " >&6; }
9768 if ${ac_cv_lib_soname_Xext+:} false; then :
9769 $as_echo_n "(cached) " >&6
9770 else
9771 ac_check_soname_save_LIBS=$LIBS
9772 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9774 /* end confdefs.h. */
9776 /* Override any GCC internal prototype to avoid an error.
9777 Use char because int might match the return type of a GCC
9778 builtin and then its argument prototype would still apply. */
9779 #ifdef __cplusplus
9780 extern "C"
9781 #endif
9782 char XextCreateExtension ();
9784 main ()
9786 return XextCreateExtension ();
9788 return 0;
9790 _ACEOF
9791 if ac_fn_c_try_link "$LINENO"; then :
9792 case "$LIBEXT" in
9793 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9794 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'` ;;
9795 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9796 if ${ac_cv_lib_soname_Xext:+false} :; then :
9797 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9798 fi ;;
9799 esac
9801 rm -f core conftest.err conftest.$ac_objext \
9802 conftest$ac_exeext conftest.$ac_ext
9803 LIBS=$ac_check_soname_save_LIBS
9805 if ${ac_cv_lib_soname_Xext:+false} :; then :
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9807 $as_echo "not found" >&6; }
9809 else
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9811 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9813 cat >>confdefs.h <<_ACEOF
9814 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9815 _ACEOF
9817 X_LIBS="$X_LIBS -lXext"
9819 X_LIBS="$X_LIBS -lX11"
9821 for ac_header in X11/Xlib.h \
9822 X11/XKBlib.h \
9823 X11/Xutil.h \
9824 X11/Xcursor/Xcursor.h \
9825 X11/extensions/shape.h \
9826 X11/extensions/XInput.h \
9827 X11/extensions/XInput2.h \
9828 X11/extensions/XShm.h \
9829 X11/extensions/Xcomposite.h \
9830 X11/extensions/Xfixes.h \
9831 X11/extensions/Xinerama.h \
9832 X11/extensions/Xrandr.h \
9833 X11/extensions/Xrender.h \
9834 X11/extensions/xf86vmode.h \
9835 X11/extensions/xf86vmproto.h
9836 do :
9837 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9838 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9839 # include <X11/Xlib.h>
9840 #endif
9841 #ifdef HAVE_X11_XUTIL_H
9842 # include <X11/Xutil.h>
9843 #endif
9845 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9846 cat >>confdefs.h <<_ACEOF
9847 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9848 _ACEOF
9852 done
9855 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9856 then
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9858 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9859 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9860 $as_echo_n "(cached) " >&6
9861 else
9862 ac_check_lib_save_LIBS=$LIBS
9863 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9865 /* end confdefs.h. */
9867 /* Override any GCC internal prototype to avoid an error.
9868 Use char because int might match the return type of a GCC
9869 builtin and then its argument prototype would still apply. */
9870 #ifdef __cplusplus
9871 extern "C"
9872 #endif
9873 char XkbQueryExtension ();
9875 main ()
9877 return XkbQueryExtension ();
9879 return 0;
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883 ac_cv_lib_X11_XkbQueryExtension=yes
9884 else
9885 ac_cv_lib_X11_XkbQueryExtension=no
9887 rm -f core conftest.err conftest.$ac_objext \
9888 conftest$ac_exeext conftest.$ac_ext
9889 LIBS=$ac_check_lib_save_LIBS
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9892 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9893 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9895 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9901 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9902 then
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9904 $as_echo_n "checking for -lXcursor... " >&6; }
9905 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9906 $as_echo_n "(cached) " >&6
9907 else
9908 ac_check_soname_save_LIBS=$LIBS
9909 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9911 /* end confdefs.h. */
9913 /* Override any GCC internal prototype to avoid an error.
9914 Use char because int might match the return type of a GCC
9915 builtin and then its argument prototype would still apply. */
9916 #ifdef __cplusplus
9917 extern "C"
9918 #endif
9919 char XcursorImageLoadCursor ();
9921 main ()
9923 return XcursorImageLoadCursor ();
9925 return 0;
9927 _ACEOF
9928 if ac_fn_c_try_link "$LINENO"; then :
9929 case "$LIBEXT" in
9930 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9931 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'` ;;
9932 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9933 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9934 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9935 fi ;;
9936 esac
9938 rm -f core conftest.err conftest.$ac_objext \
9939 conftest$ac_exeext conftest.$ac_ext
9940 LIBS=$ac_check_soname_save_LIBS
9942 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9944 $as_echo "not found" >&6; }
9946 else
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9948 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9950 cat >>confdefs.h <<_ACEOF
9951 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9952 _ACEOF
9957 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9958 case "x$with_xcursor" in
9959 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9960 xno) ;;
9961 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9962 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9963 esac
9967 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9968 then
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9970 $as_echo_n "checking for -lXi... " >&6; }
9971 if ${ac_cv_lib_soname_Xi+:} false; then :
9972 $as_echo_n "(cached) " >&6
9973 else
9974 ac_check_soname_save_LIBS=$LIBS
9975 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9977 /* end confdefs.h. */
9979 /* Override any GCC internal prototype to avoid an error.
9980 Use char because int might match the return type of a GCC
9981 builtin and then its argument prototype would still apply. */
9982 #ifdef __cplusplus
9983 extern "C"
9984 #endif
9985 char XOpenDevice ();
9987 main ()
9989 return XOpenDevice ();
9991 return 0;
9993 _ACEOF
9994 if ac_fn_c_try_link "$LINENO"; then :
9995 case "$LIBEXT" in
9996 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9997 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'` ;;
9998 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9999 if ${ac_cv_lib_soname_Xi:+false} :; then :
10000 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10001 fi ;;
10002 esac
10004 rm -f core conftest.err conftest.$ac_objext \
10005 conftest$ac_exeext conftest.$ac_ext
10006 LIBS=$ac_check_soname_save_LIBS
10008 if ${ac_cv_lib_soname_Xi:+false} :; then :
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10010 $as_echo "not found" >&6; }
10012 else
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10014 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10016 cat >>confdefs.h <<_ACEOF
10017 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10018 _ACEOF
10023 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10024 case "x$with_xinput" in
10025 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10026 xno) ;;
10027 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10028 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10029 esac
10033 if test "x$ac_cv_lib_soname_Xi" != x
10034 then
10035 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10036 case "x$with_xinput2" in
10037 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10038 xno) ;;
10039 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10040 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10041 esac
10046 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10047 then
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10049 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10050 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10051 $as_echo_n "(cached) " >&6
10052 else
10053 ac_check_lib_save_LIBS=$LIBS
10054 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10056 /* end confdefs.h. */
10058 /* Override any GCC internal prototype to avoid an error.
10059 Use char because int might match the return type of a GCC
10060 builtin and then its argument prototype would still apply. */
10061 #ifdef __cplusplus
10062 extern "C"
10063 #endif
10064 char XShmQueryExtension ();
10066 main ()
10068 return XShmQueryExtension ();
10070 return 0;
10072 _ACEOF
10073 if ac_fn_c_try_link "$LINENO"; then :
10074 ac_cv_lib_Xext_XShmQueryExtension=yes
10075 else
10076 ac_cv_lib_Xext_XShmQueryExtension=no
10078 rm -f core conftest.err conftest.$ac_objext \
10079 conftest$ac_exeext conftest.$ac_ext
10080 LIBS=$ac_check_lib_save_LIBS
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10083 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10084 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10086 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10091 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10092 case "x$with_xshm" in
10093 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10094 xno) ;;
10095 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10096 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10097 esac
10101 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10102 then
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10104 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10105 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10106 $as_echo_n "(cached) " >&6
10107 else
10108 ac_check_lib_save_LIBS=$LIBS
10109 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10111 /* end confdefs.h. */
10113 /* Override any GCC internal prototype to avoid an error.
10114 Use char because int might match the return type of a GCC
10115 builtin and then its argument prototype would still apply. */
10116 #ifdef __cplusplus
10117 extern "C"
10118 #endif
10119 char XShapeQueryExtension ();
10121 main ()
10123 return XShapeQueryExtension ();
10125 return 0;
10127 _ACEOF
10128 if ac_fn_c_try_link "$LINENO"; then :
10129 ac_cv_lib_Xext_XShapeQueryExtension=yes
10130 else
10131 ac_cv_lib_Xext_XShapeQueryExtension=no
10133 rm -f core conftest.err conftest.$ac_objext \
10134 conftest$ac_exeext conftest.$ac_ext
10135 LIBS=$ac_check_lib_save_LIBS
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10138 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10139 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10141 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10146 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10147 case "x$with_xshape" in
10148 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10149 xno) ;;
10150 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10151 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10152 esac
10156 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10157 then
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10159 $as_echo_n "checking for -lXxf86vm... " >&6; }
10160 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10161 $as_echo_n "(cached) " >&6
10162 else
10163 ac_check_soname_save_LIBS=$LIBS
10164 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10166 /* end confdefs.h. */
10168 /* Override any GCC internal prototype to avoid an error.
10169 Use char because int might match the return type of a GCC
10170 builtin and then its argument prototype would still apply. */
10171 #ifdef __cplusplus
10172 extern "C"
10173 #endif
10174 char XF86VidModeQueryExtension ();
10176 main ()
10178 return XF86VidModeQueryExtension ();
10180 return 0;
10182 _ACEOF
10183 if ac_fn_c_try_link "$LINENO"; then :
10184 case "$LIBEXT" in
10185 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10186 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'` ;;
10187 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10188 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10189 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10190 fi ;;
10191 esac
10193 rm -f core conftest.err conftest.$ac_objext \
10194 conftest$ac_exeext conftest.$ac_ext
10195 LIBS=$ac_check_soname_save_LIBS
10197 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10199 $as_echo "not found" >&6; }
10201 else
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10203 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10205 cat >>confdefs.h <<_ACEOF
10206 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10207 _ACEOF
10212 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10213 case "x$with_xxf86vm" in
10214 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10215 xno) ;;
10216 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10217 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10218 esac
10222 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10223 then
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10225 $as_echo_n "checking for -lXrender... " >&6; }
10226 if ${ac_cv_lib_soname_Xrender+:} false; then :
10227 $as_echo_n "(cached) " >&6
10228 else
10229 ac_check_soname_save_LIBS=$LIBS
10230 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10232 /* end confdefs.h. */
10234 /* Override any GCC internal prototype to avoid an error.
10235 Use char because int might match the return type of a GCC
10236 builtin and then its argument prototype would still apply. */
10237 #ifdef __cplusplus
10238 extern "C"
10239 #endif
10240 char XRenderQueryExtension ();
10242 main ()
10244 return XRenderQueryExtension ();
10246 return 0;
10248 _ACEOF
10249 if ac_fn_c_try_link "$LINENO"; then :
10250 case "$LIBEXT" in
10251 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10252 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'` ;;
10253 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10254 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10255 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10256 fi ;;
10257 esac
10259 rm -f core conftest.err conftest.$ac_objext \
10260 conftest$ac_exeext conftest.$ac_ext
10261 LIBS=$ac_check_soname_save_LIBS
10263 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10265 $as_echo "not found" >&6; }
10267 else
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10269 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10271 cat >>confdefs.h <<_ACEOF
10272 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10273 _ACEOF
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10276 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10277 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10278 $as_echo_n "(cached) " >&6
10279 else
10280 ac_check_lib_save_LIBS=$LIBS
10281 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10283 /* end confdefs.h. */
10285 /* Override any GCC internal prototype to avoid an error.
10286 Use char because int might match the return type of a GCC
10287 builtin and then its argument prototype would still apply. */
10288 #ifdef __cplusplus
10289 extern "C"
10290 #endif
10291 char XRenderSetPictureTransform ();
10293 main ()
10295 return XRenderSetPictureTransform ();
10297 return 0;
10299 _ACEOF
10300 if ac_fn_c_try_link "$LINENO"; then :
10301 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10302 else
10303 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10305 rm -f core conftest.err conftest.$ac_objext \
10306 conftest$ac_exeext conftest.$ac_ext
10307 LIBS=$ac_check_lib_save_LIBS
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10310 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10311 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10313 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10318 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10319 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10320 $as_echo_n "(cached) " >&6
10321 else
10322 ac_check_lib_save_LIBS=$LIBS
10323 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10325 /* end confdefs.h. */
10327 /* Override any GCC internal prototype to avoid an error.
10328 Use char because int might match the return type of a GCC
10329 builtin and then its argument prototype would still apply. */
10330 #ifdef __cplusplus
10331 extern "C"
10332 #endif
10333 char XRenderCreateLinearGradient ();
10335 main ()
10337 return XRenderCreateLinearGradient ();
10339 return 0;
10341 _ACEOF
10342 if ac_fn_c_try_link "$LINENO"; then :
10343 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10344 else
10345 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10347 rm -f core conftest.err conftest.$ac_objext \
10348 conftest$ac_exeext conftest.$ac_ext
10349 LIBS=$ac_check_lib_save_LIBS
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10352 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10353 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10355 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10362 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10363 case "x$with_xrender" in
10364 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10365 xno) ;;
10366 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10367 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10368 esac
10372 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10373 then
10374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10375 /* end confdefs.h. */
10376 #include <X11/Xlib.h>
10377 #include <X11/extensions/Xrandr.h>
10379 main ()
10381 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10383 return 0;
10385 _ACEOF
10386 if ac_fn_c_try_compile "$LINENO"; then :
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10388 $as_echo_n "checking for -lXrandr... " >&6; }
10389 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10390 $as_echo_n "(cached) " >&6
10391 else
10392 ac_check_soname_save_LIBS=$LIBS
10393 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10395 /* end confdefs.h. */
10397 /* Override any GCC internal prototype to avoid an error.
10398 Use char because int might match the return type of a GCC
10399 builtin and then its argument prototype would still apply. */
10400 #ifdef __cplusplus
10401 extern "C"
10402 #endif
10403 char XRRQueryExtension ();
10405 main ()
10407 return XRRQueryExtension ();
10409 return 0;
10411 _ACEOF
10412 if ac_fn_c_try_link "$LINENO"; then :
10413 case "$LIBEXT" in
10414 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10415 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'` ;;
10416 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10417 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10418 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10419 fi ;;
10420 esac
10422 rm -f core conftest.err conftest.$ac_objext \
10423 conftest$ac_exeext conftest.$ac_ext
10424 LIBS=$ac_check_soname_save_LIBS
10426 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10428 $as_echo "not found" >&6; }
10430 else
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10432 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10434 cat >>confdefs.h <<_ACEOF
10435 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10436 _ACEOF
10438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10439 /* end confdefs.h. */
10440 #include <X11/Xlib.h>
10441 #include <X11/extensions/Xrandr.h>
10443 main ()
10445 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10447 return 0;
10449 _ACEOF
10450 if ac_fn_c_try_compile "$LINENO"; then :
10452 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10460 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10461 case "x$with_xrandr" in
10462 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10463 xno) ;;
10464 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10465 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10466 esac
10470 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10471 then
10472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10473 /* end confdefs.h. */
10474 #include <X11/Xlib.h>
10475 #include <X11/extensions/Xfixes.h>
10477 main ()
10479 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10481 return 0;
10483 _ACEOF
10484 if ac_fn_c_try_compile "$LINENO"; then :
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10486 $as_echo_n "checking for -lXfixes... " >&6; }
10487 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10488 $as_echo_n "(cached) " >&6
10489 else
10490 ac_check_soname_save_LIBS=$LIBS
10491 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10493 /* end confdefs.h. */
10495 /* Override any GCC internal prototype to avoid an error.
10496 Use char because int might match the return type of a GCC
10497 builtin and then its argument prototype would still apply. */
10498 #ifdef __cplusplus
10499 extern "C"
10500 #endif
10501 char XFixesQueryVersion ();
10503 main ()
10505 return XFixesQueryVersion ();
10507 return 0;
10509 _ACEOF
10510 if ac_fn_c_try_link "$LINENO"; then :
10511 case "$LIBEXT" in
10512 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10513 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'` ;;
10514 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10515 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10516 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10517 fi ;;
10518 esac
10520 rm -f core conftest.err conftest.$ac_objext \
10521 conftest$ac_exeext conftest.$ac_ext
10522 LIBS=$ac_check_soname_save_LIBS
10524 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10526 $as_echo "not found" >&6; }
10528 else
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10530 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10532 cat >>confdefs.h <<_ACEOF
10533 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10534 _ACEOF
10539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10541 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10542 case "x$with_xfixes" in
10543 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10544 xno) ;;
10545 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10546 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10547 esac
10551 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10552 then
10553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10554 /* end confdefs.h. */
10555 #include <X11/Xlib.h>
10556 #include <X11/extensions/Xinerama.h>
10558 main ()
10560 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10562 return 0;
10564 _ACEOF
10565 if ac_fn_c_try_compile "$LINENO"; then :
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10567 $as_echo_n "checking for -lXinerama... " >&6; }
10568 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10569 $as_echo_n "(cached) " >&6
10570 else
10571 ac_check_soname_save_LIBS=$LIBS
10572 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10574 /* end confdefs.h. */
10576 /* Override any GCC internal prototype to avoid an error.
10577 Use char because int might match the return type of a GCC
10578 builtin and then its argument prototype would still apply. */
10579 #ifdef __cplusplus
10580 extern "C"
10581 #endif
10582 char XineramaQueryScreens ();
10584 main ()
10586 return XineramaQueryScreens ();
10588 return 0;
10590 _ACEOF
10591 if ac_fn_c_try_link "$LINENO"; then :
10592 case "$LIBEXT" in
10593 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10594 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'` ;;
10595 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10596 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10597 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10598 fi ;;
10599 esac
10601 rm -f core conftest.err conftest.$ac_objext \
10602 conftest$ac_exeext conftest.$ac_ext
10603 LIBS=$ac_check_soname_save_LIBS
10605 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10607 $as_echo "not found" >&6; }
10609 else
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10611 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10613 cat >>confdefs.h <<_ACEOF
10614 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10615 _ACEOF
10620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10622 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10623 case "x$with_xinerama" in
10624 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10625 xno) ;;
10626 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10627 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10628 esac
10632 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10633 then
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10635 $as_echo_n "checking for -lXcomposite... " >&6; }
10636 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10637 $as_echo_n "(cached) " >&6
10638 else
10639 ac_check_soname_save_LIBS=$LIBS
10640 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10642 /* end confdefs.h. */
10644 /* Override any GCC internal prototype to avoid an error.
10645 Use char because int might match the return type of a GCC
10646 builtin and then its argument prototype would still apply. */
10647 #ifdef __cplusplus
10648 extern "C"
10649 #endif
10650 char XCompositeRedirectWindow ();
10652 main ()
10654 return XCompositeRedirectWindow ();
10656 return 0;
10658 _ACEOF
10659 if ac_fn_c_try_link "$LINENO"; then :
10660 case "$LIBEXT" in
10661 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10662 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'` ;;
10663 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10664 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10665 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10666 fi ;;
10667 esac
10669 rm -f core conftest.err conftest.$ac_objext \
10670 conftest$ac_exeext conftest.$ac_ext
10671 LIBS=$ac_check_soname_save_LIBS
10673 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10675 $as_echo "not found" >&6; }
10677 else
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10679 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10681 cat >>confdefs.h <<_ACEOF
10682 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10683 _ACEOF
10688 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10689 case "x$with_xcomposite" in
10690 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10691 xno) ;;
10692 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10693 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10694 esac
10698 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10699 #include <X11/Xlib.h>
10700 #endif
10702 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10704 cat >>confdefs.h <<_ACEOF
10705 #define HAVE_XICCALLBACK_CALLBACK 1
10706 _ACEOF
10710 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10711 #include <X11/Xlib.h>
10712 #endif
10714 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10716 cat >>confdefs.h <<_ACEOF
10717 #define HAVE_XEVENT_XCOOKIE 1
10718 _ACEOF
10725 opengl_msg=""
10726 if test "x$with_opengl" != "xno"
10727 then
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10729 $as_echo_n "checking for -lGL... " >&6; }
10730 if ${ac_cv_lib_soname_GL+:} false; then :
10731 $as_echo_n "(cached) " >&6
10732 else
10733 ac_check_soname_save_LIBS=$LIBS
10734 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10736 /* end confdefs.h. */
10738 /* Override any GCC internal prototype to avoid an error.
10739 Use char because int might match the return type of a GCC
10740 builtin and then its argument prototype would still apply. */
10741 #ifdef __cplusplus
10742 extern "C"
10743 #endif
10744 char glXCreateContext ();
10746 main ()
10748 return glXCreateContext ();
10750 return 0;
10752 _ACEOF
10753 if ac_fn_c_try_link "$LINENO"; then :
10754 case "$LIBEXT" in
10755 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10756 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'` ;;
10757 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10758 if ${ac_cv_lib_soname_GL:+false} :; then :
10759 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10760 fi ;;
10761 esac
10763 rm -f core conftest.err conftest.$ac_objext \
10764 conftest$ac_exeext conftest.$ac_ext
10765 LIBS=$ac_check_soname_save_LIBS
10767 if ${ac_cv_lib_soname_GL:+false} :; then :
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10769 $as_echo "not found" >&6; }
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10771 $as_echo_n "checking for -lGL... " >&6; }
10772 if ${ac_cv_lib_soname_GL+:} false; then :
10773 $as_echo_n "(cached) " >&6
10774 else
10775 ac_check_soname_save_LIBS=$LIBS
10776 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"
10777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10778 /* end confdefs.h. */
10780 /* Override any GCC internal prototype to avoid an error.
10781 Use char because int might match the return type of a GCC
10782 builtin and then its argument prototype would still apply. */
10783 #ifdef __cplusplus
10784 extern "C"
10785 #endif
10786 char glXCreateContext ();
10788 main ()
10790 return glXCreateContext ();
10792 return 0;
10794 _ACEOF
10795 if ac_fn_c_try_link "$LINENO"; then :
10796 case "$LIBEXT" in
10797 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10798 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'` ;;
10799 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10800 if ${ac_cv_lib_soname_GL:+false} :; then :
10801 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10802 fi ;;
10803 esac
10805 rm -f core conftest.err conftest.$ac_objext \
10806 conftest$ac_exeext conftest.$ac_ext
10807 LIBS=$ac_check_soname_save_LIBS
10809 if ${ac_cv_lib_soname_GL:+false} :; then :
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10811 $as_echo "not found" >&6; }
10812 if test -f /usr/X11R6/lib/libGL.a
10813 then
10814 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10815 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10816 else
10817 opengl_msg="No OpenGL library found on this system."
10819 else
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10821 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10823 cat >>confdefs.h <<_ACEOF
10824 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10825 _ACEOF
10827 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"
10829 else
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10831 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10833 cat >>confdefs.h <<_ACEOF
10834 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10835 _ACEOF
10837 OPENGL_LIBS="-lGL"
10839 if test "x$with_glu" != "xno"
10840 then
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10842 $as_echo_n "checking for -lGLU... " >&6; }
10843 if ${ac_cv_lib_soname_GLU+:} false; then :
10844 $as_echo_n "(cached) " >&6
10845 else
10846 ac_check_soname_save_LIBS=$LIBS
10847 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10849 /* end confdefs.h. */
10851 /* Override any GCC internal prototype to avoid an error.
10852 Use char because int might match the return type of a GCC
10853 builtin and then its argument prototype would still apply. */
10854 #ifdef __cplusplus
10855 extern "C"
10856 #endif
10857 char gluLookAt ();
10859 main ()
10861 return gluLookAt ();
10863 return 0;
10865 _ACEOF
10866 if ac_fn_c_try_link "$LINENO"; then :
10867 case "$LIBEXT" in
10868 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10869 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'` ;;
10870 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10871 if ${ac_cv_lib_soname_GLU:+false} :; then :
10872 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10873 fi ;;
10874 esac
10876 rm -f core conftest.err conftest.$ac_objext \
10877 conftest$ac_exeext conftest.$ac_ext
10878 LIBS=$ac_check_soname_save_LIBS
10880 if ${ac_cv_lib_soname_GLU:+false} :; then :
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10882 $as_echo "not found" >&6; }
10884 else
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10886 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10888 cat >>confdefs.h <<_ACEOF
10889 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10890 _ACEOF
10894 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10895 case "x$with_glu" in
10896 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10897 xno) ;;
10898 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10899 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10900 esac
10905 if test "x$with_osmesa" != "xno"
10906 then
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10908 $as_echo_n "checking for -lOSMesa... " >&6; }
10909 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10910 $as_echo_n "(cached) " >&6
10911 else
10912 ac_check_soname_save_LIBS=$LIBS
10913 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10915 /* end confdefs.h. */
10917 /* Override any GCC internal prototype to avoid an error.
10918 Use char because int might match the return type of a GCC
10919 builtin and then its argument prototype would still apply. */
10920 #ifdef __cplusplus
10921 extern "C"
10922 #endif
10923 char OSMesaGetProcAddress ();
10925 main ()
10927 return OSMesaGetProcAddress ();
10929 return 0;
10931 _ACEOF
10932 if ac_fn_c_try_link "$LINENO"; then :
10933 case "$LIBEXT" in
10934 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10935 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'` ;;
10936 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10937 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10938 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10939 fi ;;
10940 esac
10942 rm -f core conftest.err conftest.$ac_objext \
10943 conftest$ac_exeext conftest.$ac_ext
10944 LIBS=$ac_check_soname_save_LIBS
10946 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10948 $as_echo "not found" >&6; }
10950 else
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10952 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10954 cat >>confdefs.h <<_ACEOF
10955 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10956 _ACEOF
10960 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10961 case "x$with_osmesa" in
10962 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10963 xno) ;;
10964 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10965 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10966 esac
10971 if test -n "$opengl_msg"; then :
10972 case "x$with_opengl" in
10973 x) as_fn_append wine_warnings "|$opengl_msg
10974 OpenGL and Direct3D won't be supported." ;;
10975 xno) ;;
10976 *) as_fn_error $? "$opengl_msg
10977 OpenGL and Direct3D won't be supported.
10978 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10979 esac
10983 CPPFLAGS="$ac_save_CPPFLAGS"
10984 else
10985 X_CFLAGS=""
10986 X_LIBS=""
10989 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10990 then
10991 if test "x$X_LIBS" = "x"; then :
10992 case "x$with_x" in
10993 xno) ;;
10994 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10995 without X support, which probably isn't what you want. You will need
10996 to install ${notice_platform}development packages of Xlib at the very least.
10997 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10998 esac
10999 enable_winex11_drv=${enable_winex11_drv:-no}
11001 else
11002 if test "x$X_LIBS" = "x"; then :
11003 case "x$with_x" in
11004 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11005 xno) ;;
11006 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11007 This is an error since --with-x was requested." "$LINENO" 5 ;;
11008 esac
11009 enable_winex11_drv=${enable_winex11_drv:-no}
11013 if test "$ac_cv_header_CL_cl_h" = "yes"
11014 then
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11016 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11017 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11018 $as_echo_n "(cached) " >&6
11019 else
11020 ac_check_lib_save_LIBS=$LIBS
11021 LIBS="-lOpenCL $LIBS"
11022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11023 /* end confdefs.h. */
11025 /* Override any GCC internal prototype to avoid an error.
11026 Use char because int might match the return type of a GCC
11027 builtin and then its argument prototype would still apply. */
11028 #ifdef __cplusplus
11029 extern "C"
11030 #endif
11031 char clGetPlatformInfo ();
11033 main ()
11035 return clGetPlatformInfo ();
11037 return 0;
11039 _ACEOF
11040 if ac_fn_c_try_link "$LINENO"; then :
11041 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11042 else
11043 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11045 rm -f core conftest.err conftest.$ac_objext \
11046 conftest$ac_exeext conftest.$ac_ext
11047 LIBS=$ac_check_lib_save_LIBS
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11050 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11051 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11052 OPENCL_LIBS="-lOpenCL"
11057 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11058 case "x$with_opencl" in
11059 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11060 xno) ;;
11061 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11062 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11063 esac
11064 enable_opencl=${enable_opencl:-no}
11067 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11068 then
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11070 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11071 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11072 $as_echo_n "(cached) " >&6
11073 else
11074 ac_check_lib_save_LIBS=$LIBS
11075 LIBS="-lpcap $LIBS"
11076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11077 /* end confdefs.h. */
11079 /* Override any GCC internal prototype to avoid an error.
11080 Use char because int might match the return type of a GCC
11081 builtin and then its argument prototype would still apply. */
11082 #ifdef __cplusplus
11083 extern "C"
11084 #endif
11085 char pcap_create ();
11087 main ()
11089 return pcap_create ();
11091 return 0;
11093 _ACEOF
11094 if ac_fn_c_try_link "$LINENO"; then :
11095 ac_cv_lib_pcap_pcap_create=yes
11096 else
11097 ac_cv_lib_pcap_pcap_create=no
11099 rm -f core conftest.err conftest.$ac_objext \
11100 conftest$ac_exeext conftest.$ac_ext
11101 LIBS=$ac_check_lib_save_LIBS
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11104 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11105 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11106 PCAP_LIBS="-lpcap"
11111 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11112 case "x$with_pcap" in
11113 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11114 xno) ;;
11115 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11116 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11117 esac
11118 enable_wpcap=${enable_wpcap:-no}
11122 if test "x$with_xml" != "xno"
11123 then
11124 if ${XML2_CFLAGS:+false} :; then :
11125 if ${PKG_CONFIG+:} false; then :
11126 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11129 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11130 if ${XML2_LIBS:+false} :; then :
11131 if ${PKG_CONFIG+:} false; then :
11132 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11135 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11136 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11137 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11138 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11139 ac_save_CPPFLAGS=$CPPFLAGS
11140 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11141 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11142 do :
11143 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11144 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11145 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11146 cat >>confdefs.h <<_ACEOF
11147 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11148 _ACEOF
11152 done
11154 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"
11155 then
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11157 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11158 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11159 $as_echo_n "(cached) " >&6
11160 else
11161 ac_check_lib_save_LIBS=$LIBS
11162 LIBS="-lxml2 $XML2_LIBS $LIBS"
11163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11166 /* Override any GCC internal prototype to avoid an error.
11167 Use char because int might match the return type of a GCC
11168 builtin and then its argument prototype would still apply. */
11169 #ifdef __cplusplus
11170 extern "C"
11171 #endif
11172 char xmlParseMemory ();
11174 main ()
11176 return xmlParseMemory ();
11178 return 0;
11180 _ACEOF
11181 if ac_fn_c_try_link "$LINENO"; then :
11182 ac_cv_lib_xml2_xmlParseMemory=yes
11183 else
11184 ac_cv_lib_xml2_xmlParseMemory=no
11186 rm -f core conftest.err conftest.$ac_objext \
11187 conftest$ac_exeext conftest.$ac_ext
11188 LIBS=$ac_check_lib_save_LIBS
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11191 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11192 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11194 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11196 else
11197 XML2_LIBS=""
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11201 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11202 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11203 $as_echo_n "(cached) " >&6
11204 else
11205 ac_check_lib_save_LIBS=$LIBS
11206 LIBS="-lxml2 $XML2_LIBS $LIBS"
11207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11208 /* end confdefs.h. */
11210 /* Override any GCC internal prototype to avoid an error.
11211 Use char because int might match the return type of a GCC
11212 builtin and then its argument prototype would still apply. */
11213 #ifdef __cplusplus
11214 extern "C"
11215 #endif
11216 char xmlReadMemory ();
11218 main ()
11220 return xmlReadMemory ();
11222 return 0;
11224 _ACEOF
11225 if ac_fn_c_try_link "$LINENO"; then :
11226 ac_cv_lib_xml2_xmlReadMemory=yes
11227 else
11228 ac_cv_lib_xml2_xmlReadMemory=no
11230 rm -f core conftest.err conftest.$ac_objext \
11231 conftest$ac_exeext conftest.$ac_ext
11232 LIBS=$ac_check_lib_save_LIBS
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11235 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11236 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11238 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11243 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11244 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11245 $as_echo_n "(cached) " >&6
11246 else
11247 ac_check_lib_save_LIBS=$LIBS
11248 LIBS="-lxml2 $XML2_LIBS $LIBS"
11249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11250 /* end confdefs.h. */
11252 /* Override any GCC internal prototype to avoid an error.
11253 Use char because int might match the return type of a GCC
11254 builtin and then its argument prototype would still apply. */
11255 #ifdef __cplusplus
11256 extern "C"
11257 #endif
11258 char xmlNewDocPI ();
11260 main ()
11262 return xmlNewDocPI ();
11264 return 0;
11266 _ACEOF
11267 if ac_fn_c_try_link "$LINENO"; then :
11268 ac_cv_lib_xml2_xmlNewDocPI=yes
11269 else
11270 ac_cv_lib_xml2_xmlNewDocPI=no
11272 rm -f core conftest.err conftest.$ac_objext \
11273 conftest$ac_exeext conftest.$ac_ext
11274 LIBS=$ac_check_lib_save_LIBS
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11277 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11278 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11280 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11285 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11286 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11287 $as_echo_n "(cached) " >&6
11288 else
11289 ac_check_lib_save_LIBS=$LIBS
11290 LIBS="-lxml2 $XML2_LIBS $LIBS"
11291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11292 /* end confdefs.h. */
11294 /* Override any GCC internal prototype to avoid an error.
11295 Use char because int might match the return type of a GCC
11296 builtin and then its argument prototype would still apply. */
11297 #ifdef __cplusplus
11298 extern "C"
11299 #endif
11300 char xmlSchemaSetParserStructuredErrors ();
11302 main ()
11304 return xmlSchemaSetParserStructuredErrors ();
11306 return 0;
11308 _ACEOF
11309 if ac_fn_c_try_link "$LINENO"; then :
11310 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11311 else
11312 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11314 rm -f core conftest.err conftest.$ac_objext \
11315 conftest$ac_exeext conftest.$ac_ext
11316 LIBS=$ac_check_lib_save_LIBS
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11319 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11320 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11322 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11327 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11328 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11329 $as_echo_n "(cached) " >&6
11330 else
11331 ac_check_lib_save_LIBS=$LIBS
11332 LIBS="-lxml2 $XML2_LIBS $LIBS"
11333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11334 /* end confdefs.h. */
11336 /* Override any GCC internal prototype to avoid an error.
11337 Use char because int might match the return type of a GCC
11338 builtin and then its argument prototype would still apply. */
11339 #ifdef __cplusplus
11340 extern "C"
11341 #endif
11342 char xmlSchemaSetValidStructuredErrors ();
11344 main ()
11346 return xmlSchemaSetValidStructuredErrors ();
11348 return 0;
11350 _ACEOF
11351 if ac_fn_c_try_link "$LINENO"; then :
11352 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11353 else
11354 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11356 rm -f core conftest.err conftest.$ac_objext \
11357 conftest$ac_exeext conftest.$ac_ext
11358 LIBS=$ac_check_lib_save_LIBS
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11361 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11362 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11364 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11369 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11370 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11371 $as_echo_n "(cached) " >&6
11372 else
11373 ac_check_lib_save_LIBS=$LIBS
11374 LIBS="-lxml2 $XML2_LIBS $LIBS"
11375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11376 /* end confdefs.h. */
11378 /* Override any GCC internal prototype to avoid an error.
11379 Use char because int might match the return type of a GCC
11380 builtin and then its argument prototype would still apply. */
11381 #ifdef __cplusplus
11382 extern "C"
11383 #endif
11384 char xmlFirstElementChild ();
11386 main ()
11388 return xmlFirstElementChild ();
11390 return 0;
11392 _ACEOF
11393 if ac_fn_c_try_link "$LINENO"; then :
11394 ac_cv_lib_xml2_xmlFirstElementChild=yes
11395 else
11396 ac_cv_lib_xml2_xmlFirstElementChild=no
11398 rm -f core conftest.err conftest.$ac_objext \
11399 conftest$ac_exeext conftest.$ac_ext
11400 LIBS=$ac_check_lib_save_LIBS
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11403 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11404 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11406 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11410 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11412 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11414 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11418 else
11419 XML2_CFLAGS=""
11420 XML2_LIBS=""
11422 CPPFLAGS=$ac_save_CPPFLAGS
11423 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11424 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11427 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11428 case "x$with_xml" in
11429 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11430 xno) ;;
11431 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11432 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11433 esac
11437 if test "x$with_xslt" != "xno"
11438 then
11439 if ${XSLT_CFLAGS:+false} :; then :
11440 if ${PKG_CONFIG+:} false; then :
11441 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11444 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11445 if ${XSLT_LIBS:+false} :; then :
11446 if ${PKG_CONFIG+:} false; then :
11447 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11450 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11451 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11452 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11453 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11454 ac_save_CPPFLAGS=$CPPFLAGS
11455 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11456 for ac_header in libxslt/pattern.h libxslt/transform.h
11457 do :
11458 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11459 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11460 # include <libxslt/pattern.h>
11461 #endif
11463 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11464 cat >>confdefs.h <<_ACEOF
11465 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11466 _ACEOF
11470 done
11472 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11473 then
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11475 $as_echo_n "checking for -lxslt... " >&6; }
11476 if ${ac_cv_lib_soname_xslt+:} false; then :
11477 $as_echo_n "(cached) " >&6
11478 else
11479 ac_check_soname_save_LIBS=$LIBS
11480 LIBS="-lxslt $XSLT_LIBS $LIBS"
11481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11482 /* end confdefs.h. */
11484 /* Override any GCC internal prototype to avoid an error.
11485 Use char because int might match the return type of a GCC
11486 builtin and then its argument prototype would still apply. */
11487 #ifdef __cplusplus
11488 extern "C"
11489 #endif
11490 char xsltCompilePattern ();
11492 main ()
11494 return xsltCompilePattern ();
11496 return 0;
11498 _ACEOF
11499 if ac_fn_c_try_link "$LINENO"; then :
11500 case "$LIBEXT" in
11501 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11502 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'` ;;
11503 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11504 if ${ac_cv_lib_soname_xslt:+false} :; then :
11505 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11506 fi ;;
11507 esac
11509 rm -f core conftest.err conftest.$ac_objext \
11510 conftest$ac_exeext conftest.$ac_ext
11511 LIBS=$ac_check_soname_save_LIBS
11513 if ${ac_cv_lib_soname_xslt:+false} :; then :
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11515 $as_echo "not found" >&6; }
11517 else
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11519 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11521 cat >>confdefs.h <<_ACEOF
11522 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11523 _ACEOF
11527 else
11528 XSLT_CFLAGS=""
11530 CPPFLAGS=$ac_save_CPPFLAGS
11531 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11532 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11535 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11536 case "x$with_xslt" in
11537 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11538 xno) ;;
11539 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11540 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11541 esac
11545 if test "x$with_dbus" != "xno"
11546 then
11547 if ${DBUS_CFLAGS:+false} :; then :
11548 if ${PKG_CONFIG+:} false; then :
11549 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11553 if ${DBUS_LIBS:+false} :; then :
11554 if ${PKG_CONFIG+:} false; then :
11555 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11560 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11561 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11562 ac_save_CPPFLAGS=$CPPFLAGS
11563 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11564 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11565 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11567 $as_echo_n "checking for -ldbus-1... " >&6; }
11568 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11569 $as_echo_n "(cached) " >&6
11570 else
11571 ac_check_soname_save_LIBS=$LIBS
11572 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11574 /* end confdefs.h. */
11576 /* Override any GCC internal prototype to avoid an error.
11577 Use char because int might match the return type of a GCC
11578 builtin and then its argument prototype would still apply. */
11579 #ifdef __cplusplus
11580 extern "C"
11581 #endif
11582 char dbus_connection_close ();
11584 main ()
11586 return dbus_connection_close ();
11588 return 0;
11590 _ACEOF
11591 if ac_fn_c_try_link "$LINENO"; then :
11592 case "$LIBEXT" in
11593 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11594 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'` ;;
11595 *) 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'`
11596 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11597 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11598 fi ;;
11599 esac
11601 rm -f core conftest.err conftest.$ac_objext \
11602 conftest$ac_exeext conftest.$ac_ext
11603 LIBS=$ac_check_soname_save_LIBS
11605 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11607 $as_echo "not found" >&6; }
11608 DBUS_CFLAGS=""
11609 else
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11611 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11613 cat >>confdefs.h <<_ACEOF
11614 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11615 _ACEOF
11619 else
11620 DBUS_CFLAGS=""
11624 CPPFLAGS=$ac_save_CPPFLAGS
11625 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11626 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11629 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11630 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11631 case "x$with_dbus" in
11632 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11633 xno) ;;
11634 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11635 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11636 esac
11640 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11641 then
11642 if ${HAL_CFLAGS:+false} :; then :
11643 if ${PKG_CONFIG+:} false; then :
11644 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11648 if ${HAL_LIBS:+false} :; then :
11649 if ${PKG_CONFIG+:} false; then :
11650 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11654 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11655 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11656 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11657 ac_save_CPPFLAGS=$CPPFLAGS
11658 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11659 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11660 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11662 $as_echo_n "checking for -lhal... " >&6; }
11663 if ${ac_cv_lib_soname_hal+:} false; then :
11664 $as_echo_n "(cached) " >&6
11665 else
11666 ac_check_soname_save_LIBS=$LIBS
11667 LIBS="-lhal $HAL_LIBS $LIBS"
11668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11669 /* end confdefs.h. */
11671 /* Override any GCC internal prototype to avoid an error.
11672 Use char because int might match the return type of a GCC
11673 builtin and then its argument prototype would still apply. */
11674 #ifdef __cplusplus
11675 extern "C"
11676 #endif
11677 char libhal_ctx_new ();
11679 main ()
11681 return libhal_ctx_new ();
11683 return 0;
11685 _ACEOF
11686 if ac_fn_c_try_link "$LINENO"; then :
11687 case "$LIBEXT" in
11688 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11689 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'` ;;
11690 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11691 if ${ac_cv_lib_soname_hal:+false} :; then :
11692 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11693 fi ;;
11694 esac
11696 rm -f core conftest.err conftest.$ac_objext \
11697 conftest$ac_exeext conftest.$ac_ext
11698 LIBS=$ac_check_soname_save_LIBS
11700 if ${ac_cv_lib_soname_hal:+false} :; then :
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11702 $as_echo "not found" >&6; }
11703 HAL_CFLAGS=""
11704 else
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11706 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11708 cat >>confdefs.h <<_ACEOF
11709 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11710 _ACEOF
11714 else
11715 HAL_CFLAGS=""
11719 CPPFLAGS=$ac_save_CPPFLAGS
11720 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11721 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11723 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11724 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11725 case "x$with_hal" in
11726 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11727 xno) ;;
11728 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11729 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11730 esac
11735 if test "x$with_gnutls" != "xno"
11736 then
11737 if ${GNUTLS_CFLAGS:+false} :; then :
11738 if ${PKG_CONFIG+:} false; then :
11739 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11743 if ${GNUTLS_LIBS:+false} :; then :
11744 if ${PKG_CONFIG+:} false; then :
11745 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11750 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11751 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11752 ac_save_CPPFLAGS=$CPPFLAGS
11753 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11754 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11755 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11757 /* end confdefs.h. */
11758 #include <gnutls/gnutls.h>
11759 #include <gnutls/crypto.h>
11761 main ()
11763 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11765 return 0;
11767 _ACEOF
11768 if ac_fn_c_try_compile "$LINENO"; then :
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11770 $as_echo_n "checking for -lgnutls... " >&6; }
11771 if ${ac_cv_lib_soname_gnutls+:} false; then :
11772 $as_echo_n "(cached) " >&6
11773 else
11774 ac_check_soname_save_LIBS=$LIBS
11775 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11777 /* end confdefs.h. */
11779 /* Override any GCC internal prototype to avoid an error.
11780 Use char because int might match the return type of a GCC
11781 builtin and then its argument prototype would still apply. */
11782 #ifdef __cplusplus
11783 extern "C"
11784 #endif
11785 char gnutls_global_init ();
11787 main ()
11789 return gnutls_global_init ();
11791 return 0;
11793 _ACEOF
11794 if ac_fn_c_try_link "$LINENO"; then :
11795 case "$LIBEXT" in
11796 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11797 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'` ;;
11798 *) 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'`
11799 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11800 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'`
11801 fi ;;
11802 esac
11804 rm -f core conftest.err conftest.$ac_objext \
11805 conftest$ac_exeext conftest.$ac_ext
11806 LIBS=$ac_check_soname_save_LIBS
11808 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11810 $as_echo "not found" >&6; }
11811 GNUTLS_CFLAGS=""
11812 else
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11814 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11816 cat >>confdefs.h <<_ACEOF
11817 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11818 _ACEOF
11822 ac_wine_check_funcs_save_LIBS="$LIBS"
11823 LIBS="$LIBS $GNUTLS_LIBS"
11824 for ac_func in gnutls_cipher_init
11825 do :
11826 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11827 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11828 cat >>confdefs.h <<_ACEOF
11829 #define HAVE_GNUTLS_CIPHER_INIT 1
11830 _ACEOF
11832 else
11833 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11835 done
11837 LIBS="$ac_wine_check_funcs_save_LIBS"
11839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11840 else
11841 GNUTLS_CFLAGS=""
11845 CPPFLAGS=$ac_save_CPPFLAGS
11846 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11847 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11850 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11851 case "x$with_gnutls" in
11852 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11853 xno) ;;
11854 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11855 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11856 esac
11860 CURSES_LIBS=""
11861 if test "$ac_cv_header_ncurses_h" = "yes"
11862 then
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11864 $as_echo_n "checking for -lncurses... " >&6; }
11865 if ${ac_cv_lib_soname_ncurses+:} false; then :
11866 $as_echo_n "(cached) " >&6
11867 else
11868 ac_check_soname_save_LIBS=$LIBS
11869 LIBS="-lncurses $LIBS"
11870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11871 /* end confdefs.h. */
11873 /* Override any GCC internal prototype to avoid an error.
11874 Use char because int might match the return type of a GCC
11875 builtin and then its argument prototype would still apply. */
11876 #ifdef __cplusplus
11877 extern "C"
11878 #endif
11879 char waddch ();
11881 main ()
11883 return waddch ();
11885 return 0;
11887 _ACEOF
11888 if ac_fn_c_try_link "$LINENO"; then :
11889 case "$LIBEXT" in
11890 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11891 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'` ;;
11892 *) 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'`
11893 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11894 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11895 fi ;;
11896 esac
11898 rm -f core conftest.err conftest.$ac_objext \
11899 conftest$ac_exeext conftest.$ac_ext
11900 LIBS=$ac_check_soname_save_LIBS
11902 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11904 $as_echo "not found" >&6; }
11906 else
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11908 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11910 cat >>confdefs.h <<_ACEOF
11911 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11912 _ACEOF
11914 CURSES_LIBS="-lncurses"
11916 elif test "$ac_cv_header_curses_h" = "yes"
11917 then
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11919 $as_echo_n "checking for -lcurses... " >&6; }
11920 if ${ac_cv_lib_soname_curses+:} false; then :
11921 $as_echo_n "(cached) " >&6
11922 else
11923 ac_check_soname_save_LIBS=$LIBS
11924 LIBS="-lcurses $LIBS"
11925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11926 /* end confdefs.h. */
11928 /* Override any GCC internal prototype to avoid an error.
11929 Use char because int might match the return type of a GCC
11930 builtin and then its argument prototype would still apply. */
11931 #ifdef __cplusplus
11932 extern "C"
11933 #endif
11934 char waddch ();
11936 main ()
11938 return waddch ();
11940 return 0;
11942 _ACEOF
11943 if ac_fn_c_try_link "$LINENO"; then :
11944 case "$LIBEXT" in
11945 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11946 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'` ;;
11947 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11948 if ${ac_cv_lib_soname_curses:+false} :; then :
11949 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11950 fi ;;
11951 esac
11953 rm -f core conftest.err conftest.$ac_objext \
11954 conftest$ac_exeext conftest.$ac_ext
11955 LIBS=$ac_check_soname_save_LIBS
11957 if ${ac_cv_lib_soname_curses:+false} :; then :
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11959 $as_echo "not found" >&6; }
11961 else
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11963 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11965 cat >>confdefs.h <<_ACEOF
11966 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11967 _ACEOF
11969 CURSES_LIBS="-lcurses"
11972 ac_save_LIBS="$LIBS"
11973 LIBS="$LIBS $CURSES_LIBS"
11974 for ac_func in mousemask
11975 do :
11976 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11977 if test "x$ac_cv_func_mousemask" = xyes; then :
11978 cat >>confdefs.h <<_ACEOF
11979 #define HAVE_MOUSEMASK 1
11980 _ACEOF
11983 done
11985 LIBS="$ac_save_LIBS"
11986 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11987 case "x$with_curses" in
11988 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11989 xno) ;;
11990 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11991 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11992 esac
11996 if test "x$with_sane" != "xno"
11997 then
11998 if ${SANE_CFLAGS:+false} :; then :
11999 if ${PKG_CONFIG+:} false; then :
12000 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12003 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12004 if ${SANE_LIBS:+false} :; then :
12005 if ${PKG_CONFIG+:} false; then :
12006 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12009 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12011 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12012 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12013 ac_save_CPPFLAGS=$CPPFLAGS
12014 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12015 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12016 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12018 $as_echo_n "checking for -lsane... " >&6; }
12019 if ${ac_cv_lib_soname_sane+:} false; then :
12020 $as_echo_n "(cached) " >&6
12021 else
12022 ac_check_soname_save_LIBS=$LIBS
12023 LIBS="-lsane $SANE_LIBS $LIBS"
12024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12027 /* Override any GCC internal prototype to avoid an error.
12028 Use char because int might match the return type of a GCC
12029 builtin and then its argument prototype would still apply. */
12030 #ifdef __cplusplus
12031 extern "C"
12032 #endif
12033 char sane_init ();
12035 main ()
12037 return sane_init ();
12039 return 0;
12041 _ACEOF
12042 if ac_fn_c_try_link "$LINENO"; then :
12043 case "$LIBEXT" in
12044 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12045 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'` ;;
12046 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12047 if ${ac_cv_lib_soname_sane:+false} :; then :
12048 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12049 fi ;;
12050 esac
12052 rm -f core conftest.err conftest.$ac_objext \
12053 conftest$ac_exeext conftest.$ac_ext
12054 LIBS=$ac_check_soname_save_LIBS
12056 if ${ac_cv_lib_soname_sane:+false} :; then :
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12058 $as_echo "not found" >&6; }
12059 SANE_CFLAGS=""
12060 else
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12062 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12064 cat >>confdefs.h <<_ACEOF
12065 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12066 _ACEOF
12070 else
12071 SANE_CFLAGS=""
12075 CPPFLAGS=$ac_save_CPPFLAGS
12076 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12077 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12080 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12081 case "x$with_sane" in
12082 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12083 xno) ;;
12084 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12085 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12086 esac
12090 if test "x$with_v4l" != "xno"
12091 then
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12093 $as_echo_n "checking for -lv4l1... " >&6; }
12094 if ${ac_cv_lib_soname_v4l1+:} false; then :
12095 $as_echo_n "(cached) " >&6
12096 else
12097 ac_check_soname_save_LIBS=$LIBS
12098 LIBS="-lv4l1 $LIBS"
12099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12100 /* end confdefs.h. */
12102 /* Override any GCC internal prototype to avoid an error.
12103 Use char because int might match the return type of a GCC
12104 builtin and then its argument prototype would still apply. */
12105 #ifdef __cplusplus
12106 extern "C"
12107 #endif
12108 char v4l1_open ();
12110 main ()
12112 return v4l1_open ();
12114 return 0;
12116 _ACEOF
12117 if ac_fn_c_try_link "$LINENO"; then :
12118 case "$LIBEXT" in
12119 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12120 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'` ;;
12121 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12122 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12123 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12124 fi ;;
12125 esac
12127 rm -f core conftest.err conftest.$ac_objext \
12128 conftest$ac_exeext conftest.$ac_ext
12129 LIBS=$ac_check_soname_save_LIBS
12131 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12133 $as_echo "not found" >&6; }
12135 else
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12137 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12139 cat >>confdefs.h <<_ACEOF
12140 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12141 _ACEOF
12146 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12147 case "x$with_v4l" in
12148 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12149 xno) ;;
12150 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12151 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12152 esac
12156 if test "x$with_gphoto" != "xno"
12157 then
12158 if ${GPHOTO2_CFLAGS:+false} :; then :
12159 if ${PKG_CONFIG+:} false; then :
12160 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12163 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12164 if ${GPHOTO2_LIBS:+false} :; then :
12165 if ${PKG_CONFIG+:} false; then :
12166 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12169 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12170 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12171 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12172 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12173 ac_save_CPPFLAGS=$CPPFLAGS
12174 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12175 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12176 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12178 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12179 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12180 $as_echo_n "(cached) " >&6
12181 else
12182 ac_check_lib_save_LIBS=$LIBS
12183 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12185 /* end confdefs.h. */
12187 /* Override any GCC internal prototype to avoid an error.
12188 Use char because int might match the return type of a GCC
12189 builtin and then its argument prototype would still apply. */
12190 #ifdef __cplusplus
12191 extern "C"
12192 #endif
12193 char gp_camera_new ();
12195 main ()
12197 return gp_camera_new ();
12199 return 0;
12201 _ACEOF
12202 if ac_fn_c_try_link "$LINENO"; then :
12203 ac_cv_lib_gphoto2_gp_camera_new=yes
12204 else
12205 ac_cv_lib_gphoto2_gp_camera_new=no
12207 rm -f core conftest.err conftest.$ac_objext \
12208 conftest$ac_exeext conftest.$ac_ext
12209 LIBS=$ac_check_lib_save_LIBS
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12212 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12213 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12215 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12217 else
12218 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12221 else
12222 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12226 CPPFLAGS=$ac_save_CPPFLAGS
12227 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12228 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12230 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12231 if ${PKG_CONFIG+:} false; then :
12232 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12235 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12236 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12237 if ${PKG_CONFIG+:} false; then :
12238 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12241 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12242 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12243 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12244 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12245 ac_save_CPPFLAGS=$CPPFLAGS
12246 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12247 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12248 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12250 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12251 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12252 $as_echo_n "(cached) " >&6
12253 else
12254 ac_check_lib_save_LIBS=$LIBS
12255 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12257 /* end confdefs.h. */
12259 /* Override any GCC internal prototype to avoid an error.
12260 Use char because int might match the return type of a GCC
12261 builtin and then its argument prototype would still apply. */
12262 #ifdef __cplusplus
12263 extern "C"
12264 #endif
12265 char gp_port_info_list_new ();
12267 main ()
12269 return gp_port_info_list_new ();
12271 return 0;
12273 _ACEOF
12274 if ac_fn_c_try_link "$LINENO"; then :
12275 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12276 else
12277 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12279 rm -f core conftest.err conftest.$ac_objext \
12280 conftest$ac_exeext conftest.$ac_ext
12281 LIBS=$ac_check_lib_save_LIBS
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12284 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12285 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12287 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12289 else
12290 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12293 else
12294 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12298 CPPFLAGS=$ac_save_CPPFLAGS
12299 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12300 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12303 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12304 case "x$with_gphoto" in
12305 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12306 xno) ;;
12307 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12308 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12309 esac
12312 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12313 case "x$with_gphoto" in
12314 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12315 xno) ;;
12316 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12317 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12318 esac
12323 if test "$ac_cv_header_resolv_h" = "yes"
12324 then
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12326 $as_echo_n "checking for resolver library... " >&6; }
12327 if ${ac_cv_have_resolv+:} false; then :
12328 $as_echo_n "(cached) " >&6
12329 else
12330 ac_save_LIBS="$LIBS"
12331 for lib in '' -lresolv
12333 LIBS="$lib $ac_save_LIBS"
12334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12335 /* end confdefs.h. */
12336 #ifdef HAVE_NETINET_IN_H
12337 #include <netinet/in.h>
12338 #endif
12339 #include <resolv.h>
12341 main ()
12343 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12345 return 0;
12347 _ACEOF
12348 if ac_fn_c_try_link "$LINENO"; then :
12349 ac_cv_have_resolv=${lib:-"none required"}
12350 else
12351 ac_cv_have_resolv="not found"
12353 rm -f core conftest.err conftest.$ac_objext \
12354 conftest$ac_exeext conftest.$ac_ext
12355 test "x$ac_cv_have_resolv" = "xnot found" || break
12356 done
12357 LIBS="$ac_save_LIBS"
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12360 $as_echo "$ac_cv_have_resolv" >&6; }
12362 case "$ac_cv_have_resolv" in
12363 "not found") ;;
12364 "none required")
12366 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12369 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12371 RESOLV_LIBS=$ac_cv_have_resolv
12373 esac
12376 if test "x$with_cms" != "xno"
12377 then
12378 if ${LCMS2_CFLAGS:+false} :; then :
12379 if ${PKG_CONFIG+:} false; then :
12380 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12384 if ${LCMS2_LIBS:+false} :; then :
12385 if ${PKG_CONFIG+:} false; then :
12386 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12390 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12391 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12392 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12393 ac_save_CPPFLAGS=$CPPFLAGS
12394 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12395 for ac_header in lcms2.h
12396 do :
12397 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12398 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12399 cat >>confdefs.h <<_ACEOF
12400 #define HAVE_LCMS2_H 1
12401 _ACEOF
12405 done
12407 if test "$ac_cv_header_lcms2_h" = "yes"
12408 then
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12410 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12411 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12412 $as_echo_n "(cached) " >&6
12413 else
12414 ac_check_lib_save_LIBS=$LIBS
12415 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12417 /* end confdefs.h. */
12419 /* Override any GCC internal prototype to avoid an error.
12420 Use char because int might match the return type of a GCC
12421 builtin and then its argument prototype would still apply. */
12422 #ifdef __cplusplus
12423 extern "C"
12424 #endif
12425 char cmsOpenProfileFromFile ();
12427 main ()
12429 return cmsOpenProfileFromFile ();
12431 return 0;
12433 _ACEOF
12434 if ac_fn_c_try_link "$LINENO"; then :
12435 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12436 else
12437 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12439 rm -f core conftest.err conftest.$ac_objext \
12440 conftest$ac_exeext conftest.$ac_ext
12441 LIBS=$ac_check_lib_save_LIBS
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12444 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12445 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12447 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12449 else
12450 LCMS2_LIBS=""
12453 else
12454 LCMS2_CFLAGS=""
12455 LCMS2_LIBS=""
12457 CPPFLAGS=$ac_save_CPPFLAGS
12458 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12459 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12462 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12463 case "x$with_cms" in
12464 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12465 xno) ;;
12466 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12467 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12468 esac
12472 if test "x$with_freetype" != "xno"
12473 then
12474 if ${FREETYPE_CFLAGS:+false} :; then :
12475 if ${PKG_CONFIG+:} false; then :
12476 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12479 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12480 if ${FREETYPE_LIBS:+false} :; then :
12481 if ${PKG_CONFIG+:} false; then :
12482 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12485 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12486 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12487 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12488 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12489 ac_save_CPPFLAGS=$CPPFLAGS
12490 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12491 for ac_header in ft2build.h
12492 do :
12493 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12494 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12495 cat >>confdefs.h <<_ACEOF
12496 #define HAVE_FT2BUILD_H 1
12497 _ACEOF
12501 done
12503 if test "$ac_cv_header_ft2build_h" = "yes"
12504 then
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12506 $as_echo_n "checking for -lfreetype... " >&6; }
12507 if ${ac_cv_lib_soname_freetype+:} false; then :
12508 $as_echo_n "(cached) " >&6
12509 else
12510 ac_check_soname_save_LIBS=$LIBS
12511 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12513 /* end confdefs.h. */
12515 /* Override any GCC internal prototype to avoid an error.
12516 Use char because int might match the return type of a GCC
12517 builtin and then its argument prototype would still apply. */
12518 #ifdef __cplusplus
12519 extern "C"
12520 #endif
12521 char FT_Init_FreeType ();
12523 main ()
12525 return FT_Init_FreeType ();
12527 return 0;
12529 _ACEOF
12530 if ac_fn_c_try_link "$LINENO"; then :
12531 case "$LIBEXT" in
12532 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12533 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'` ;;
12534 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12535 if ${ac_cv_lib_soname_freetype:+false} :; then :
12536 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12537 fi ;;
12538 esac
12540 rm -f core conftest.err conftest.$ac_objext \
12541 conftest$ac_exeext conftest.$ac_ext
12542 LIBS=$ac_check_soname_save_LIBS
12544 if ${ac_cv_lib_soname_freetype:+false} :; then :
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12546 $as_echo "not found" >&6; }
12547 FREETYPE_LIBS=""
12548 else
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12550 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12552 cat >>confdefs.h <<_ACEOF
12553 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12554 _ACEOF
12557 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12559 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12560 #include FT_MODULE_H
12562 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12564 cat >>confdefs.h <<_ACEOF
12565 #define HAVE_FT_TRUETYPEENGINETYPE 1
12566 _ACEOF
12572 else
12573 FREETYPE_CFLAGS=""
12574 FREETYPE_LIBS=""
12576 CPPFLAGS=$ac_save_CPPFLAGS
12577 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12578 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12581 if test "x$ac_cv_lib_soname_freetype" = x; then :
12582 case "x$with_freetype" in
12583 xno) ;;
12584 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12585 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12586 esac
12587 enable_fonts=${enable_fonts:-no}
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12591 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12592 if ${ac_cv_c_ppdev+:} false; then :
12593 $as_echo_n "(cached) " >&6
12594 else
12595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h. */
12597 #ifdef HAVE_SYS_IOCTL_H
12598 # include <sys/ioctl.h>
12599 #endif
12600 #include <linux/ppdev.h>
12602 main ()
12604 ioctl (1,PPCLAIM,0)
12606 return 0;
12608 _ACEOF
12609 if ac_fn_c_try_compile "$LINENO"; then :
12610 ac_cv_c_ppdev="yes"
12611 else
12612 ac_cv_c_ppdev="no"
12614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12617 $as_echo "$ac_cv_c_ppdev" >&6; }
12618 if test "$ac_cv_c_ppdev" = "yes"
12619 then
12621 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12625 ac_wine_check_funcs_save_LIBS="$LIBS"
12626 LIBS="$LIBS $PTHREAD_LIBS"
12627 for ac_func in \
12628 pthread_attr_get_np \
12629 pthread_getattr_np \
12630 pthread_getthreadid_np \
12631 pthread_get_stackaddr_np \
12632 pthread_get_stacksize_np
12633 do :
12634 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12635 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12636 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12637 cat >>confdefs.h <<_ACEOF
12638 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12639 _ACEOF
12642 done
12644 LIBS="$ac_wine_check_funcs_save_LIBS"
12646 if test "$ac_cv_header_zlib_h" = "yes"
12647 then
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12649 $as_echo_n "checking for inflate in -lz... " >&6; }
12650 if ${ac_cv_lib_z_inflate+:} false; then :
12651 $as_echo_n "(cached) " >&6
12652 else
12653 ac_check_lib_save_LIBS=$LIBS
12654 LIBS="-lz $LIBS"
12655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12656 /* end confdefs.h. */
12658 /* Override any GCC internal prototype to avoid an error.
12659 Use char because int might match the return type of a GCC
12660 builtin and then its argument prototype would still apply. */
12661 #ifdef __cplusplus
12662 extern "C"
12663 #endif
12664 char inflate ();
12666 main ()
12668 return inflate ();
12670 return 0;
12672 _ACEOF
12673 if ac_fn_c_try_link "$LINENO"; then :
12674 ac_cv_lib_z_inflate=yes
12675 else
12676 ac_cv_lib_z_inflate=no
12678 rm -f core conftest.err conftest.$ac_objext \
12679 conftest$ac_exeext conftest.$ac_ext
12680 LIBS=$ac_check_lib_save_LIBS
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12683 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12684 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12686 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12688 Z_LIBS="-lz"
12693 if test "x$Z_LIBS" = "x"; then :
12694 case "x$with_zlib" in
12695 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12696 xno) ;;
12697 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12698 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12699 esac
12703 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12704 then
12705 if test "$ac_cv_header_gettext_po_h" = "yes"
12706 then
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12708 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12709 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12710 $as_echo_n "(cached) " >&6
12711 else
12712 ac_check_lib_save_LIBS=$LIBS
12713 LIBS="-lgettextpo $LIBS"
12714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12715 /* end confdefs.h. */
12717 /* Override any GCC internal prototype to avoid an error.
12718 Use char because int might match the return type of a GCC
12719 builtin and then its argument prototype would still apply. */
12720 #ifdef __cplusplus
12721 extern "C"
12722 #endif
12723 char po_message_msgctxt ();
12725 main ()
12727 return po_message_msgctxt ();
12729 return 0;
12731 _ACEOF
12732 if ac_fn_c_try_link "$LINENO"; then :
12733 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12734 else
12735 ac_cv_lib_gettextpo_po_message_msgctxt=no
12737 rm -f core conftest.err conftest.$ac_objext \
12738 conftest$ac_exeext conftest.$ac_ext
12739 LIBS=$ac_check_lib_save_LIBS
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12742 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12743 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12745 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12747 GETTEXTPO_LIBS="-lgettextpo"
12752 if test "x$GETTEXTPO_LIBS" = "x"; then :
12753 case "x$with_gettextpo" in
12754 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12755 xno) ;;
12756 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12757 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12758 esac
12761 if test "$srcdir" != .; then :
12762 case "x$with_gettextpo" in
12763 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12764 xno) ;;
12765 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12766 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12767 esac
12772 if test "x$with_pulse" != "xno";
12773 then
12774 if ${PULSE_CFLAGS:+false} :; then :
12775 if ${PKG_CONFIG+:} false; then :
12776 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12780 if ${PULSE_LIBS:+false} :; then :
12781 if ${PKG_CONFIG+:} false; then :
12782 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12787 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12788 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12789 ac_save_CPPFLAGS=$CPPFLAGS
12790 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12791 for ac_header in pulse/pulseaudio.h
12792 do :
12793 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12794 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12795 cat >>confdefs.h <<_ACEOF
12796 #define HAVE_PULSE_PULSEAUDIO_H 1
12797 _ACEOF
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12799 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12800 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12801 $as_echo_n "(cached) " >&6
12802 else
12803 ac_check_lib_save_LIBS=$LIBS
12804 LIBS="-lpulse $PULSE_LIBS $LIBS"
12805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12806 /* end confdefs.h. */
12808 /* Override any GCC internal prototype to avoid an error.
12809 Use char because int might match the return type of a GCC
12810 builtin and then its argument prototype would still apply. */
12811 #ifdef __cplusplus
12812 extern "C"
12813 #endif
12814 char pa_stream_is_corked ();
12816 main ()
12818 return pa_stream_is_corked ();
12820 return 0;
12822 _ACEOF
12823 if ac_fn_c_try_link "$LINENO"; then :
12824 ac_cv_lib_pulse_pa_stream_is_corked=yes
12825 else
12826 ac_cv_lib_pulse_pa_stream_is_corked=no
12828 rm -f core conftest.err conftest.$ac_objext \
12829 conftest$ac_exeext conftest.$ac_ext
12830 LIBS=$ac_check_lib_save_LIBS
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12833 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12834 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12836 else
12837 PULSE_LIBS=""
12840 else
12841 PULSE_LIBS=""
12844 done
12846 CPPFLAGS=$ac_save_CPPFLAGS
12847 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12848 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12851 if test -z "$PULSE_LIBS"; then :
12852 case "x$with_pulse" in
12853 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12854 xno) ;;
12855 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12856 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12857 esac
12858 enable_winepulse_drv=${enable_winepulse_drv:-no}
12861 if test "x$with_gstreamer" != "xno"
12862 then
12863 if ${GSTREAMER_CFLAGS:+false} :; then :
12864 if ${PKG_CONFIG+:} false; then :
12865 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12869 if ${GSTREAMER_LIBS:+false} :; then :
12870 if ${PKG_CONFIG+:} false; then :
12871 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12876 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12877 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12878 ac_save_CPPFLAGS=$CPPFLAGS
12879 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12880 ac_gst_incl=""
12881 for i in $GSTREAMER_CFLAGS
12883 case "$i" in
12884 -I*) ac_gst_incl="$ac_gst_incl $i";;
12885 esac
12886 done
12887 GSTREAMER_CFLAGS=$ac_gst_incl
12888 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12889 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12890 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12892 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12894 /* end confdefs.h. */
12895 #include <gst/gst.h>
12897 main ()
12899 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12901 return 0;
12903 _ACEOF
12904 if ac_fn_c_try_compile "$LINENO"; then :
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12906 $as_echo "yes" >&6; }
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12908 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12909 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12910 $as_echo_n "(cached) " >&6
12911 else
12912 ac_check_lib_save_LIBS=$LIBS
12913 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12915 /* end confdefs.h. */
12917 /* Override any GCC internal prototype to avoid an error.
12918 Use char because int might match the return type of a GCC
12919 builtin and then its argument prototype would still apply. */
12920 #ifdef __cplusplus
12921 extern "C"
12922 #endif
12923 char gst_pad_new ();
12925 main ()
12927 return gst_pad_new ();
12929 return 0;
12931 _ACEOF
12932 if ac_fn_c_try_link "$LINENO"; then :
12933 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12934 else
12935 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12937 rm -f core conftest.err conftest.$ac_objext \
12938 conftest$ac_exeext conftest.$ac_ext
12939 LIBS=$ac_check_lib_save_LIBS
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12942 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12943 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12947 else
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12949 $as_echo "no" >&6; }
12950 ac_glib2_broken=yes
12951 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12957 CPPFLAGS=$ac_save_CPPFLAGS
12958 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12959 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12962 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 :
12963 case "x$with_gstreamer" in
12964 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12965 xno) ;;
12966 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12967 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12968 esac
12971 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12973 ALSA_LIBS=""
12975 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12976 then
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12978 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12979 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12980 $as_echo_n "(cached) " >&6
12981 else
12982 ac_check_lib_save_LIBS=$LIBS
12983 LIBS="-lasound $LIBS"
12984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h. */
12987 /* Override any GCC internal prototype to avoid an error.
12988 Use char because int might match the return type of a GCC
12989 builtin and then its argument prototype would still apply. */
12990 #ifdef __cplusplus
12991 extern "C"
12992 #endif
12993 char snd_pcm_hw_params_get_access_mask ();
12995 main ()
12997 return snd_pcm_hw_params_get_access_mask ();
12999 return 0;
13001 _ACEOF
13002 if ac_fn_c_try_link "$LINENO"; then :
13003 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13004 else
13005 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13007 rm -f core conftest.err conftest.$ac_objext \
13008 conftest$ac_exeext conftest.$ac_ext
13009 LIBS=$ac_check_lib_save_LIBS
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13012 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13013 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13015 /* end confdefs.h. */
13016 #ifdef HAVE_ALSA_ASOUNDLIB_H
13017 #include <alsa/asoundlib.h>
13018 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13019 #include <sys/asoundlib.h>
13020 #endif
13022 main ()
13024 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13026 return 0;
13028 _ACEOF
13029 if ac_fn_c_try_compile "$LINENO"; then :
13030 ALSA_LIBS="-lasound"
13032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13036 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13038 if test "x$with_oss" != xno
13039 then
13040 ac_save_CPPFLAGS="$CPPFLAGS"
13041 if test -f /etc/oss.conf
13042 then
13043 . /etc/oss.conf
13045 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13046 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13047 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13048 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13049 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13051 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13053 cat >>confdefs.h <<_ACEOF
13054 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13055 _ACEOF
13057 OSS4_CFLAGS="$ac_oss_incl"
13064 CPPFLAGS="$ac_save_CPPFLAGS"
13066 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13067 case "x$with_oss" in
13068 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13069 xno) ;;
13070 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13071 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13072 esac
13073 enable_wineoss_drv=${enable_wineoss_drv:-no}
13076 if test "x$with_udev" != "xno"
13077 then
13078 if ${UDEV_CFLAGS:+false} :; then :
13079 if ${PKG_CONFIG+:} false; then :
13080 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13084 if ${UDEV_LIBS:+false} :; then :
13085 if ${PKG_CONFIG+:} false; then :
13086 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13090 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13091 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13092 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13093 ac_save_CPPFLAGS=$CPPFLAGS
13094 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13095 for ac_header in libudev.h
13096 do :
13097 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13098 if test "x$ac_cv_header_libudev_h" = xyes; then :
13099 cat >>confdefs.h <<_ACEOF
13100 #define HAVE_LIBUDEV_H 1
13101 _ACEOF
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13103 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13104 if ${ac_cv_lib_udev_udev_new+:} false; then :
13105 $as_echo_n "(cached) " >&6
13106 else
13107 ac_check_lib_save_LIBS=$LIBS
13108 LIBS="-ludev $UDEV_LIBS $LIBS"
13109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13112 /* Override any GCC internal prototype to avoid an error.
13113 Use char because int might match the return type of a GCC
13114 builtin and then its argument prototype would still apply. */
13115 #ifdef __cplusplus
13116 extern "C"
13117 #endif
13118 char udev_new ();
13120 main ()
13122 return udev_new ();
13124 return 0;
13126 _ACEOF
13127 if ac_fn_c_try_link "$LINENO"; then :
13128 ac_cv_lib_udev_udev_new=yes
13129 else
13130 ac_cv_lib_udev_udev_new=no
13132 rm -f core conftest.err conftest.$ac_objext \
13133 conftest$ac_exeext conftest.$ac_ext
13134 LIBS=$ac_check_lib_save_LIBS
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13137 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13138 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13140 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13142 else
13143 UDEV_LIBS=""
13146 else
13147 UDEV_LIBS=""
13150 done
13152 CPPFLAGS=$ac_save_CPPFLAGS
13153 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13154 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13157 if test "x$UDEV_LIBS" = "x"; then :
13158 case "x$with_udev" in
13159 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13160 xno) ;;
13161 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13162 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13163 esac
13167 if test "x$with_sdl" != "xno"
13168 then
13169 if ${SDL2_CFLAGS:+false} :; then :
13170 if ${PKG_CONFIG+:} false; then :
13171 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13175 if ${SDL2_LIBS:+false} :; then :
13176 if ${PKG_CONFIG+:} false; then :
13177 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13181 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13182 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13183 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13184 ac_save_CPPFLAGS=$CPPFLAGS
13185 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13186 for ac_header in SDL2/SDL.h
13187 do :
13188 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13189 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13190 cat >>confdefs.h <<_ACEOF
13191 #define HAVE_SDL2_SDL_H 1
13192 _ACEOF
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13194 $as_echo_n "checking for -lSDL2... " >&6; }
13195 if ${ac_cv_lib_soname_SDL2+:} false; then :
13196 $as_echo_n "(cached) " >&6
13197 else
13198 ac_check_soname_save_LIBS=$LIBS
13199 LIBS="-lSDL2 $LIBS"
13200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13201 /* end confdefs.h. */
13203 /* Override any GCC internal prototype to avoid an error.
13204 Use char because int might match the return type of a GCC
13205 builtin and then its argument prototype would still apply. */
13206 #ifdef __cplusplus
13207 extern "C"
13208 #endif
13209 char SDL_Init ();
13211 main ()
13213 return SDL_Init ();
13215 return 0;
13217 _ACEOF
13218 if ac_fn_c_try_link "$LINENO"; then :
13219 case "$LIBEXT" in
13220 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13221 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'` ;;
13222 *) 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'`
13223 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13224 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13225 fi ;;
13226 esac
13228 rm -f core conftest.err conftest.$ac_objext \
13229 conftest$ac_exeext conftest.$ac_ext
13230 LIBS=$ac_check_soname_save_LIBS
13232 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13234 $as_echo "not found" >&6; }
13236 else
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13238 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13240 cat >>confdefs.h <<_ACEOF
13241 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13242 _ACEOF
13248 done
13250 CPPFLAGS=$ac_save_CPPFLAGS
13251 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13252 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13255 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13256 case "x$with_sdl" in
13257 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13258 xno) ;;
13259 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13260 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13261 esac
13265 if test "x$with_capi" != "xno"
13266 then
13267 if ${CAPI20_CFLAGS:+false} :; then :
13268 if ${PKG_CONFIG+:} false; then :
13269 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13273 if ${CAPI20_LIBS:+false} :; then :
13274 if ${PKG_CONFIG+:} false; then :
13275 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13280 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13281 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13282 ac_save_CPPFLAGS=$CPPFLAGS
13283 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13284 for ac_header in capi20.h linux/capi.h
13285 do :
13286 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13287 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13289 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13290 cat >>confdefs.h <<_ACEOF
13291 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13292 _ACEOF
13296 done
13298 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13299 then
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13301 $as_echo_n "checking for -lcapi20... " >&6; }
13302 if ${ac_cv_lib_soname_capi20+:} false; then :
13303 $as_echo_n "(cached) " >&6
13304 else
13305 ac_check_soname_save_LIBS=$LIBS
13306 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13308 /* end confdefs.h. */
13310 /* Override any GCC internal prototype to avoid an error.
13311 Use char because int might match the return type of a GCC
13312 builtin and then its argument prototype would still apply. */
13313 #ifdef __cplusplus
13314 extern "C"
13315 #endif
13316 char capi20_register ();
13318 main ()
13320 return capi20_register ();
13322 return 0;
13324 _ACEOF
13325 if ac_fn_c_try_link "$LINENO"; then :
13326 case "$LIBEXT" in
13327 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13328 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'` ;;
13329 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13330 if ${ac_cv_lib_soname_capi20:+false} :; then :
13331 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13332 fi ;;
13333 esac
13335 rm -f core conftest.err conftest.$ac_objext \
13336 conftest$ac_exeext conftest.$ac_ext
13337 LIBS=$ac_check_soname_save_LIBS
13339 if ${ac_cv_lib_soname_capi20:+false} :; then :
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13341 $as_echo "not found" >&6; }
13343 else
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13345 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13347 cat >>confdefs.h <<_ACEOF
13348 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13349 _ACEOF
13354 CPPFLAGS=$ac_save_CPPFLAGS
13355 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13356 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13359 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13360 case "x$with_capi" in
13361 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13362 xno) ;;
13363 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13364 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13365 esac
13369 if test "x$with_cups" != "xno"
13370 then
13371 if ${CUPS_CFLAGS:+false} :; then :
13372 if ${PKG_CONFIG+:} false; then :
13373 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13376 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13377 if ${CUPS_LIBS:+false} :; then :
13378 if ${PKG_CONFIG+:} false; then :
13379 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13382 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13383 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13384 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13385 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13386 ac_save_CPPFLAGS=$CPPFLAGS
13387 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13388 for ac_header in cups/cups.h cups/ppd.h
13389 do :
13390 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13391 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13392 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13393 cat >>confdefs.h <<_ACEOF
13394 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13395 _ACEOF
13399 done
13401 if test "$ac_cv_header_cups_cups_h" = "yes"
13402 then
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13404 $as_echo_n "checking for -lcups... " >&6; }
13405 if ${ac_cv_lib_soname_cups+:} false; then :
13406 $as_echo_n "(cached) " >&6
13407 else
13408 ac_check_soname_save_LIBS=$LIBS
13409 LIBS="-lcups $CUPS_LIBS $LIBS"
13410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13411 /* end confdefs.h. */
13413 /* Override any GCC internal prototype to avoid an error.
13414 Use char because int might match the return type of a GCC
13415 builtin and then its argument prototype would still apply. */
13416 #ifdef __cplusplus
13417 extern "C"
13418 #endif
13419 char cupsGetDefault ();
13421 main ()
13423 return cupsGetDefault ();
13425 return 0;
13427 _ACEOF
13428 if ac_fn_c_try_link "$LINENO"; then :
13429 case "$LIBEXT" in
13430 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13431 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'` ;;
13432 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13433 if ${ac_cv_lib_soname_cups:+false} :; then :
13434 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13435 fi ;;
13436 esac
13438 rm -f core conftest.err conftest.$ac_objext \
13439 conftest$ac_exeext conftest.$ac_ext
13440 LIBS=$ac_check_soname_save_LIBS
13442 if ${ac_cv_lib_soname_cups:+false} :; then :
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13444 $as_echo "not found" >&6; }
13445 CUPS_LIBS=""
13446 else
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13448 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13450 cat >>confdefs.h <<_ACEOF
13451 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13452 _ACEOF
13456 else
13457 CUPS_CFLAGS=""
13458 CUPS_LIBS=""
13460 CPPFLAGS=$ac_save_CPPFLAGS
13461 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13462 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13465 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13466 case "x$with_cups" in
13467 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13468 xno) ;;
13469 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13470 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13471 esac
13475 if test "x$with_fontconfig" != "xno"
13476 then
13477 if ${FONTCONFIG_CFLAGS:+false} :; then :
13478 if ${PKG_CONFIG+:} false; then :
13479 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13482 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13483 if ${FONTCONFIG_LIBS:+false} :; then :
13484 if ${PKG_CONFIG+:} false; then :
13485 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13488 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13490 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13491 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13492 ac_save_CPPFLAGS=$CPPFLAGS
13493 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13494 for ac_header in fontconfig/fontconfig.h
13495 do :
13496 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13497 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13498 cat >>confdefs.h <<_ACEOF
13499 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13500 _ACEOF
13504 done
13506 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13507 then
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13509 $as_echo_n "checking for -lfontconfig... " >&6; }
13510 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13511 $as_echo_n "(cached) " >&6
13512 else
13513 ac_check_soname_save_LIBS=$LIBS
13514 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13516 /* end confdefs.h. */
13518 /* Override any GCC internal prototype to avoid an error.
13519 Use char because int might match the return type of a GCC
13520 builtin and then its argument prototype would still apply. */
13521 #ifdef __cplusplus
13522 extern "C"
13523 #endif
13524 char FcInit ();
13526 main ()
13528 return FcInit ();
13530 return 0;
13532 _ACEOF
13533 if ac_fn_c_try_link "$LINENO"; then :
13534 case "$LIBEXT" in
13535 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13536 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'` ;;
13537 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13538 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13539 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13540 fi ;;
13541 esac
13543 rm -f core conftest.err conftest.$ac_objext \
13544 conftest$ac_exeext conftest.$ac_ext
13545 LIBS=$ac_check_soname_save_LIBS
13547 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13549 $as_echo "not found" >&6; }
13550 FONTCONFIG_CFLAGS=""
13551 else
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13553 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13555 cat >>confdefs.h <<_ACEOF
13556 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13557 _ACEOF
13561 else
13562 FONTCONFIG_CFLAGS=""
13564 CPPFLAGS=$ac_save_CPPFLAGS
13565 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13566 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13569 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13570 case "x$with_fontconfig" in
13571 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13572 xno) ;;
13573 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13574 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13575 esac
13579 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13580 then
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13582 $as_echo_n "checking for -lgsm... " >&6; }
13583 if ${ac_cv_lib_soname_gsm+:} false; then :
13584 $as_echo_n "(cached) " >&6
13585 else
13586 ac_check_soname_save_LIBS=$LIBS
13587 LIBS="-lgsm $LIBS"
13588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13589 /* end confdefs.h. */
13591 /* Override any GCC internal prototype to avoid an error.
13592 Use char because int might match the return type of a GCC
13593 builtin and then its argument prototype would still apply. */
13594 #ifdef __cplusplus
13595 extern "C"
13596 #endif
13597 char gsm_create ();
13599 main ()
13601 return gsm_create ();
13603 return 0;
13605 _ACEOF
13606 if ac_fn_c_try_link "$LINENO"; then :
13607 case "$LIBEXT" in
13608 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13609 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'` ;;
13610 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13611 if ${ac_cv_lib_soname_gsm:+false} :; then :
13612 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13613 fi ;;
13614 esac
13616 rm -f core conftest.err conftest.$ac_objext \
13617 conftest$ac_exeext conftest.$ac_ext
13618 LIBS=$ac_check_soname_save_LIBS
13620 if ${ac_cv_lib_soname_gsm:+false} :; then :
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13622 $as_echo "not found" >&6; }
13624 else
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13626 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13628 cat >>confdefs.h <<_ACEOF
13629 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13630 _ACEOF
13635 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13636 case "x$with_gsm" in
13637 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13638 xno) ;;
13639 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13640 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13641 esac
13645 if test "x$with_krb5" != "xno"
13646 then
13647 if ${KRB5_CFLAGS:+false} :; then :
13648 if ${PKG_CONFIG+:} false; then :
13649 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13652 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13653 if ${KRB5_LIBS:+false} :; then :
13654 if ${PKG_CONFIG+:} false; then :
13655 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13658 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13660 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13661 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13662 ac_save_CPPFLAGS=$CPPFLAGS
13663 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13664 for ac_header in krb5/krb5.h
13665 do :
13666 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13667 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13668 cat >>confdefs.h <<_ACEOF
13669 #define HAVE_KRB5_KRB5_H 1
13670 _ACEOF
13674 done
13676 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13677 then
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13679 $as_echo_n "checking for -lkrb5... " >&6; }
13680 if ${ac_cv_lib_soname_krb5+:} false; then :
13681 $as_echo_n "(cached) " >&6
13682 else
13683 ac_check_soname_save_LIBS=$LIBS
13684 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13686 /* end confdefs.h. */
13688 /* Override any GCC internal prototype to avoid an error.
13689 Use char because int might match the return type of a GCC
13690 builtin and then its argument prototype would still apply. */
13691 #ifdef __cplusplus
13692 extern "C"
13693 #endif
13694 char krb5_is_config_principal ();
13696 main ()
13698 return krb5_is_config_principal ();
13700 return 0;
13702 _ACEOF
13703 if ac_fn_c_try_link "$LINENO"; then :
13704 case "$LIBEXT" in
13705 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13706 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'` ;;
13707 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13708 if ${ac_cv_lib_soname_krb5:+false} :; then :
13709 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13710 fi ;;
13711 esac
13713 rm -f core conftest.err conftest.$ac_objext \
13714 conftest$ac_exeext conftest.$ac_ext
13715 LIBS=$ac_check_soname_save_LIBS
13717 if ${ac_cv_lib_soname_krb5:+false} :; then :
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13719 $as_echo "not found" >&6; }
13720 KRB5_CFLAGS=""
13721 else
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13723 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13725 cat >>confdefs.h <<_ACEOF
13726 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13727 _ACEOF
13731 else
13732 KRB5_CFLAGS=""
13734 CPPFLAGS=$ac_save_CPPFLAGS
13735 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13736 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13738 else
13739 with_gssapi=${with_gssapi:-no}
13741 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13742 case "x$with_krb5" in
13743 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
13744 xno) ;;
13745 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
13746 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13747 esac
13751 if test "x$with_gssapi" != "xno"
13752 then
13753 if ${GSSAPI_CFLAGS:+false} :; then :
13754 if ${PKG_CONFIG+:} false; then :
13755 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13758 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13759 if ${GSSAPI_LIBS:+false} :; then :
13760 if ${PKG_CONFIG+:} false; then :
13761 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13764 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13766 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13767 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13768 ac_save_CPPFLAGS=$CPPFLAGS
13769 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13770 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13771 do :
13772 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13773 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13774 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13775 cat >>confdefs.h <<_ACEOF
13776 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13777 _ACEOF
13781 done
13783 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13784 then
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13786 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13787 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13788 $as_echo_n "(cached) " >&6
13789 else
13790 ac_check_soname_save_LIBS=$LIBS
13791 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13793 /* end confdefs.h. */
13795 /* Override any GCC internal prototype to avoid an error.
13796 Use char because int might match the return type of a GCC
13797 builtin and then its argument prototype would still apply. */
13798 #ifdef __cplusplus
13799 extern "C"
13800 #endif
13801 char gss_init_sec_context ();
13803 main ()
13805 return gss_init_sec_context ();
13807 return 0;
13809 _ACEOF
13810 if ac_fn_c_try_link "$LINENO"; then :
13811 case "$LIBEXT" in
13812 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13813 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'` ;;
13814 *) 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'`
13815 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13816 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13817 fi ;;
13818 esac
13820 rm -f core conftest.err conftest.$ac_objext \
13821 conftest$ac_exeext conftest.$ac_ext
13822 LIBS=$ac_check_soname_save_LIBS
13824 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13826 $as_echo "not found" >&6; }
13827 GSSAPI_CFLAGS=""
13828 else
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13830 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13832 cat >>confdefs.h <<_ACEOF
13833 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13834 _ACEOF
13838 else
13839 GSSAPI_CFLAGS=""
13841 CPPFLAGS=$ac_save_CPPFLAGS
13842 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13843 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13846 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13847 case "x$with_gssapi" in
13848 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13849 xno) ;;
13850 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13851 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13852 esac
13856 if test "x$with_jpeg" != "xno"
13857 then
13858 if ${JPEG_CFLAGS:+false} :; then :
13859 if ${PKG_CONFIG+:} false; then :
13860 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13864 if ${JPEG_LIBS:+false} :; then :
13865 if ${PKG_CONFIG+:} false; then :
13866 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13871 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13872 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13873 ac_save_CPPFLAGS=$CPPFLAGS
13874 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13875 for ac_header in jpeglib.h
13876 do :
13877 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13878 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13879 cat >>confdefs.h <<_ACEOF
13880 #define HAVE_JPEGLIB_H 1
13881 _ACEOF
13885 done
13887 if test "$ac_cv_header_jpeglib_h" = "yes"
13888 then
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13890 $as_echo_n "checking for -ljpeg... " >&6; }
13891 if ${ac_cv_lib_soname_jpeg+:} false; then :
13892 $as_echo_n "(cached) " >&6
13893 else
13894 ac_check_soname_save_LIBS=$LIBS
13895 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13897 /* end confdefs.h. */
13899 /* Override any GCC internal prototype to avoid an error.
13900 Use char because int might match the return type of a GCC
13901 builtin and then its argument prototype would still apply. */
13902 #ifdef __cplusplus
13903 extern "C"
13904 #endif
13905 char jpeg_start_decompress ();
13907 main ()
13909 return jpeg_start_decompress ();
13911 return 0;
13913 _ACEOF
13914 if ac_fn_c_try_link "$LINENO"; then :
13915 case "$LIBEXT" in
13916 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13917 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'` ;;
13918 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13919 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13920 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13921 fi ;;
13922 esac
13924 rm -f core conftest.err conftest.$ac_objext \
13925 conftest$ac_exeext conftest.$ac_ext
13926 LIBS=$ac_check_soname_save_LIBS
13928 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13930 $as_echo "not found" >&6; }
13931 JPEG_CFLAGS=""
13932 else
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13934 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13936 cat >>confdefs.h <<_ACEOF
13937 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13938 _ACEOF
13942 else
13943 JPEG_CFLAGS=""
13945 CPPFLAGS=$ac_save_CPPFLAGS
13946 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13947 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13950 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13951 case "x$with_jpeg" in
13952 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13953 xno) ;;
13954 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13955 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13956 esac
13960 if test "x$with_png" != "xno"
13961 then
13962 if ${PNG_CFLAGS:+false} :; then :
13963 if ${PKG_CONFIG+:} false; then :
13964 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13967 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13968 if ${PNG_LIBS:+false} :; then :
13969 if ${PKG_CONFIG+:} false; then :
13970 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13973 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13975 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13976 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13977 ac_save_CPPFLAGS=$CPPFLAGS
13978 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13979 for ac_header in png.h
13980 do :
13981 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13982 if test "x$ac_cv_header_png_h" = xyes; then :
13983 cat >>confdefs.h <<_ACEOF
13984 #define HAVE_PNG_H 1
13985 _ACEOF
13989 done
13991 if test "$ac_cv_header_png_h" = "yes"
13992 then
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13994 $as_echo_n "checking for -lpng... " >&6; }
13995 if ${ac_cv_lib_soname_png+:} false; then :
13996 $as_echo_n "(cached) " >&6
13997 else
13998 ac_check_soname_save_LIBS=$LIBS
13999 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14001 /* end confdefs.h. */
14003 /* Override any GCC internal prototype to avoid an error.
14004 Use char because int might match the return type of a GCC
14005 builtin and then its argument prototype would still apply. */
14006 #ifdef __cplusplus
14007 extern "C"
14008 #endif
14009 char png_create_read_struct ();
14011 main ()
14013 return png_create_read_struct ();
14015 return 0;
14017 _ACEOF
14018 if ac_fn_c_try_link "$LINENO"; then :
14019 case "$LIBEXT" in
14020 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14021 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'` ;;
14022 *) 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'`
14023 if ${ac_cv_lib_soname_png:+false} :; then :
14024 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14025 fi ;;
14026 esac
14028 rm -f core conftest.err conftest.$ac_objext \
14029 conftest$ac_exeext conftest.$ac_ext
14030 LIBS=$ac_check_soname_save_LIBS
14032 if ${ac_cv_lib_soname_png:+false} :; then :
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14034 $as_echo "not found" >&6; }
14035 PNG_CFLAGS=""
14036 else
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14038 $as_echo "$ac_cv_lib_soname_png" >&6; }
14040 cat >>confdefs.h <<_ACEOF
14041 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14042 _ACEOF
14046 else
14047 PNG_CFLAGS=""
14049 CPPFLAGS=$ac_save_CPPFLAGS
14050 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14051 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14054 if test "x$ac_cv_lib_soname_png" = "x"; then :
14055 case "x$with_png" in
14056 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14057 xno) ;;
14058 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14059 This is an error since --with-png was requested." "$LINENO" 5 ;;
14060 esac
14064 if test "x$with_tiff" != "xno"
14065 then
14066 if ${TIFF_CFLAGS:+false} :; then :
14067 if ${PKG_CONFIG+:} false; then :
14068 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14072 if ${TIFF_LIBS:+false} :; then :
14073 if ${PKG_CONFIG+:} false; then :
14074 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14079 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14080 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14081 ac_save_CPPFLAGS=$CPPFLAGS
14082 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14083 for ac_header in tiffio.h
14084 do :
14085 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14086 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14087 cat >>confdefs.h <<_ACEOF
14088 #define HAVE_TIFFIO_H 1
14089 _ACEOF
14093 done
14095 if test "$ac_cv_header_tiffio_h" = "yes"
14096 then
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14098 $as_echo_n "checking for -ltiff... " >&6; }
14099 if ${ac_cv_lib_soname_tiff+:} false; then :
14100 $as_echo_n "(cached) " >&6
14101 else
14102 ac_check_soname_save_LIBS=$LIBS
14103 LIBS="-ltiff $TIFF_LIBS $LIBS"
14104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14105 /* end confdefs.h. */
14107 /* Override any GCC internal prototype to avoid an error.
14108 Use char because int might match the return type of a GCC
14109 builtin and then its argument prototype would still apply. */
14110 #ifdef __cplusplus
14111 extern "C"
14112 #endif
14113 char TIFFClientOpen ();
14115 main ()
14117 return TIFFClientOpen ();
14119 return 0;
14121 _ACEOF
14122 if ac_fn_c_try_link "$LINENO"; then :
14123 case "$LIBEXT" in
14124 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14125 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'` ;;
14126 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14127 if ${ac_cv_lib_soname_tiff:+false} :; then :
14128 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14129 fi ;;
14130 esac
14132 rm -f core conftest.err conftest.$ac_objext \
14133 conftest$ac_exeext conftest.$ac_ext
14134 LIBS=$ac_check_soname_save_LIBS
14136 if ${ac_cv_lib_soname_tiff:+false} :; then :
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14138 $as_echo "not found" >&6; }
14140 else
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14142 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14144 cat >>confdefs.h <<_ACEOF
14145 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14146 _ACEOF
14151 CPPFLAGS=$ac_save_CPPFLAGS
14152 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14153 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14156 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14157 case "x$with_tiff" in
14158 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14159 xno) ;;
14160 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14161 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14162 esac
14166 if test "x$with_mpg123" != "xno"
14167 then
14168 if ${MPG123_CFLAGS:+false} :; then :
14169 if ${PKG_CONFIG+:} false; then :
14170 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14174 if ${MPG123_LIBS:+false} :; then :
14175 if ${PKG_CONFIG+:} false; then :
14176 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14180 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14181 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14182 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14183 ac_save_CPPFLAGS=$CPPFLAGS
14184 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14185 for ac_header in mpg123.h
14186 do :
14187 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14188 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14189 cat >>confdefs.h <<_ACEOF
14190 #define HAVE_MPG123_H 1
14191 _ACEOF
14195 done
14197 if test "$ac_cv_header_mpg123_h" = "yes"
14198 then
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14200 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14201 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14202 $as_echo_n "(cached) " >&6
14203 else
14204 ac_check_lib_save_LIBS=$LIBS
14205 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14207 /* end confdefs.h. */
14209 /* Override any GCC internal prototype to avoid an error.
14210 Use char because int might match the return type of a GCC
14211 builtin and then its argument prototype would still apply. */
14212 #ifdef __cplusplus
14213 extern "C"
14214 #endif
14215 char mpg123_feed ();
14217 main ()
14219 return mpg123_feed ();
14221 return 0;
14223 _ACEOF
14224 if ac_fn_c_try_link "$LINENO"; then :
14225 ac_cv_lib_mpg123_mpg123_feed=yes
14226 else
14227 ac_cv_lib_mpg123_mpg123_feed=no
14229 rm -f core conftest.err conftest.$ac_objext \
14230 conftest$ac_exeext conftest.$ac_ext
14231 LIBS=$ac_check_lib_save_LIBS
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14234 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14235 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14237 else
14238 MPG123_LIBS=""
14241 else
14242 MPG123_CFLAGS=""
14243 MPG123_LIBS=""
14245 CPPFLAGS=$ac_save_CPPFLAGS
14246 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14247 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14250 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14251 case "x$with_mpg123" in
14252 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14253 xno) ;;
14254 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14255 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14256 esac
14257 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14259 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
14261 if test "$ac_cv_header_AL_al_h" = "yes"
14262 then
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14264 $as_echo_n "checking for -lopenal... " >&6; }
14265 if ${ac_cv_lib_soname_openal+:} false; then :
14266 $as_echo_n "(cached) " >&6
14267 else
14268 ac_check_soname_save_LIBS=$LIBS
14269 LIBS="-lopenal $LIBS"
14270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14271 /* end confdefs.h. */
14273 /* Override any GCC internal prototype to avoid an error.
14274 Use char because int might match the return type of a GCC
14275 builtin and then its argument prototype would still apply. */
14276 #ifdef __cplusplus
14277 extern "C"
14278 #endif
14279 char alGetSource3i ();
14281 main ()
14283 return alGetSource3i ();
14285 return 0;
14287 _ACEOF
14288 if ac_fn_c_try_link "$LINENO"; then :
14289 case "$LIBEXT" in
14290 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14291 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'` ;;
14292 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14293 if ${ac_cv_lib_soname_openal:+false} :; then :
14294 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14295 fi ;;
14296 esac
14298 rm -f core conftest.err conftest.$ac_objext \
14299 conftest$ac_exeext conftest.$ac_ext
14300 LIBS=$ac_check_soname_save_LIBS
14302 if ${ac_cv_lib_soname_openal:+false} :; then :
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14304 $as_echo "not found" >&6; }
14306 else
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14308 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14310 cat >>confdefs.h <<_ACEOF
14311 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14312 _ACEOF
14314 OPENAL_LIBS="-lopenal"
14316 ac_cv_lib_openal=yes
14318 cat >>confdefs.h <<_ACEOF
14319 #define HAVE_OPENAL 1
14320 _ACEOF
14324 if test "x$ac_cv_lib_openal" != xyes; then :
14325 case "x$with_openal" in
14326 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14327 xno) ;;
14328 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14329 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14330 esac
14331 enable_openal32=${enable_openal32:-no}
14334 if test "x$ac_cv_lib_openal" = xyes
14335 then
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14337 $as_echo_n "checking for openal-soft... " >&6; }
14338 if ${ac_cv_have_openalsoft+:} false; then :
14339 $as_echo_n "(cached) " >&6
14340 else
14341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14342 /* end confdefs.h. */
14343 #include <AL/al.h>
14344 #include <AL/alc.h>
14345 #include <AL/alext.h>
14346 LPALCRENDERSAMPLESSOFT x;
14348 main ()
14352 return 0;
14354 _ACEOF
14355 if ac_fn_c_try_compile "$LINENO"; then :
14356 ac_cv_have_openalsoft=yes
14357 else
14358 ac_cv_have_openalsoft=no
14360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14363 $as_echo "$ac_cv_have_openalsoft" >&6; }
14365 if test "x$ac_cv_have_openalsoft" != xyes
14366 then
14367 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14368 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14369 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14370 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14371 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14372 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14373 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14374 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14375 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14376 enable_xapofx1_1=${enable_xapofx1_1:-no}
14377 enable_xapofx1_2=${enable_xapofx1_2:-no}
14378 enable_xapofx1_3=${enable_xapofx1_3:-no}
14379 enable_xapofx1_4=${enable_xapofx1_4:-no}
14380 enable_xapofx1_5=${enable_xapofx1_5:-no}
14381 enable_xaudio2_0=${enable_xaudio2_0:-no}
14382 enable_xaudio2_1=${enable_xaudio2_1:-no}
14383 enable_xaudio2_2=${enable_xaudio2_2:-no}
14384 enable_xaudio2_3=${enable_xaudio2_3:-no}
14385 enable_xaudio2_4=${enable_xaudio2_4:-no}
14386 enable_xaudio2_5=${enable_xaudio2_5:-no}
14387 enable_xaudio2_6=${enable_xaudio2_6:-no}
14388 enable_xaudio2_7=${enable_xaudio2_7:-no}
14389 enable_xaudio2_8=${enable_xaudio2_8:-no}
14390 enable_xaudio2_9=${enable_xaudio2_9:-no}
14393 if test "$ac_cv_header_kstat_h" = "yes"
14394 then
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14396 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14397 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14398 $as_echo_n "(cached) " >&6
14399 else
14400 ac_check_lib_save_LIBS=$LIBS
14401 LIBS="-lkstat $LIBS"
14402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14403 /* end confdefs.h. */
14405 /* Override any GCC internal prototype to avoid an error.
14406 Use char because int might match the return type of a GCC
14407 builtin and then its argument prototype would still apply. */
14408 #ifdef __cplusplus
14409 extern "C"
14410 #endif
14411 char kstat_open ();
14413 main ()
14415 return kstat_open ();
14417 return 0;
14419 _ACEOF
14420 if ac_fn_c_try_link "$LINENO"; then :
14421 ac_cv_lib_kstat_kstat_open=yes
14422 else
14423 ac_cv_lib_kstat_kstat_open=no
14425 rm -f core conftest.err conftest.$ac_objext \
14426 conftest$ac_exeext conftest.$ac_ext
14427 LIBS=$ac_check_lib_save_LIBS
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14430 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14431 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14433 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14435 KSTAT_LIBS="-lkstat"
14441 if test "$ac_cv_header_libprocstat_h" = "yes"
14442 then
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14444 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14445 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14446 $as_echo_n "(cached) " >&6
14447 else
14448 ac_check_lib_save_LIBS=$LIBS
14449 LIBS="-lprocstat $LIBS"
14450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14451 /* end confdefs.h. */
14453 /* Override any GCC internal prototype to avoid an error.
14454 Use char because int might match the return type of a GCC
14455 builtin and then its argument prototype would still apply. */
14456 #ifdef __cplusplus
14457 extern "C"
14458 #endif
14459 char procstat_open_sysctl ();
14461 main ()
14463 return procstat_open_sysctl ();
14465 return 0;
14467 _ACEOF
14468 if ac_fn_c_try_link "$LINENO"; then :
14469 ac_cv_lib_procstat_procstat_open_sysctl=yes
14470 else
14471 ac_cv_lib_procstat_procstat_open_sysctl=no
14473 rm -f core conftest.err conftest.$ac_objext \
14474 conftest$ac_exeext conftest.$ac_ext
14475 LIBS=$ac_check_lib_save_LIBS
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14478 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14479 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14481 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14483 PROCSTAT_LIBS="-lprocstat"
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14490 $as_echo_n "checking for -lodbc... " >&6; }
14491 if ${ac_cv_lib_soname_odbc+:} false; then :
14492 $as_echo_n "(cached) " >&6
14493 else
14494 ac_check_soname_save_LIBS=$LIBS
14495 LIBS="-lodbc $LIBS"
14496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14497 /* end confdefs.h. */
14499 /* Override any GCC internal prototype to avoid an error.
14500 Use char because int might match the return type of a GCC
14501 builtin and then its argument prototype would still apply. */
14502 #ifdef __cplusplus
14503 extern "C"
14504 #endif
14505 char SQLConnect ();
14507 main ()
14509 return SQLConnect ();
14511 return 0;
14513 _ACEOF
14514 if ac_fn_c_try_link "$LINENO"; then :
14515 case "$LIBEXT" in
14516 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14517 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'` ;;
14518 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14519 if ${ac_cv_lib_soname_odbc:+false} :; then :
14520 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14521 fi ;;
14522 esac
14524 rm -f core conftest.err conftest.$ac_objext \
14525 conftest$ac_exeext conftest.$ac_ext
14526 LIBS=$ac_check_soname_save_LIBS
14528 if ${ac_cv_lib_soname_odbc:+false} :; then :
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14530 $as_echo "not found" >&6; }
14531 cat >>confdefs.h <<_ACEOF
14532 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14533 _ACEOF
14535 else
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14537 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14539 cat >>confdefs.h <<_ACEOF
14540 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14541 _ACEOF
14546 if test "x$with_netapi" != "xno"
14547 then
14548 if ${NETAPI_CFLAGS:+false} :; then :
14549 if ${PKG_CONFIG+:} false; then :
14550 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14554 if ${NETAPI_LIBS:+false} :; then :
14555 if ${PKG_CONFIG+:} false; then :
14556 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14561 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14562 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14563 ac_save_CPPFLAGS=$CPPFLAGS
14564 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14566 $as_echo_n "checking for -lnetapi... " >&6; }
14567 if ${ac_cv_lib_soname_netapi+:} false; then :
14568 $as_echo_n "(cached) " >&6
14569 else
14570 ac_check_soname_save_LIBS=$LIBS
14571 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14573 /* end confdefs.h. */
14575 /* Override any GCC internal prototype to avoid an error.
14576 Use char because int might match the return type of a GCC
14577 builtin and then its argument prototype would still apply. */
14578 #ifdef __cplusplus
14579 extern "C"
14580 #endif
14581 char libnetapi_init ();
14583 main ()
14585 return libnetapi_init ();
14587 return 0;
14589 _ACEOF
14590 if ac_fn_c_try_link "$LINENO"; then :
14591 case "$LIBEXT" in
14592 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14593 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'` ;;
14594 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14595 if ${ac_cv_lib_soname_netapi:+false} :; then :
14596 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14597 fi ;;
14598 esac
14600 rm -f core conftest.err conftest.$ac_objext \
14601 conftest$ac_exeext conftest.$ac_ext
14602 LIBS=$ac_check_soname_save_LIBS
14604 if ${ac_cv_lib_soname_netapi:+false} :; then :
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14606 $as_echo "not found" >&6; }
14607 cat >>confdefs.h <<_ACEOF
14608 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14609 _ACEOF
14611 else
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14613 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14615 cat >>confdefs.h <<_ACEOF
14616 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14617 _ACEOF
14621 CPPFLAGS=$ac_save_CPPFLAGS
14622 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14623 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14627 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14628 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14629 then
14630 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14633 if test "x$with_vulkan" != "xno"
14634 then
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
14636 $as_echo_n "checking for -lvulkan... " >&6; }
14637 if ${ac_cv_lib_soname_vulkan+:} false; then :
14638 $as_echo_n "(cached) " >&6
14639 else
14640 ac_check_soname_save_LIBS=$LIBS
14641 LIBS="-lvulkan $LIBS"
14642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14645 /* Override any GCC internal prototype to avoid an error.
14646 Use char because int might match the return type of a GCC
14647 builtin and then its argument prototype would still apply. */
14648 #ifdef __cplusplus
14649 extern "C"
14650 #endif
14651 char vkGetInstanceProcAddr ();
14653 main ()
14655 return vkGetInstanceProcAddr ();
14657 return 0;
14659 _ACEOF
14660 if ac_fn_c_try_link "$LINENO"; then :
14661 case "$LIBEXT" in
14662 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14663 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'` ;;
14664 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14665 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14666 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14667 fi ;;
14668 esac
14670 rm -f core conftest.err conftest.$ac_objext \
14671 conftest$ac_exeext conftest.$ac_ext
14672 LIBS=$ac_check_soname_save_LIBS
14674 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14676 $as_echo "not found" >&6; }
14678 else
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
14680 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
14682 cat >>confdefs.h <<_ACEOF
14683 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
14684 _ACEOF
14689 if test "x$ac_cv_lib_soname_vulkan" = "x"; then :
14690 case "x$with_vulkan" in
14691 x) as_fn_append wine_notices "|libvulkan ${notice_platform}development files not found, Vulkan won't be supported." ;;
14692 xno) ;;
14693 *) as_fn_error $? "libvulkan ${notice_platform}development files not found, Vulkan won't be supported.
14694 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
14695 esac
14699 if test "x$with_vkd3d" != "xno"
14700 then
14701 if ${VKD3D_CFLAGS:+false} :; then :
14702 if ${PKG_CONFIG+:} false; then :
14703 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
14707 if ${VKD3D_LIBS:+false} :; then :
14708 if ${PKG_CONFIG+:} false; then :
14709 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
14714 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
14715 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
14716 ac_save_CPPFLAGS=$CPPFLAGS
14717 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
14719 $as_echo_n "checking for -lvkd3d... " >&6; }
14720 if ${ac_cv_lib_soname_vkd3d+:} false; then :
14721 $as_echo_n "(cached) " >&6
14722 else
14723 ac_check_soname_save_LIBS=$LIBS
14724 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
14725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14726 /* end confdefs.h. */
14728 /* Override any GCC internal prototype to avoid an error.
14729 Use char because int might match the return type of a GCC
14730 builtin and then its argument prototype would still apply. */
14731 #ifdef __cplusplus
14732 extern "C"
14733 #endif
14734 char vkd3d_create_device ();
14736 main ()
14738 return vkd3d_create_device ();
14740 return 0;
14742 _ACEOF
14743 if ac_fn_c_try_link "$LINENO"; then :
14744 case "$LIBEXT" in
14745 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14746 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'` ;;
14747 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14748 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
14749 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14750 fi ;;
14751 esac
14753 rm -f core conftest.err conftest.$ac_objext \
14754 conftest$ac_exeext conftest.$ac_ext
14755 LIBS=$ac_check_soname_save_LIBS
14757 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14759 $as_echo "not found" >&6; }
14761 else
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
14763 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
14765 cat >>confdefs.h <<_ACEOF
14766 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
14767 _ACEOF
14771 CPPFLAGS=$ac_save_CPPFLAGS
14772 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14773 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14776 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
14777 case "x$with_vkd3d" in
14778 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported." ;;
14779 xno) ;;
14780 *) as_fn_error $? "vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported.
14781 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
14782 esac
14785 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
14788 EXTRACFLAGS=""
14790 if test "x${GCC}" = "xyes"
14791 then
14792 EXTRACFLAGS="-Wall -pipe"
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14795 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14796 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14797 $as_echo_n "(cached) " >&6
14798 else
14799 if test "$cross_compiling" = yes; then :
14800 ac_cv_c_gcc_strength_bug="no"
14801 else
14802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14804 int L[4] = {0,1,2,3};
14806 main ()
14808 static int Array[3];
14809 unsigned int B = 3;
14810 int i;
14811 for(i=0; i<B; i++) Array[i] = i - 3;
14812 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14813 L[i] = 4;
14814 return (Array[1] != -2 || L[2] != 3)
14816 return 0;
14818 _ACEOF
14819 if ac_fn_c_try_run "$LINENO"; then :
14820 ac_cv_c_gcc_strength_bug="no"
14821 else
14822 ac_cv_c_gcc_strength_bug="yes"
14824 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14825 conftest.$ac_objext conftest.beam conftest.$ac_ext
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14830 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14831 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14832 then
14833 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14837 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14838 if ${ac_cv_cflags__fno_builtin+:} false; then :
14839 $as_echo_n "(cached) " >&6
14840 else
14841 ac_wine_try_cflags_saved=$CFLAGS
14842 CFLAGS="$CFLAGS -fno-builtin"
14843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14844 /* end confdefs.h. */
14845 int main(int argc, char **argv) { return 0; }
14846 _ACEOF
14847 if ac_fn_c_try_link "$LINENO"; then :
14848 ac_cv_cflags__fno_builtin=yes
14849 else
14850 ac_cv_cflags__fno_builtin=no
14852 rm -f core conftest.err conftest.$ac_objext \
14853 conftest$ac_exeext conftest.$ac_ext
14854 CFLAGS=$ac_wine_try_cflags_saved
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14857 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14858 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14859 BUILTINFLAG="-fno-builtin"
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14863 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14864 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14865 $as_echo_n "(cached) " >&6
14866 else
14867 ac_wine_try_cflags_saved=$CFLAGS
14868 CFLAGS="$CFLAGS -fno-strict-aliasing"
14869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14870 /* end confdefs.h. */
14871 int main(int argc, char **argv) { return 0; }
14872 _ACEOF
14873 if ac_fn_c_try_link "$LINENO"; then :
14874 ac_cv_cflags__fno_strict_aliasing=yes
14875 else
14876 ac_cv_cflags__fno_strict_aliasing=no
14878 rm -f core conftest.err conftest.$ac_objext \
14879 conftest$ac_exeext conftest.$ac_ext
14880 CFLAGS=$ac_wine_try_cflags_saved
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14883 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14884 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14885 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14888 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14889 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14890 $as_echo_n "(cached) " >&6
14891 else
14892 ac_wine_try_cflags_saved=$CFLAGS
14893 CFLAGS="$CFLAGS -fexcess-precision=standard"
14894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14895 /* end confdefs.h. */
14896 int main(int argc, char **argv) { return 0; }
14897 _ACEOF
14898 if ac_fn_c_try_link "$LINENO"; then :
14899 ac_cv_cflags__fexcess_precision_standard=yes
14900 else
14901 ac_cv_cflags__fexcess_precision_standard=no
14903 rm -f core conftest.err conftest.$ac_objext \
14904 conftest$ac_exeext conftest.$ac_ext
14905 CFLAGS=$ac_wine_try_cflags_saved
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14908 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14909 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14910 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14913 saved_CFLAGS=$CFLAGS
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14915 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14916 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14917 $as_echo_n "(cached) " >&6
14918 else
14919 ac_wine_try_cflags_saved=$CFLAGS
14920 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14922 /* end confdefs.h. */
14923 int main(int argc, char **argv) { return 0; }
14924 _ACEOF
14925 if ac_fn_c_try_link "$LINENO"; then :
14926 ac_cv_cflags__Werror_unknown_warning_option=yes
14927 else
14928 ac_cv_cflags__Werror_unknown_warning_option=no
14930 rm -f core conftest.err conftest.$ac_objext \
14931 conftest$ac_exeext conftest.$ac_ext
14932 CFLAGS=$ac_wine_try_cflags_saved
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14935 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14936 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14937 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14940 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14941 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14942 $as_echo_n "(cached) " >&6
14943 else
14944 ac_wine_try_cflags_saved=$CFLAGS
14945 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14947 /* end confdefs.h. */
14948 int main(int argc, char **argv) { return 0; }
14949 _ACEOF
14950 if ac_fn_c_try_link "$LINENO"; then :
14951 ac_cv_cflags__Wdeclaration_after_statement=yes
14952 else
14953 ac_cv_cflags__Wdeclaration_after_statement=no
14955 rm -f core conftest.err conftest.$ac_objext \
14956 conftest$ac_exeext conftest.$ac_ext
14957 CFLAGS=$ac_wine_try_cflags_saved
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14960 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14961 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14962 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14965 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14966 if ${ac_cv_cflags__Wempty_body+:} false; then :
14967 $as_echo_n "(cached) " >&6
14968 else
14969 ac_wine_try_cflags_saved=$CFLAGS
14970 CFLAGS="$CFLAGS -Wempty-body"
14971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14972 /* end confdefs.h. */
14973 int main(int argc, char **argv) { return 0; }
14974 _ACEOF
14975 if ac_fn_c_try_link "$LINENO"; then :
14976 ac_cv_cflags__Wempty_body=yes
14977 else
14978 ac_cv_cflags__Wempty_body=no
14980 rm -f core conftest.err conftest.$ac_objext \
14981 conftest$ac_exeext conftest.$ac_ext
14982 CFLAGS=$ac_wine_try_cflags_saved
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14985 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14986 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14987 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14990 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14991 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14992 $as_echo_n "(cached) " >&6
14993 else
14994 ac_wine_try_cflags_saved=$CFLAGS
14995 CFLAGS="$CFLAGS -Wignored-qualifiers"
14996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14997 /* end confdefs.h. */
14998 int main(int argc, char **argv) { return 0; }
14999 _ACEOF
15000 if ac_fn_c_try_link "$LINENO"; then :
15001 ac_cv_cflags__Wignored_qualifiers=yes
15002 else
15003 ac_cv_cflags__Wignored_qualifiers=no
15005 rm -f core conftest.err conftest.$ac_objext \
15006 conftest$ac_exeext conftest.$ac_ext
15007 CFLAGS=$ac_wine_try_cflags_saved
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15010 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15011 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15012 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15015 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15016 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15017 $as_echo_n "(cached) " >&6
15018 else
15019 ac_wine_try_cflags_saved=$CFLAGS
15020 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15022 /* end confdefs.h. */
15023 int main(int argc, char **argv) { return 0; }
15024 _ACEOF
15025 if ac_fn_c_try_link "$LINENO"; then :
15026 ac_cv_cflags__Wpacked_not_aligned=yes
15027 else
15028 ac_cv_cflags__Wpacked_not_aligned=no
15030 rm -f core conftest.err conftest.$ac_objext \
15031 conftest$ac_exeext conftest.$ac_ext
15032 CFLAGS=$ac_wine_try_cflags_saved
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15035 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15036 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15037 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15040 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15041 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15042 $as_echo_n "(cached) " >&6
15043 else
15044 ac_wine_try_cflags_saved=$CFLAGS
15045 CFLAGS="$CFLAGS -Wpragma-pack"
15046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15047 /* end confdefs.h. */
15048 int main(int argc, char **argv) { return 0; }
15049 _ACEOF
15050 if ac_fn_c_try_link "$LINENO"; then :
15051 ac_cv_cflags__Wpragma_pack=yes
15052 else
15053 ac_cv_cflags__Wpragma_pack=no
15055 rm -f core conftest.err conftest.$ac_objext \
15056 conftest$ac_exeext conftest.$ac_ext
15057 CFLAGS=$ac_wine_try_cflags_saved
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15060 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15061 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15062 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15065 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15066 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15067 $as_echo_n "(cached) " >&6
15068 else
15069 ac_wine_try_cflags_saved=$CFLAGS
15070 CFLAGS="$CFLAGS -Wshift-overflow=2"
15071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h. */
15073 int main(int argc, char **argv) { return 0; }
15074 _ACEOF
15075 if ac_fn_c_try_link "$LINENO"; then :
15076 ac_cv_cflags__Wshift_overflow_2=yes
15077 else
15078 ac_cv_cflags__Wshift_overflow_2=no
15080 rm -f core conftest.err conftest.$ac_objext \
15081 conftest$ac_exeext conftest.$ac_ext
15082 CFLAGS=$ac_wine_try_cflags_saved
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15085 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15086 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15087 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15090 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15091 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15092 $as_echo_n "(cached) " >&6
15093 else
15094 ac_wine_try_cflags_saved=$CFLAGS
15095 CFLAGS="$CFLAGS -Wstrict-prototypes"
15096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15097 /* end confdefs.h. */
15098 int main(int argc, char **argv) { return 0; }
15099 _ACEOF
15100 if ac_fn_c_try_link "$LINENO"; then :
15101 ac_cv_cflags__Wstrict_prototypes=yes
15102 else
15103 ac_cv_cflags__Wstrict_prototypes=no
15105 rm -f core conftest.err conftest.$ac_objext \
15106 conftest$ac_exeext conftest.$ac_ext
15107 CFLAGS=$ac_wine_try_cflags_saved
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15110 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15111 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15112 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15115 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15116 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15117 $as_echo_n "(cached) " >&6
15118 else
15119 ac_wine_try_cflags_saved=$CFLAGS
15120 CFLAGS="$CFLAGS -Wtype-limits"
15121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15122 /* end confdefs.h. */
15123 int main(int argc, char **argv) { return 0; }
15124 _ACEOF
15125 if ac_fn_c_try_link "$LINENO"; then :
15126 ac_cv_cflags__Wtype_limits=yes
15127 else
15128 ac_cv_cflags__Wtype_limits=no
15130 rm -f core conftest.err conftest.$ac_objext \
15131 conftest$ac_exeext conftest.$ac_ext
15132 CFLAGS=$ac_wine_try_cflags_saved
15134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15135 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15136 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15137 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15140 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15141 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15142 $as_echo_n "(cached) " >&6
15143 else
15144 ac_wine_try_cflags_saved=$CFLAGS
15145 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15147 /* end confdefs.h. */
15148 int main(int argc, char **argv) { return 0; }
15149 _ACEOF
15150 if ac_fn_c_try_link "$LINENO"; then :
15151 ac_cv_cflags__Wunused_but_set_parameter=yes
15152 else
15153 ac_cv_cflags__Wunused_but_set_parameter=no
15155 rm -f core conftest.err conftest.$ac_objext \
15156 conftest$ac_exeext conftest.$ac_ext
15157 CFLAGS=$ac_wine_try_cflags_saved
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15160 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15161 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15162 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15165 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15166 if ${ac_cv_cflags__Wvla+:} false; then :
15167 $as_echo_n "(cached) " >&6
15168 else
15169 ac_wine_try_cflags_saved=$CFLAGS
15170 CFLAGS="$CFLAGS -Wvla"
15171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15172 /* end confdefs.h. */
15173 int main(int argc, char **argv) { return 0; }
15174 _ACEOF
15175 if ac_fn_c_try_link "$LINENO"; then :
15176 ac_cv_cflags__Wvla=yes
15177 else
15178 ac_cv_cflags__Wvla=no
15180 rm -f core conftest.err conftest.$ac_objext \
15181 conftest$ac_exeext conftest.$ac_ext
15182 CFLAGS=$ac_wine_try_cflags_saved
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15185 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15186 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15187 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15190 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15191 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15192 $as_echo_n "(cached) " >&6
15193 else
15194 ac_wine_try_cflags_saved=$CFLAGS
15195 CFLAGS="$CFLAGS -Wwrite-strings"
15196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15197 /* end confdefs.h. */
15198 int main(int argc, char **argv) { return 0; }
15199 _ACEOF
15200 if ac_fn_c_try_link "$LINENO"; then :
15201 ac_cv_cflags__Wwrite_strings=yes
15202 else
15203 ac_cv_cflags__Wwrite_strings=no
15205 rm -f core conftest.err conftest.$ac_objext \
15206 conftest$ac_exeext conftest.$ac_ext
15207 CFLAGS=$ac_wine_try_cflags_saved
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15210 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15211 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15212 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15216 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15217 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15218 $as_echo_n "(cached) " >&6
15219 else
15220 ac_wine_try_cflags_saved=$CFLAGS
15221 CFLAGS="$CFLAGS -Wpointer-arith"
15222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15223 /* end confdefs.h. */
15224 int main(int argc, char **argv) { return 0; }
15225 _ACEOF
15226 if ac_fn_c_try_link "$LINENO"; then :
15227 ac_cv_cflags__Wpointer_arith=yes
15228 else
15229 ac_cv_cflags__Wpointer_arith=no
15231 rm -f core conftest.err conftest.$ac_objext \
15232 conftest$ac_exeext conftest.$ac_ext
15233 CFLAGS=$ac_wine_try_cflags_saved
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15236 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15237 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15238 saved_string_h_CFLAGS=$CFLAGS
15239 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15241 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15242 if ${ac_cv_c_string_h_warnings+:} false; then :
15243 $as_echo_n "(cached) " >&6
15244 else
15245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15246 /* end confdefs.h. */
15247 #include <string.h>
15249 main ()
15253 return 0;
15255 _ACEOF
15256 if ac_fn_c_try_compile "$LINENO"; then :
15257 ac_cv_c_string_h_warnings=no
15258 else
15259 ac_cv_c_string_h_warnings=yes
15261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15264 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15265 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15266 CFLAGS=$saved_string_h_CFLAGS
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15270 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15271 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15272 $as_echo_n "(cached) " >&6
15273 else
15274 ac_wine_try_cflags_saved=$CFLAGS
15275 CFLAGS="$CFLAGS -Wlogical-op"
15276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15277 /* end confdefs.h. */
15278 int main(int argc, char **argv) { return 0; }
15279 _ACEOF
15280 if ac_fn_c_try_link "$LINENO"; then :
15281 ac_cv_cflags__Wlogical_op=yes
15282 else
15283 ac_cv_cflags__Wlogical_op=no
15285 rm -f core conftest.err conftest.$ac_objext \
15286 conftest$ac_exeext conftest.$ac_ext
15287 CFLAGS=$ac_wine_try_cflags_saved
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15290 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15291 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15292 saved_string_h_CFLAGS=$CFLAGS
15293 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15295 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15296 if ${ac_cv_c_logicalop_noisy+:} false; then :
15297 $as_echo_n "(cached) " >&6
15298 else
15299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15300 /* end confdefs.h. */
15301 #include <string.h>
15302 char*f(const char *h,char n) {return strchr(h,n);}
15304 main ()
15308 return 0;
15310 _ACEOF
15311 if ac_fn_c_try_compile "$LINENO"; then :
15312 ac_cv_c_logicalop_noisy=no
15313 else
15314 ac_cv_c_logicalop_noisy=yes
15316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15319 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15320 CFLAGS=$saved_string_h_CFLAGS
15321 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15324 CFLAGS=$saved_CFLAGS
15326 for ac_flag in $CFLAGS; do
15327 case $ac_flag in
15328 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15329 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15330 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15331 $as_echo_n "(cached) " >&6
15332 else
15333 ac_wine_try_cflags_saved=$CFLAGS
15334 CFLAGS="$CFLAGS -gdwarf-2"
15335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15336 /* end confdefs.h. */
15337 int main(int argc, char **argv) { return 0; }
15338 _ACEOF
15339 if ac_fn_c_try_link "$LINENO"; then :
15340 ac_cv_cflags__gdwarf_2=yes
15341 else
15342 ac_cv_cflags__gdwarf_2=no
15344 rm -f core conftest.err conftest.$ac_objext \
15345 conftest$ac_exeext conftest.$ac_ext
15346 CFLAGS=$ac_wine_try_cflags_saved
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15349 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15350 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15351 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15354 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15355 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15356 $as_echo_n "(cached) " >&6
15357 else
15358 ac_wine_try_cflags_saved=$CFLAGS
15359 CFLAGS="$CFLAGS -gstrict-dwarf"
15360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15361 /* end confdefs.h. */
15362 int main(int argc, char **argv) { return 0; }
15363 _ACEOF
15364 if ac_fn_c_try_link "$LINENO"; then :
15365 ac_cv_cflags__gstrict_dwarf=yes
15366 else
15367 ac_cv_cflags__gstrict_dwarf=no
15369 rm -f core conftest.err conftest.$ac_objext \
15370 conftest$ac_exeext conftest.$ac_ext
15371 CFLAGS=$ac_wine_try_cflags_saved
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15374 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15375 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15376 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15377 fi ;;
15378 esac
15379 done
15381 case $host_cpu in
15382 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15383 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15384 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15385 $as_echo_n "(cached) " >&6
15386 else
15387 ac_wine_try_cflags_saved=$CFLAGS
15388 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15390 /* end confdefs.h. */
15391 int main(int argc, char **argv) { return 0; }
15392 _ACEOF
15393 if ac_fn_c_try_link "$LINENO"; then :
15394 ac_cv_cflags__fno_omit_frame_pointer=yes
15395 else
15396 ac_cv_cflags__fno_omit_frame_pointer=no
15398 rm -f core conftest.err conftest.$ac_objext \
15399 conftest$ac_exeext conftest.$ac_ext
15400 CFLAGS=$ac_wine_try_cflags_saved
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15403 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15404 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15405 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15406 fi ;;
15407 esac
15409 case $host in
15410 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15411 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15412 if ${ac_cv_cflags__Wno_format+:} false; then :
15413 $as_echo_n "(cached) " >&6
15414 else
15415 ac_wine_try_cflags_saved=$CFLAGS
15416 CFLAGS="$CFLAGS -Wno-format"
15417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15418 /* end confdefs.h. */
15419 int main(int argc, char **argv) { return 0; }
15420 _ACEOF
15421 if ac_fn_c_try_link "$LINENO"; then :
15422 ac_cv_cflags__Wno_format=yes
15423 else
15424 ac_cv_cflags__Wno_format=no
15426 rm -f core conftest.err conftest.$ac_objext \
15427 conftest$ac_exeext conftest.$ac_ext
15428 CFLAGS=$ac_wine_try_cflags_saved
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15431 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15432 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15433 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15434 fi ;;
15435 esac
15437 if test "x$enable_maintainer_mode" = "xyes"
15438 then
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15440 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15441 if ${ac_cv_cflags__Werror+:} false; then :
15442 $as_echo_n "(cached) " >&6
15443 else
15444 ac_wine_try_cflags_saved=$CFLAGS
15445 CFLAGS="$CFLAGS -Werror"
15446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15447 /* end confdefs.h. */
15448 int main(int argc, char **argv) { return 0; }
15449 _ACEOF
15450 if ac_fn_c_try_link "$LINENO"; then :
15451 ac_cv_cflags__Werror=yes
15452 else
15453 ac_cv_cflags__Werror=no
15455 rm -f core conftest.err conftest.$ac_objext \
15456 conftest$ac_exeext conftest.$ac_ext
15457 CFLAGS=$ac_wine_try_cflags_saved
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15460 $as_echo "$ac_cv_cflags__Werror" >&6; }
15461 if test "x$ac_cv_cflags__Werror" = xyes; then :
15462 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15466 saved_CFLAGS="$CFLAGS"
15467 CFLAGS="$CFLAGS -Werror"
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15469 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15470 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15471 $as_echo_n "(cached) " >&6
15472 else
15473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15474 /* end confdefs.h. */
15475 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15477 main ()
15481 return 0;
15483 _ACEOF
15484 if ac_fn_c_try_compile "$LINENO"; then :
15485 ac_cv_have_ms_hook_prologue="yes"
15486 else
15487 ac_cv_have_ms_hook_prologue="no"
15489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15492 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15493 CFLAGS="$saved_CFLAGS"
15494 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15495 then
15497 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15499 else
15500 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15507 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15508 if ${ac_cv_c_fortify_enabled+:} false; then :
15509 $as_echo_n "(cached) " >&6
15510 else
15511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15512 /* end confdefs.h. */
15513 #include <string.h>
15515 main ()
15517 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15518 #error Fortify enabled
15519 #endif
15521 return 0;
15523 _ACEOF
15524 if ac_fn_c_try_compile "$LINENO"; then :
15525 ac_cv_c_fortify_enabled=no
15526 else
15527 ac_cv_c_fortify_enabled=yes
15529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15532 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15533 if test "$ac_cv_c_fortify_enabled" = yes
15534 then
15535 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15540 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15541 if ${ac_cv_c_extern_prefix+:} false; then :
15542 $as_echo_n "(cached) " >&6
15543 else
15544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15545 /* end confdefs.h. */
15546 extern int ac_test;
15548 main ()
15550 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15552 return 0;
15554 _ACEOF
15555 if ac_fn_c_try_link "$LINENO"; then :
15556 ac_cv_c_extern_prefix="yes"
15557 else
15558 ac_cv_c_extern_prefix="no"
15560 rm -f core conftest.err conftest.$ac_objext \
15561 conftest$ac_exeext conftest.$ac_ext
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15564 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15566 case $host_cpu in
15567 *i[3456789]86*)
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15569 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15570 if ${ac_cv_c_stdcall_suffix+:} false; then :
15571 $as_echo_n "(cached) " >&6
15572 else
15573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15574 /* end confdefs.h. */
15575 #ifndef _MSC_VER
15576 #define __stdcall __attribute__((__stdcall__))
15577 #endif
15578 int __stdcall ac_test(int i) { return i; }
15580 main ()
15582 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15584 return 0;
15586 _ACEOF
15587 if ac_fn_c_try_link "$LINENO"; then :
15588 ac_cv_c_stdcall_suffix="yes"
15589 else
15590 ac_cv_c_stdcall_suffix="no"
15592 rm -f core conftest.err conftest.$ac_objext \
15593 conftest$ac_exeext conftest.$ac_ext
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15596 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15597 *) ac_cv_c_stdcall_suffix="no" ;;
15598 esac
15601 if test "$ac_cv_c_extern_prefix" = "yes"
15602 then
15603 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15605 asm_name_prefix="_"
15606 else
15607 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15609 asm_name_prefix=""
15613 if test "$ac_cv_c_stdcall_suffix" = "yes"
15614 then
15615 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15617 else
15618 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15624 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15625 if ${ac_cv_asm_func_def+:} false; then :
15626 $as_echo_n "(cached) " >&6
15627 else
15628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15629 /* end confdefs.h. */
15632 main ()
15634 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15636 return 0;
15638 _ACEOF
15639 if ac_fn_c_try_link "$LINENO"; then :
15640 ac_cv_asm_func_def=".def"
15641 else
15642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15643 /* end confdefs.h. */
15646 main ()
15648 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15650 return 0;
15652 _ACEOF
15653 if ac_fn_c_try_link "$LINENO"; then :
15654 ac_cv_asm_func_def=".type @function"
15655 else
15656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15657 /* end confdefs.h. */
15660 main ()
15662 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15664 return 0;
15666 _ACEOF
15667 if ac_fn_c_try_link "$LINENO"; then :
15668 ac_cv_asm_func_def=".type 2"
15669 else
15670 ac_cv_asm_func_def="unknown"
15672 rm -f core conftest.err conftest.$ac_objext \
15673 conftest$ac_exeext conftest.$ac_ext
15675 rm -f core conftest.err conftest.$ac_objext \
15676 conftest$ac_exeext conftest.$ac_ext
15678 rm -f core conftest.err conftest.$ac_objext \
15679 conftest$ac_exeext conftest.$ac_ext
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15682 $as_echo "$ac_cv_asm_func_def" >&6; }
15685 case "$ac_cv_asm_func_def" in
15686 ".def")
15687 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15689 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15690 ".type @function")
15691 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15693 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15694 ".type 2")
15695 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15697 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15699 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15701 asm_func_header="" ;;
15702 esac
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15705 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15706 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15707 $as_echo_n "(cached) " >&6
15708 else
15709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15710 /* end confdefs.h. */
15711 asm(".text\n\t.long 0");
15713 main ()
15717 return 0;
15719 _ACEOF
15720 if ac_fn_c_try_compile "$LINENO"; then :
15721 ac_cv_c_asm_outside_funcs="yes"
15722 else
15723 ac_cv_c_asm_outside_funcs="no"
15725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15728 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15731 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15732 if ${ac_cv_c_dot_previous+:} false; then :
15733 $as_echo_n "(cached) " >&6
15734 else
15735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15739 main ()
15741 asm(".text\nac_test:\t.long 0\n\t.previous");
15743 return 0;
15745 _ACEOF
15746 if ac_fn_c_try_link "$LINENO"; then :
15747 ac_cv_c_dot_previous="yes"
15748 else
15749 ac_cv_c_dot_previous="no"
15751 rm -f core conftest.err conftest.$ac_objext \
15752 conftest$ac_exeext conftest.$ac_ext
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15755 $as_echo "$ac_cv_c_dot_previous" >&6; }
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15758 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15759 if ${ac_cv_c_cfi_support+:} false; then :
15760 $as_echo_n "(cached) " >&6
15761 else
15762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15763 /* end confdefs.h. */
15764 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15766 main ()
15770 return 0;
15772 _ACEOF
15773 if ac_fn_c_try_compile "$LINENO"; then :
15774 ac_cv_c_cfi_support="yes"
15775 else
15776 ac_cv_c_cfi_support="no"
15778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15781 $as_echo "$ac_cv_c_cfi_support" >&6; }
15783 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15784 asm_func_trailer=""
15785 if test "$ac_cv_c_dot_previous" = "yes"
15786 then
15787 asm_func_trailer="\\n\\t.previous"
15789 if test "$ac_cv_c_cfi_support" = "yes"
15790 then
15791 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15792 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15794 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15796 UNWINDFLAGS=-fasynchronous-unwind-tables
15798 else
15799 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15801 if test "x$enable_win64" = "xyes"
15802 then
15803 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15807 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15810 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15811 then
15812 cat >>confdefs.h <<_ACEOF
15813 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15814 _ACEOF
15816 else
15817 cat >>confdefs.h <<_ACEOF
15818 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15819 _ACEOF
15823 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15826 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15830 case $build_os in
15831 cygwin*|mingw32*) TOOLSEXT=".exe"
15833 esac
15835 case $host_os in
15836 linux*)
15837 case $host_cpu in
15838 *i[3456789]86*|x86_64*|*aarch64*)
15839 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15840 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15842 esac
15844 esac
15847 ac_save_CFLAGS="$CFLAGS"
15848 CFLAGS="$CFLAGS $BUILTINFLAG"
15849 for ac_func in \
15850 __res_get_state \
15851 __res_getservers \
15852 _finite \
15853 _isnan \
15854 _pclose \
15855 _popen \
15856 _snprintf \
15857 _spawnvp \
15858 _strdup \
15859 _stricmp \
15860 _strnicmp \
15861 _strtoi64 \
15862 _strtoui64 \
15863 _vsnprintf \
15864 asctime_r \
15865 chsize \
15866 dlopen \
15867 epoll_create \
15868 ffs \
15869 finitef \
15870 fnmatch \
15871 fork \
15872 fpclass \
15873 fstatfs \
15874 fstatvfs \
15875 ftruncate \
15876 futimens \
15877 futimes \
15878 futimesat \
15879 getattrlist \
15880 getauxval \
15881 getifaddrs \
15882 getopt_long_only \
15883 getpwuid \
15884 gettimeofday \
15885 getuid \
15886 isnanf \
15887 kqueue \
15888 lstat \
15889 memmove \
15890 mmap \
15891 pclose \
15892 pipe2 \
15893 poll \
15894 popen \
15895 port_create \
15896 prctl \
15897 pread \
15898 proc_pidinfo \
15899 pwrite \
15900 readdir \
15901 readlink \
15902 sched_yield \
15903 select \
15904 setproctitle \
15905 setprogname \
15906 setrlimit \
15907 settimeofday \
15908 sigaltstack \
15909 sigprocmask \
15910 snprintf \
15911 statfs \
15912 statvfs \
15913 strcasecmp \
15914 strdup \
15915 strerror \
15916 strncasecmp \
15917 strnlen \
15918 strtold \
15919 strtoll \
15920 strtoull \
15921 symlink \
15922 sysinfo \
15923 tcdrain \
15924 thr_kill2 \
15925 timegm \
15926 usleep \
15927 vsnprintf
15929 do :
15930 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15931 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15932 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15933 cat >>confdefs.h <<_ACEOF
15934 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15935 _ACEOF
15938 done
15940 CFLAGS="$ac_save_CFLAGS"
15942 if test "$ac_cv_func_dlopen" = no
15943 then
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15945 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15946 if ${ac_cv_lib_dl_dlopen+:} false; then :
15947 $as_echo_n "(cached) " >&6
15948 else
15949 ac_check_lib_save_LIBS=$LIBS
15950 LIBS="-ldl $LIBS"
15951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15952 /* end confdefs.h. */
15954 /* Override any GCC internal prototype to avoid an error.
15955 Use char because int might match the return type of a GCC
15956 builtin and then its argument prototype would still apply. */
15957 #ifdef __cplusplus
15958 extern "C"
15959 #endif
15960 char dlopen ();
15962 main ()
15964 return dlopen ();
15966 return 0;
15968 _ACEOF
15969 if ac_fn_c_try_link "$LINENO"; then :
15970 ac_cv_lib_dl_dlopen=yes
15971 else
15972 ac_cv_lib_dl_dlopen=no
15974 rm -f core conftest.err conftest.$ac_objext \
15975 conftest$ac_exeext conftest.$ac_ext
15976 LIBS=$ac_check_lib_save_LIBS
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15979 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15980 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15981 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15982 DL_LIBS="-ldl"
15987 ac_wine_check_funcs_save_LIBS="$LIBS"
15988 LIBS="$LIBS $DL_LIBS"
15989 for ac_func in dladdr
15990 do :
15991 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15992 if test "x$ac_cv_func_dladdr" = xyes; then :
15993 cat >>confdefs.h <<_ACEOF
15994 #define HAVE_DLADDR 1
15995 _ACEOF
15998 done
16000 LIBS="$ac_wine_check_funcs_save_LIBS"
16002 if test "$ac_cv_func_poll" = no
16003 then
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16005 $as_echo_n "checking for poll in -lpoll... " >&6; }
16006 if ${ac_cv_lib_poll_poll+:} false; then :
16007 $as_echo_n "(cached) " >&6
16008 else
16009 ac_check_lib_save_LIBS=$LIBS
16010 LIBS="-lpoll $LIBS"
16011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16012 /* end confdefs.h. */
16014 /* Override any GCC internal prototype to avoid an error.
16015 Use char because int might match the return type of a GCC
16016 builtin and then its argument prototype would still apply. */
16017 #ifdef __cplusplus
16018 extern "C"
16019 #endif
16020 char poll ();
16022 main ()
16024 return poll ();
16026 return 0;
16028 _ACEOF
16029 if ac_fn_c_try_link "$LINENO"; then :
16030 ac_cv_lib_poll_poll=yes
16031 else
16032 ac_cv_lib_poll_poll=no
16034 rm -f core conftest.err conftest.$ac_objext \
16035 conftest$ac_exeext conftest.$ac_ext
16036 LIBS=$ac_check_lib_save_LIBS
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16039 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16040 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16041 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16042 POLL_LIBS="-lpoll"
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16049 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16050 if ${ac_cv_search_gethostbyname+:} false; then :
16051 $as_echo_n "(cached) " >&6
16052 else
16053 ac_func_search_save_LIBS=$LIBS
16054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16055 /* end confdefs.h. */
16057 /* Override any GCC internal prototype to avoid an error.
16058 Use char because int might match the return type of a GCC
16059 builtin and then its argument prototype would still apply. */
16060 #ifdef __cplusplus
16061 extern "C"
16062 #endif
16063 char gethostbyname ();
16065 main ()
16067 return gethostbyname ();
16069 return 0;
16071 _ACEOF
16072 for ac_lib in '' nsl; do
16073 if test -z "$ac_lib"; then
16074 ac_res="none required"
16075 else
16076 ac_res=-l$ac_lib
16077 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16079 if ac_fn_c_try_link "$LINENO"; then :
16080 ac_cv_search_gethostbyname=$ac_res
16082 rm -f core conftest.err conftest.$ac_objext \
16083 conftest$ac_exeext
16084 if ${ac_cv_search_gethostbyname+:} false; then :
16085 break
16087 done
16088 if ${ac_cv_search_gethostbyname+:} false; then :
16090 else
16091 ac_cv_search_gethostbyname=no
16093 rm conftest.$ac_ext
16094 LIBS=$ac_func_search_save_LIBS
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16097 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16098 ac_res=$ac_cv_search_gethostbyname
16099 if test "$ac_res" != no; then :
16100 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16106 $as_echo_n "checking for library containing connect... " >&6; }
16107 if ${ac_cv_search_connect+:} false; then :
16108 $as_echo_n "(cached) " >&6
16109 else
16110 ac_func_search_save_LIBS=$LIBS
16111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16112 /* end confdefs.h. */
16114 /* Override any GCC internal prototype to avoid an error.
16115 Use char because int might match the return type of a GCC
16116 builtin and then its argument prototype would still apply. */
16117 #ifdef __cplusplus
16118 extern "C"
16119 #endif
16120 char connect ();
16122 main ()
16124 return connect ();
16126 return 0;
16128 _ACEOF
16129 for ac_lib in '' socket; do
16130 if test -z "$ac_lib"; then
16131 ac_res="none required"
16132 else
16133 ac_res=-l$ac_lib
16134 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16136 if ac_fn_c_try_link "$LINENO"; then :
16137 ac_cv_search_connect=$ac_res
16139 rm -f core conftest.err conftest.$ac_objext \
16140 conftest$ac_exeext
16141 if ${ac_cv_search_connect+:} false; then :
16142 break
16144 done
16145 if ${ac_cv_search_connect+:} false; then :
16147 else
16148 ac_cv_search_connect=no
16150 rm conftest.$ac_ext
16151 LIBS=$ac_func_search_save_LIBS
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16154 $as_echo "$ac_cv_search_connect" >&6; }
16155 ac_res=$ac_cv_search_connect
16156 if test "$ac_res" != no; then :
16157 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16163 $as_echo_n "checking for library containing inet_aton... " >&6; }
16164 if ${ac_cv_search_inet_aton+:} false; then :
16165 $as_echo_n "(cached) " >&6
16166 else
16167 ac_func_search_save_LIBS=$LIBS
16168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16169 /* end confdefs.h. */
16171 /* Override any GCC internal prototype to avoid an error.
16172 Use char because int might match the return type of a GCC
16173 builtin and then its argument prototype would still apply. */
16174 #ifdef __cplusplus
16175 extern "C"
16176 #endif
16177 char inet_aton ();
16179 main ()
16181 return inet_aton ();
16183 return 0;
16185 _ACEOF
16186 for ac_lib in '' resolv; do
16187 if test -z "$ac_lib"; then
16188 ac_res="none required"
16189 else
16190 ac_res=-l$ac_lib
16191 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16193 if ac_fn_c_try_link "$LINENO"; then :
16194 ac_cv_search_inet_aton=$ac_res
16196 rm -f core conftest.err conftest.$ac_objext \
16197 conftest$ac_exeext
16198 if ${ac_cv_search_inet_aton+:} false; then :
16199 break
16201 done
16202 if ${ac_cv_search_inet_aton+:} false; then :
16204 else
16205 ac_cv_search_inet_aton=no
16207 rm conftest.$ac_ext
16208 LIBS=$ac_func_search_save_LIBS
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16211 $as_echo "$ac_cv_search_inet_aton" >&6; }
16212 ac_res=$ac_cv_search_inet_aton
16213 if test "$ac_res" != no; then :
16214 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16219 for ac_func in \
16220 getaddrinfo \
16221 getnameinfo \
16222 getnetbyname \
16223 getprotobyname \
16224 getprotobynumber \
16225 getservbyport \
16226 inet_addr \
16227 inet_network \
16228 inet_ntop \
16229 inet_pton \
16230 sendmsg \
16231 socketpair \
16233 do :
16234 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16235 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16236 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16237 cat >>confdefs.h <<_ACEOF
16238 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16239 _ACEOF
16242 done
16245 ac_save_LIBS=$LIBS
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16247 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16248 if ${ac_cv_search_clock_gettime+:} false; then :
16249 $as_echo_n "(cached) " >&6
16250 else
16251 ac_func_search_save_LIBS=$LIBS
16252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16253 /* end confdefs.h. */
16255 /* Override any GCC internal prototype to avoid an error.
16256 Use char because int might match the return type of a GCC
16257 builtin and then its argument prototype would still apply. */
16258 #ifdef __cplusplus
16259 extern "C"
16260 #endif
16261 char clock_gettime ();
16263 main ()
16265 return clock_gettime ();
16267 return 0;
16269 _ACEOF
16270 for ac_lib in '' rt; do
16271 if test -z "$ac_lib"; then
16272 ac_res="none required"
16273 else
16274 ac_res=-l$ac_lib
16275 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16277 if ac_fn_c_try_link "$LINENO"; then :
16278 ac_cv_search_clock_gettime=$ac_res
16280 rm -f core conftest.err conftest.$ac_objext \
16281 conftest$ac_exeext
16282 if ${ac_cv_search_clock_gettime+:} false; then :
16283 break
16285 done
16286 if ${ac_cv_search_clock_gettime+:} false; then :
16288 else
16289 ac_cv_search_clock_gettime=no
16291 rm conftest.$ac_ext
16292 LIBS=$ac_func_search_save_LIBS
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16295 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16296 ac_res=$ac_cv_search_clock_gettime
16297 if test "$ac_res" != no; then :
16298 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16300 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16302 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16306 LIBS=$ac_save_LIBS
16308 if test "x$with_ldap" != "xno"
16309 then
16310 if ${LDAP_CFLAGS:+false} :; then :
16311 if ${PKG_CONFIG+:} false; then :
16312 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16316 if ${LDAP_LIBS:+false} :; then :
16317 if ${PKG_CONFIG+:} false; then :
16318 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16322 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16323 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16324 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16325 ac_save_CPPFLAGS=$CPPFLAGS
16326 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16327 for ac_header in ldap.h lber.h
16328 do :
16329 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16330 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16331 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16332 cat >>confdefs.h <<_ACEOF
16333 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16334 _ACEOF
16338 done
16340 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16341 then
16342 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16344 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16346 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16347 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16348 $as_echo_n "(cached) " >&6
16349 else
16350 ac_check_lib_save_LIBS=$LIBS
16351 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16353 /* end confdefs.h. */
16355 /* Override any GCC internal prototype to avoid an error.
16356 Use char because int might match the return type of a GCC
16357 builtin and then its argument prototype would still apply. */
16358 #ifdef __cplusplus
16359 extern "C"
16360 #endif
16361 char ldap_initialize ();
16363 main ()
16365 return ldap_initialize ();
16367 return 0;
16369 _ACEOF
16370 if ac_fn_c_try_link "$LINENO"; then :
16371 ac_cv_lib_ldap_r_ldap_initialize=yes
16372 else
16373 ac_cv_lib_ldap_r_ldap_initialize=no
16375 rm -f core conftest.err conftest.$ac_objext \
16376 conftest$ac_exeext conftest.$ac_ext
16377 LIBS=$ac_check_lib_save_LIBS
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16380 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16381 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16383 $as_echo_n "checking for ber_init in -llber... " >&6; }
16384 if ${ac_cv_lib_lber_ber_init+:} false; then :
16385 $as_echo_n "(cached) " >&6
16386 else
16387 ac_check_lib_save_LIBS=$LIBS
16388 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16390 /* end confdefs.h. */
16392 /* Override any GCC internal prototype to avoid an error.
16393 Use char because int might match the return type of a GCC
16394 builtin and then its argument prototype would still apply. */
16395 #ifdef __cplusplus
16396 extern "C"
16397 #endif
16398 char ber_init ();
16400 main ()
16402 return ber_init ();
16404 return 0;
16406 _ACEOF
16407 if ac_fn_c_try_link "$LINENO"; then :
16408 ac_cv_lib_lber_ber_init=yes
16409 else
16410 ac_cv_lib_lber_ber_init=no
16412 rm -f core conftest.err conftest.$ac_objext \
16413 conftest$ac_exeext conftest.$ac_ext
16414 LIBS=$ac_check_lib_save_LIBS
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16417 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16418 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16420 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16422 else
16423 LDAP_LIBS=""
16426 else
16427 LDAP_LIBS=""
16430 else
16431 LDAP_LIBS=""
16434 ac_wine_check_funcs_save_LIBS="$LIBS"
16435 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16436 for ac_func in \
16437 ldap_count_references \
16438 ldap_first_reference \
16439 ldap_next_reference \
16440 ldap_parse_reference \
16441 ldap_parse_sort_control \
16442 ldap_parse_sortresponse_control \
16443 ldap_parse_vlv_control \
16444 ldap_parse_vlvresponse_control
16445 do :
16446 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16447 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16448 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16449 cat >>confdefs.h <<_ACEOF
16450 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16451 _ACEOF
16454 done
16456 LIBS="$ac_wine_check_funcs_save_LIBS"
16457 else
16458 LDAP_LIBS=""
16460 CPPFLAGS=$ac_save_CPPFLAGS
16461 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16462 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16465 if test "x$LDAP_LIBS" = "x"; then :
16466 case "x$with_ldap" in
16467 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16468 xno) ;;
16469 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16470 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16471 esac
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16476 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16477 if ${wine_cv_one_arg_mkdir+:} false; then :
16478 $as_echo_n "(cached) " >&6
16479 else
16480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16481 /* end confdefs.h. */
16482 #include <sys/stat.h>
16484 main ()
16486 mkdir("foo");
16488 return 0;
16490 _ACEOF
16491 if ac_fn_c_try_compile "$LINENO"; then :
16492 wine_cv_one_arg_mkdir=yes
16493 else
16494 wine_cv_one_arg_mkdir=no
16496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16499 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16500 if test "$wine_cv_one_arg_mkdir" = "yes"
16501 then
16503 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16508 $as_echo_n "checking for sched_setaffinity... " >&6; }
16509 if ${wine_cv_have_sched_setaffinity+:} false; then :
16510 $as_echo_n "(cached) " >&6
16511 else
16512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16513 /* end confdefs.h. */
16514 #define _GNU_SOURCE
16515 #include <sched.h>
16517 main ()
16519 sched_setaffinity(0, 0, 0);
16521 return 0;
16523 _ACEOF
16524 if ac_fn_c_try_link "$LINENO"; then :
16525 wine_cv_have_sched_setaffinity=yes
16526 else
16527 wine_cv_have_sched_setaffinity=no
16529 rm -f core conftest.err conftest.$ac_objext \
16530 conftest$ac_exeext conftest.$ac_ext
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16533 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16534 if test "$wine_cv_have_sched_setaffinity" = "yes"
16535 then
16537 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16542 $as_echo_n "checking for fallocate... " >&6; }
16543 if ${wine_cv_have_fallocate+:} false; then :
16544 $as_echo_n "(cached) " >&6
16545 else
16546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16547 /* end confdefs.h. */
16548 #define _GNU_SOURCE
16549 #include <fcntl.h>
16551 main ()
16553 fallocate(-1, 0, 0, 0);
16555 return 0;
16557 _ACEOF
16558 if ac_fn_c_try_link "$LINENO"; then :
16559 wine_cv_have_fallocate=yes
16560 else
16561 wine_cv_have_fallocate=no
16563 rm -f core conftest.err conftest.$ac_objext \
16564 conftest$ac_exeext conftest.$ac_ext
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16567 $as_echo "$wine_cv_have_fallocate" >&6; }
16568 if test "$wine_cv_have_fallocate" = "yes"
16569 then
16571 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16577 $as_echo_n "checking for inline... " >&6; }
16578 if ${ac_cv_c_inline+:} false; then :
16579 $as_echo_n "(cached) " >&6
16580 else
16581 ac_cv_c_inline=no
16582 for ac_kw in inline __inline__ __inline; do
16583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16584 /* end confdefs.h. */
16585 #ifndef __cplusplus
16586 typedef int foo_t;
16587 static $ac_kw foo_t static_foo () {return 0; }
16588 $ac_kw foo_t foo () {return 0; }
16589 #endif
16591 _ACEOF
16592 if ac_fn_c_try_compile "$LINENO"; then :
16593 ac_cv_c_inline=$ac_kw
16595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16596 test "$ac_cv_c_inline" != no && break
16597 done
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16601 $as_echo "$ac_cv_c_inline" >&6; }
16603 case $ac_cv_c_inline in
16604 inline | yes) ;;
16606 case $ac_cv_c_inline in
16607 no) ac_val=;;
16608 *) ac_val=$ac_cv_c_inline;;
16609 esac
16610 cat >>confdefs.h <<_ACEOF
16611 #ifndef __cplusplus
16612 #define inline $ac_val
16613 #endif
16614 _ACEOF
16616 esac
16618 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16619 if test "x$ac_cv_type_mode_t" = xyes; then :
16621 cat >>confdefs.h <<_ACEOF
16622 #define HAVE_MODE_T 1
16623 _ACEOF
16627 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16628 if test "x$ac_cv_type_off_t" = xyes; then :
16630 cat >>confdefs.h <<_ACEOF
16631 #define HAVE_OFF_T 1
16632 _ACEOF
16636 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16637 if test "x$ac_cv_type_pid_t" = xyes; then :
16639 cat >>confdefs.h <<_ACEOF
16640 #define HAVE_PID_T 1
16641 _ACEOF
16645 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16646 if test "x$ac_cv_type_size_t" = xyes; then :
16648 cat >>confdefs.h <<_ACEOF
16649 #define HAVE_SIZE_T 1
16650 _ACEOF
16654 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16655 if test "x$ac_cv_type_ssize_t" = xyes; then :
16657 cat >>confdefs.h <<_ACEOF
16658 #define HAVE_SSIZE_T 1
16659 _ACEOF
16663 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16664 if test "x$ac_cv_type_long_long" = xyes; then :
16666 cat >>confdefs.h <<_ACEOF
16667 #define HAVE_LONG_LONG 1
16668 _ACEOF
16672 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16673 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16675 cat >>confdefs.h <<_ACEOF
16676 #define HAVE_FSBLKCNT_T 1
16677 _ACEOF
16681 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16682 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16684 cat >>confdefs.h <<_ACEOF
16685 #define HAVE_FSFILCNT_T 1
16686 _ACEOF
16691 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16692 #include <signal.h>
16694 if test "x$ac_cv_type_sigset_t" = xyes; then :
16696 cat >>confdefs.h <<_ACEOF
16697 #define HAVE_SIGSET_T 1
16698 _ACEOF
16703 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16705 if test "x$ac_cv_type_request_sense" = xyes; then :
16707 cat >>confdefs.h <<_ACEOF
16708 #define HAVE_REQUEST_SENSE 1
16709 _ACEOF
16715 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16716 #ifdef HAVE_SYS_SOCKET_H
16717 #include <sys/socket.h>
16718 #endif
16719 #ifdef HAVE_SYS_SOCKETVAR_H
16720 #include <sys/socketvar.h>
16721 #endif
16722 #ifdef HAVE_NET_ROUTE_H
16723 #include <net/route.h>
16724 #endif
16725 #ifdef HAVE_NETINET_IN_H
16726 #include <netinet/in.h>
16727 #endif
16728 #ifdef HAVE_NETINET_IN_SYSTM_H
16729 #include <netinet/in_systm.h>
16730 #endif
16731 #ifdef HAVE_NETINET_IP_H
16732 #include <netinet/ip.h>
16733 #endif
16734 #ifdef HAVE_NETINET_IN_PCB_H
16735 #include <netinet/in_pcb.h>
16736 #endif
16738 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16740 cat >>confdefs.h <<_ACEOF
16741 #define HAVE_STRUCT_XINPGEN 1
16742 _ACEOF
16748 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16749 #include <link.h>
16750 #endif
16751 #ifdef HAVE_SYS_LINK_H
16752 #include <sys/link.h>
16753 #endif
16755 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16757 cat >>confdefs.h <<_ACEOF
16758 #define HAVE_STRUCT_R_DEBUG 1
16759 _ACEOF
16763 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16764 #include <link.h>
16765 #endif
16766 #ifdef HAVE_SYS_LINK_H
16767 #include <sys/link.h>
16768 #endif
16770 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16772 cat >>confdefs.h <<_ACEOF
16773 #define HAVE_STRUCT_LINK_MAP 1
16774 _ACEOF
16780 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16781 #include <linux/input.h>
16782 #endif
16784 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16786 cat >>confdefs.h <<_ACEOF
16787 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16788 _ACEOF
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16795 $as_echo_n "checking for if_nameindex... " >&6; }
16796 if ${wine_cv_have_if_nameindex+:} false; then :
16797 $as_echo_n "(cached) " >&6
16798 else
16799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16800 /* end confdefs.h. */
16801 #ifdef HAVE_SYS_TYPES_H
16802 #include <sys/types.h>
16803 #endif
16804 #ifdef HAVE_SYS_SOCKET_H
16805 #include <sys/socket.h>
16806 #endif
16807 #ifdef HAVE_NET_IF_H
16808 # include <net/if.h>
16809 #endif
16811 main ()
16813 struct if_nameindex *p = if_nameindex(); return p->if_index;
16815 return 0;
16817 _ACEOF
16818 if ac_fn_c_try_link "$LINENO"; then :
16819 wine_cv_have_if_nameindex=yes
16820 else
16821 wine_cv_have_if_nameindex=no
16823 rm -f core conftest.err conftest.$ac_objext \
16824 conftest$ac_exeext conftest.$ac_ext
16826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16827 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16828 if test "$wine_cv_have_if_nameindex" = "yes"
16829 then
16831 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16836 $as_echo_n "checking for sigaddset... " >&6; }
16837 if ${wine_cv_have_sigaddset+:} false; then :
16838 $as_echo_n "(cached) " >&6
16839 else
16840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16841 /* end confdefs.h. */
16842 #include <signal.h>
16844 main ()
16846 sigset_t set; sigaddset(&set,SIGTERM);
16848 return 0;
16850 _ACEOF
16851 if ac_fn_c_try_link "$LINENO"; then :
16852 wine_cv_have_sigaddset=yes
16853 else
16854 wine_cv_have_sigaddset=no
16856 rm -f core conftest.err conftest.$ac_objext \
16857 conftest$ac_exeext conftest.$ac_ext
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16860 $as_echo "$wine_cv_have_sigaddset" >&6; }
16861 if test "$wine_cv_have_sigaddset" = "yes"
16862 then
16864 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16870 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16871 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16872 $as_echo_n "(cached) " >&6
16873 else
16874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16875 /* end confdefs.h. */
16876 #include <netdb.h>
16878 main ()
16881 char *name=0;
16882 struct hostent he;
16883 struct hostent *result;
16884 char *buf=0;
16885 int bufsize=0;
16886 int errnr;
16887 char *addr=0;
16888 int addrlen=0;
16889 int addrtype=0;
16890 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16891 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16894 return 0;
16896 _ACEOF
16897 if ac_fn_c_try_link "$LINENO"; then :
16898 wine_cv_linux_gethostbyname_r_6=yes
16899 else
16900 wine_cv_linux_gethostbyname_r_6=no
16903 rm -f core conftest.err conftest.$ac_objext \
16904 conftest$ac_exeext conftest.$ac_ext
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16908 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16909 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16910 then
16912 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16916 if test "$ac_cv_header_linux_joystick_h" = "yes"
16917 then
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16919 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16920 if ${wine_cv_linux_joystick_22_api+:} false; then :
16921 $as_echo_n "(cached) " >&6
16922 else
16923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16924 /* end confdefs.h. */
16926 #include <sys/ioctl.h>
16927 #include <sys/types.h>
16928 #include <linux/joystick.h>
16930 struct js_event blub;
16931 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16932 #error "no 2.2 header"
16933 #endif
16936 main ()
16938 /*empty*/
16940 return 0;
16942 _ACEOF
16943 if ac_fn_c_try_compile "$LINENO"; then :
16944 wine_cv_linux_joystick_22_api=yes
16945 else
16946 wine_cv_linux_joystick_22_api=no
16948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16952 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16953 if test "$wine_cv_linux_joystick_22_api" = "yes"
16954 then
16956 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16962 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16963 #ifdef HAVE_SYS_PARAM_H
16964 # include <sys/param.h>
16965 #endif
16966 #ifdef HAVE_SYS_MOUNT_H
16967 # include <sys/mount.h>
16968 #endif
16969 #ifdef HAVE_SYS_VFS_H
16970 # include <sys/vfs.h>
16971 #endif
16972 #ifdef HAVE_SYS_STATFS_H
16973 # include <sys/statfs.h>
16974 #endif
16976 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16978 cat >>confdefs.h <<_ACEOF
16979 #define HAVE_STRUCT_STATFS_F_BFREE 1
16980 _ACEOF
16984 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16985 #ifdef HAVE_SYS_PARAM_H
16986 # include <sys/param.h>
16987 #endif
16988 #ifdef HAVE_SYS_MOUNT_H
16989 # include <sys/mount.h>
16990 #endif
16991 #ifdef HAVE_SYS_VFS_H
16992 # include <sys/vfs.h>
16993 #endif
16994 #ifdef HAVE_SYS_STATFS_H
16995 # include <sys/statfs.h>
16996 #endif
16998 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17000 cat >>confdefs.h <<_ACEOF
17001 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17002 _ACEOF
17006 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17007 #ifdef HAVE_SYS_PARAM_H
17008 # include <sys/param.h>
17009 #endif
17010 #ifdef HAVE_SYS_MOUNT_H
17011 # include <sys/mount.h>
17012 #endif
17013 #ifdef HAVE_SYS_VFS_H
17014 # include <sys/vfs.h>
17015 #endif
17016 #ifdef HAVE_SYS_STATFS_H
17017 # include <sys/statfs.h>
17018 #endif
17020 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17022 cat >>confdefs.h <<_ACEOF
17023 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17024 _ACEOF
17028 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17029 #ifdef HAVE_SYS_PARAM_H
17030 # include <sys/param.h>
17031 #endif
17032 #ifdef HAVE_SYS_MOUNT_H
17033 # include <sys/mount.h>
17034 #endif
17035 #ifdef HAVE_SYS_VFS_H
17036 # include <sys/vfs.h>
17037 #endif
17038 #ifdef HAVE_SYS_STATFS_H
17039 # include <sys/statfs.h>
17040 #endif
17042 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17044 cat >>confdefs.h <<_ACEOF
17045 #define HAVE_STRUCT_STATFS_F_FFREE 1
17046 _ACEOF
17050 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17051 #ifdef HAVE_SYS_PARAM_H
17052 # include <sys/param.h>
17053 #endif
17054 #ifdef HAVE_SYS_MOUNT_H
17055 # include <sys/mount.h>
17056 #endif
17057 #ifdef HAVE_SYS_VFS_H
17058 # include <sys/vfs.h>
17059 #endif
17060 #ifdef HAVE_SYS_STATFS_H
17061 # include <sys/statfs.h>
17062 #endif
17064 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17066 cat >>confdefs.h <<_ACEOF
17067 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17068 _ACEOF
17072 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17073 #ifdef HAVE_SYS_PARAM_H
17074 # include <sys/param.h>
17075 #endif
17076 #ifdef HAVE_SYS_MOUNT_H
17077 # include <sys/mount.h>
17078 #endif
17079 #ifdef HAVE_SYS_VFS_H
17080 # include <sys/vfs.h>
17081 #endif
17082 #ifdef HAVE_SYS_STATFS_H
17083 # include <sys/statfs.h>
17084 #endif
17086 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17088 cat >>confdefs.h <<_ACEOF
17089 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17090 _ACEOF
17096 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17097 #include <sys/statvfs.h>
17098 #endif
17100 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17102 cat >>confdefs.h <<_ACEOF
17103 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17104 _ACEOF
17110 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17111 #include <dirent.h>
17112 #endif
17114 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17116 cat >>confdefs.h <<_ACEOF
17117 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17118 _ACEOF
17124 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17125 #ifdef HAVE_SYS_SOCKET_H
17126 # include <sys/socket.h>
17127 #endif
17128 #ifdef HAVE_SYS_UN_H
17129 # include <sys/un.h>
17130 #endif
17132 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17134 cat >>confdefs.h <<_ACEOF
17135 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17136 _ACEOF
17140 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17141 #ifdef HAVE_SYS_SOCKET_H
17142 # include <sys/socket.h>
17143 #endif
17144 #ifdef HAVE_SYS_UN_H
17145 # include <sys/un.h>
17146 #endif
17148 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17150 cat >>confdefs.h <<_ACEOF
17151 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17152 _ACEOF
17156 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17157 #ifdef HAVE_SYS_SOCKET_H
17158 # include <sys/socket.h>
17159 #endif
17160 #ifdef HAVE_SYS_UN_H
17161 # include <sys/un.h>
17162 #endif
17164 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17166 cat >>confdefs.h <<_ACEOF
17167 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17168 _ACEOF
17174 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17175 #ifdef HAVE_SCSI_SG_H
17176 #include <scsi/sg.h>
17177 #endif
17179 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17181 cat >>confdefs.h <<_ACEOF
17182 #define HAVE_SCSIREQ_T_CMD 1
17183 _ACEOF
17187 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>
17188 #ifdef HAVE_SCSI_SG_H
17189 #include <scsi/sg.h>
17190 #endif
17192 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17194 cat >>confdefs.h <<_ACEOF
17195 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17196 _ACEOF
17202 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17204 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17206 cat >>confdefs.h <<_ACEOF
17207 #define HAVE_SIGINFO_T_SI_FD 1
17208 _ACEOF
17214 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17215 #ifdef HAVE_SYS_MTIO_H
17216 #include <sys/mtio.h>
17217 #endif
17219 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17221 cat >>confdefs.h <<_ACEOF
17222 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17223 _ACEOF
17227 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17228 #ifdef HAVE_SYS_MTIO_H
17229 #include <sys/mtio.h>
17230 #endif
17232 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17234 cat >>confdefs.h <<_ACEOF
17235 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17236 _ACEOF
17240 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17241 #ifdef HAVE_SYS_MTIO_H
17242 #include <sys/mtio.h>
17243 #endif
17245 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17247 cat >>confdefs.h <<_ACEOF
17248 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17249 _ACEOF
17255 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17256 #include <getopt.h>
17257 #endif
17259 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17261 cat >>confdefs.h <<_ACEOF
17262 #define HAVE_STRUCT_OPTION_NAME 1
17263 _ACEOF
17269 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17270 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17272 cat >>confdefs.h <<_ACEOF
17273 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17274 _ACEOF
17278 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17279 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17281 cat >>confdefs.h <<_ACEOF
17282 #define HAVE_STRUCT_STAT_ST_MTIM 1
17283 _ACEOF
17287 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17288 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17290 cat >>confdefs.h <<_ACEOF
17291 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17292 _ACEOF
17296 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17297 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17299 cat >>confdefs.h <<_ACEOF
17300 #define HAVE_STRUCT_STAT_ST_CTIM 1
17301 _ACEOF
17305 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17306 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17308 cat >>confdefs.h <<_ACEOF
17309 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17310 _ACEOF
17314 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17315 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17317 cat >>confdefs.h <<_ACEOF
17318 #define HAVE_STRUCT_STAT_ST_ATIM 1
17319 _ACEOF
17323 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17324 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17326 cat >>confdefs.h <<_ACEOF
17327 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17328 _ACEOF
17332 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17333 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17335 cat >>confdefs.h <<_ACEOF
17336 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17337 _ACEOF
17341 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17342 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17344 cat >>confdefs.h <<_ACEOF
17345 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17346 _ACEOF
17350 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17351 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17353 cat >>confdefs.h <<_ACEOF
17354 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17355 _ACEOF
17359 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17360 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17362 cat >>confdefs.h <<_ACEOF
17363 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17364 _ACEOF
17368 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17369 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17371 cat >>confdefs.h <<_ACEOF
17372 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17373 _ACEOF
17379 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
17380 #include <sys/types.h>
17381 #endif
17382 #ifdef HAVE_NETINET_IN_H
17383 #include <netinet/in.h>
17384 #endif
17386 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17388 cat >>confdefs.h <<_ACEOF
17389 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17390 _ACEOF
17396 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17397 #include <sys/types.h>
17398 #endif
17399 #ifdef HAVE_NETINET_IN_H
17400 #include <netinet/in.h>
17401 #endif
17402 #ifdef HAVE_RESOLV_H
17403 #include <resolv.h>
17404 #endif
17406 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17408 cat >>confdefs.h <<_ACEOF
17409 #define HAVE_STRUCT___RES_STATE 1
17410 _ACEOF
17416 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
17417 #include <resolv.h>
17418 #endif
17420 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17422 cat >>confdefs.h <<_ACEOF
17423 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17424 _ACEOF
17430 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17431 #include <sys/types.h>
17432 #endif
17433 #ifdef HAVE_NETINET_IN_H
17434 # include <netinet/in.h>
17435 #endif
17436 #ifdef HAVE_ARPA_NAMESER_H
17437 # include <arpa/nameser.h>
17438 #endif
17440 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17442 cat >>confdefs.h <<_ACEOF
17443 #define HAVE_NS_MSG__MSG_PTR 1
17444 _ACEOF
17450 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17451 #include <sys/types.h>
17452 #endif
17453 #ifdef HAVE_NETINET_IN_H
17454 #include <netinet/in.h>
17455 #endif
17456 #ifdef HAVE_NETINET_IP_H
17457 #include <netinet/ip.h>
17458 #endif
17459 #ifdef HAVE_NETINET_IP_ICMP_H
17460 #include <netinet/ip_icmp.h>
17461 #endif
17462 #ifdef HAVE_NETINET_ICMP_VAR_H
17463 #include <netinet/icmp_var.h>
17464 #endif
17466 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17468 cat >>confdefs.h <<_ACEOF
17469 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17470 _ACEOF
17476 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17477 #include <sys/types.h>
17478 #endif
17479 #ifdef HAVE_ALIAS_H
17480 #include <alias.h>
17481 #endif
17482 #ifdef HAVE_SYS_SOCKET_H
17483 #include <sys/socket.h>
17484 #endif
17485 #ifdef HAVE_SYS_SOCKETVAR_H
17486 #include <sys/socketvar.h>
17487 #endif
17488 #ifdef HAVE_SYS_TIMEOUT_H
17489 #include <sys/timeout.h>
17490 #endif
17491 #ifdef HAVE_NETINET_IN_H
17492 #include <netinet/in.h>
17493 #endif
17494 #ifdef HAVE_NETINET_IN_SYSTM_H
17495 #include <netinet/in_systm.h>
17496 #endif
17497 #ifdef HAVE_NETINET_IP_H
17498 #include <netinet/ip.h>
17499 #endif
17500 #ifdef HAVE_NETINET_IP_VAR_H
17501 #include <netinet/ip_var.h>
17502 #endif
17503 #ifdef HAVE_NETINET_IP_ICMP_H
17504 #include <netinet/ip_icmp.h>
17505 #endif
17506 #ifdef HAVE_NETINET_ICMP_VAR_H
17507 #include <netinet/icmp_var.h>
17508 #endif
17510 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17512 cat >>confdefs.h <<_ACEOF
17513 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17514 _ACEOF
17520 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17521 #include <sys/types.h>
17522 #endif
17523 #ifdef HAVE_SYS_SOCKETVAR_H
17524 #include <sys/socketvar.h>
17525 #endif
17526 #ifdef HAVE_NETINET_IN_H
17527 #include <netinet/in.h>
17528 #endif
17529 #ifdef HAVE_NETINET_IP_VAR_H
17530 #include <netinet/ip_var.h>
17531 #endif
17533 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17535 cat >>confdefs.h <<_ACEOF
17536 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17537 _ACEOF
17543 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
17544 #include <netinet/ip_var.h>
17545 #endif
17547 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17549 cat >>confdefs.h <<_ACEOF
17550 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17551 _ACEOF
17557 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17558 #include <sys/types.h>
17559 #endif
17560 #ifdef HAVE_SYS_SOCKETVAR_H
17561 #include <sys/socketvar.h>
17562 #endif
17563 #ifdef HAVE_NETINET_IN_H
17564 #include <netinet/in.h>
17565 #endif
17566 #ifdef HAVE_NETINET_TCP_H
17567 #include <netinet/tcp.h>
17568 #endif
17569 #ifdef HAVE_NETINET_TCP_VAR_H
17570 #include <netinet/tcp_var.h>
17571 #endif
17573 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17575 cat >>confdefs.h <<_ACEOF
17576 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17577 _ACEOF
17583 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
17584 #include <netinet/tcp_var.h>
17585 #endif
17587 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17589 cat >>confdefs.h <<_ACEOF
17590 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17591 _ACEOF
17597 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17598 #include <sys/types.h>
17599 #endif
17600 #ifdef HAVE_NETINET_IN_H
17601 #include <netinet/in.h>
17602 #endif
17603 #ifdef HAVE_NETINET_IP_VAR_H
17604 #include <netinet/ip_var.h>
17605 #endif
17606 #ifdef HAVE_NETINET_UDP_H
17607 #include <netinet/udp.h>
17608 #endif
17609 #ifdef HAVE_NETINET_UDP_VAR_H
17610 #include <netinet/udp_var.h>
17611 #endif
17613 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17615 cat >>confdefs.h <<_ACEOF
17616 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17617 _ACEOF
17623 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17624 #include <sys/types.h>
17625 #endif
17626 #ifdef HAVE_NET_IF_H
17627 # include <net/if.h>
17628 #endif
17630 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17632 cat >>confdefs.h <<_ACEOF
17633 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17634 _ACEOF
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17641 $as_echo_n "checking for timezone variable... " >&6; }
17642 if ${ac_cv_have_timezone+:} false; then :
17643 $as_echo_n "(cached) " >&6
17644 else
17645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17646 /* end confdefs.h. */
17647 #include <time.h>
17649 main ()
17651 timezone = 1
17653 return 0;
17655 _ACEOF
17656 if ac_fn_c_try_link "$LINENO"; then :
17657 ac_cv_have_timezone="yes"
17658 else
17659 ac_cv_have_timezone="no"
17661 rm -f core conftest.err conftest.$ac_objext \
17662 conftest$ac_exeext conftest.$ac_ext
17664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17665 $as_echo "$ac_cv_have_timezone" >&6; }
17666 if test "$ac_cv_have_timezone" = "yes"
17667 then
17669 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17673 $as_echo_n "checking for daylight variable... " >&6; }
17674 if ${ac_cv_have_daylight+:} false; then :
17675 $as_echo_n "(cached) " >&6
17676 else
17677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17678 /* end confdefs.h. */
17679 #include <time.h>
17681 main ()
17683 daylight = 1
17685 return 0;
17687 _ACEOF
17688 if ac_fn_c_try_link "$LINENO"; then :
17689 ac_cv_have_daylight="yes"
17690 else
17691 ac_cv_have_daylight="no"
17693 rm -f core conftest.err conftest.$ac_objext \
17694 conftest$ac_exeext conftest.$ac_ext
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17697 $as_echo "$ac_cv_have_daylight" >&6; }
17698 if test "$ac_cv_have_daylight" = "yes"
17699 then
17701 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17705 ac_save_LIBS="$LIBS"
17706 LIBS="$LIBS -lm"
17707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17708 $as_echo_n "checking for isfinite... " >&6; }
17709 if ${ac_cv_have_isfinite+:} false; then :
17710 $as_echo_n "(cached) " >&6
17711 else
17712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17713 /* end confdefs.h. */
17714 #define _GNU_SOURCE
17715 #include <math.h>
17717 main ()
17719 float f = 0.0; return isfinite(f)
17721 return 0;
17723 _ACEOF
17724 if ac_fn_c_try_link "$LINENO"; then :
17725 ac_cv_have_isfinite="yes"
17726 else
17727 ac_cv_have_isfinite="no"
17729 rm -f core conftest.err conftest.$ac_objext \
17730 conftest$ac_exeext conftest.$ac_ext
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17733 $as_echo "$ac_cv_have_isfinite" >&6; }
17734 if test "$ac_cv_have_isfinite" = "yes"
17735 then
17737 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17742 $as_echo_n "checking for isinf... " >&6; }
17743 if ${ac_cv_have_isinf+:} false; then :
17744 $as_echo_n "(cached) " >&6
17745 else
17746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17747 /* end confdefs.h. */
17748 #include <math.h>
17750 main ()
17752 float f = 0.0; return isinf(f)
17754 return 0;
17756 _ACEOF
17757 if ac_fn_c_try_link "$LINENO"; then :
17758 ac_cv_have_isinf="yes"
17759 else
17760 ac_cv_have_isinf="no"
17762 rm -f core conftest.err conftest.$ac_objext \
17763 conftest$ac_exeext conftest.$ac_ext
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17766 $as_echo "$ac_cv_have_isinf" >&6; }
17767 if test "$ac_cv_have_isinf" = "yes"
17768 then
17770 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17775 $as_echo_n "checking for isnan... " >&6; }
17776 if ${ac_cv_have_isnan+:} false; then :
17777 $as_echo_n "(cached) " >&6
17778 else
17779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17780 /* end confdefs.h. */
17781 #include <math.h>
17783 main ()
17785 float f = 0.0; return isnan(f)
17787 return 0;
17789 _ACEOF
17790 if ac_fn_c_try_link "$LINENO"; then :
17791 ac_cv_have_isnan="yes"
17792 else
17793 ac_cv_have_isnan="no"
17795 rm -f core conftest.err conftest.$ac_objext \
17796 conftest$ac_exeext conftest.$ac_ext
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17799 $as_echo "$ac_cv_have_isnan" >&6; }
17800 if test "$ac_cv_have_isnan" = "yes"
17801 then
17803 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17807 for ac_func in \
17808 acosh \
17809 acoshf \
17810 asinh \
17811 asinhf \
17812 atanh \
17813 atanhf \
17814 cbrt \
17815 cbrtf \
17816 erf \
17817 erfc \
17818 erfcf \
17819 erff \
17820 exp2 \
17821 exp2f \
17822 expm1 \
17823 expm1f \
17824 j0 \
17825 j1 \
17826 jn \
17827 lgamma \
17828 lgammaf \
17829 llrint \
17830 llrintf \
17831 llround \
17832 llroundf \
17833 log1p \
17834 log1pf \
17835 log2 \
17836 log2f \
17837 lrint \
17838 lrintf \
17839 lround \
17840 lroundf \
17841 nearbyint \
17842 nearbyintf \
17843 powl \
17844 remainder \
17845 remainderf \
17846 rint \
17847 rintf \
17848 round \
17849 roundf \
17850 trunc \
17851 truncf \
17852 y0 \
17853 y1 \
17856 do :
17857 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17858 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17859 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17860 cat >>confdefs.h <<_ACEOF
17861 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17862 _ACEOF
17865 done
17867 LIBS="$ac_save_LIBS"
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17870 $as_echo_n "checking for __builtin_clz... " >&6; }
17871 if ${ac_cv_have___builtin_clz+:} false; then :
17872 $as_echo_n "(cached) " >&6
17873 else
17874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17875 /* end confdefs.h. */
17878 main ()
17880 return __builtin_clz(1)
17882 return 0;
17884 _ACEOF
17885 if ac_fn_c_try_link "$LINENO"; then :
17886 ac_cv_have___builtin_clz="yes"
17887 else
17888 ac_cv_have___builtin_clz="no"
17890 rm -f core conftest.err conftest.$ac_objext \
17891 conftest$ac_exeext conftest.$ac_ext
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17894 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17895 if test "$ac_cv_have___builtin_clz" = "yes"
17896 then
17898 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17903 $as_echo_n "checking for __builtin_popcount... " >&6; }
17904 if ${ac_cv_have___builtin_popcount+:} false; then :
17905 $as_echo_n "(cached) " >&6
17906 else
17907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17908 /* end confdefs.h. */
17911 main ()
17913 return __builtin_popcount(1)
17915 return 0;
17917 _ACEOF
17918 if ac_fn_c_try_link "$LINENO"; then :
17919 ac_cv_have___builtin_popcount="yes"
17920 else
17921 ac_cv_have___builtin_popcount="no"
17923 rm -f core conftest.err conftest.$ac_objext \
17924 conftest$ac_exeext conftest.$ac_ext
17926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17927 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17928 if test "$ac_cv_have___builtin_popcount" = "yes"
17929 then
17931 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17936 $as_echo_n "checking for __clear_cache... " >&6; }
17937 if ${ac_cv_have___clear_cache+:} false; then :
17938 $as_echo_n "(cached) " >&6
17939 else
17940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17941 /* end confdefs.h. */
17944 main ()
17946 __clear_cache((void*)0, (void*)0); return 0;
17948 return 0;
17950 _ACEOF
17951 if ac_fn_c_try_link "$LINENO"; then :
17952 ac_cv_have___clear_cache="yes"
17953 else
17954 ac_cv_have___clear_cache="no"
17956 rm -f core conftest.err conftest.$ac_objext \
17957 conftest$ac_exeext conftest.$ac_ext
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17960 $as_echo "$ac_cv_have___clear_cache" >&6; }
17961 if test "$ac_cv_have___clear_cache" = "yes"
17962 then
17964 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17969 case $host_cpu in
17970 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17971 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17972 if ${ac_cv_cpp_def___i386__+:} false; then :
17973 $as_echo_n "(cached) " >&6
17974 else
17975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h. */
17977 #ifndef __i386__
17979 #endif
17980 _ACEOF
17981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17982 $EGREP "yes" >/dev/null 2>&1; then :
17983 ac_cv_cpp_def___i386__=yes
17984 else
17985 ac_cv_cpp_def___i386__=no
17987 rm -f conftest*
17990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17991 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17992 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17993 CFLAGS="$CFLAGS -D__i386__"
17994 LINTFLAGS="$LINTFLAGS -D__i386__"
17995 fi ;;
17996 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17997 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17998 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17999 $as_echo_n "(cached) " >&6
18000 else
18001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18002 /* end confdefs.h. */
18003 #ifndef __x86_64__
18005 #endif
18006 _ACEOF
18007 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18008 $EGREP "yes" >/dev/null 2>&1; then :
18009 ac_cv_cpp_def___x86_64__=yes
18010 else
18011 ac_cv_cpp_def___x86_64__=no
18013 rm -f conftest*
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18017 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18018 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18019 CFLAGS="$CFLAGS -D__x86_64__"
18020 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18021 fi ;;
18022 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18023 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18024 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18025 $as_echo_n "(cached) " >&6
18026 else
18027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18028 /* end confdefs.h. */
18029 #ifndef __sparc64__
18031 #endif
18032 _ACEOF
18033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18034 $EGREP "yes" >/dev/null 2>&1; then :
18035 ac_cv_cpp_def___sparc64__=yes
18036 else
18037 ac_cv_cpp_def___sparc64__=no
18039 rm -f conftest*
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18043 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18044 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18045 CFLAGS="$CFLAGS -D__sparc64__"
18046 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18047 fi ;;
18048 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18049 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18050 if ${ac_cv_cpp_def___sparc__+:} false; then :
18051 $as_echo_n "(cached) " >&6
18052 else
18053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18054 /* end confdefs.h. */
18055 #ifndef __sparc__
18057 #endif
18058 _ACEOF
18059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18060 $EGREP "yes" >/dev/null 2>&1; then :
18061 ac_cv_cpp_def___sparc__=yes
18062 else
18063 ac_cv_cpp_def___sparc__=no
18065 rm -f conftest*
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18069 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18070 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18071 CFLAGS="$CFLAGS -D__sparc__"
18072 LINTFLAGS="$LINTFLAGS -D__sparc__"
18073 fi ;;
18074 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18075 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18076 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18077 $as_echo_n "(cached) " >&6
18078 else
18079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18080 /* end confdefs.h. */
18081 #ifndef __powerpc64__
18083 #endif
18084 _ACEOF
18085 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18086 $EGREP "yes" >/dev/null 2>&1; then :
18087 ac_cv_cpp_def___powerpc64__=yes
18088 else
18089 ac_cv_cpp_def___powerpc64__=no
18091 rm -f conftest*
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18095 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18096 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18097 CFLAGS="$CFLAGS -D__powerpc64__"
18098 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18099 fi ;;
18100 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18101 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18102 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18103 $as_echo_n "(cached) " >&6
18104 else
18105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18106 /* end confdefs.h. */
18107 #ifndef __powerpc__
18109 #endif
18110 _ACEOF
18111 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18112 $EGREP "yes" >/dev/null 2>&1; then :
18113 ac_cv_cpp_def___powerpc__=yes
18114 else
18115 ac_cv_cpp_def___powerpc__=no
18117 rm -f conftest*
18120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18121 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18122 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18123 CFLAGS="$CFLAGS -D__powerpc__"
18124 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18125 fi ;;
18126 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18127 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18128 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18129 $as_echo_n "(cached) " >&6
18130 else
18131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18132 /* end confdefs.h. */
18133 #ifndef __aarch64__
18135 #endif
18136 _ACEOF
18137 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18138 $EGREP "yes" >/dev/null 2>&1; then :
18139 ac_cv_cpp_def___aarch64__=yes
18140 else
18141 ac_cv_cpp_def___aarch64__=no
18143 rm -f conftest*
18146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18147 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18148 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18149 CFLAGS="$CFLAGS -D__aarch64__"
18150 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18151 fi ;;
18152 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18153 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18154 if ${ac_cv_cpp_def___arm__+:} false; then :
18155 $as_echo_n "(cached) " >&6
18156 else
18157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18158 /* end confdefs.h. */
18159 #ifndef __arm__
18161 #endif
18162 _ACEOF
18163 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18164 $EGREP "yes" >/dev/null 2>&1; then :
18165 ac_cv_cpp_def___arm__=yes
18166 else
18167 ac_cv_cpp_def___arm__=no
18169 rm -f conftest*
18172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18173 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18174 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18175 CFLAGS="$CFLAGS -D__arm__"
18176 LINTFLAGS="$LINTFLAGS -D__arm__"
18177 fi ;;
18178 esac
18180 case $host_vendor in
18181 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18182 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18183 if ${ac_cv_cpp_def___sun__+:} false; then :
18184 $as_echo_n "(cached) " >&6
18185 else
18186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18187 /* end confdefs.h. */
18188 #ifndef __sun__
18190 #endif
18191 _ACEOF
18192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18193 $EGREP "yes" >/dev/null 2>&1; then :
18194 ac_cv_cpp_def___sun__=yes
18195 else
18196 ac_cv_cpp_def___sun__=no
18198 rm -f conftest*
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18202 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18203 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18204 CFLAGS="$CFLAGS -D__sun__"
18205 LINTFLAGS="$LINTFLAGS -D__sun__"
18206 fi ;;
18207 esac
18213 ac_config_commands="$ac_config_commands include/stamp-h"
18215 $as_echo_n "creating Makefile rules..." >&6
18217 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18218 SOCKET_LIBS = $SOCKET_LIBS
18219 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18220 IOKIT_LIBS = $IOKIT_LIBS
18221 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18222 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18223 CORESERVICES_LIBS = $CORESERVICES_LIBS
18224 APPKIT_LIBS = $APPKIT_LIBS
18225 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18226 SECURITY_LIBS = $SECURITY_LIBS
18227 COREAUDIO_LIBS = $COREAUDIO_LIBS
18228 OPENAL_LIBS = $OPENAL_LIBS
18229 OPENCL_LIBS = $OPENCL_LIBS
18230 QUICKTIME_LIBS = $QUICKTIME_LIBS
18231 CARBON_LIBS = $CARBON_LIBS
18232 PTHREAD_LIBS = $PTHREAD_LIBS
18233 X_CFLAGS = $X_CFLAGS
18234 X_PRE_LIBS = $X_PRE_LIBS
18235 X_LIBS = $X_LIBS
18236 X_EXTRA_LIBS = $X_EXTRA_LIBS
18237 PCAP_LIBS = $PCAP_LIBS
18238 XML2_CFLAGS = $XML2_CFLAGS
18239 XML2_LIBS = $XML2_LIBS
18240 XSLT_CFLAGS = $XSLT_CFLAGS
18241 XSLT_LIBS = $XSLT_LIBS
18242 DBUS_CFLAGS = $DBUS_CFLAGS
18243 DBUS_LIBS = $DBUS_LIBS
18244 HAL_CFLAGS = $HAL_CFLAGS
18245 HAL_LIBS = $HAL_LIBS
18246 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18247 GNUTLS_LIBS = $GNUTLS_LIBS
18248 SANE_CFLAGS = $SANE_CFLAGS
18249 SANE_LIBS = $SANE_LIBS
18250 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18251 GPHOTO2_LIBS = $GPHOTO2_LIBS
18252 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18253 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18254 RESOLV_LIBS = $RESOLV_LIBS
18255 LCMS2_CFLAGS = $LCMS2_CFLAGS
18256 LCMS2_LIBS = $LCMS2_LIBS
18257 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18258 FREETYPE_LIBS = $FREETYPE_LIBS
18259 Z_LIBS = $Z_LIBS
18260 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18261 PULSE_CFLAGS = $PULSE_CFLAGS
18262 PULSE_LIBS = $PULSE_LIBS
18263 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18264 GSTREAMER_LIBS = $GSTREAMER_LIBS
18265 ALSA_LIBS = $ALSA_LIBS
18266 OSS4_CFLAGS = $OSS4_CFLAGS
18267 UDEV_CFLAGS = $UDEV_CFLAGS
18268 UDEV_LIBS = $UDEV_LIBS
18269 SDL2_CFLAGS = $SDL2_CFLAGS
18270 SDL2_LIBS = $SDL2_LIBS
18271 CAPI20_CFLAGS = $CAPI20_CFLAGS
18272 CAPI20_LIBS = $CAPI20_LIBS
18273 CUPS_CFLAGS = $CUPS_CFLAGS
18274 CUPS_LIBS = $CUPS_LIBS
18275 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18276 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18277 KRB5_CFLAGS = $KRB5_CFLAGS
18278 KRB5_LIBS = $KRB5_LIBS
18279 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18280 GSSAPI_LIBS = $GSSAPI_LIBS
18281 JPEG_CFLAGS = $JPEG_CFLAGS
18282 JPEG_LIBS = $JPEG_LIBS
18283 PNG_CFLAGS = $PNG_CFLAGS
18284 PNG_LIBS = $PNG_LIBS
18285 TIFF_CFLAGS = $TIFF_CFLAGS
18286 TIFF_LIBS = $TIFF_LIBS
18287 MPG123_CFLAGS = $MPG123_CFLAGS
18288 MPG123_LIBS = $MPG123_LIBS
18289 KSTAT_LIBS = $KSTAT_LIBS
18290 PROCSTAT_LIBS = $PROCSTAT_LIBS
18291 NETAPI_CFLAGS = $NETAPI_CFLAGS
18292 NETAPI_LIBS = $NETAPI_LIBS
18293 VKD3D_CFLAGS = $VKD3D_CFLAGS
18294 VKD3D_LIBS = $VKD3D_LIBS
18295 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18296 DL_LIBS = $DL_LIBS
18297 POLL_LIBS = $POLL_LIBS
18298 RT_LIBS = $RT_LIBS
18299 LDAP_CFLAGS = $LDAP_CFLAGS
18300 LDAP_LIBS = $LDAP_LIBS
18305 wine_fn_append_rule "
18306 # Rules automatically generated by configure
18308 .INIT: Makefile
18309 .MAKEFILEDEPS:
18310 all: Makefile
18311 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18312 @./config.status Make.tmp Makefile
18313 depend: \$(MAKEDEP) dummy
18314 \$(MAKEDEP)"
18316 if test "x$enable_fonts" != xno; then
18317 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18318 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18319 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18320 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18321 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18322 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18324 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18325 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18326 ac_config_links="$ac_config_links wine:tools/winewrapper"
18327 wine_fn_config_symlink wine
18328 if test "x$enable_win64" != xno; then
18329 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18330 wine_fn_config_symlink wine64
18333 wine_fn_config_makefile dlls/acledit enable_acledit
18334 wine_fn_config_makefile dlls/aclui enable_aclui
18335 wine_fn_config_makefile dlls/activeds enable_activeds
18336 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18337 wine_fn_config_makefile dlls/adsiid enable_adsiid
18338 wine_fn_config_makefile dlls/adsldp enable_adsldp
18339 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18340 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18341 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18342 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18343 wine_fn_config_makefile dlls/advpack enable_advpack
18344 wine_fn_config_makefile dlls/advpack/tests enable_tests
18345 wine_fn_config_makefile dlls/amstream enable_amstream
18346 wine_fn_config_makefile dlls/amstream/tests enable_tests
18347 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18348 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18349 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18350 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18351 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18352 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18353 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18354 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18355 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18356 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18357 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18358 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18359 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18360 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18361 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18362 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18363 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18364 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18365 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18366 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18367 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18368 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18369 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18370 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18371 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18372 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18373 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18374 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18375 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18376 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18377 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18378 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18379 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18380 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18381 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18382 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18383 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18384 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18385 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18386 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18387 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18388 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18389 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18390 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18391 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18392 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18393 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18394 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18395 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
18396 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18397 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18398 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18399 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18400 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18401 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18402 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18403 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18404 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18405 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18406 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18407 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18408 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18409 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18410 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18411 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18412 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18413 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18414 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18415 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18416 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18417 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18418 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18419 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18420 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18421 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18422 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18423 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18424 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18425 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18426 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18427 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18428 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18429 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18430 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18431 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18432 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18433 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18434 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18435 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18436 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18437 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18438 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18439 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18440 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18441 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18442 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18443 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18444 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18445 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18446 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18447 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18448 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18449 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18450 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18451 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18452 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18453 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18454 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18455 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18456 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18457 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18458 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18459 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18460 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18461 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18462 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18463 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18464 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18465 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18466 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18467 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18468 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18469 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18470 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18471 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18472 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18473 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18474 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18475 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18476 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18477 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18478 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18479 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18480 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18481 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18482 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18483 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18484 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18485 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18486 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18487 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18488 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18489 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18490 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18491 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18492 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18493 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18494 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18495 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18496 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18497 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18498 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18499 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18500 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18501 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18502 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18503 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18504 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18505 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18506 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18507 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18508 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18509 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18510 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
18511 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18512 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18513 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18514 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18515 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18516 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18517 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18518 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18519 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18520 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
18521 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18522 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
18523 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
18524 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
18525 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
18526 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
18527 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18528 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18529 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18530 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18531 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18532 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18533 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18534 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18535 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18536 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18537 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18538 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18539 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18540 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18541 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18542 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18543 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18544 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18545 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18546 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18547 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18548 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18549 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
18550 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18551 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
18552 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
18553 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18554 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18555 wine_fn_config_makefile dlls/apphelp enable_apphelp
18556 wine_fn_config_makefile dlls/apphelp/tests enable_tests
18557 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
18558 wine_fn_config_makefile dlls/atl enable_atl
18559 wine_fn_config_makefile dlls/atl/tests enable_tests
18560 wine_fn_config_makefile dlls/atl100 enable_atl100
18561 wine_fn_config_makefile dlls/atl100/tests enable_tests
18562 wine_fn_config_makefile dlls/atl110 enable_atl110
18563 wine_fn_config_makefile dlls/atl80 enable_atl80
18564 wine_fn_config_makefile dlls/atl80/tests enable_tests
18565 wine_fn_config_makefile dlls/atl90 enable_atl90
18566 wine_fn_config_makefile dlls/atmlib enable_atmlib
18567 wine_fn_config_makefile dlls/authz enable_authz
18568 wine_fn_config_makefile dlls/avicap32 enable_avicap32
18569 wine_fn_config_makefile dlls/avifil32 enable_avifil32
18570 wine_fn_config_makefile dlls/avifil32/tests enable_tests
18571 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
18572 wine_fn_config_makefile dlls/avrt enable_avrt
18573 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
18574 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
18575 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
18576 wine_fn_config_makefile dlls/browseui enable_browseui
18577 wine_fn_config_makefile dlls/browseui/tests enable_tests
18578 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
18579 wine_fn_config_makefile dlls/cabinet enable_cabinet
18580 wine_fn_config_makefile dlls/cabinet/tests enable_tests
18581 wine_fn_config_makefile dlls/capi2032 enable_capi2032
18582 wine_fn_config_makefile dlls/cards enable_cards
18583 wine_fn_config_makefile dlls/cdosys enable_cdosys
18584 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
18585 wine_fn_config_makefile dlls/clusapi enable_clusapi
18586 wine_fn_config_makefile dlls/combase enable_combase
18587 wine_fn_config_makefile dlls/combase/tests enable_tests
18588 wine_fn_config_makefile dlls/comcat enable_comcat
18589 wine_fn_config_makefile dlls/comcat/tests enable_tests
18590 wine_fn_config_makefile dlls/comctl32 enable_comctl32
18591 wine_fn_config_makefile dlls/comctl32/tests enable_tests
18592 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
18593 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
18594 wine_fn_config_makefile dlls/comm.drv16 enable_win16
18595 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
18596 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
18597 wine_fn_config_makefile dlls/compstui enable_compstui
18598 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
18599 wine_fn_config_makefile dlls/concrt140 enable_concrt140
18600 wine_fn_config_makefile dlls/connect enable_connect
18601 wine_fn_config_makefile dlls/credui enable_credui
18602 wine_fn_config_makefile dlls/credui/tests enable_tests
18603 wine_fn_config_makefile dlls/crtdll enable_crtdll
18604 wine_fn_config_makefile dlls/crypt32 enable_crypt32
18605 wine_fn_config_makefile dlls/crypt32/tests enable_tests
18606 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
18607 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
18608 wine_fn_config_makefile dlls/cryptext enable_cryptext
18609 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
18610 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
18611 wine_fn_config_makefile dlls/cryptui enable_cryptui
18612 wine_fn_config_makefile dlls/cryptui/tests enable_tests
18613 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
18614 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
18615 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
18616 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
18617 wine_fn_config_makefile dlls/d2d1 enable_d2d1
18618 wine_fn_config_makefile dlls/d2d1/tests enable_tests
18619 wine_fn_config_makefile dlls/d3d10 enable_d3d10
18620 wine_fn_config_makefile dlls/d3d10/tests enable_tests
18621 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
18622 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
18623 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
18624 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
18625 wine_fn_config_makefile dlls/d3d11 enable_d3d11
18626 wine_fn_config_makefile dlls/d3d11/tests enable_tests
18627 wine_fn_config_makefile dlls/d3d12 enable_d3d12
18628 wine_fn_config_makefile dlls/d3d12/tests enable_tests
18629 wine_fn_config_makefile dlls/d3d8 enable_d3d8
18630 wine_fn_config_makefile dlls/d3d8/tests enable_tests
18631 wine_fn_config_makefile dlls/d3d9 enable_d3d9
18632 wine_fn_config_makefile dlls/d3d9/tests enable_tests
18633 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
18634 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
18635 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
18636 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
18637 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
18638 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
18639 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
18640 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
18641 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
18642 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
18643 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
18644 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
18645 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
18646 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
18647 wine_fn_config_makefile dlls/d3dim enable_d3dim
18648 wine_fn_config_makefile dlls/d3drm enable_d3drm
18649 wine_fn_config_makefile dlls/d3drm/tests enable_tests
18650 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
18651 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
18652 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
18653 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
18654 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
18655 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
18656 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
18657 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
18658 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
18659 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
18660 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
18661 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
18662 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
18663 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
18664 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
18665 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
18666 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
18667 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
18668 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
18669 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
18670 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
18671 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
18672 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
18673 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
18674 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
18675 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
18676 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
18677 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
18678 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
18679 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
18680 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
18681 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
18682 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
18683 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
18684 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
18685 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
18686 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
18687 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
18688 wine_fn_config_makefile dlls/davclnt enable_davclnt
18689 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
18690 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
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/normaliz enable_normaliz
19027 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19028 wine_fn_config_makefile dlls/npptools enable_npptools
19029 wine_fn_config_makefile dlls/ntdll enable_ntdll
19030 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19031 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19032 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19033 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19034 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19035 wine_fn_config_makefile dlls/ntprint enable_ntprint
19036 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19037 wine_fn_config_makefile dlls/objsel enable_objsel
19038 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19039 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19040 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19041 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19042 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19043 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19044 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19045 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19046 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19047 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19048 wine_fn_config_makefile dlls/ole32 enable_ole32
19049 wine_fn_config_makefile dlls/ole32/tests enable_tests
19050 wine_fn_config_makefile dlls/oleacc enable_oleacc
19051 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19052 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19053 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19054 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19055 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19056 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19057 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19058 wine_fn_config_makefile dlls/oledlg enable_oledlg
19059 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19060 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19061 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19062 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19063 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19064 wine_fn_config_makefile dlls/openal32 enable_openal32
19065 wine_fn_config_makefile dlls/opencl enable_opencl
19066 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19067 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19068 wine_fn_config_makefile dlls/packager enable_packager
19069 wine_fn_config_makefile dlls/packager/tests enable_tests
19070 wine_fn_config_makefile dlls/pdh enable_pdh
19071 wine_fn_config_makefile dlls/pdh/tests enable_tests
19072 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19073 wine_fn_config_makefile dlls/pidgen enable_pidgen
19074 wine_fn_config_makefile dlls/powrprof enable_powrprof
19075 wine_fn_config_makefile dlls/printui enable_printui
19076 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19077 wine_fn_config_makefile dlls/propsys enable_propsys
19078 wine_fn_config_makefile dlls/propsys/tests enable_tests
19079 wine_fn_config_makefile dlls/psapi enable_psapi
19080 wine_fn_config_makefile dlls/psapi/tests enable_tests
19081 wine_fn_config_makefile dlls/pstorec enable_pstorec
19082 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19083 wine_fn_config_makefile dlls/qcap enable_qcap
19084 wine_fn_config_makefile dlls/qcap/tests enable_tests
19085 wine_fn_config_makefile dlls/qedit enable_qedit
19086 wine_fn_config_makefile dlls/qedit/tests enable_tests
19087 wine_fn_config_makefile dlls/qmgr enable_qmgr
19088 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19089 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19090 wine_fn_config_makefile dlls/quartz enable_quartz
19091 wine_fn_config_makefile dlls/quartz/tests enable_tests
19092 wine_fn_config_makefile dlls/query enable_query
19093 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19094 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19095 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19096 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19097 wine_fn_config_makefile dlls/regapi enable_regapi
19098 wine_fn_config_makefile dlls/resutils enable_resutils
19099 wine_fn_config_makefile dlls/riched20 enable_riched20
19100 wine_fn_config_makefile dlls/riched20/tests enable_tests
19101 wine_fn_config_makefile dlls/riched32 enable_riched32
19102 wine_fn_config_makefile dlls/riched32/tests enable_tests
19103 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19104 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19105 wine_fn_config_makefile dlls/rsabase enable_rsabase
19106 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19107 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19108 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19109 wine_fn_config_makefile dlls/rtutils enable_rtutils
19110 wine_fn_config_makefile dlls/samlib enable_samlib
19111 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19112 wine_fn_config_makefile dlls/sapi enable_sapi
19113 wine_fn_config_makefile dlls/sapi/tests enable_tests
19114 wine_fn_config_makefile dlls/sas enable_sas
19115 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19116 wine_fn_config_makefile dlls/sccbase enable_sccbase
19117 wine_fn_config_makefile dlls/schannel enable_schannel
19118 wine_fn_config_makefile dlls/schannel/tests enable_tests
19119 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19120 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19121 wine_fn_config_makefile dlls/scrobj enable_scrobj
19122 wine_fn_config_makefile dlls/scrrun enable_scrrun
19123 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19124 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19125 wine_fn_config_makefile dlls/secur32 enable_secur32
19126 wine_fn_config_makefile dlls/secur32/tests enable_tests
19127 wine_fn_config_makefile dlls/security enable_security
19128 wine_fn_config_makefile dlls/sensapi enable_sensapi
19129 wine_fn_config_makefile dlls/serialui enable_serialui
19130 wine_fn_config_makefile dlls/serialui/tests enable_tests
19131 wine_fn_config_makefile dlls/setupapi enable_setupapi
19132 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19133 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19134 wine_fn_config_makefile dlls/sfc enable_sfc
19135 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19136 wine_fn_config_makefile dlls/shcore enable_shcore
19137 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19138 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19139 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19140 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19141 wine_fn_config_makefile dlls/shell32 enable_shell32
19142 wine_fn_config_makefile dlls/shell32/tests enable_tests
19143 wine_fn_config_makefile dlls/shfolder enable_shfolder
19144 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19145 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19146 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19147 wine_fn_config_makefile dlls/slc enable_slc
19148 wine_fn_config_makefile dlls/slc/tests enable_tests
19149 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19150 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19151 wine_fn_config_makefile dlls/softpub enable_softpub
19152 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19153 wine_fn_config_makefile dlls/spoolss enable_spoolss
19154 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19155 wine_fn_config_makefile dlls/srclient enable_srclient
19156 wine_fn_config_makefile dlls/sspicli enable_sspicli
19157 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19158 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19159 wine_fn_config_makefile dlls/sti enable_sti
19160 wine_fn_config_makefile dlls/sti/tests enable_tests
19161 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19162 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19163 wine_fn_config_makefile dlls/strmbase enable_strmbase
19164 wine_fn_config_makefile dlls/strmdll enable_strmdll
19165 wine_fn_config_makefile dlls/strmiids enable_strmiids
19166 wine_fn_config_makefile dlls/svrapi enable_svrapi
19167 wine_fn_config_makefile dlls/sxs enable_sxs
19168 wine_fn_config_makefile dlls/sxs/tests enable_tests
19169 wine_fn_config_makefile dlls/system.drv16 enable_win16
19170 wine_fn_config_makefile dlls/t2embed enable_t2embed
19171 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19172 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19173 wine_fn_config_makefile dlls/taskschd enable_taskschd
19174 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19175 wine_fn_config_makefile dlls/tdh enable_tdh
19176 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19177 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19178 wine_fn_config_makefile dlls/traffic enable_traffic
19179 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19180 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19181 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19182 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19183 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19184 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19185 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19186 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19187 wine_fn_config_makefile dlls/unicows enable_unicows
19188 wine_fn_config_makefile dlls/updspapi enable_updspapi
19189 wine_fn_config_makefile dlls/url enable_url
19190 wine_fn_config_makefile dlls/urlmon enable_urlmon
19191 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19192 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19193 wine_fn_config_makefile dlls/user.exe16 enable_win16
19194 wine_fn_config_makefile dlls/user32 enable_user32
19195 wine_fn_config_makefile dlls/user32/tests enable_tests
19196 wine_fn_config_makefile dlls/userenv enable_userenv
19197 wine_fn_config_makefile dlls/userenv/tests enable_tests
19198 wine_fn_config_makefile dlls/usp10 enable_usp10
19199 wine_fn_config_makefile dlls/usp10/tests enable_tests
19200 wine_fn_config_makefile dlls/uuid enable_uuid
19201 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19202 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19203 wine_fn_config_makefile dlls/vbscript enable_vbscript
19204 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19205 wine_fn_config_makefile dlls/vcomp enable_vcomp
19206 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19207 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19208 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19209 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19210 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19211 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19212 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19213 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19214 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19215 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19216 wine_fn_config_makefile dlls/version enable_version
19217 wine_fn_config_makefile dlls/version/tests enable_tests
19218 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19219 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19220 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19221 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19222 wine_fn_config_makefile dlls/vssapi enable_vssapi
19223 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19224 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19225 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19226 wine_fn_config_makefile dlls/w32skrnl enable_win16
19227 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19228 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19229 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19230 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19231 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19232 wine_fn_config_makefile dlls/wdscore enable_wdscore
19233 wine_fn_config_makefile dlls/webservices enable_webservices
19234 wine_fn_config_makefile dlls/webservices/tests enable_tests
19235 wine_fn_config_makefile dlls/wer enable_wer
19236 wine_fn_config_makefile dlls/wer/tests enable_tests
19237 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19238 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19239 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19240 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19241 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19242 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19243 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19244 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19245 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19246 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19247 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19248 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19249 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19250 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19251 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19252 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19253 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19254 wine_fn_config_makefile dlls/wined3d enable_wined3d
19255 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19256 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19257 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19258 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19259 wine_fn_config_makefile dlls/winemapi enable_winemapi
19260 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19261 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19262 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19263 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19264 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19265 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19266 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19267 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19268 wine_fn_config_makefile dlls/wing32 enable_wing32
19269 wine_fn_config_makefile dlls/winhttp enable_winhttp
19270 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19271 wine_fn_config_makefile dlls/wininet enable_wininet
19272 wine_fn_config_makefile dlls/wininet/tests enable_tests
19273 wine_fn_config_makefile dlls/winmm enable_winmm
19274 wine_fn_config_makefile dlls/winmm/tests enable_tests
19275 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19276 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19277 wine_fn_config_makefile dlls/winscard enable_winscard
19278 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19279 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19280 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19281 wine_fn_config_makefile dlls/winsta enable_winsta
19282 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19283 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19284 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19285 wine_fn_config_makefile dlls/wintrust enable_wintrust
19286 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19287 wine_fn_config_makefile dlls/winusb enable_winusb
19288 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19289 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19290 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19291 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19292 wine_fn_config_makefile dlls/wmasf enable_wmasf
19293 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
19294 wine_fn_config_makefile dlls/wmi enable_wmi
19295 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19296 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19297 wine_fn_config_makefile dlls/wmp enable_wmp
19298 wine_fn_config_makefile dlls/wmp/tests enable_tests
19299 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19300 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19301 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19302 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19303 wine_fn_config_makefile dlls/wow32 enable_win16
19304 wine_fn_config_makefile dlls/wpc enable_wpc
19305 wine_fn_config_makefile dlls/wpc/tests enable_tests
19306 wine_fn_config_makefile dlls/wpcap enable_wpcap
19307 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19308 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19309 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19310 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19311 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19312 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19313 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19314 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19315 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19316 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19317 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19318 wine_fn_config_makefile dlls/wuapi enable_wuapi
19319 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19320 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19321 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19322 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19323 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19324 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19325 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19326 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19327 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19328 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19329 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19330 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19331 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19332 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19333 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19334 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19335 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19336 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19337 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19338 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19339 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19340 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19341 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19342 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19343 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19344 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19345 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19346 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19347 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19348 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19349 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19350 wine_fn_config_makefile dlls/xmllite enable_xmllite
19351 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19352 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19353 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19354 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19355 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
19356 wine_fn_config_makefile include enable_include
19357 wine_fn_config_makefile libs/port enable_port
19358 wine_fn_config_makefile libs/wine enable_wine
19359 wine_fn_config_makefile libs/wpp enable_wpp
19360 wine_fn_config_makefile loader enable_loader
19361 wine_fn_config_makefile po enable_po
19362 wine_fn_config_makefile programs/arp enable_arp
19363 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19364 wine_fn_config_makefile programs/attrib enable_attrib
19365 wine_fn_config_makefile programs/cabarc enable_cabarc
19366 wine_fn_config_makefile programs/cacls enable_cacls
19367 wine_fn_config_makefile programs/clock enable_clock
19368 wine_fn_config_makefile programs/cmd enable_cmd
19369 wine_fn_config_makefile programs/cmd/tests enable_tests
19370 wine_fn_config_makefile programs/conhost enable_conhost
19371 wine_fn_config_makefile programs/control enable_control
19372 wine_fn_config_makefile programs/cscript enable_cscript
19373 wine_fn_config_makefile programs/dism enable_dism
19374 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19375 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19376 wine_fn_config_makefile programs/eject enable_eject
19377 wine_fn_config_makefile programs/expand enable_expand
19378 wine_fn_config_makefile programs/explorer enable_explorer
19379 wine_fn_config_makefile programs/extrac32 enable_extrac32
19380 wine_fn_config_makefile programs/fc enable_fc
19381 wine_fn_config_makefile programs/find enable_find
19382 wine_fn_config_makefile programs/findstr enable_findstr
19383 wine_fn_config_makefile programs/fsutil enable_fsutil
19384 wine_fn_config_makefile programs/hh enable_hh
19385 wine_fn_config_makefile programs/hostname enable_hostname
19386 wine_fn_config_makefile programs/icacls enable_icacls
19387 wine_fn_config_makefile programs/icinfo enable_icinfo
19388 wine_fn_config_makefile programs/iexplore enable_iexplore
19389 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19390 wine_fn_config_makefile programs/lodctr enable_lodctr
19391 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19392 wine_fn_config_makefile programs/mshta enable_mshta
19393 wine_fn_config_makefile programs/msiexec enable_msiexec
19394 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19395 wine_fn_config_makefile programs/net enable_net
19396 wine_fn_config_makefile programs/netsh enable_netsh
19397 wine_fn_config_makefile programs/netstat enable_netstat
19398 wine_fn_config_makefile programs/ngen enable_ngen
19399 wine_fn_config_makefile programs/notepad enable_notepad
19400 wine_fn_config_makefile programs/oleview enable_oleview
19401 wine_fn_config_makefile programs/ping enable_ping
19402 wine_fn_config_makefile programs/plugplay enable_plugplay
19403 wine_fn_config_makefile programs/powershell enable_powershell
19404 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19405 wine_fn_config_makefile programs/progman enable_progman
19406 wine_fn_config_makefile programs/reg enable_reg
19407 wine_fn_config_makefile programs/reg/tests enable_tests
19408 wine_fn_config_makefile programs/regasm enable_regasm
19409 wine_fn_config_makefile programs/regedit enable_regedit
19410 wine_fn_config_makefile programs/regedit/tests enable_tests
19411 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19412 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19413 wine_fn_config_makefile programs/rpcss enable_rpcss
19414 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19415 wine_fn_config_makefile programs/rundll32 enable_rundll32
19416 wine_fn_config_makefile programs/sc enable_sc
19417 wine_fn_config_makefile programs/schtasks enable_schtasks
19418 wine_fn_config_makefile programs/schtasks/tests enable_tests
19419 wine_fn_config_makefile programs/sdbinst enable_sdbinst
19420 wine_fn_config_makefile programs/secedit enable_secedit
19421 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
19422 wine_fn_config_makefile programs/services enable_services
19423 wine_fn_config_makefile programs/services/tests enable_tests
19424 wine_fn_config_makefile programs/shutdown enable_shutdown
19425 wine_fn_config_makefile programs/spoolsv enable_spoolsv
19426 wine_fn_config_makefile programs/start enable_start
19427 wine_fn_config_makefile programs/subst enable_subst
19428 wine_fn_config_makefile programs/svchost enable_svchost
19429 wine_fn_config_makefile programs/systeminfo enable_systeminfo
19430 wine_fn_config_makefile programs/taskkill enable_taskkill
19431 wine_fn_config_makefile programs/tasklist enable_tasklist
19432 wine_fn_config_makefile programs/taskmgr enable_taskmgr
19433 wine_fn_config_makefile programs/termsv enable_termsv
19434 wine_fn_config_makefile programs/uninstaller enable_uninstaller
19435 wine_fn_config_makefile programs/unlodctr enable_unlodctr
19436 wine_fn_config_makefile programs/view enable_view
19437 wine_fn_config_makefile programs/wevtutil enable_wevtutil
19438 wine_fn_config_makefile programs/wineboot enable_wineboot
19439 wine_fn_config_makefile programs/winebrowser enable_winebrowser
19440 wine_fn_config_makefile programs/winecfg enable_winecfg
19441 wine_fn_config_makefile programs/wineconsole enable_wineconsole
19442 wine_fn_config_makefile programs/winedbg enable_winedbg
19443 wine_fn_config_makefile programs/winedevice enable_winedevice
19444 wine_fn_config_makefile programs/winefile enable_winefile
19445 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
19446 wine_fn_config_makefile programs/winemine enable_winemine
19447 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
19448 wine_fn_config_makefile programs/winepath enable_winepath
19449 wine_fn_config_makefile programs/winetest enable_winetest
19450 wine_fn_config_makefile programs/winevdm enable_win16
19451 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
19452 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
19453 wine_fn_config_makefile programs/winmgmt enable_winmgmt
19454 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
19455 wine_fn_config_makefile programs/winver enable_winver
19456 wine_fn_config_makefile programs/wmic enable_wmic
19457 wine_fn_config_makefile programs/wmplayer enable_wmplayer
19458 wine_fn_config_makefile programs/wordpad enable_wordpad
19459 wine_fn_config_makefile programs/write enable_write
19460 wine_fn_config_makefile programs/wscript enable_wscript
19461 wine_fn_config_makefile programs/wscript/tests enable_tests
19462 wine_fn_config_makefile programs/wusa enable_wusa
19463 wine_fn_config_makefile programs/xcopy enable_xcopy
19464 wine_fn_config_makefile programs/xcopy/tests enable_tests
19465 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
19466 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
19467 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
19468 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
19469 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
19470 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
19471 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
19472 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
19473 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
19474 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
19477 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19478 wine_fn_append_file CONFIGURE_TARGETS "tags"
19479 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19480 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19481 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19482 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19483 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19484 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19486 if test "x$enable_tools" != xno
19487 then
19488 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19489 ac_config_commands="$ac_config_commands tools/makedep"
19493 ac_config_commands="$ac_config_commands Makefile"
19496 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19500 if test "x$enable_maintainer_mode" = xyes
19501 then
19502 wine_fn_append_rule "configure: configure.ac aclocal.m4
19503 autoconf --warnings=all
19504 include/config.h.in: include/stamp-h.in
19505 include/stamp-h.in: configure.ac aclocal.m4
19506 autoheader --warnings=all
19507 @echo timestamp > \$@"
19510 if test "x$enable_tools" != xno
19511 then
19512 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19513 @./config.status tools/makedep
19514 Makefile: tools/makedep$ac_exeext
19515 fonts: tools/sfnt2fon
19516 include: tools tools/widl"
19517 else
19518 wine_fn_append_rule "\$(MAKEDEP):
19519 @echo \"You need to run make in $TOOLSDIR first\" && false"
19522 if test -n "$with_wine64"
19523 then
19524 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19525 fonts server:
19526 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19527 $with_wine64/loader/wine:
19528 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19529 $with_wine64/loader/wine-preloader:
19530 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19531 clean::
19532 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19533 else
19534 WINELOADER_INSTALL="wine.inf l_intl.nls"
19536 case $host_os in
19537 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19538 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19539 esac
19542 $as_echo " done" >&6
19543 cat >confcache <<\_ACEOF
19544 # This file is a shell script that caches the results of configure
19545 # tests run on this system so they can be shared between configure
19546 # scripts and configure runs, see configure's option --config-cache.
19547 # It is not useful on other systems. If it contains results you don't
19548 # want to keep, you may remove or edit it.
19550 # config.status only pays attention to the cache file if you give it
19551 # the --recheck option to rerun configure.
19553 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19554 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19555 # following values.
19557 _ACEOF
19559 # The following way of writing the cache mishandles newlines in values,
19560 # but we know of no workaround that is simple, portable, and efficient.
19561 # So, we kill variables containing newlines.
19562 # Ultrix sh set writes to stderr and can't be redirected directly,
19563 # and sets the high bit in the cache file unless we assign to the vars.
19565 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19566 eval ac_val=\$$ac_var
19567 case $ac_val in #(
19568 *${as_nl}*)
19569 case $ac_var in #(
19570 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19571 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19572 esac
19573 case $ac_var in #(
19574 _ | IFS | as_nl) ;; #(
19575 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19576 *) { eval $ac_var=; unset $ac_var;} ;;
19577 esac ;;
19578 esac
19579 done
19581 (set) 2>&1 |
19582 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19583 *${as_nl}ac_space=\ *)
19584 # `set' does not quote correctly, so add quotes: double-quote
19585 # substitution turns \\\\ into \\, and sed turns \\ into \.
19586 sed -n \
19587 "s/'/'\\\\''/g;
19588 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19589 ;; #(
19591 # `set' quotes correctly as required by POSIX, so do not add quotes.
19592 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19594 esac |
19595 sort
19597 sed '
19598 /^ac_cv_env_/b end
19599 t clear
19600 :clear
19601 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19602 t end
19603 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19604 :end' >>confcache
19605 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19606 if test -w "$cache_file"; then
19607 if test "x$cache_file" != "x/dev/null"; then
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19609 $as_echo "$as_me: updating cache $cache_file" >&6;}
19610 if test ! -f "$cache_file" || test -h "$cache_file"; then
19611 cat confcache >"$cache_file"
19612 else
19613 case $cache_file in #(
19614 */* | ?:*)
19615 mv -f confcache "$cache_file"$$ &&
19616 mv -f "$cache_file"$$ "$cache_file" ;; #(
19618 mv -f confcache "$cache_file" ;;
19619 esac
19622 else
19623 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19624 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19627 rm -f confcache
19629 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19630 # Let make expand exec_prefix.
19631 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19633 DEFS=-DHAVE_CONFIG_H
19635 ac_libobjs=
19636 ac_ltlibobjs=
19638 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19639 # 1. Remove the extension, and $U if already installed.
19640 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19641 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19642 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19643 # will be set to the directory where LIBOBJS objects are built.
19644 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19645 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19646 done
19647 LIBOBJS=$ac_libobjs
19649 LTLIBOBJS=$ac_ltlibobjs
19653 : "${CONFIG_STATUS=./config.status}"
19654 ac_write_fail=0
19655 ac_clean_files_save=$ac_clean_files
19656 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19658 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19659 as_write_fail=0
19660 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19661 #! $SHELL
19662 # Generated by $as_me.
19663 # Run this file to recreate the current configuration.
19664 # Compiler output produced by configure, useful for debugging
19665 # configure, is in config.log if it exists.
19667 debug=false
19668 ac_cs_recheck=false
19669 ac_cs_silent=false
19671 SHELL=\${CONFIG_SHELL-$SHELL}
19672 export SHELL
19673 _ASEOF
19674 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19675 ## -------------------- ##
19676 ## M4sh Initialization. ##
19677 ## -------------------- ##
19679 # Be more Bourne compatible
19680 DUALCASE=1; export DUALCASE # for MKS sh
19681 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19682 emulate sh
19683 NULLCMD=:
19684 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19685 # is contrary to our usage. Disable this feature.
19686 alias -g '${1+"$@"}'='"$@"'
19687 setopt NO_GLOB_SUBST
19688 else
19689 case `(set -o) 2>/dev/null` in #(
19690 *posix*) :
19691 set -o posix ;; #(
19692 *) :
19694 esac
19698 as_nl='
19700 export as_nl
19701 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19702 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19703 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19704 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19705 # Prefer a ksh shell builtin over an external printf program on Solaris,
19706 # but without wasting forks for bash or zsh.
19707 if test -z "$BASH_VERSION$ZSH_VERSION" \
19708 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19709 as_echo='print -r --'
19710 as_echo_n='print -rn --'
19711 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19712 as_echo='printf %s\n'
19713 as_echo_n='printf %s'
19714 else
19715 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19716 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19717 as_echo_n='/usr/ucb/echo -n'
19718 else
19719 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19720 as_echo_n_body='eval
19721 arg=$1;
19722 case $arg in #(
19723 *"$as_nl"*)
19724 expr "X$arg" : "X\\(.*\\)$as_nl";
19725 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19726 esac;
19727 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19729 export as_echo_n_body
19730 as_echo_n='sh -c $as_echo_n_body as_echo'
19732 export as_echo_body
19733 as_echo='sh -c $as_echo_body as_echo'
19736 # The user is always right.
19737 if test "${PATH_SEPARATOR+set}" != set; then
19738 PATH_SEPARATOR=:
19739 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19740 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19741 PATH_SEPARATOR=';'
19746 # IFS
19747 # We need space, tab and new line, in precisely that order. Quoting is
19748 # there to prevent editors from complaining about space-tab.
19749 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19750 # splitting by setting IFS to empty value.)
19751 IFS=" "" $as_nl"
19753 # Find who we are. Look in the path if we contain no directory separator.
19754 as_myself=
19755 case $0 in #((
19756 *[\\/]* ) as_myself=$0 ;;
19757 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19758 for as_dir in $PATH
19760 IFS=$as_save_IFS
19761 test -z "$as_dir" && as_dir=.
19762 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19763 done
19764 IFS=$as_save_IFS
19767 esac
19768 # We did not find ourselves, most probably we were run as `sh COMMAND'
19769 # in which case we are not to be found in the path.
19770 if test "x$as_myself" = x; then
19771 as_myself=$0
19773 if test ! -f "$as_myself"; then
19774 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19775 exit 1
19778 # Unset variables that we do not need and which cause bugs (e.g. in
19779 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19780 # suppresses any "Segmentation fault" message there. '((' could
19781 # trigger a bug in pdksh 5.2.14.
19782 for as_var in BASH_ENV ENV MAIL MAILPATH
19783 do eval test x\${$as_var+set} = xset \
19784 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19785 done
19786 PS1='$ '
19787 PS2='> '
19788 PS4='+ '
19790 # NLS nuisances.
19791 LC_ALL=C
19792 export LC_ALL
19793 LANGUAGE=C
19794 export LANGUAGE
19796 # CDPATH.
19797 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19800 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19801 # ----------------------------------------
19802 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19803 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19804 # script with STATUS, using 1 if that was 0.
19805 as_fn_error ()
19807 as_status=$1; test $as_status -eq 0 && as_status=1
19808 if test "$4"; then
19809 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19810 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19812 $as_echo "$as_me: error: $2" >&2
19813 as_fn_exit $as_status
19814 } # as_fn_error
19817 # as_fn_set_status STATUS
19818 # -----------------------
19819 # Set $? to STATUS, without forking.
19820 as_fn_set_status ()
19822 return $1
19823 } # as_fn_set_status
19825 # as_fn_exit STATUS
19826 # -----------------
19827 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19828 as_fn_exit ()
19830 set +e
19831 as_fn_set_status $1
19832 exit $1
19833 } # as_fn_exit
19835 # as_fn_unset VAR
19836 # ---------------
19837 # Portably unset VAR.
19838 as_fn_unset ()
19840 { eval $1=; unset $1;}
19842 as_unset=as_fn_unset
19843 # as_fn_append VAR VALUE
19844 # ----------------------
19845 # Append the text in VALUE to the end of the definition contained in VAR. Take
19846 # advantage of any shell optimizations that allow amortized linear growth over
19847 # repeated appends, instead of the typical quadratic growth present in naive
19848 # implementations.
19849 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19850 eval 'as_fn_append ()
19852 eval $1+=\$2
19854 else
19855 as_fn_append ()
19857 eval $1=\$$1\$2
19859 fi # as_fn_append
19861 # as_fn_arith ARG...
19862 # ------------------
19863 # Perform arithmetic evaluation on the ARGs, and store the result in the
19864 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19865 # must be portable across $(()) and expr.
19866 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19867 eval 'as_fn_arith ()
19869 as_val=$(( $* ))
19871 else
19872 as_fn_arith ()
19874 as_val=`expr "$@" || test $? -eq 1`
19876 fi # as_fn_arith
19879 if expr a : '\(a\)' >/dev/null 2>&1 &&
19880 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19881 as_expr=expr
19882 else
19883 as_expr=false
19886 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19887 as_basename=basename
19888 else
19889 as_basename=false
19892 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19893 as_dirname=dirname
19894 else
19895 as_dirname=false
19898 as_me=`$as_basename -- "$0" ||
19899 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19900 X"$0" : 'X\(//\)$' \| \
19901 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19902 $as_echo X/"$0" |
19903 sed '/^.*\/\([^/][^/]*\)\/*$/{
19904 s//\1/
19907 /^X\/\(\/\/\)$/{
19908 s//\1/
19911 /^X\/\(\/\).*/{
19912 s//\1/
19915 s/.*/./; q'`
19917 # Avoid depending upon Character Ranges.
19918 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19919 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19920 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19921 as_cr_digits='0123456789'
19922 as_cr_alnum=$as_cr_Letters$as_cr_digits
19924 ECHO_C= ECHO_N= ECHO_T=
19925 case `echo -n x` in #(((((
19926 -n*)
19927 case `echo 'xy\c'` in
19928 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19929 xy) ECHO_C='\c';;
19930 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19931 ECHO_T=' ';;
19932 esac;;
19934 ECHO_N='-n';;
19935 esac
19937 rm -f conf$$ conf$$.exe conf$$.file
19938 if test -d conf$$.dir; then
19939 rm -f conf$$.dir/conf$$.file
19940 else
19941 rm -f conf$$.dir
19942 mkdir conf$$.dir 2>/dev/null
19944 if (echo >conf$$.file) 2>/dev/null; then
19945 if ln -s conf$$.file conf$$ 2>/dev/null; then
19946 as_ln_s='ln -s'
19947 # ... but there are two gotchas:
19948 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19949 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19950 # In both cases, we have to default to `cp -pR'.
19951 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19952 as_ln_s='cp -pR'
19953 elif ln conf$$.file conf$$ 2>/dev/null; then
19954 as_ln_s=ln
19955 else
19956 as_ln_s='cp -pR'
19958 else
19959 as_ln_s='cp -pR'
19961 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19962 rmdir conf$$.dir 2>/dev/null
19965 # as_fn_mkdir_p
19966 # -------------
19967 # Create "$as_dir" as a directory, including parents if necessary.
19968 as_fn_mkdir_p ()
19971 case $as_dir in #(
19972 -*) as_dir=./$as_dir;;
19973 esac
19974 test -d "$as_dir" || eval $as_mkdir_p || {
19975 as_dirs=
19976 while :; do
19977 case $as_dir in #(
19978 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19979 *) as_qdir=$as_dir;;
19980 esac
19981 as_dirs="'$as_qdir' $as_dirs"
19982 as_dir=`$as_dirname -- "$as_dir" ||
19983 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19984 X"$as_dir" : 'X\(//\)[^/]' \| \
19985 X"$as_dir" : 'X\(//\)$' \| \
19986 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19987 $as_echo X"$as_dir" |
19988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19989 s//\1/
19992 /^X\(\/\/\)[^/].*/{
19993 s//\1/
19996 /^X\(\/\/\)$/{
19997 s//\1/
20000 /^X\(\/\).*/{
20001 s//\1/
20004 s/.*/./; q'`
20005 test -d "$as_dir" && break
20006 done
20007 test -z "$as_dirs" || eval "mkdir $as_dirs"
20008 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20011 } # as_fn_mkdir_p
20012 if mkdir -p . 2>/dev/null; then
20013 as_mkdir_p='mkdir -p "$as_dir"'
20014 else
20015 test -d ./-p && rmdir ./-p
20016 as_mkdir_p=false
20020 # as_fn_executable_p FILE
20021 # -----------------------
20022 # Test if FILE is an executable regular file.
20023 as_fn_executable_p ()
20025 test -f "$1" && test -x "$1"
20026 } # as_fn_executable_p
20027 as_test_x='test -x'
20028 as_executable_p=as_fn_executable_p
20030 # Sed expression to map a string onto a valid CPP name.
20031 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20033 # Sed expression to map a string onto a valid variable name.
20034 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20037 exec 6>&1
20038 ## ----------------------------------- ##
20039 ## Main body of $CONFIG_STATUS script. ##
20040 ## ----------------------------------- ##
20041 _ASEOF
20042 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20045 # Save the log message, to keep $0 and so on meaningful, and to
20046 # report actual input values of CONFIG_FILES etc. instead of their
20047 # values after options handling.
20048 ac_log="
20049 This file was extended by Wine $as_me 3.10, which was
20050 generated by GNU Autoconf 2.69. Invocation command line was
20052 CONFIG_FILES = $CONFIG_FILES
20053 CONFIG_HEADERS = $CONFIG_HEADERS
20054 CONFIG_LINKS = $CONFIG_LINKS
20055 CONFIG_COMMANDS = $CONFIG_COMMANDS
20056 $ $0 $@
20058 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20061 _ACEOF
20063 case $ac_config_files in *"
20064 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20065 esac
20067 case $ac_config_headers in *"
20068 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20069 esac
20072 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20073 # Files that config.status was made for.
20074 config_files="$ac_config_files"
20075 config_headers="$ac_config_headers"
20076 config_links="$ac_config_links"
20077 config_commands="$ac_config_commands"
20079 _ACEOF
20081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20082 ac_cs_usage="\
20083 \`$as_me' instantiates files and other configuration actions
20084 from templates according to the current configuration. Unless the files
20085 and actions are specified as TAGs, all are instantiated by default.
20087 Usage: $0 [OPTION]... [TAG]...
20089 -h, --help print this help, then exit
20090 -V, --version print version number and configuration settings, then exit
20091 --config print configuration, then exit
20092 -q, --quiet, --silent
20093 do not print progress messages
20094 -d, --debug don't remove temporary files
20095 --recheck update $as_me by reconfiguring in the same conditions
20096 --file=FILE[:TEMPLATE]
20097 instantiate the configuration file FILE
20098 --header=FILE[:TEMPLATE]
20099 instantiate the configuration header FILE
20101 Configuration files:
20102 $config_files
20104 Configuration headers:
20105 $config_headers
20107 Configuration links:
20108 $config_links
20110 Configuration commands:
20111 $config_commands
20113 Report bugs to <wine-devel@winehq.org>.
20114 Wine home page: <https://www.winehq.org>."
20116 _ACEOF
20117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20118 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20119 ac_cs_version="\\
20120 Wine config.status 3.10
20121 configured by $0, generated by GNU Autoconf 2.69,
20122 with options \\"\$ac_cs_config\\"
20124 Copyright (C) 2012 Free Software Foundation, Inc.
20125 This config.status script is free software; the Free Software Foundation
20126 gives unlimited permission to copy, distribute and modify it."
20128 ac_pwd='$ac_pwd'
20129 srcdir='$srcdir'
20130 test -n "\$AWK" || AWK=awk
20131 _ACEOF
20133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20134 # The default lists apply if the user does not specify any file.
20135 ac_need_defaults=:
20136 while test $# != 0
20138 case $1 in
20139 --*=?*)
20140 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20141 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20142 ac_shift=:
20144 --*=)
20145 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20146 ac_optarg=
20147 ac_shift=:
20150 ac_option=$1
20151 ac_optarg=$2
20152 ac_shift=shift
20154 esac
20156 case $ac_option in
20157 # Handling of the options.
20158 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20159 ac_cs_recheck=: ;;
20160 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20161 $as_echo "$ac_cs_version"; exit ;;
20162 --config | --confi | --conf | --con | --co | --c )
20163 $as_echo "$ac_cs_config"; exit ;;
20164 --debug | --debu | --deb | --de | --d | -d )
20165 debug=: ;;
20166 --file | --fil | --fi | --f )
20167 $ac_shift
20168 case $ac_optarg in
20169 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20170 '') as_fn_error $? "missing file argument" ;;
20171 esac
20172 as_fn_append CONFIG_FILES " '$ac_optarg'"
20173 ac_need_defaults=false;;
20174 --header | --heade | --head | --hea )
20175 $ac_shift
20176 case $ac_optarg in
20177 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20178 esac
20179 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20180 ac_need_defaults=false;;
20181 --he | --h)
20182 # Conflict between --help and --header
20183 as_fn_error $? "ambiguous option: \`$1'
20184 Try \`$0 --help' for more information.";;
20185 --help | --hel | -h )
20186 $as_echo "$ac_cs_usage"; exit ;;
20187 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20188 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20189 ac_cs_silent=: ;;
20191 # This is an error.
20192 -*) as_fn_error $? "unrecognized option: \`$1'
20193 Try \`$0 --help' for more information." ;;
20195 *) as_fn_append ac_config_targets " $1"
20196 ac_need_defaults=false ;;
20198 esac
20199 shift
20200 done
20202 ac_configure_extra_args=
20204 if $ac_cs_silent; then
20205 exec 6>/dev/null
20206 ac_configure_extra_args="$ac_configure_extra_args --silent"
20209 _ACEOF
20210 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20211 if \$ac_cs_recheck; then
20212 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20213 shift
20214 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20215 CONFIG_SHELL='$SHELL'
20216 export CONFIG_SHELL
20217 exec "\$@"
20220 _ACEOF
20221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20222 exec 5>>config.log
20224 echo
20225 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20226 ## Running $as_me. ##
20227 _ASBOX
20228 $as_echo "$ac_log"
20229 } >&5
20231 _ACEOF
20232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20234 # INIT-COMMANDS
20236 wine_fn_output_makedep ()
20238 as_dir=tools; as_fn_mkdir_p
20239 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20241 wine_fn_output_makefile ()
20243 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20244 `cat $wine_rules_file`
20245 _WINE_EOF
20246 as_fn_error $? "could not create Makefile" "$LINENO" 5
20249 _ACEOF
20251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20253 # Handling of arguments.
20254 for ac_config_target in $ac_config_targets
20256 case $ac_config_target in
20257 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20258 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20259 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20260 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20261 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20262 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20263 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20264 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20265 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20266 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20267 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20268 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20269 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20271 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20272 esac
20273 done
20276 # If the user did not use the arguments to specify the items to instantiate,
20277 # then the envvar interface is used. Set only those that are not.
20278 # We use the long form for the default assignment because of an extremely
20279 # bizarre bug on SunOS 4.1.3.
20280 if $ac_need_defaults; then
20281 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20282 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20283 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20284 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20287 # Have a temporary directory for convenience. Make it in the build tree
20288 # simply because there is no reason against having it here, and in addition,
20289 # creating and moving files from /tmp can sometimes cause problems.
20290 # Hook for its removal unless debugging.
20291 # Note that there is a small window in which the directory will not be cleaned:
20292 # after its creation but before its name has been assigned to `$tmp'.
20293 $debug ||
20295 tmp= ac_tmp=
20296 trap 'exit_status=$?
20297 : "${ac_tmp:=$tmp}"
20298 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20300 trap 'as_fn_exit 1' 1 2 13 15
20302 # Create a (secure) tmp directory for tmp files.
20305 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20306 test -d "$tmp"
20307 } ||
20309 tmp=./conf$$-$RANDOM
20310 (umask 077 && mkdir "$tmp")
20311 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20312 ac_tmp=$tmp
20314 # Set up the scripts for CONFIG_FILES section.
20315 # No need to generate them if there are no CONFIG_FILES.
20316 # This happens for instance with `./config.status config.h'.
20317 if test -n "$CONFIG_FILES"; then
20320 ac_cr=`echo X | tr X '\015'`
20321 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20322 # But we know of no other shell where ac_cr would be empty at this
20323 # point, so we can use a bashism as a fallback.
20324 if test "x$ac_cr" = x; then
20325 eval ac_cr=\$\'\\r\'
20327 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20328 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20329 ac_cs_awk_cr='\\r'
20330 else
20331 ac_cs_awk_cr=$ac_cr
20334 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20335 _ACEOF
20339 echo "cat >conf$$subs.awk <<_ACEOF" &&
20340 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20341 echo "_ACEOF"
20342 } >conf$$subs.sh ||
20343 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20344 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20345 ac_delim='%!_!# '
20346 for ac_last_try in false false false false false :; do
20347 . ./conf$$subs.sh ||
20348 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20350 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20351 if test $ac_delim_n = $ac_delim_num; then
20352 break
20353 elif $ac_last_try; then
20354 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20355 else
20356 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20358 done
20359 rm -f conf$$subs.sh
20361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20362 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20363 _ACEOF
20364 sed -n '
20366 s/^/S["/; s/!.*/"]=/
20369 s/^[^!]*!//
20370 :repl
20371 t repl
20372 s/'"$ac_delim"'$//
20373 t delim
20376 s/\(.\{148\}\)..*/\1/
20377 t more1
20378 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20381 b repl
20382 :more1
20383 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20386 s/.\{148\}//
20387 t nl
20388 :delim
20390 s/\(.\{148\}\)..*/\1/
20391 t more2
20392 s/["\\]/\\&/g; s/^/"/; s/$/"/
20395 :more2
20396 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20399 s/.\{148\}//
20400 t delim
20401 ' <conf$$subs.awk | sed '
20402 /^[^""]/{
20404 s/\n//
20406 ' >>$CONFIG_STATUS || ac_write_fail=1
20407 rm -f conf$$subs.awk
20408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20409 _ACAWK
20410 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20411 for (key in S) S_is_set[key] = 1
20412 FS = "\a"
20416 line = $ 0
20417 nfields = split(line, field, "@")
20418 substed = 0
20419 len = length(field[1])
20420 for (i = 2; i < nfields; i++) {
20421 key = field[i]
20422 keylen = length(key)
20423 if (S_is_set[key]) {
20424 value = S[key]
20425 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20426 len += length(value) + length(field[++i])
20427 substed = 1
20428 } else
20429 len += 1 + keylen
20432 print line
20435 _ACAWK
20436 _ACEOF
20437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20438 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20439 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20440 else
20442 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20443 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20444 _ACEOF
20446 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20447 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20448 # trailing colons and then remove the whole line if VPATH becomes empty
20449 # (actually we leave an empty line to preserve line numbers).
20450 if test "x$srcdir" = x.; then
20451 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20453 s///
20454 s/^/:/
20455 s/[ ]*$/:/
20456 s/:\$(srcdir):/:/g
20457 s/:\${srcdir}:/:/g
20458 s/:@srcdir@:/:/g
20459 s/^:*//
20460 s/:*$//
20462 s/\(=[ ]*\).*/\1/
20464 s/\n//
20465 s/^[^=]*=[ ]*$//
20469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20470 fi # test -n "$CONFIG_FILES"
20472 # Set up the scripts for CONFIG_HEADERS section.
20473 # No need to generate them if there are no CONFIG_HEADERS.
20474 # This happens for instance with `./config.status Makefile'.
20475 if test -n "$CONFIG_HEADERS"; then
20476 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20477 BEGIN {
20478 _ACEOF
20480 # Transform confdefs.h into an awk script `defines.awk', embedded as
20481 # here-document in config.status, that substitutes the proper values into
20482 # config.h.in to produce config.h.
20484 # Create a delimiter string that does not exist in confdefs.h, to ease
20485 # handling of long lines.
20486 ac_delim='%!_!# '
20487 for ac_last_try in false false :; do
20488 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20489 if test -z "$ac_tt"; then
20490 break
20491 elif $ac_last_try; then
20492 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20493 else
20494 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20496 done
20498 # For the awk script, D is an array of macro values keyed by name,
20499 # likewise P contains macro parameters if any. Preserve backslash
20500 # newline sequences.
20502 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20503 sed -n '
20504 s/.\{148\}/&'"$ac_delim"'/g
20505 t rset
20506 :rset
20507 s/^[ ]*#[ ]*define[ ][ ]*/ /
20508 t def
20510 :def
20511 s/\\$//
20512 t bsnl
20513 s/["\\]/\\&/g
20514 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20515 D["\1"]=" \3"/p
20516 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20518 :bsnl
20519 s/["\\]/\\&/g
20520 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20521 D["\1"]=" \3\\\\\\n"\\/p
20522 t cont
20523 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20524 t cont
20526 :cont
20528 s/.\{148\}/&'"$ac_delim"'/g
20529 t clear
20530 :clear
20531 s/\\$//
20532 t bsnlc
20533 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20535 :bsnlc
20536 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20537 b cont
20538 ' <confdefs.h | sed '
20539 s/'"$ac_delim"'/"\\\
20540 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20543 for (key in D) D_is_set[key] = 1
20544 FS = "\a"
20546 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20547 line = \$ 0
20548 split(line, arg, " ")
20549 if (arg[1] == "#") {
20550 defundef = arg[2]
20551 mac1 = arg[3]
20552 } else {
20553 defundef = substr(arg[1], 2)
20554 mac1 = arg[2]
20556 split(mac1, mac2, "(") #)
20557 macro = mac2[1]
20558 prefix = substr(line, 1, index(line, defundef) - 1)
20559 if (D_is_set[macro]) {
20560 # Preserve the white space surrounding the "#".
20561 print prefix "define", macro P[macro] D[macro]
20562 next
20563 } else {
20564 # Replace #undef with comments. This is necessary, for example,
20565 # in the case of _POSIX_SOURCE, which is predefined and required
20566 # on some systems where configure will not decide to define it.
20567 if (defundef == "undef") {
20568 print "/*", prefix defundef, macro, "*/"
20569 next
20573 { print }
20574 _ACAWK
20575 _ACEOF
20576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20577 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20578 fi # test -n "$CONFIG_HEADERS"
20581 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20582 shift
20583 for ac_tag
20585 case $ac_tag in
20586 :[FHLC]) ac_mode=$ac_tag; continue;;
20587 esac
20588 case $ac_mode$ac_tag in
20589 :[FHL]*:*);;
20590 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20591 :[FH]-) ac_tag=-:-;;
20592 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20593 esac
20594 ac_save_IFS=$IFS
20595 IFS=:
20596 set x $ac_tag
20597 IFS=$ac_save_IFS
20598 shift
20599 ac_file=$1
20600 shift
20602 case $ac_mode in
20603 :L) ac_source=$1;;
20604 :[FH])
20605 ac_file_inputs=
20606 for ac_f
20608 case $ac_f in
20609 -) ac_f="$ac_tmp/stdin";;
20610 *) # Look for the file first in the build tree, then in the source tree
20611 # (if the path is not absolute). The absolute path cannot be DOS-style,
20612 # because $ac_f cannot contain `:'.
20613 test -f "$ac_f" ||
20614 case $ac_f in
20615 [\\/$]*) false;;
20616 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20617 esac ||
20618 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20619 esac
20620 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20621 as_fn_append ac_file_inputs " '$ac_f'"
20622 done
20624 # Let's still pretend it is `configure' which instantiates (i.e., don't
20625 # use $as_me), people would be surprised to read:
20626 # /* config.h. Generated by config.status. */
20627 configure_input='Generated from '`
20628 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20629 `' by configure.'
20630 if test x"$ac_file" != x-; then
20631 configure_input="$ac_file. $configure_input"
20632 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20633 $as_echo "$as_me: creating $ac_file" >&6;}
20635 # Neutralize special characters interpreted by sed in replacement strings.
20636 case $configure_input in #(
20637 *\&* | *\|* | *\\* )
20638 ac_sed_conf_input=`$as_echo "$configure_input" |
20639 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20640 *) ac_sed_conf_input=$configure_input;;
20641 esac
20643 case $ac_tag in
20644 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20645 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20646 esac
20648 esac
20650 ac_dir=`$as_dirname -- "$ac_file" ||
20651 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20652 X"$ac_file" : 'X\(//\)[^/]' \| \
20653 X"$ac_file" : 'X\(//\)$' \| \
20654 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20655 $as_echo X"$ac_file" |
20656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20657 s//\1/
20660 /^X\(\/\/\)[^/].*/{
20661 s//\1/
20664 /^X\(\/\/\)$/{
20665 s//\1/
20668 /^X\(\/\).*/{
20669 s//\1/
20672 s/.*/./; q'`
20673 as_dir="$ac_dir"; as_fn_mkdir_p
20674 ac_builddir=.
20676 case "$ac_dir" in
20677 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20679 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20680 # A ".." for each directory in $ac_dir_suffix.
20681 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20682 case $ac_top_builddir_sub in
20683 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20684 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20685 esac ;;
20686 esac
20687 ac_abs_top_builddir=$ac_pwd
20688 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20689 # for backward compatibility:
20690 ac_top_builddir=$ac_top_build_prefix
20692 case $srcdir in
20693 .) # We are building in place.
20694 ac_srcdir=.
20695 ac_top_srcdir=$ac_top_builddir_sub
20696 ac_abs_top_srcdir=$ac_pwd ;;
20697 [\\/]* | ?:[\\/]* ) # Absolute name.
20698 ac_srcdir=$srcdir$ac_dir_suffix;
20699 ac_top_srcdir=$srcdir
20700 ac_abs_top_srcdir=$srcdir ;;
20701 *) # Relative name.
20702 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20703 ac_top_srcdir=$ac_top_build_prefix$srcdir
20704 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20705 esac
20706 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20709 case $ac_mode in
20712 # CONFIG_FILE
20715 _ACEOF
20717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20718 # If the template does not know about datarootdir, expand it.
20719 # FIXME: This hack should be removed a few years after 2.60.
20720 ac_datarootdir_hack=; ac_datarootdir_seen=
20721 ac_sed_dataroot='
20722 /datarootdir/ {
20726 /@datadir@/p
20727 /@docdir@/p
20728 /@infodir@/p
20729 /@localedir@/p
20730 /@mandir@/p'
20731 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20732 *datarootdir*) ac_datarootdir_seen=yes;;
20733 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20735 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20736 _ACEOF
20737 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20738 ac_datarootdir_hack='
20739 s&@datadir@&$datadir&g
20740 s&@docdir@&$docdir&g
20741 s&@infodir@&$infodir&g
20742 s&@localedir@&$localedir&g
20743 s&@mandir@&$mandir&g
20744 s&\\\${datarootdir}&$datarootdir&g' ;;
20745 esac
20746 _ACEOF
20748 # Neutralize VPATH when `$srcdir' = `.'.
20749 # Shell code in configure.ac might set extrasub.
20750 # FIXME: do we really want to maintain this feature?
20751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20752 ac_sed_extra="$ac_vpsub
20753 $extrasub
20754 _ACEOF
20755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20757 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20758 s|@configure_input@|$ac_sed_conf_input|;t t
20759 s&@top_builddir@&$ac_top_builddir_sub&;t t
20760 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20761 s&@srcdir@&$ac_srcdir&;t t
20762 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20763 s&@top_srcdir@&$ac_top_srcdir&;t t
20764 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20765 s&@builddir@&$ac_builddir&;t t
20766 s&@abs_builddir@&$ac_abs_builddir&;t t
20767 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20768 $ac_datarootdir_hack
20770 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20771 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20773 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20774 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20775 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20776 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20778 which seems to be undefined. Please make sure it is defined" >&5
20779 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20780 which seems to be undefined. Please make sure it is defined" >&2;}
20782 rm -f "$ac_tmp/stdin"
20783 case $ac_file in
20784 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20785 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20786 esac \
20787 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20791 # CONFIG_HEADER
20793 if test x"$ac_file" != x-; then
20795 $as_echo "/* $configure_input */" \
20796 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20797 } >"$ac_tmp/config.h" \
20798 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20799 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20800 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20801 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20802 else
20803 rm -f "$ac_file"
20804 mv "$ac_tmp/config.h" "$ac_file" \
20805 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20807 else
20808 $as_echo "/* $configure_input */" \
20809 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20810 || as_fn_error $? "could not create -" "$LINENO" 5
20815 # CONFIG_LINK
20818 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20820 else
20821 # Prefer the file from the source tree if names are identical.
20822 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20823 ac_source=$srcdir/$ac_source
20826 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20827 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20829 if test ! -r "$ac_source"; then
20830 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20832 rm -f "$ac_file"
20834 # Try a relative symlink, then a hard link, then a copy.
20835 case $ac_source in
20836 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20837 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20838 esac
20839 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20840 ln "$ac_source" "$ac_file" 2>/dev/null ||
20841 cp -p "$ac_source" "$ac_file" ||
20842 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20845 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20846 $as_echo "$as_me: executing $ac_file commands" >&6;}
20848 esac
20851 case $ac_file$ac_mode in
20852 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20853 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20854 "Makefile":C) wine_fn_output_makefile Makefile ;;
20856 esac
20857 done # for ac_tag
20860 as_fn_exit 0
20861 _ACEOF
20862 ac_clean_files=$ac_clean_files_save
20864 test $ac_write_fail = 0 ||
20865 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20868 # configure is writing to config.log, and then calls config.status.
20869 # config.status does its own redirection, appending to config.log.
20870 # Unfortunately, on DOS this fails, as config.log is still kept open
20871 # by configure, so config.status won't be able to write to it; its
20872 # output is simply discarded. So we exec the FD to /dev/null,
20873 # effectively closing config.log, so it can be properly (re)opened and
20874 # appended to by config.status. When coming back to configure, we
20875 # need to make the FD available again.
20876 if test "$no_create" != yes; then
20877 ac_cs_success=:
20878 ac_config_status_args=
20879 test "$silent" = yes &&
20880 ac_config_status_args="$ac_config_status_args --quiet"
20881 exec 5>/dev/null
20882 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20883 exec 5>>config.log
20884 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20885 # would make configure fail if this is the last instruction.
20886 $ac_cs_success || as_fn_exit 1
20888 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20890 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20894 if test "$no_create" = "yes"
20895 then
20896 exit 0
20899 ac_save_IFS="$IFS"
20900 if test "x$wine_notices" != x; then
20901 echo >&6
20902 IFS="|"
20903 for msg in $wine_notices; do
20904 IFS="$ac_save_IFS"
20905 if ${msg:+false} :; then :
20907 else
20908 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20909 $as_echo "$as_me: $msg" >&6;}
20911 done
20913 IFS="|"
20914 for msg in $wine_warnings; do
20915 IFS="$ac_save_IFS"
20916 if ${msg:+false} :; then :
20918 else
20919 echo >&2
20920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20921 $as_echo "$as_me: WARNING: $msg" >&2;}
20923 done
20924 IFS="$ac_save_IFS"
20926 $as_echo "
20927 $as_me: Finished. Do '${ac_make}' to compile Wine.
20928 " >&6