mf/tests: Add additional tests for MESessionClosed event.
[wine.git] / configure
blob5a8debc5629ba21fe976a3751509cb783d30fc97
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 9.11.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
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 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x
240 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 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
276 exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
294 { eval $1=; unset $1;}
296 as_unset=as_fn_unset
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
304 return $1
305 } # as_fn_set_status
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
321 return $?
323 as_nop=as_fn_nop
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
356 /^X\(\/\/\)$/{
357 s//\1/
360 /^X\(\/\).*/{
361 s//\1/
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 } # as_fn_mkdir_p
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
390 eval $1+=\$2
392 else $as_nop
393 as_fn_append ()
395 eval $1=\$$1\$2
397 fi # as_fn_append
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
408 as_val=$(( $* ))
410 else $as_nop
411 as_fn_arith ()
413 as_val=`expr "$@" || test $? -eq 1`
415 fi # as_fn_arith
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
422 return $?
424 as_nop=as_fn_nop
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
470 /^X\/\(\/\/\)$/{
471 s//\1/
474 /^X\/\(\/\).*/{
475 s//\1/
478 s/.*/./; q'`
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
501 :lineno
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
537 ECHO_N='-n';;
538 esac
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
568 else
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 # Initializations.
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
611 # Identity of this package.
612 PACKAGE_NAME='Wine'
613 PACKAGE_TARNAME='wine'
614 PACKAGE_VERSION='9.11'
615 PACKAGE_STRING='Wine 9.11'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 ODBC_LIBS
704 ODBC_CFLAGS
705 PCSCLITE_LIBS
706 PCAP_LIBS
707 WAYLAND_EGL_LIBS
708 WAYLAND_EGL_CFLAGS
709 EGL_LIBS
710 EGL_CFLAGS
711 XKBREGISTRY_LIBS
712 XKBREGISTRY_CFLAGS
713 XKBCOMMON_LIBS
714 XKBCOMMON_CFLAGS
715 WAYLAND_SCANNER
716 WAYLAND_CLIENT_LIBS
717 WAYLAND_CLIENT_CFLAGS
718 X_EXTRA_LIBS
719 X_LIBS
720 X_PRE_LIBS
721 X_CFLAGS
723 XMKMF
724 PTHREAD_LIBS
725 ZYDIS_PE_LIBS
726 ZYDIS_PE_CFLAGS
727 ZLIB_PE_LIBS
728 ZLIB_PE_CFLAGS
729 XSLT_PE_LIBS
730 XSLT_PE_CFLAGS
731 XML2_PE_LIBS
732 XML2_PE_CFLAGS
733 VKD3D_PE_LIBS
734 VKD3D_PE_CFLAGS
735 TIFF_PE_LIBS
736 TIFF_PE_CFLAGS
737 PNG_PE_LIBS
738 PNG_PE_CFLAGS
739 MUSL_PE_LIBS
740 MUSL_PE_CFLAGS
741 MPG123_PE_LIBS
742 MPG123_PE_CFLAGS
743 LDAP_PE_LIBS
744 LDAP_PE_CFLAGS
745 LCMS2_PE_LIBS
746 LCMS2_PE_CFLAGS
747 JXR_PE_LIBS
748 JXR_PE_CFLAGS
749 JPEG_PE_LIBS
750 JPEG_PE_CFLAGS
751 GSM_PE_LIBS
752 GSM_PE_CFLAGS
753 FLUIDSYNTH_PE_LIBS
754 FLUIDSYNTH_PE_CFLAGS
755 FAUDIO_PE_LIBS
756 FAUDIO_PE_CFLAGS
757 MINGW_PKG_CONFIG
758 PE_ARCHS
759 WINELOADER_DEPENDS
760 ac_ct_OBJC
761 OBJCFLAGS
762 OBJC
763 OPENCL_LIBS
764 COREAUDIO_LIBS
765 SYSTEMCONFIGURATION_LIBS
766 SECURITY_LIBS
767 APPKIT_LIBS
768 CORESERVICES_LIBS
769 APPLICATIONSERVICES_LIBS
770 METAL_LIBS
771 IOKIT_LIBS
772 DISKARBITRATION_LIBS
773 COREFOUNDATION_LIBS
774 CARBON_LIBS
775 CONFIGURE_TARGETS
776 DISABLED_SUBDIRS
777 SUBDIRS
778 READELF
779 OTOOL
781 DLLEXT
782 WINEPRELOADER_LDFLAGS
783 WINELOADER_LDFLAGS
784 TOP_INSTALL_DEV
785 TOP_INSTALL_LIB
786 UNIXLDFLAGS
787 UNIXDLLFLAGS
788 EXTRACFLAGS
789 LDEXECFLAGS
790 LDDLLFLAGS
791 DLLFLAGS
792 OPENGL_LIBS
793 I386_LIBS
794 ICOTOOL
795 CONVERT
796 RSVG
797 FONTFORGE
798 PKG_CONFIG
799 MSGFMT
800 LDCONFIG
801 EGREP
802 GREP
803 LN_S
804 RANLIB
805 STRIP
806 ac_ct_AR
808 BISON
809 FLEX
810 SED_CMD
811 RUNTESTFLAGS
812 MAKEDEP
813 toolsdir
814 x86_64_DISABLED_SUBDIRS
815 x86_64_DELAYLOADFLAG
816 x86_64_TARGET
817 x86_64_DEBUG
818 x86_64_LDFLAGS
819 x86_64_EXTRACFLAGS
820 x86_64_CFLAGS
821 x86_64_CC
822 i386_DISABLED_SUBDIRS
823 i386_DELAYLOADFLAG
824 i386_TARGET
825 i386_DEBUG
826 i386_LDFLAGS
827 i386_EXTRACFLAGS
828 i386_CFLAGS
829 i386_CC
830 arm64ec_DISABLED_SUBDIRS
831 arm64ec_DELAYLOADFLAG
832 arm64ec_TARGET
833 arm64ec_DEBUG
834 arm64ec_LDFLAGS
835 arm64ec_EXTRACFLAGS
836 arm64ec_CFLAGS
837 arm64ec_CC
838 arm_DISABLED_SUBDIRS
839 arm_DELAYLOADFLAG
840 arm_TARGET
841 arm_DEBUG
842 arm_LDFLAGS
843 arm_EXTRACFLAGS
844 arm_CFLAGS
845 arm_CC
846 aarch64_DISABLED_SUBDIRS
847 aarch64_DELAYLOADFLAG
848 aarch64_TARGET
849 aarch64_DEBUG
850 aarch64_LDFLAGS
851 aarch64_EXTRACFLAGS
852 aarch64_CFLAGS
853 aarch64_CC
854 HOST_ARCH
855 toolsext
856 TARGETFLAGS
858 CPPBIN
859 ac_ct_CXX
860 CXXFLAGS
862 OBJEXT
863 EXEEXT
864 ac_ct_CC
865 CPPFLAGS
866 LDFLAGS
867 CFLAGS
869 SET_MAKE
870 srcdir
871 nlsdir
872 fontdir
873 dlldir
874 host_os
875 host_vendor
876 host_cpu
877 host
878 build_os
879 build_vendor
880 build_cpu
881 build
882 system_dllpath
883 target_alias
884 host_alias
885 build_alias
886 LIBS
887 ECHO_T
888 ECHO_N
889 ECHO_C
890 DEFS
891 mandir
892 localedir
893 libdir
894 psdir
895 pdfdir
896 dvidir
897 htmldir
898 infodir
899 docdir
900 oldincludedir
901 includedir
902 runstatedir
903 localstatedir
904 sharedstatedir
905 sysconfdir
906 datadir
907 datarootdir
908 libexecdir
909 sbindir
910 bindir
911 program_transform_name
912 prefix
913 exec_prefix
914 PACKAGE_URL
915 PACKAGE_BUGREPORT
916 PACKAGE_STRING
917 PACKAGE_VERSION
918 PACKAGE_TARNAME
919 PACKAGE_NAME
920 PATH_SEPARATOR
921 SHELL'
922 ac_subst_files=''
923 ac_user_opts='
924 enable_option_checking
925 enable_archs
926 enable_win16
927 enable_win64
928 enable_tests
929 enable_build_id
930 enable_maintainer_mode
931 enable_silent_rules
932 enable_werror
933 with_alsa
934 with_capi
935 with_coreaudio
936 with_cups
937 with_dbus
938 with_fontconfig
939 with_freetype
940 with_gettext
941 with_gettextpo
942 with_gphoto
943 with_gnutls
944 with_gssapi
945 with_gstreamer
946 with_inotify
947 with_krb5
948 with_mingw
949 with_netapi
950 with_odbc
951 with_opencl
952 with_opengl
953 with_osmesa
954 with_oss
955 with_pcap
956 with_pcsclite
957 with_pthread
958 with_pulse
959 with_sane
960 with_sdl
961 with_udev
962 with_unwind
963 with_usb
964 with_v4l2
965 with_vulkan
966 with_wayland
967 with_xcomposite
968 with_xcursor
969 with_xfixes
970 with_xinerama
971 with_xinput
972 with_xinput2
973 with_xrandr
974 with_xrender
975 with_xshape
976 with_xshm
977 with_xxf86vm
978 with_system_dllpath
979 with_wine_tools
980 with_wine64
981 enable_largefile
982 with_x
983 enable_acledit
984 enable_aclui
985 enable_activeds_tlb
986 enable_activeds
987 enable_actxprxy
988 enable_adsldp
989 enable_adsldpc
990 enable_advapi32
991 enable_advpack
992 enable_amsi
993 enable_amstream
994 enable_apisetschema
995 enable_apphelp
996 enable_appwiz_cpl
997 enable_appxdeploymentclient
998 enable_atl
999 enable_atl100
1000 enable_atl110
1001 enable_atl80
1002 enable_atl90
1003 enable_atlthunk
1004 enable_atmlib
1005 enable_authz
1006 enable_avicap32
1007 enable_avifil32
1008 enable_avrt
1009 enable_bcrypt
1010 enable_bcryptprimitives
1011 enable_bluetoothapis
1012 enable_browseui
1013 enable_bthprops_cpl
1014 enable_cabinet
1015 enable_capi2032
1016 enable_cards
1017 enable_cdosys
1018 enable_cfgmgr32
1019 enable_clusapi
1020 enable_cng_sys
1021 enable_combase
1022 enable_comcat
1023 enable_comctl32
1024 enable_comdlg32
1025 enable_coml2
1026 enable_compstui
1027 enable_comsvcs
1028 enable_concrt140
1029 enable_connect
1030 enable_coremessaging
1031 enable_credui
1032 enable_crtdll
1033 enable_crypt32
1034 enable_cryptdlg
1035 enable_cryptdll
1036 enable_cryptext
1037 enable_cryptnet
1038 enable_cryptowinrt
1039 enable_cryptsp
1040 enable_cryptui
1041 enable_ctapi32
1042 enable_ctl3d32
1043 enable_d2d1
1044 enable_d3d10
1045 enable_d3d10_1
1046 enable_d3d10core
1047 enable_d3d11
1048 enable_d3d12
1049 enable_d3d12core
1050 enable_d3d8
1051 enable_d3d8thk
1052 enable_d3d9
1053 enable_d3dcompiler_33
1054 enable_d3dcompiler_34
1055 enable_d3dcompiler_35
1056 enable_d3dcompiler_36
1057 enable_d3dcompiler_37
1058 enable_d3dcompiler_38
1059 enable_d3dcompiler_39
1060 enable_d3dcompiler_40
1061 enable_d3dcompiler_41
1062 enable_d3dcompiler_42
1063 enable_d3dcompiler_43
1064 enable_d3dcompiler_46
1065 enable_d3dcompiler_47
1066 enable_d3dim
1067 enable_d3dim700
1068 enable_d3drm
1069 enable_d3dx10_33
1070 enable_d3dx10_34
1071 enable_d3dx10_35
1072 enable_d3dx10_36
1073 enable_d3dx10_37
1074 enable_d3dx10_38
1075 enable_d3dx10_39
1076 enable_d3dx10_40
1077 enable_d3dx10_41
1078 enable_d3dx10_42
1079 enable_d3dx10_43
1080 enable_d3dx11_42
1081 enable_d3dx11_43
1082 enable_d3dx9_24
1083 enable_d3dx9_25
1084 enable_d3dx9_26
1085 enable_d3dx9_27
1086 enable_d3dx9_28
1087 enable_d3dx9_29
1088 enable_d3dx9_30
1089 enable_d3dx9_31
1090 enable_d3dx9_32
1091 enable_d3dx9_33
1092 enable_d3dx9_34
1093 enable_d3dx9_35
1094 enable_d3dx9_36
1095 enable_d3dx9_37
1096 enable_d3dx9_38
1097 enable_d3dx9_39
1098 enable_d3dx9_40
1099 enable_d3dx9_41
1100 enable_d3dx9_42
1101 enable_d3dx9_43
1102 enable_d3dxof
1103 enable_davclnt
1104 enable_dbgeng
1105 enable_dbghelp
1106 enable_dciman32
1107 enable_dcomp
1108 enable_ddraw
1109 enable_ddrawex
1110 enable_devenum
1111 enable_dhcpcsvc
1112 enable_dhcpcsvc6
1113 enable_dhtmled_ocx
1114 enable_diasymreader
1115 enable_difxapi
1116 enable_dinput
1117 enable_dinput8
1118 enable_directmanipulation
1119 enable_dispex
1120 enable_dmband
1121 enable_dmcompos
1122 enable_dmime
1123 enable_dmloader
1124 enable_dmscript
1125 enable_dmstyle
1126 enable_dmsynth
1127 enable_dmusic
1128 enable_dmusic32
1129 enable_dnsapi
1130 enable_dplay
1131 enable_dplayx
1132 enable_dpnaddr
1133 enable_dpnet
1134 enable_dpnhpast
1135 enable_dpnhupnp
1136 enable_dpnlobby
1137 enable_dpvoice
1138 enable_dpwsockx
1139 enable_drmclien
1140 enable_dsdmo
1141 enable_dsound
1142 enable_dsquery
1143 enable_dssenh
1144 enable_dsuiext
1145 enable_dswave
1146 enable_dwmapi
1147 enable_dwrite
1148 enable_dx8vb
1149 enable_dxcore
1150 enable_dxdiagn
1151 enable_dxgi
1152 enable_dxtrans
1153 enable_dxva2
1154 enable_esent
1155 enable_evr
1156 enable_explorerframe
1157 enable_faultrep
1158 enable_feclient
1159 enable_fltlib
1160 enable_fltmgr_sys
1161 enable_fntcache
1162 enable_fontsub
1163 enable_fusion
1164 enable_fwpuclnt
1165 enable_gameux
1166 enable_gamingtcui
1167 enable_gdi32
1168 enable_gdiplus
1169 enable_geolocation
1170 enable_glu32
1171 enable_gphoto2_ds
1172 enable_gpkcsp
1173 enable_graphicscapture
1174 enable_hal
1175 enable_hhctrl_ocx
1176 enable_hid
1177 enable_hidclass_sys
1178 enable_hidparse_sys
1179 enable_hlink
1180 enable_hnetcfg
1181 enable_hrtfapo
1182 enable_http_sys
1183 enable_httpapi
1184 enable_hvsimanagementapi
1185 enable_ia2comproxy
1186 enable_iccvid
1187 enable_icmp
1188 enable_ieframe
1189 enable_ieproxy
1190 enable_imaadp32_acm
1191 enable_imagehlp
1192 enable_imm32
1193 enable_inetcomm
1194 enable_inetcpl_cpl
1195 enable_inetmib1
1196 enable_infosoft
1197 enable_initpki
1198 enable_inkobj
1199 enable_inseng
1200 enable_iphlpapi
1201 enable_iprop
1202 enable_ir50_32
1203 enable_irprops_cpl
1204 enable_itircl
1205 enable_itss
1206 enable_joy_cpl
1207 enable_jscript
1208 enable_jsproxy
1209 enable_kerberos
1210 enable_kernel32
1211 enable_kernelbase
1212 enable_ksecdd_sys
1213 enable_ksproxy_ax
1214 enable_ksuser
1215 enable_ktmw32
1216 enable_l3codeca_acm
1217 enable_light_msstyles
1218 enable_loadperf
1219 enable_localspl
1220 enable_localui
1221 enable_lz32
1222 enable_magnification
1223 enable_mapi32
1224 enable_mapistub
1225 enable_mciavi32
1226 enable_mcicda
1227 enable_mciqtz32
1228 enable_mciseq
1229 enable_mciwave
1230 enable_mf
1231 enable_mf3216
1232 enable_mferror
1233 enable_mfmediaengine
1234 enable_mfplat
1235 enable_mfplay
1236 enable_mfreadwrite
1237 enable_mfsrcsnk
1238 enable_mgmtapi
1239 enable_midimap
1240 enable_mlang
1241 enable_mmcndmgr
1242 enable_mmdevapi
1243 enable_mouhid_sys
1244 enable_mountmgr_sys
1245 enable_mp3dmod
1246 enable_mpr
1247 enable_mprapi
1248 enable_msacm32_drv
1249 enable_msacm32
1250 enable_msado15
1251 enable_msadp32_acm
1252 enable_msasn1
1253 enable_msauddecmft
1254 enable_mscat32
1255 enable_mscms
1256 enable_mscoree
1257 enable_mscorwks
1258 enable_msctf
1259 enable_msctfmonitor
1260 enable_msctfp
1261 enable_msdaps
1262 enable_msdasql
1263 enable_msdelta
1264 enable_msdmo
1265 enable_msdrm
1266 enable_msftedit
1267 enable_msg711_acm
1268 enable_msgsm32_acm
1269 enable_mshtml_tlb
1270 enable_mshtml
1271 enable_msi
1272 enable_msident
1273 enable_msimg32
1274 enable_msimsg
1275 enable_msimtf
1276 enable_msisip
1277 enable_msisys_ocx
1278 enable_msls31
1279 enable_msmpeg2vdec
1280 enable_msnet32
1281 enable_mspatcha
1282 enable_msports
1283 enable_msrle32
1284 enable_msscript_ocx
1285 enable_mssign32
1286 enable_mssip32
1287 enable_mstask
1288 enable_msttsengine
1289 enable_msv1_0
1290 enable_msvcirt
1291 enable_msvcm80
1292 enable_msvcm90
1293 enable_msvcp100
1294 enable_msvcp110
1295 enable_msvcp120
1296 enable_msvcp120_app
1297 enable_msvcp140
1298 enable_msvcp140_1
1299 enable_msvcp140_2
1300 enable_msvcp140_atomic_wait
1301 enable_msvcp140_codecvt_ids
1302 enable_msvcp60
1303 enable_msvcp70
1304 enable_msvcp71
1305 enable_msvcp80
1306 enable_msvcp90
1307 enable_msvcp_win
1308 enable_msvcr100
1309 enable_msvcr110
1310 enable_msvcr120
1311 enable_msvcr120_app
1312 enable_msvcr70
1313 enable_msvcr71
1314 enable_msvcr80
1315 enable_msvcr90
1316 enable_msvcrt
1317 enable_msvcrt20
1318 enable_msvcrt40
1319 enable_msvcrtd
1320 enable_msvfw32
1321 enable_msvidc32
1322 enable_mswsock
1323 enable_msxml
1324 enable_msxml2
1325 enable_msxml3
1326 enable_msxml4
1327 enable_msxml6
1328 enable_mtxdm
1329 enable_ncrypt
1330 enable_nddeapi
1331 enable_ndis_sys
1332 enable_netapi32
1333 enable_netcfgx
1334 enable_netio_sys
1335 enable_netprofm
1336 enable_netutils
1337 enable_newdev
1338 enable_ninput
1339 enable_normaliz
1340 enable_npmshtml
1341 enable_npptools
1342 enable_nsi
1343 enable_nsiproxy_sys
1344 enable_ntdll
1345 enable_ntdsapi
1346 enable_ntoskrnl_exe
1347 enable_ntprint
1348 enable_objsel
1349 enable_odbc32
1350 enable_odbcbcp
1351 enable_odbccp32
1352 enable_odbccu32
1353 enable_ole32
1354 enable_oleacc
1355 enable_oleaut32
1356 enable_olecli32
1357 enable_oledb32
1358 enable_oledlg
1359 enable_olepro32
1360 enable_olesvr32
1361 enable_olethk32
1362 enable_opcservices
1363 enable_opencl
1364 enable_opengl32
1365 enable_packager
1366 enable_pdh
1367 enable_photometadatahandler
1368 enable_pidgen
1369 enable_powrprof
1370 enable_printui
1371 enable_prntvpt
1372 enable_propsys
1373 enable_psapi
1374 enable_pstorec
1375 enable_pwrshplugin
1376 enable_qasf
1377 enable_qcap
1378 enable_qdvd
1379 enable_qedit
1380 enable_qmgr
1381 enable_qmgrprxy
1382 enable_quartz
1383 enable_query
1384 enable_qwave
1385 enable_rasapi32
1386 enable_rasdlg
1387 enable_regapi
1388 enable_resutils
1389 enable_riched20
1390 enable_riched32
1391 enable_rpcrt4
1392 enable_rsabase
1393 enable_rsaenh
1394 enable_rstrtmgr
1395 enable_rtutils
1396 enable_rtworkq
1397 enable_samlib
1398 enable_sane_ds
1399 enable_sapi
1400 enable_sas
1401 enable_scarddlg
1402 enable_scardsvr
1403 enable_sccbase
1404 enable_schannel
1405 enable_schedsvc
1406 enable_scrobj
1407 enable_scrrun
1408 enable_scsiport_sys
1409 enable_sechost
1410 enable_secur32
1411 enable_security
1412 enable_sensapi
1413 enable_serialui
1414 enable_setupapi
1415 enable_sfc
1416 enable_sfc_os
1417 enable_shcore
1418 enable_shdoclc
1419 enable_shdocvw
1420 enable_shell32
1421 enable_shfolder
1422 enable_shlwapi
1423 enable_slbcsp
1424 enable_slc
1425 enable_snmpapi
1426 enable_softpub
1427 enable_spoolss
1428 enable_sppc
1429 enable_srclient
1430 enable_srvcli
1431 enable_srvsvc
1432 enable_sspicli
1433 enable_stdole2_tlb
1434 enable_stdole32_tlb
1435 enable_sti
1436 enable_strmdll
1437 enable_svrapi
1438 enable_sxs
1439 enable_t2embed
1440 enable_tapi32
1441 enable_taskschd
1442 enable_tbs
1443 enable_tdh
1444 enable_tdi_sys
1445 enable_threadpoolwinrt
1446 enable_traffic
1447 enable_twain_32
1448 enable_twinapi_appcore
1449 enable_tzres
1450 enable_ucrtbase
1451 enable_uianimation
1452 enable_uiautomationcore
1453 enable_uiribbon
1454 enable_unicows
1455 enable_updspapi
1456 enable_url
1457 enable_urlmon
1458 enable_usbd_sys
1459 enable_user32
1460 enable_userenv
1461 enable_usp10
1462 enable_utildll
1463 enable_uxtheme
1464 enable_vbscript
1465 enable_vcomp
1466 enable_vcomp100
1467 enable_vcomp110
1468 enable_vcomp120
1469 enable_vcomp140
1470 enable_vcomp90
1471 enable_vcruntime140
1472 enable_vcruntime140_1
1473 enable_vdmdbg
1474 enable_version
1475 enable_vga
1476 enable_virtdisk
1477 enable_vssapi
1478 enable_vulkan_1
1479 enable_wbemdisp
1480 enable_wbemprox
1481 enable_wdscore
1482 enable_webservices
1483 enable_websocket
1484 enable_wer
1485 enable_wevtapi
1486 enable_wevtsvc
1487 enable_wiaservc
1488 enable_wimgapi
1489 enable_win32u
1490 enable_windows_applicationmodel
1491 enable_windows_devices_bluetooth
1492 enable_windows_devices_enumeration
1493 enable_windows_devices_usb
1494 enable_windows_gaming_input
1495 enable_windows_gaming_ui_gamebar
1496 enable_windows_globalization
1497 enable_windows_media_devices
1498 enable_windows_media_mediacontrol
1499 enable_windows_media_speech
1500 enable_windows_media
1501 enable_windows_networking_hostname
1502 enable_windows_networking
1503 enable_windows_perception_stub
1504 enable_windows_security_authentication_onlineid
1505 enable_windows_security_credentials_ui_userconsentverifier
1506 enable_windows_storage_applicationdata
1507 enable_windows_system_profile_systemmanufacturers
1508 enable_windows_ui
1509 enable_windowscodecs
1510 enable_windowscodecsext
1511 enable_winealsa_drv
1512 enable_wineandroid_drv
1513 enable_winebus_sys
1514 enable_winecoreaudio_drv
1515 enable_winecrt0
1516 enable_wined3d
1517 enable_winegstreamer
1518 enable_winehid_sys
1519 enable_winemac_drv
1520 enable_winemapi
1521 enable_wineoss_drv
1522 enable_wineps_drv
1523 enable_winepulse_drv
1524 enable_wineusb_sys
1525 enable_winevulkan
1526 enable_winewayland_drv
1527 enable_winex11_drv
1528 enable_winexinput_sys
1529 enable_wing32
1530 enable_winhttp
1531 enable_wininet
1532 enable_winmm
1533 enable_winnls32
1534 enable_winprint
1535 enable_winscard
1536 enable_winspool_drv
1537 enable_winsta
1538 enable_wintab32
1539 enable_wintrust
1540 enable_wintypes
1541 enable_winusb
1542 enable_wlanapi
1543 enable_wlanui
1544 enable_wldap32
1545 enable_wldp
1546 enable_wmasf
1547 enable_wmi
1548 enable_wmiutils
1549 enable_wmp
1550 enable_wmphoto
1551 enable_wmvcore
1552 enable_wnaspi32
1553 enable_wofutil
1554 enable_wow64
1555 enable_wow64cpu
1556 enable_wow64win
1557 enable_wpc
1558 enable_wpcap
1559 enable_ws2_32
1560 enable_wsdapi
1561 enable_wshom_ocx
1562 enable_wsnmp32
1563 enable_wsock32
1564 enable_wtsapi32
1565 enable_wuapi
1566 enable_wuaueng
1567 enable_x3daudio1_0
1568 enable_x3daudio1_1
1569 enable_x3daudio1_2
1570 enable_x3daudio1_3
1571 enable_x3daudio1_4
1572 enable_x3daudio1_5
1573 enable_x3daudio1_6
1574 enable_x3daudio1_7
1575 enable_xactengine2_0
1576 enable_xactengine2_4
1577 enable_xactengine2_7
1578 enable_xactengine2_9
1579 enable_xactengine3_0
1580 enable_xactengine3_1
1581 enable_xactengine3_2
1582 enable_xactengine3_3
1583 enable_xactengine3_4
1584 enable_xactengine3_5
1585 enable_xactengine3_6
1586 enable_xactengine3_7
1587 enable_xapofx1_1
1588 enable_xapofx1_2
1589 enable_xapofx1_3
1590 enable_xapofx1_4
1591 enable_xapofx1_5
1592 enable_xaudio2_0
1593 enable_xaudio2_1
1594 enable_xaudio2_2
1595 enable_xaudio2_3
1596 enable_xaudio2_4
1597 enable_xaudio2_5
1598 enable_xaudio2_6
1599 enable_xaudio2_7
1600 enable_xaudio2_8
1601 enable_xaudio2_9
1602 enable_xinput1_1
1603 enable_xinput1_2
1604 enable_xinput1_3
1605 enable_xinput1_4
1606 enable_xinput9_1_0
1607 enable_xinputuap
1608 enable_xmllite
1609 enable_xolehlp
1610 enable_xpsprint
1611 enable_xpssvcs
1612 enable_fonts
1613 enable_include
1614 enable_adsiid
1615 enable_dmoguids
1616 enable_dxerr8
1617 enable_dxerr9
1618 enable_dxguid
1619 enable_faudio
1620 enable_fluidsynth
1621 enable_gsm
1622 enable_jpeg
1623 enable_jxr
1624 enable_lcms2
1625 enable_ldap
1626 enable_mfuuid
1627 enable_mpg123
1628 enable_musl
1629 enable_png
1630 enable_strmbase
1631 enable_strmiids
1632 enable_tiff
1633 enable_uuid
1634 enable_vkd3d
1635 enable_wbemuuid
1636 enable_wmcodecdspuuid
1637 enable_xml2
1638 enable_xslt
1639 enable_zlib
1640 enable_zydis
1641 enable_loader
1642 enable_nls
1643 enable_po
1644 enable_arp
1645 enable_aspnet_regiis
1646 enable_attrib
1647 enable_cabarc
1648 enable_cacls
1649 enable_certutil
1650 enable_chcp_com
1651 enable_clock
1652 enable_cmd
1653 enable_conhost
1654 enable_control
1655 enable_cscript
1656 enable_dism
1657 enable_dllhost
1658 enable_dplaysvr
1659 enable_dpnsvr
1660 enable_dpvsetup
1661 enable_dxdiag
1662 enable_eject
1663 enable_expand
1664 enable_explorer
1665 enable_extrac32
1666 enable_fc
1667 enable_find
1668 enable_findstr
1669 enable_fsutil
1670 enable_hh
1671 enable_hostname
1672 enable_icacls
1673 enable_icinfo
1674 enable_iexplore
1675 enable_ipconfig
1676 enable_klist
1677 enable_lodctr
1678 enable_mofcomp
1679 enable_mshta
1680 enable_msidb
1681 enable_msiexec
1682 enable_msinfo32
1683 enable_net
1684 enable_netsh
1685 enable_netstat
1686 enable_ngen
1687 enable_notepad
1688 enable_oleview
1689 enable_ping
1690 enable_plugplay
1691 enable_pnputil
1692 enable_powershell
1693 enable_presentationfontcache
1694 enable_progman
1695 enable_reg
1696 enable_regasm
1697 enable_regedit
1698 enable_regini
1699 enable_regsvcs
1700 enable_regsvr32
1701 enable_robocopy
1702 enable_rpcss
1703 enable_rundll32
1704 enable_sc
1705 enable_schtasks
1706 enable_sdbinst
1707 enable_secedit
1708 enable_servicemodelreg
1709 enable_services
1710 enable_setx
1711 enable_shutdown
1712 enable_spoolsv
1713 enable_start
1714 enable_subst
1715 enable_svchost
1716 enable_systeminfo
1717 enable_taskkill
1718 enable_tasklist
1719 enable_taskmgr
1720 enable_termsv
1721 enable_uninstaller
1722 enable_unlodctr
1723 enable_view
1724 enable_wevtutil
1725 enable_where
1726 enable_whoami
1727 enable_wineboot
1728 enable_winebrowser
1729 enable_winecfg
1730 enable_wineconsole
1731 enable_winedbg
1732 enable_winedevice
1733 enable_winefile
1734 enable_winemenubuilder
1735 enable_winemine
1736 enable_winemsibuilder
1737 enable_winepath
1738 enable_winetest
1739 enable_winhlp32
1740 enable_winmgmt
1741 enable_winver
1742 enable_wmic
1743 enable_wmplayer
1744 enable_wordpad
1745 enable_write
1746 enable_wscript
1747 enable_wuauserv
1748 enable_wusa
1749 enable_xcopy
1750 enable_server
1751 enable_tools
1752 enable_sfnt2fon
1753 enable_widl
1754 enable_winebuild
1755 enable_winedump
1756 enable_winegcc
1757 enable_winemaker
1758 enable_wmc
1759 enable_wrc
1761 ac_precious_vars='build_alias
1762 host_alias
1763 target_alias
1765 CFLAGS
1766 LDFLAGS
1767 LIBS
1768 CPPFLAGS
1770 CXXFLAGS
1772 OBJC
1773 OBJCFLAGS
1774 FAUDIO_PE_CFLAGS
1775 FAUDIO_PE_LIBS
1776 FLUIDSYNTH_PE_CFLAGS
1777 FLUIDSYNTH_PE_LIBS
1778 GSM_PE_CFLAGS
1779 GSM_PE_LIBS
1780 JPEG_PE_CFLAGS
1781 JPEG_PE_LIBS
1782 JXR_PE_CFLAGS
1783 JXR_PE_LIBS
1784 LCMS2_PE_CFLAGS
1785 LCMS2_PE_LIBS
1786 LDAP_PE_CFLAGS
1787 LDAP_PE_LIBS
1788 MPG123_PE_CFLAGS
1789 MPG123_PE_LIBS
1790 MUSL_PE_CFLAGS
1791 MUSL_PE_LIBS
1792 PNG_PE_CFLAGS
1793 PNG_PE_LIBS
1794 TIFF_PE_CFLAGS
1795 TIFF_PE_LIBS
1796 VKD3D_PE_CFLAGS
1797 VKD3D_PE_LIBS
1798 XML2_PE_CFLAGS
1799 XML2_PE_LIBS
1800 XSLT_PE_CFLAGS
1801 XSLT_PE_LIBS
1802 ZLIB_PE_CFLAGS
1803 ZLIB_PE_LIBS
1804 ZYDIS_PE_CFLAGS
1805 ZYDIS_PE_LIBS
1806 XMKMF
1808 WAYLAND_CLIENT_CFLAGS
1809 WAYLAND_CLIENT_LIBS
1810 XKBCOMMON_CFLAGS
1811 XKBCOMMON_LIBS
1812 XKBREGISTRY_CFLAGS
1813 XKBREGISTRY_LIBS
1814 EGL_CFLAGS
1815 EGL_LIBS
1816 WAYLAND_EGL_CFLAGS
1817 WAYLAND_EGL_LIBS
1818 ODBC_CFLAGS
1819 ODBC_LIBS
1820 INOTIFY_CFLAGS
1821 INOTIFY_LIBS
1822 DBUS_CFLAGS
1823 DBUS_LIBS
1824 GNUTLS_CFLAGS
1825 GNUTLS_LIBS
1826 SANE_CFLAGS
1827 SANE_LIBS
1828 USB_CFLAGS
1829 USB_LIBS
1830 GPHOTO2_CFLAGS
1831 GPHOTO2_LIBS
1832 GPHOTO2_PORT_CFLAGS
1833 GPHOTO2_PORT_LIBS
1834 FREETYPE_CFLAGS
1835 FREETYPE_LIBS
1836 PULSE_CFLAGS
1837 PULSE_LIBS
1838 GSTREAMER_CFLAGS
1839 GSTREAMER_LIBS
1840 UDEV_CFLAGS
1841 UDEV_LIBS
1842 UNWIND_CFLAGS
1843 UNWIND_LIBS
1844 SDL2_CFLAGS
1845 SDL2_LIBS
1846 CAPI20_CFLAGS
1847 CAPI20_LIBS
1848 CUPS_CFLAGS
1849 CUPS_LIBS
1850 FONTCONFIG_CFLAGS
1851 FONTCONFIG_LIBS
1852 KRB5_CFLAGS
1853 KRB5_LIBS
1854 GSSAPI_CFLAGS
1855 GSSAPI_LIBS
1856 NETAPI_CFLAGS
1857 NETAPI_LIBS'
1860 # Initialize some variables set by options.
1861 ac_init_help=
1862 ac_init_version=false
1863 ac_unrecognized_opts=
1864 ac_unrecognized_sep=
1865 # The variables have the same names as the options, with
1866 # dashes changed to underlines.
1867 cache_file=/dev/null
1868 exec_prefix=NONE
1869 no_create=
1870 no_recursion=
1871 prefix=NONE
1872 program_prefix=NONE
1873 program_suffix=NONE
1874 program_transform_name=s,x,x,
1875 silent=
1876 site=
1877 srcdir=
1878 verbose=
1879 x_includes=NONE
1880 x_libraries=NONE
1882 # Installation directory options.
1883 # These are left unexpanded so users can "make install exec_prefix=/foo"
1884 # and all the variables that are supposed to be based on exec_prefix
1885 # by default will actually change.
1886 # Use braces instead of parens because sh, perl, etc. also accept them.
1887 # (The list follows the same order as the GNU Coding Standards.)
1888 bindir='${exec_prefix}/bin'
1889 sbindir='${exec_prefix}/sbin'
1890 libexecdir='${exec_prefix}/libexec'
1891 datarootdir='${prefix}/share'
1892 datadir='${datarootdir}'
1893 sysconfdir='${prefix}/etc'
1894 sharedstatedir='${prefix}/com'
1895 localstatedir='${prefix}/var'
1896 runstatedir='${localstatedir}/run'
1897 includedir='${prefix}/include'
1898 oldincludedir='/usr/include'
1899 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1900 infodir='${datarootdir}/info'
1901 htmldir='${docdir}'
1902 dvidir='${docdir}'
1903 pdfdir='${docdir}'
1904 psdir='${docdir}'
1905 libdir='${exec_prefix}/lib'
1906 localedir='${datarootdir}/locale'
1907 mandir='${datarootdir}/man'
1909 ac_prev=
1910 ac_dashdash=
1911 for ac_option
1913 # If the previous option needs an argument, assign it.
1914 if test -n "$ac_prev"; then
1915 eval $ac_prev=\$ac_option
1916 ac_prev=
1917 continue
1920 case $ac_option in
1921 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1922 *=) ac_optarg= ;;
1923 *) ac_optarg=yes ;;
1924 esac
1926 case $ac_dashdash$ac_option in
1928 ac_dashdash=yes ;;
1930 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1931 ac_prev=bindir ;;
1932 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1933 bindir=$ac_optarg ;;
1935 -build | --build | --buil | --bui | --bu)
1936 ac_prev=build_alias ;;
1937 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1938 build_alias=$ac_optarg ;;
1940 -cache-file | --cache-file | --cache-fil | --cache-fi \
1941 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1942 ac_prev=cache_file ;;
1943 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1944 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1945 cache_file=$ac_optarg ;;
1947 --config-cache | -C)
1948 cache_file=config.cache ;;
1950 -datadir | --datadir | --datadi | --datad)
1951 ac_prev=datadir ;;
1952 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1953 datadir=$ac_optarg ;;
1955 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1956 | --dataroo | --dataro | --datar)
1957 ac_prev=datarootdir ;;
1958 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1959 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1960 datarootdir=$ac_optarg ;;
1962 -disable-* | --disable-*)
1963 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1964 # Reject names that are not valid shell variable names.
1965 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1966 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1967 ac_useropt_orig=$ac_useropt
1968 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1969 case $ac_user_opts in
1971 "enable_$ac_useropt"
1972 "*) ;;
1973 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1974 ac_unrecognized_sep=', ';;
1975 esac
1976 eval enable_$ac_useropt=no ;;
1978 -docdir | --docdir | --docdi | --doc | --do)
1979 ac_prev=docdir ;;
1980 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1981 docdir=$ac_optarg ;;
1983 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1984 ac_prev=dvidir ;;
1985 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1986 dvidir=$ac_optarg ;;
1988 -enable-* | --enable-*)
1989 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1990 # Reject names that are not valid shell variable names.
1991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1992 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1993 ac_useropt_orig=$ac_useropt
1994 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1995 case $ac_user_opts in
1997 "enable_$ac_useropt"
1998 "*) ;;
1999 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2000 ac_unrecognized_sep=', ';;
2001 esac
2002 eval enable_$ac_useropt=\$ac_optarg ;;
2004 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2005 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2006 | --exec | --exe | --ex)
2007 ac_prev=exec_prefix ;;
2008 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2009 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2010 | --exec=* | --exe=* | --ex=*)
2011 exec_prefix=$ac_optarg ;;
2013 -gas | --gas | --ga | --g)
2014 # Obsolete; use --with-gas.
2015 with_gas=yes ;;
2017 -help | --help | --hel | --he | -h)
2018 ac_init_help=long ;;
2019 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2020 ac_init_help=recursive ;;
2021 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2022 ac_init_help=short ;;
2024 -host | --host | --hos | --ho)
2025 ac_prev=host_alias ;;
2026 -host=* | --host=* | --hos=* | --ho=*)
2027 host_alias=$ac_optarg ;;
2029 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2030 ac_prev=htmldir ;;
2031 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2032 | --ht=*)
2033 htmldir=$ac_optarg ;;
2035 -includedir | --includedir | --includedi | --included | --include \
2036 | --includ | --inclu | --incl | --inc)
2037 ac_prev=includedir ;;
2038 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2039 | --includ=* | --inclu=* | --incl=* | --inc=*)
2040 includedir=$ac_optarg ;;
2042 -infodir | --infodir | --infodi | --infod | --info | --inf)
2043 ac_prev=infodir ;;
2044 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2045 infodir=$ac_optarg ;;
2047 -libdir | --libdir | --libdi | --libd)
2048 ac_prev=libdir ;;
2049 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2050 libdir=$ac_optarg ;;
2052 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2053 | --libexe | --libex | --libe)
2054 ac_prev=libexecdir ;;
2055 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2056 | --libexe=* | --libex=* | --libe=*)
2057 libexecdir=$ac_optarg ;;
2059 -localedir | --localedir | --localedi | --localed | --locale)
2060 ac_prev=localedir ;;
2061 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2062 localedir=$ac_optarg ;;
2064 -localstatedir | --localstatedir | --localstatedi | --localstated \
2065 | --localstate | --localstat | --localsta | --localst | --locals)
2066 ac_prev=localstatedir ;;
2067 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2068 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2069 localstatedir=$ac_optarg ;;
2071 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2072 ac_prev=mandir ;;
2073 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2074 mandir=$ac_optarg ;;
2076 -nfp | --nfp | --nf)
2077 # Obsolete; use --without-fp.
2078 with_fp=no ;;
2080 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2081 | --no-cr | --no-c | -n)
2082 no_create=yes ;;
2084 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2085 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2086 no_recursion=yes ;;
2088 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2089 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2090 | --oldin | --oldi | --old | --ol | --o)
2091 ac_prev=oldincludedir ;;
2092 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2093 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2094 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2095 oldincludedir=$ac_optarg ;;
2097 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2098 ac_prev=prefix ;;
2099 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2100 prefix=$ac_optarg ;;
2102 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2103 | --program-pre | --program-pr | --program-p)
2104 ac_prev=program_prefix ;;
2105 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2106 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2107 program_prefix=$ac_optarg ;;
2109 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2110 | --program-suf | --program-su | --program-s)
2111 ac_prev=program_suffix ;;
2112 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2113 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2114 program_suffix=$ac_optarg ;;
2116 -program-transform-name | --program-transform-name \
2117 | --program-transform-nam | --program-transform-na \
2118 | --program-transform-n | --program-transform- \
2119 | --program-transform | --program-transfor \
2120 | --program-transfo | --program-transf \
2121 | --program-trans | --program-tran \
2122 | --progr-tra | --program-tr | --program-t)
2123 ac_prev=program_transform_name ;;
2124 -program-transform-name=* | --program-transform-name=* \
2125 | --program-transform-nam=* | --program-transform-na=* \
2126 | --program-transform-n=* | --program-transform-=* \
2127 | --program-transform=* | --program-transfor=* \
2128 | --program-transfo=* | --program-transf=* \
2129 | --program-trans=* | --program-tran=* \
2130 | --progr-tra=* | --program-tr=* | --program-t=*)
2131 program_transform_name=$ac_optarg ;;
2133 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2134 ac_prev=pdfdir ;;
2135 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2136 pdfdir=$ac_optarg ;;
2138 -psdir | --psdir | --psdi | --psd | --ps)
2139 ac_prev=psdir ;;
2140 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2141 psdir=$ac_optarg ;;
2143 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2144 | -silent | --silent | --silen | --sile | --sil)
2145 silent=yes ;;
2147 -runstatedir | --runstatedir | --runstatedi | --runstated \
2148 | --runstate | --runstat | --runsta | --runst | --runs \
2149 | --run | --ru | --r)
2150 ac_prev=runstatedir ;;
2151 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2152 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2153 | --run=* | --ru=* | --r=*)
2154 runstatedir=$ac_optarg ;;
2156 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2157 ac_prev=sbindir ;;
2158 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2159 | --sbi=* | --sb=*)
2160 sbindir=$ac_optarg ;;
2162 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2163 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2164 | --sharedst | --shareds | --shared | --share | --shar \
2165 | --sha | --sh)
2166 ac_prev=sharedstatedir ;;
2167 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2168 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2169 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2170 | --sha=* | --sh=*)
2171 sharedstatedir=$ac_optarg ;;
2173 -site | --site | --sit)
2174 ac_prev=site ;;
2175 -site=* | --site=* | --sit=*)
2176 site=$ac_optarg ;;
2178 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2179 ac_prev=srcdir ;;
2180 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2181 srcdir=$ac_optarg ;;
2183 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2184 | --syscon | --sysco | --sysc | --sys | --sy)
2185 ac_prev=sysconfdir ;;
2186 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2187 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2188 sysconfdir=$ac_optarg ;;
2190 -target | --target | --targe | --targ | --tar | --ta | --t)
2191 ac_prev=target_alias ;;
2192 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2193 target_alias=$ac_optarg ;;
2195 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2196 verbose=yes ;;
2198 -version | --version | --versio | --versi | --vers | -V)
2199 ac_init_version=: ;;
2201 -with-* | --with-*)
2202 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2203 # Reject names that are not valid shell variable names.
2204 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2205 as_fn_error $? "invalid package name: \`$ac_useropt'"
2206 ac_useropt_orig=$ac_useropt
2207 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2208 case $ac_user_opts in
2210 "with_$ac_useropt"
2211 "*) ;;
2212 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2213 ac_unrecognized_sep=', ';;
2214 esac
2215 eval with_$ac_useropt=\$ac_optarg ;;
2217 -without-* | --without-*)
2218 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2219 # Reject names that are not valid shell variable names.
2220 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2221 as_fn_error $? "invalid package name: \`$ac_useropt'"
2222 ac_useropt_orig=$ac_useropt
2223 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2224 case $ac_user_opts in
2226 "with_$ac_useropt"
2227 "*) ;;
2228 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2229 ac_unrecognized_sep=', ';;
2230 esac
2231 eval with_$ac_useropt=no ;;
2233 --x)
2234 # Obsolete; use --with-x.
2235 with_x=yes ;;
2237 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2238 | --x-incl | --x-inc | --x-in | --x-i)
2239 ac_prev=x_includes ;;
2240 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2241 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2242 x_includes=$ac_optarg ;;
2244 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2245 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2246 ac_prev=x_libraries ;;
2247 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2248 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2249 x_libraries=$ac_optarg ;;
2251 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2252 Try \`$0 --help' for more information"
2255 *=*)
2256 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2257 # Reject names that are not valid shell variable names.
2258 case $ac_envvar in #(
2259 '' | [0-9]* | *[!_$as_cr_alnum]* )
2260 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2261 esac
2262 eval $ac_envvar=\$ac_optarg
2263 export $ac_envvar ;;
2266 # FIXME: should be removed in autoconf 3.0.
2267 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2268 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2269 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2270 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2273 esac
2274 done
2276 if test -n "$ac_prev"; then
2277 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2278 as_fn_error $? "missing argument to $ac_option"
2281 if test -n "$ac_unrecognized_opts"; then
2282 case $enable_option_checking in
2283 no) ;;
2284 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2285 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2286 esac
2289 # Check all directory arguments for consistency.
2290 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2291 datadir sysconfdir sharedstatedir localstatedir includedir \
2292 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2293 libdir localedir mandir runstatedir
2295 eval ac_val=\$$ac_var
2296 # Remove trailing slashes.
2297 case $ac_val in
2298 */ )
2299 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2300 eval $ac_var=\$ac_val;;
2301 esac
2302 # Be sure to have absolute directory names.
2303 case $ac_val in
2304 [\\/$]* | ?:[\\/]* ) continue;;
2305 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2306 esac
2307 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2308 done
2310 # There might be people who depend on the old broken behavior: `$host'
2311 # used to hold the argument of --host etc.
2312 # FIXME: To remove some day.
2313 build=$build_alias
2314 host=$host_alias
2315 target=$target_alias
2317 # FIXME: To remove some day.
2318 if test "x$host_alias" != x; then
2319 if test "x$build_alias" = x; then
2320 cross_compiling=maybe
2321 elif test "x$build_alias" != "x$host_alias"; then
2322 cross_compiling=yes
2326 ac_tool_prefix=
2327 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2329 test "$silent" = yes && exec 6>/dev/null
2332 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2333 ac_ls_di=`ls -di .` &&
2334 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2335 as_fn_error $? "working directory cannot be determined"
2336 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2337 as_fn_error $? "pwd does not report name of working directory"
2340 # Find the source files, if location was not specified.
2341 if test -z "$srcdir"; then
2342 ac_srcdir_defaulted=yes
2343 # Try the directory containing this script, then the parent directory.
2344 ac_confdir=`$as_dirname -- "$as_myself" ||
2345 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2346 X"$as_myself" : 'X\(//\)[^/]' \| \
2347 X"$as_myself" : 'X\(//\)$' \| \
2348 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2349 printf "%s\n" X"$as_myself" |
2350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2351 s//\1/
2354 /^X\(\/\/\)[^/].*/{
2355 s//\1/
2358 /^X\(\/\/\)$/{
2359 s//\1/
2362 /^X\(\/\).*/{
2363 s//\1/
2366 s/.*/./; q'`
2367 srcdir=$ac_confdir
2368 if test ! -r "$srcdir/$ac_unique_file"; then
2369 srcdir=..
2371 else
2372 ac_srcdir_defaulted=no
2374 if test ! -r "$srcdir/$ac_unique_file"; then
2375 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2376 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2378 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2379 ac_abs_confdir=`(
2380 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2381 pwd)`
2382 # When building in place, set srcdir=.
2383 if test "$ac_abs_confdir" = "$ac_pwd"; then
2384 srcdir=.
2386 # Remove unnecessary trailing slashes from srcdir.
2387 # Double slashes in file names in object file debugging info
2388 # mess up M-x gdb in Emacs.
2389 case $srcdir in
2390 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2391 esac
2392 for ac_var in $ac_precious_vars; do
2393 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2394 eval ac_env_${ac_var}_value=\$${ac_var}
2395 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2396 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2397 done
2400 # Report the --help message.
2402 if test "$ac_init_help" = "long"; then
2403 # Omit some internal or obsolete options to make the list less imposing.
2404 # This message is too long to be a string in the A/UX 3.1 sh.
2405 cat <<_ACEOF
2406 \`configure' configures Wine 9.11 to adapt to many kinds of systems.
2408 Usage: $0 [OPTION]... [VAR=VALUE]...
2410 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2411 VAR=VALUE. See below for descriptions of some of the useful variables.
2413 Defaults for the options are specified in brackets.
2415 Configuration:
2416 -h, --help display this help and exit
2417 --help=short display options specific to this package
2418 --help=recursive display the short help of all the included packages
2419 -V, --version display version information and exit
2420 -q, --quiet, --silent do not print \`checking ...' messages
2421 --cache-file=FILE cache test results in FILE [disabled]
2422 -C, --config-cache alias for \`--cache-file=config.cache'
2423 -n, --no-create do not create output files
2424 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2426 Installation directories:
2427 --prefix=PREFIX install architecture-independent files in PREFIX
2428 [$ac_default_prefix]
2429 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2430 [PREFIX]
2432 By default, \`make install' will install all the files in
2433 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2434 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2435 for instance \`--prefix=\$HOME'.
2437 For better control, use the options below.
2439 Fine tuning of the installation directories:
2440 --bindir=DIR user executables [EPREFIX/bin]
2441 --sbindir=DIR system admin executables [EPREFIX/sbin]
2442 --libexecdir=DIR program executables [EPREFIX/libexec]
2443 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2444 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2445 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2446 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2447 --libdir=DIR object code libraries [EPREFIX/lib]
2448 --includedir=DIR C header files [PREFIX/include]
2449 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2450 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2451 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2452 --infodir=DIR info documentation [DATAROOTDIR/info]
2453 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2454 --mandir=DIR man documentation [DATAROOTDIR/man]
2455 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2456 --htmldir=DIR html documentation [DOCDIR]
2457 --dvidir=DIR dvi documentation [DOCDIR]
2458 --pdfdir=DIR pdf documentation [DOCDIR]
2459 --psdir=DIR ps documentation [DOCDIR]
2460 _ACEOF
2462 cat <<\_ACEOF
2464 X features:
2465 --x-includes=DIR X include files are in DIR
2466 --x-libraries=DIR X library files are in DIR
2468 System types:
2469 --build=BUILD configure for building on BUILD [guessed]
2470 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2471 _ACEOF
2474 if test -n "$ac_init_help"; then
2475 case $ac_init_help in
2476 short | recursive ) echo "Configuration of Wine 9.11:";;
2477 esac
2478 cat <<\_ACEOF
2480 Optional Features:
2481 --disable-option-checking ignore unrecognized --enable/--with options
2482 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2483 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2484 --enable-archs={i386,x86_64,arm,aarch64}
2485 enable multiple architectures for PE compilation
2486 --disable-win16 do not include Win16 support
2487 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2488 binaries)
2489 --disable-tests do not build the regression tests
2490 --enable-build-id include .buildid section in output objects
2491 --enable-maintainer-mode
2492 enable maintainer-specific build rules
2493 --enable-silent-rules use silent build rules (override: "make V=1")
2494 --enable-werror treat compilation warnings as errors
2495 --disable-largefile omit support for large files
2497 Optional Packages:
2498 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2499 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2500 --without-alsa do not use the Alsa sound support
2501 --without-capi do not use CAPI (ISDN support)
2502 --without-coreaudio do not use the CoreAudio sound support
2503 --without-cups do not use CUPS
2504 --without-dbus do not use DBus (dynamic device support)
2505 --without-fontconfig do not use fontconfig
2506 --without-freetype do not use the FreeType library
2507 --without-gettext do not use gettext
2508 --with-gettextpo use the GetTextPO library to rebuild po files
2509 --without-gphoto do not use gphoto (Digital Camera support)
2510 --without-gnutls do not use GnuTLS (schannel support)
2511 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2512 --without-gstreamer do not use GStreamer (codecs support)
2513 --without-inotify do not use inotify (filesystem change notifications)
2514 --without-krb5 do not use krb5 (Kerberos)
2515 --without-mingw do not use the MinGW cross-compiler
2516 --without-netapi do not use the Samba NetAPI library
2517 --without-odbc do not use the ODBC library
2518 --without-opencl do not use OpenCL
2519 --without-opengl do not use OpenGL
2520 --without-osmesa do not use the OSMesa library
2521 --without-oss do not use the OSS sound support
2522 --without-pcap do not use the Packet Capture library
2523 --without-pcsclite do not use PCSC lite
2524 --without-pthread do not use the pthread library
2525 --without-pulse do not use PulseAudio sound support
2526 --without-sane do not use SANE (scanner support)
2527 --without-sdl do not use SDL
2528 --without-udev do not use udev (plug and play support)
2529 --without-unwind do not use the libunwind library (exception
2530 handling)
2531 --without-usb do not use the libusb library
2532 --without-v4l2 do not use v4l2 (video capture)
2533 --without-vulkan do not use Vulkan
2534 --without-wayland do not build the Wayland driver
2535 --without-xcomposite do not use the Xcomposite extension
2536 --without-xcursor do not use the Xcursor extension
2537 --without-xfixes do not use Xfixes for clipboard change notifications
2538 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2539 --without-xinput do not use the Xinput extension
2540 --without-xinput2 do not use the Xinput 2 extension
2541 --without-xrandr do not use Xrandr (multi-monitor support)
2542 --without-xrender do not use the Xrender extension
2543 --without-xshape do not use the Xshape extension
2544 --without-xshm do not use XShm (shared memory extension)
2545 --without-xxf86vm do not use XFree video mode extension
2546 --with-system-dllpath=PATH
2547 load external PE dependencies from colon-separated
2548 path PATH
2549 --with-wine-tools=DIR use Wine tools from directory DIR
2550 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2551 --with-x use the X Window System
2553 Some influential environment variables:
2554 CC C compiler command
2555 CFLAGS C compiler flags
2556 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2557 nonstandard directory <lib dir>
2558 LIBS libraries to pass to the linker, e.g. -l<library>
2559 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2560 you have headers in a nonstandard directory <include dir>
2561 CXX C++ compiler command
2562 CXXFLAGS C++ compiler flags
2563 OBJC Objective C compiler command
2564 OBJCFLAGS Objective C compiler flags
2565 FAUDIO_PE_CFLAGS
2566 C compiler flags for the PE faudio, overriding the bundled
2567 version
2568 FAUDIO_PE_LIBS
2569 Linker flags for the PE faudio, overriding the bundled version
2570 FLUIDSYNTH_PE_CFLAGS
2571 C compiler flags for the PE fluidsynth, overriding the bundled
2572 version
2573 FLUIDSYNTH_PE_LIBS
2574 Linker flags for the PE fluidsynth, overriding the bundled
2575 version
2576 GSM_PE_CFLAGS
2577 C compiler flags for the PE gsm, overriding the bundled version
2578 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2579 JPEG_PE_CFLAGS
2580 C compiler flags for the PE jpeg, overriding the bundled version
2581 JPEG_PE_LIBS
2582 Linker flags for the PE jpeg, overriding the bundled version
2583 JXR_PE_CFLAGS
2584 C compiler flags for the PE jxr, overriding the bundled version
2585 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2586 LCMS2_PE_CFLAGS
2587 C compiler flags for the PE lcms2, overriding the bundled
2588 version
2589 LCMS2_PE_LIBS
2590 Linker flags for the PE lcms2, overriding the bundled version
2591 LDAP_PE_CFLAGS
2592 C compiler flags for the PE ldap, overriding the bundled version
2593 LDAP_PE_LIBS
2594 Linker flags for the PE ldap, overriding the bundled version
2595 MPG123_PE_CFLAGS
2596 C compiler flags for the PE mpg123, overriding the bundled
2597 version
2598 MPG123_PE_LIBS
2599 Linker flags for the PE mpg123, overriding the bundled version
2600 MUSL_PE_CFLAGS
2601 C compiler flags for the PE musl, overriding the bundled version
2602 MUSL_PE_LIBS
2603 Linker flags for the PE musl, overriding the bundled version
2604 PNG_PE_CFLAGS
2605 C compiler flags for the PE png, overriding the bundled version
2606 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2607 TIFF_PE_CFLAGS
2608 C compiler flags for the PE tiff, overriding the bundled version
2609 TIFF_PE_LIBS
2610 Linker flags for the PE tiff, overriding the bundled version
2611 VKD3D_PE_CFLAGS
2612 C compiler flags for the PE vkd3d, overriding the bundled
2613 version
2614 VKD3D_PE_LIBS
2615 Linker flags for the PE vkd3d, overriding the bundled version
2616 XML2_PE_CFLAGS
2617 C compiler flags for the PE xml2, overriding the bundled version
2618 XML2_PE_LIBS
2619 Linker flags for the PE xml2, overriding the bundled version
2620 XSLT_PE_CFLAGS
2621 C compiler flags for the PE xslt, overriding the bundled version
2622 XSLT_PE_LIBS
2623 Linker flags for the PE xslt, overriding the bundled version
2624 ZLIB_PE_CFLAGS
2625 C compiler flags for the PE zlib, overriding the bundled version
2626 ZLIB_PE_LIBS
2627 Linker flags for the PE zlib, overriding the bundled version
2628 ZYDIS_PE_CFLAGS
2629 C compiler flags for the PE zydis, overriding the bundled
2630 version
2631 ZYDIS_PE_LIBS
2632 Linker flags for the PE zydis, overriding the bundled version
2633 XMKMF Path to xmkmf, Makefile generator for X Window System
2634 CPP C preprocessor
2635 WAYLAND_CLIENT_CFLAGS
2636 C compiler flags for wayland-client, overriding pkg-config
2637 WAYLAND_CLIENT_LIBS
2638 Linker flags for wayland-client, overriding pkg-config
2639 XKBCOMMON_CFLAGS
2640 C compiler flags for xkbcommon, overriding pkg-config
2641 XKBCOMMON_LIBS
2642 Linker flags for xkbcommon, overriding pkg-config
2643 XKBREGISTRY_CFLAGS
2644 C compiler flags for xkbregistry, overriding pkg-config
2645 XKBREGISTRY_LIBS
2646 Linker flags for xkbregistry, overriding pkg-config
2647 EGL_CFLAGS C compiler flags for egl, overriding pkg-config
2648 EGL_LIBS Linker flags for egl, overriding pkg-config
2649 WAYLAND_EGL_CFLAGS
2650 C compiler flags for wayland-egl, overriding pkg-config
2651 WAYLAND_EGL_LIBS
2652 Linker flags for wayland-egl, overriding pkg-config
2653 ODBC_CFLAGS C compiler flags for odbc, overriding pkg-config
2654 ODBC_LIBS Linker flags for odbc, overriding pkg-config
2655 INOTIFY_CFLAGS
2656 C compiler flags for libinotify, overriding pkg-config
2657 INOTIFY_LIBS
2658 Linker flags for libinotify, overriding pkg-config
2659 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2660 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2661 GNUTLS_CFLAGS
2662 C compiler flags for gnutls, overriding pkg-config
2663 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2664 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2665 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2666 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2667 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2668 GPHOTO2_CFLAGS
2669 C compiler flags for libgphoto2, overriding pkg-config
2670 GPHOTO2_LIBS
2671 Linker flags for libgphoto2, overriding pkg-config
2672 GPHOTO2_PORT_CFLAGS
2673 C compiler flags for libgphoto2_port, overriding pkg-config
2674 GPHOTO2_PORT_LIBS
2675 Linker flags for libgphoto2_port, overriding pkg-config
2676 FREETYPE_CFLAGS
2677 C compiler flags for freetype2, overriding pkg-config
2678 FREETYPE_LIBS
2679 Linker flags for freetype2, overriding pkg-config
2680 PULSE_CFLAGS
2681 C compiler flags for libpulse, overriding pkg-config
2682 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2683 GSTREAMER_CFLAGS
2684 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2685 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2686 GSTREAMER_LIBS
2687 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2688 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2689 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2690 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2691 UNWIND_CFLAGS
2692 C compiler flags for libunwind, overriding pkg-config
2693 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2694 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2695 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2696 CAPI20_CFLAGS
2697 C compiler flags for capi20, overriding pkg-config
2698 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2699 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2700 CUPS_LIBS Linker flags for cups, overriding pkg-config
2701 FONTCONFIG_CFLAGS
2702 C compiler flags for fontconfig, overriding pkg-config
2703 FONTCONFIG_LIBS
2704 Linker flags for fontconfig, overriding pkg-config
2705 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2706 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2707 GSSAPI_CFLAGS
2708 C compiler flags for krb5-gssapi, overriding pkg-config
2709 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2710 NETAPI_CFLAGS
2711 C compiler flags for netapi, overriding pkg-config
2712 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2714 Use these variables to override the choices made by `configure' or to help
2715 it to find libraries and programs with nonstandard names/locations.
2717 Report bugs to <wine-devel@winehq.org>.
2718 Wine home page: <https://www.winehq.org>.
2719 _ACEOF
2720 ac_status=$?
2723 if test "$ac_init_help" = "recursive"; then
2724 # If there are subdirs, report their specific --help.
2725 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2726 test -d "$ac_dir" ||
2727 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2728 continue
2729 ac_builddir=.
2731 case "$ac_dir" in
2732 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2734 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2735 # A ".." for each directory in $ac_dir_suffix.
2736 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2737 case $ac_top_builddir_sub in
2738 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2739 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2740 esac ;;
2741 esac
2742 ac_abs_top_builddir=$ac_pwd
2743 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2744 # for backward compatibility:
2745 ac_top_builddir=$ac_top_build_prefix
2747 case $srcdir in
2748 .) # We are building in place.
2749 ac_srcdir=.
2750 ac_top_srcdir=$ac_top_builddir_sub
2751 ac_abs_top_srcdir=$ac_pwd ;;
2752 [\\/]* | ?:[\\/]* ) # Absolute name.
2753 ac_srcdir=$srcdir$ac_dir_suffix;
2754 ac_top_srcdir=$srcdir
2755 ac_abs_top_srcdir=$srcdir ;;
2756 *) # Relative name.
2757 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2758 ac_top_srcdir=$ac_top_build_prefix$srcdir
2759 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2760 esac
2761 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2763 cd "$ac_dir" || { ac_status=$?; continue; }
2764 # Check for configure.gnu first; this name is used for a wrapper for
2765 # Metaconfig's "Configure" on case-insensitive file systems.
2766 if test -f "$ac_srcdir/configure.gnu"; then
2767 echo &&
2768 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2769 elif test -f "$ac_srcdir/configure"; then
2770 echo &&
2771 $SHELL "$ac_srcdir/configure" --help=recursive
2772 else
2773 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2774 fi || ac_status=$?
2775 cd "$ac_pwd" || { ac_status=$?; break; }
2776 done
2779 test -n "$ac_init_help" && exit $ac_status
2780 if $ac_init_version; then
2781 cat <<\_ACEOF
2782 Wine configure 9.11
2783 generated by GNU Autoconf 2.71
2785 Copyright (C) 2021 Free Software Foundation, Inc.
2786 This configure script is free software; the Free Software Foundation
2787 gives unlimited permission to copy, distribute and modify it.
2788 _ACEOF
2789 exit
2792 ## ------------------------ ##
2793 ## Autoconf initialization. ##
2794 ## ------------------------ ##
2796 # ac_fn_c_try_compile LINENO
2797 # --------------------------
2798 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2799 ac_fn_c_try_compile ()
2801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2802 rm -f conftest.$ac_objext conftest.beam
2803 if { { ac_try="$ac_compile"
2804 case "(($ac_try" in
2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2807 esac
2808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2809 printf "%s\n" "$ac_try_echo"; } >&5
2810 (eval "$ac_compile") 2>conftest.err
2811 ac_status=$?
2812 if test -s conftest.err; then
2813 grep -v '^ *+' conftest.err >conftest.er1
2814 cat conftest.er1 >&5
2815 mv -f conftest.er1 conftest.err
2817 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2818 test $ac_status = 0; } && {
2819 test -z "$ac_c_werror_flag" ||
2820 test ! -s conftest.err
2821 } && test -s conftest.$ac_objext
2822 then :
2823 ac_retval=0
2824 else $as_nop
2825 printf "%s\n" "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2828 ac_retval=1
2830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2831 as_fn_set_status $ac_retval
2833 } # ac_fn_c_try_compile
2835 # ac_fn_cxx_try_compile LINENO
2836 # ----------------------------
2837 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2838 ac_fn_cxx_try_compile ()
2840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2841 rm -f conftest.$ac_objext conftest.beam
2842 if { { ac_try="$ac_compile"
2843 case "(($ac_try" in
2844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2845 *) ac_try_echo=$ac_try;;
2846 esac
2847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2848 printf "%s\n" "$ac_try_echo"; } >&5
2849 (eval "$ac_compile") 2>conftest.err
2850 ac_status=$?
2851 if test -s conftest.err; then
2852 grep -v '^ *+' conftest.err >conftest.er1
2853 cat conftest.er1 >&5
2854 mv -f conftest.er1 conftest.err
2856 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2857 test $ac_status = 0; } && {
2858 test -z "$ac_cxx_werror_flag" ||
2859 test ! -s conftest.err
2860 } && test -s conftest.$ac_objext
2861 then :
2862 ac_retval=0
2863 else $as_nop
2864 printf "%s\n" "$as_me: failed program was:" >&5
2865 sed 's/^/| /' conftest.$ac_ext >&5
2867 ac_retval=1
2869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2870 as_fn_set_status $ac_retval
2872 } # ac_fn_cxx_try_compile
2874 # ac_fn_c_try_link LINENO
2875 # -----------------------
2876 # Try to link conftest.$ac_ext, and return whether this succeeded.
2877 ac_fn_c_try_link ()
2879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2880 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2881 if { { ac_try="$ac_link"
2882 case "(($ac_try" in
2883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2884 *) ac_try_echo=$ac_try;;
2885 esac
2886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2887 printf "%s\n" "$ac_try_echo"; } >&5
2888 (eval "$ac_link") 2>conftest.err
2889 ac_status=$?
2890 if test -s conftest.err; then
2891 grep -v '^ *+' conftest.err >conftest.er1
2892 cat conftest.er1 >&5
2893 mv -f conftest.er1 conftest.err
2895 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2896 test $ac_status = 0; } && {
2897 test -z "$ac_c_werror_flag" ||
2898 test ! -s conftest.err
2899 } && test -s conftest$ac_exeext && {
2900 test "$cross_compiling" = yes ||
2901 test -x conftest$ac_exeext
2903 then :
2904 ac_retval=0
2905 else $as_nop
2906 printf "%s\n" "$as_me: failed program was:" >&5
2907 sed 's/^/| /' conftest.$ac_ext >&5
2909 ac_retval=1
2911 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2912 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2913 # interfere with the next link command; also delete a directory that is
2914 # left behind by Apple's compiler. We do this before executing the actions.
2915 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2917 as_fn_set_status $ac_retval
2919 } # ac_fn_c_try_link
2921 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2922 # -------------------------------------------------------
2923 # Tests whether HEADER exists and can be compiled using the include files in
2924 # INCLUDES, setting the cache variable VAR accordingly.
2925 ac_fn_c_check_header_compile ()
2927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2929 printf %s "checking for $2... " >&6; }
2930 if eval test \${$3+y}
2931 then :
2932 printf %s "(cached) " >&6
2933 else $as_nop
2934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2937 #include <$2>
2938 _ACEOF
2939 if ac_fn_c_try_compile "$LINENO"
2940 then :
2941 eval "$3=yes"
2942 else $as_nop
2943 eval "$3=no"
2945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2947 eval ac_res=\$$3
2948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2949 printf "%s\n" "$ac_res" >&6; }
2950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2952 } # ac_fn_c_check_header_compile
2954 # ac_fn_objc_try_compile LINENO
2955 # -----------------------------
2956 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2957 ac_fn_objc_try_compile ()
2959 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2960 rm -f conftest.$ac_objext conftest.beam
2961 if { { ac_try="$ac_compile"
2962 case "(($ac_try" in
2963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964 *) ac_try_echo=$ac_try;;
2965 esac
2966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2967 printf "%s\n" "$ac_try_echo"; } >&5
2968 (eval "$ac_compile") 2>conftest.err
2969 ac_status=$?
2970 if test -s conftest.err; then
2971 grep -v '^ *+' conftest.err >conftest.er1
2972 cat conftest.er1 >&5
2973 mv -f conftest.er1 conftest.err
2975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2976 test $ac_status = 0; } && {
2977 test -z "$ac_objc_werror_flag" ||
2978 test ! -s conftest.err
2979 } && test -s conftest.$ac_objext
2980 then :
2981 ac_retval=0
2982 else $as_nop
2983 printf "%s\n" "$as_me: failed program was:" >&5
2984 sed 's/^/| /' conftest.$ac_ext >&5
2986 ac_retval=1
2988 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2989 as_fn_set_status $ac_retval
2991 } # ac_fn_objc_try_compile
2993 # ac_fn_c_check_func LINENO FUNC VAR
2994 # ----------------------------------
2995 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2996 ac_fn_c_check_func ()
2998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3000 printf %s "checking for $2... " >&6; }
3001 if eval test \${$3+y}
3002 then :
3003 printf %s "(cached) " >&6
3004 else $as_nop
3005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3006 /* end confdefs.h. */
3007 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3009 #define $2 innocuous_$2
3011 /* System header to define __stub macros and hopefully few prototypes,
3012 which can conflict with char $2 (); below. */
3014 #include <limits.h>
3015 #undef $2
3017 /* Override any GCC internal prototype to avoid an error.
3018 Use char because int might match the return type of a GCC
3019 builtin and then its argument prototype would still apply. */
3020 #ifdef __cplusplus
3021 extern "C"
3022 #endif
3023 char $2 ();
3024 /* The GNU C library defines this for functions which it implements
3025 to always fail with ENOSYS. Some functions are actually named
3026 something starting with __ and the normal name is an alias. */
3027 #if defined __stub_$2 || defined __stub___$2
3028 choke me
3029 #endif
3032 main (void)
3034 return $2 ();
3036 return 0;
3038 _ACEOF
3039 if ac_fn_c_try_link "$LINENO"
3040 then :
3041 eval "$3=yes"
3042 else $as_nop
3043 eval "$3=no"
3045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3046 conftest$ac_exeext conftest.$ac_ext
3048 eval ac_res=\$$3
3049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3050 printf "%s\n" "$ac_res" >&6; }
3051 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3053 } # ac_fn_c_check_func
3055 # ac_fn_c_try_cpp LINENO
3056 # ----------------------
3057 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3058 ac_fn_c_try_cpp ()
3060 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3061 if { { ac_try="$ac_cpp conftest.$ac_ext"
3062 case "(($ac_try" in
3063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3064 *) ac_try_echo=$ac_try;;
3065 esac
3066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3067 printf "%s\n" "$ac_try_echo"; } >&5
3068 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3069 ac_status=$?
3070 if test -s conftest.err; then
3071 grep -v '^ *+' conftest.err >conftest.er1
3072 cat conftest.er1 >&5
3073 mv -f conftest.er1 conftest.err
3075 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3076 test $ac_status = 0; } > conftest.i && {
3077 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3078 test ! -s conftest.err
3080 then :
3081 ac_retval=0
3082 else $as_nop
3083 printf "%s\n" "$as_me: failed program was:" >&5
3084 sed 's/^/| /' conftest.$ac_ext >&5
3086 ac_retval=1
3088 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3089 as_fn_set_status $ac_retval
3091 } # ac_fn_c_try_cpp
3093 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3094 # ----------------------------------------------------
3095 # Tries to find if the field MEMBER exists in type AGGR, after including
3096 # INCLUDES, setting cache variable VAR accordingly.
3097 ac_fn_c_check_member ()
3099 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3101 printf %s "checking for $2.$3... " >&6; }
3102 if eval test \${$4+y}
3103 then :
3104 printf %s "(cached) " >&6
3105 else $as_nop
3106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3107 /* end confdefs.h. */
3110 main (void)
3112 static $2 ac_aggr;
3113 if (ac_aggr.$3)
3114 return 0;
3116 return 0;
3118 _ACEOF
3119 if ac_fn_c_try_compile "$LINENO"
3120 then :
3121 eval "$4=yes"
3122 else $as_nop
3123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3124 /* end confdefs.h. */
3127 main (void)
3129 static $2 ac_aggr;
3130 if (sizeof ac_aggr.$3)
3131 return 0;
3133 return 0;
3135 _ACEOF
3136 if ac_fn_c_try_compile "$LINENO"
3137 then :
3138 eval "$4=yes"
3139 else $as_nop
3140 eval "$4=no"
3142 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3144 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3146 eval ac_res=\$$4
3147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3148 printf "%s\n" "$ac_res" >&6; }
3149 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3151 } # ac_fn_c_check_member
3153 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3154 # -------------------------------------------
3155 # Tests whether TYPE exists after having included INCLUDES, setting cache
3156 # variable VAR accordingly.
3157 ac_fn_c_check_type ()
3159 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3161 printf %s "checking for $2... " >&6; }
3162 if eval test \${$3+y}
3163 then :
3164 printf %s "(cached) " >&6
3165 else $as_nop
3166 eval "$3=no"
3167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3168 /* end confdefs.h. */
3171 main (void)
3173 if (sizeof ($2))
3174 return 0;
3176 return 0;
3178 _ACEOF
3179 if ac_fn_c_try_compile "$LINENO"
3180 then :
3181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3182 /* end confdefs.h. */
3185 main (void)
3187 if (sizeof (($2)))
3188 return 0;
3190 return 0;
3192 _ACEOF
3193 if ac_fn_c_try_compile "$LINENO"
3194 then :
3196 else $as_nop
3197 eval "$3=yes"
3199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3201 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3203 eval ac_res=\$$3
3204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3205 printf "%s\n" "$ac_res" >&6; }
3206 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3208 } # ac_fn_c_check_type
3209 ac_configure_args_raw=
3210 for ac_arg
3212 case $ac_arg in
3213 *\'*)
3214 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3215 esac
3216 as_fn_append ac_configure_args_raw " '$ac_arg'"
3217 done
3219 case $ac_configure_args_raw in
3220 *$as_nl*)
3221 ac_safe_unquote= ;;
3223 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3224 ac_unsafe_a="$ac_unsafe_z#~"
3225 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3226 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3227 esac
3229 cat >config.log <<_ACEOF
3230 This file contains any messages produced by compilers while
3231 running configure, to aid debugging if configure makes a mistake.
3233 It was created by Wine $as_me 9.11, which was
3234 generated by GNU Autoconf 2.71. Invocation command line was
3236 $ $0$ac_configure_args_raw
3238 _ACEOF
3239 exec 5>>config.log
3241 cat <<_ASUNAME
3242 ## --------- ##
3243 ## Platform. ##
3244 ## --------- ##
3246 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3247 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3248 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3249 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3250 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3252 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3253 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3255 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3256 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3257 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3258 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3259 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3260 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3261 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3263 _ASUNAME
3265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3266 for as_dir in $PATH
3268 IFS=$as_save_IFS
3269 case $as_dir in #(((
3270 '') as_dir=./ ;;
3271 */) ;;
3272 *) as_dir=$as_dir/ ;;
3273 esac
3274 printf "%s\n" "PATH: $as_dir"
3275 done
3276 IFS=$as_save_IFS
3278 } >&5
3280 cat >&5 <<_ACEOF
3283 ## ----------- ##
3284 ## Core tests. ##
3285 ## ----------- ##
3287 _ACEOF
3290 # Keep a trace of the command line.
3291 # Strip out --no-create and --no-recursion so they do not pile up.
3292 # Strip out --silent because we don't want to record it for future runs.
3293 # Also quote any args containing shell meta-characters.
3294 # Make two passes to allow for proper duplicate-argument suppression.
3295 ac_configure_args=
3296 ac_configure_args0=
3297 ac_configure_args1=
3298 ac_must_keep_next=false
3299 for ac_pass in 1 2
3301 for ac_arg
3303 case $ac_arg in
3304 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3305 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3306 | -silent | --silent | --silen | --sile | --sil)
3307 continue ;;
3308 *\'*)
3309 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3310 esac
3311 case $ac_pass in
3312 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3314 as_fn_append ac_configure_args1 " '$ac_arg'"
3315 if test $ac_must_keep_next = true; then
3316 ac_must_keep_next=false # Got value, back to normal.
3317 else
3318 case $ac_arg in
3319 *=* | --config-cache | -C | -disable-* | --disable-* \
3320 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3321 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3322 | -with-* | --with-* | -without-* | --without-* | --x)
3323 case "$ac_configure_args0 " in
3324 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3325 esac
3327 -* ) ac_must_keep_next=true ;;
3328 esac
3330 as_fn_append ac_configure_args " '$ac_arg'"
3332 esac
3333 done
3334 done
3335 { ac_configure_args0=; unset ac_configure_args0;}
3336 { ac_configure_args1=; unset ac_configure_args1;}
3338 # When interrupted or exit'd, cleanup temporary files, and complete
3339 # config.log. We remove comments because anyway the quotes in there
3340 # would cause problems or look ugly.
3341 # WARNING: Use '\'' to represent an apostrophe within the trap.
3342 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3343 trap 'exit_status=$?
3344 # Sanitize IFS.
3345 IFS=" "" $as_nl"
3346 # Save into config.log some information that might help in debugging.
3348 echo
3350 printf "%s\n" "## ---------------- ##
3351 ## Cache variables. ##
3352 ## ---------------- ##"
3353 echo
3354 # The following way of writing the cache mishandles newlines in values,
3356 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3357 eval ac_val=\$$ac_var
3358 case $ac_val in #(
3359 *${as_nl}*)
3360 case $ac_var in #(
3361 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3362 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3363 esac
3364 case $ac_var in #(
3365 _ | IFS | as_nl) ;; #(
3366 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3367 *) { eval $ac_var=; unset $ac_var;} ;;
3368 esac ;;
3369 esac
3370 done
3371 (set) 2>&1 |
3372 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3373 *${as_nl}ac_space=\ *)
3374 sed -n \
3375 "s/'\''/'\''\\\\'\'''\''/g;
3376 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3377 ;; #(
3379 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3381 esac |
3382 sort
3384 echo
3386 printf "%s\n" "## ----------------- ##
3387 ## Output variables. ##
3388 ## ----------------- ##"
3389 echo
3390 for ac_var in $ac_subst_vars
3392 eval ac_val=\$$ac_var
3393 case $ac_val in
3394 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3395 esac
3396 printf "%s\n" "$ac_var='\''$ac_val'\''"
3397 done | sort
3398 echo
3400 if test -n "$ac_subst_files"; then
3401 printf "%s\n" "## ------------------- ##
3402 ## File substitutions. ##
3403 ## ------------------- ##"
3404 echo
3405 for ac_var in $ac_subst_files
3407 eval ac_val=\$$ac_var
3408 case $ac_val in
3409 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3410 esac
3411 printf "%s\n" "$ac_var='\''$ac_val'\''"
3412 done | sort
3413 echo
3416 if test -s confdefs.h; then
3417 printf "%s\n" "## ----------- ##
3418 ## confdefs.h. ##
3419 ## ----------- ##"
3420 echo
3421 cat confdefs.h
3422 echo
3424 test "$ac_signal" != 0 &&
3425 printf "%s\n" "$as_me: caught signal $ac_signal"
3426 printf "%s\n" "$as_me: exit $exit_status"
3427 } >&5
3428 rm -f core *.core core.conftest.* &&
3429 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3430 exit $exit_status
3432 for ac_signal in 1 2 13 15; do
3433 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3434 done
3435 ac_signal=0
3437 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3438 rm -f -r conftest* confdefs.h
3440 printf "%s\n" "/* confdefs.h */" > confdefs.h
3442 # Predefined preprocessor variables.
3444 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3446 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3448 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3450 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3452 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3454 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3457 # Let the site file select an alternate cache file if it wants to.
3458 # Prefer an explicitly selected file to automatically selected ones.
3459 if test -n "$CONFIG_SITE"; then
3460 ac_site_files="$CONFIG_SITE"
3461 elif test "x$prefix" != xNONE; then
3462 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3463 else
3464 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3467 for ac_site_file in $ac_site_files
3469 case $ac_site_file in #(
3470 */*) :
3471 ;; #(
3472 *) :
3473 ac_site_file=./$ac_site_file ;;
3474 esac
3475 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3477 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3478 sed 's/^/| /' "$ac_site_file" >&5
3479 . "$ac_site_file" \
3480 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3481 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3482 as_fn_error $? "failed to load site script $ac_site_file
3483 See \`config.log' for more details" "$LINENO" 5; }
3485 done
3487 if test -r "$cache_file"; then
3488 # Some versions of bash will fail to source /dev/null (special files
3489 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3490 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3492 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3493 case $cache_file in
3494 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3495 *) . "./$cache_file";;
3496 esac
3498 else
3499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3500 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3501 >$cache_file
3504 # Test code for whether the C compiler supports C89 (global declarations)
3505 ac_c_conftest_c89_globals='
3506 /* Does the compiler advertise C89 conformance?
3507 Do not test the value of __STDC__, because some compilers set it to 0
3508 while being otherwise adequately conformant. */
3509 #if !defined __STDC__
3510 # error "Compiler does not advertise C89 conformance"
3511 #endif
3513 #include <stddef.h>
3514 #include <stdarg.h>
3515 struct stat;
3516 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3517 struct buf { int x; };
3518 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3519 static char *e (p, i)
3520 char **p;
3521 int i;
3523 return p[i];
3525 static char *f (char * (*g) (char **, int), char **p, ...)
3527 char *s;
3528 va_list v;
3529 va_start (v,p);
3530 s = g (p, va_arg (v,int));
3531 va_end (v);
3532 return s;
3535 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3536 function prototypes and stuff, but not \xHH hex character constants.
3537 These do not provoke an error unfortunately, instead are silently treated
3538 as an "x". The following induces an error, until -std is added to get
3539 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3540 array size at least. It is necessary to write \x00 == 0 to get something
3541 that is true only with -std. */
3542 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3544 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3545 inside strings and character constants. */
3546 #define FOO(x) '\''x'\''
3547 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3549 int test (int i, double x);
3550 struct s1 {int (*f) (int a);};
3551 struct s2 {int (*f) (double a);};
3552 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3553 int, int);'
3555 # Test code for whether the C compiler supports C89 (body of main).
3556 ac_c_conftest_c89_main='
3557 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3560 # Test code for whether the C compiler supports C99 (global declarations)
3561 ac_c_conftest_c99_globals='
3562 // Does the compiler advertise C99 conformance?
3563 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3564 # error "Compiler does not advertise C99 conformance"
3565 #endif
3567 #include <stdbool.h>
3568 extern int puts (const char *);
3569 extern int printf (const char *, ...);
3570 extern int dprintf (int, const char *, ...);
3571 extern void *malloc (size_t);
3573 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3574 // dprintf is used instead of fprintf to avoid needing to declare
3575 // FILE and stderr.
3576 #define debug(...) dprintf (2, __VA_ARGS__)
3577 #define showlist(...) puts (#__VA_ARGS__)
3578 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3579 static void
3580 test_varargs_macros (void)
3582 int x = 1234;
3583 int y = 5678;
3584 debug ("Flag");
3585 debug ("X = %d\n", x);
3586 showlist (The first, second, and third items.);
3587 report (x>y, "x is %d but y is %d", x, y);
3590 // Check long long types.
3591 #define BIG64 18446744073709551615ull
3592 #define BIG32 4294967295ul
3593 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3594 #if !BIG_OK
3595 #error "your preprocessor is broken"
3596 #endif
3597 #if BIG_OK
3598 #else
3599 #error "your preprocessor is broken"
3600 #endif
3601 static long long int bignum = -9223372036854775807LL;
3602 static unsigned long long int ubignum = BIG64;
3604 struct incomplete_array
3606 int datasize;
3607 double data[];
3610 struct named_init {
3611 int number;
3612 const wchar_t *name;
3613 double average;
3616 typedef const char *ccp;
3618 static inline int
3619 test_restrict (ccp restrict text)
3621 // See if C++-style comments work.
3622 // Iterate through items via the restricted pointer.
3623 // Also check for declarations in for loops.
3624 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3625 continue;
3626 return 0;
3629 // Check varargs and va_copy.
3630 static bool
3631 test_varargs (const char *format, ...)
3633 va_list args;
3634 va_start (args, format);
3635 va_list args_copy;
3636 va_copy (args_copy, args);
3638 const char *str = "";
3639 int number = 0;
3640 float fnumber = 0;
3642 while (*format)
3644 switch (*format++)
3646 case '\''s'\'': // string
3647 str = va_arg (args_copy, const char *);
3648 break;
3649 case '\''d'\'': // int
3650 number = va_arg (args_copy, int);
3651 break;
3652 case '\''f'\'': // float
3653 fnumber = va_arg (args_copy, double);
3654 break;
3655 default:
3656 break;
3659 va_end (args_copy);
3660 va_end (args);
3662 return *str && number && fnumber;
3666 # Test code for whether the C compiler supports C99 (body of main).
3667 ac_c_conftest_c99_main='
3668 // Check bool.
3669 _Bool success = false;
3670 success |= (argc != 0);
3672 // Check restrict.
3673 if (test_restrict ("String literal") == 0)
3674 success = true;
3675 char *restrict newvar = "Another string";
3677 // Check varargs.
3678 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3679 test_varargs_macros ();
3681 // Check flexible array members.
3682 struct incomplete_array *ia =
3683 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3684 ia->datasize = 10;
3685 for (int i = 0; i < ia->datasize; ++i)
3686 ia->data[i] = i * 1.234;
3688 // Check named initializers.
3689 struct named_init ni = {
3690 .number = 34,
3691 .name = L"Test wide string",
3692 .average = 543.34343,
3695 ni.number = 58;
3697 int dynamic_array[ni.number];
3698 dynamic_array[0] = argv[0][0];
3699 dynamic_array[ni.number - 1] = 543;
3701 // work around unused variable warnings
3702 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3703 || dynamic_array[ni.number - 1] != 543);
3706 # Test code for whether the C compiler supports C11 (global declarations)
3707 ac_c_conftest_c11_globals='
3708 // Does the compiler advertise C11 conformance?
3709 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3710 # error "Compiler does not advertise C11 conformance"
3711 #endif
3713 // Check _Alignas.
3714 char _Alignas (double) aligned_as_double;
3715 char _Alignas (0) no_special_alignment;
3716 extern char aligned_as_int;
3717 char _Alignas (0) _Alignas (int) aligned_as_int;
3719 // Check _Alignof.
3720 enum
3722 int_alignment = _Alignof (int),
3723 int_array_alignment = _Alignof (int[100]),
3724 char_alignment = _Alignof (char)
3726 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3728 // Check _Noreturn.
3729 int _Noreturn does_not_return (void) { for (;;) continue; }
3731 // Check _Static_assert.
3732 struct test_static_assert
3734 int x;
3735 _Static_assert (sizeof (int) <= sizeof (long int),
3736 "_Static_assert does not work in struct");
3737 long int y;
3740 // Check UTF-8 literals.
3741 #define u8 syntax error!
3742 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3744 // Check duplicate typedefs.
3745 typedef long *long_ptr;
3746 typedef long int *long_ptr;
3747 typedef long_ptr long_ptr;
3749 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3750 struct anonymous
3752 union {
3753 struct { int i; int j; };
3754 struct { int k; long int l; } w;
3756 int m;
3757 } v1;
3760 # Test code for whether the C compiler supports C11 (body of main).
3761 ac_c_conftest_c11_main='
3762 _Static_assert ((offsetof (struct anonymous, i)
3763 == offsetof (struct anonymous, w.k)),
3764 "Anonymous union alignment botch");
3765 v1.i = 2;
3766 v1.w.k = 5;
3767 ok |= v1.i != 5;
3770 # Test code for whether the C compiler supports C11 (complete).
3771 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3772 ${ac_c_conftest_c99_globals}
3773 ${ac_c_conftest_c11_globals}
3776 main (int argc, char **argv)
3778 int ok = 0;
3779 ${ac_c_conftest_c89_main}
3780 ${ac_c_conftest_c99_main}
3781 ${ac_c_conftest_c11_main}
3782 return ok;
3786 # Test code for whether the C compiler supports C99 (complete).
3787 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3788 ${ac_c_conftest_c99_globals}
3791 main (int argc, char **argv)
3793 int ok = 0;
3794 ${ac_c_conftest_c89_main}
3795 ${ac_c_conftest_c99_main}
3796 return ok;
3800 # Test code for whether the C compiler supports C89 (complete).
3801 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3804 main (int argc, char **argv)
3806 int ok = 0;
3807 ${ac_c_conftest_c89_main}
3808 return ok;
3812 # Test code for whether the C++ compiler supports C++98 (global declarations)
3813 ac_cxx_conftest_cxx98_globals='
3814 // Does the compiler advertise C++98 conformance?
3815 #if !defined __cplusplus || __cplusplus < 199711L
3816 # error "Compiler does not advertise C++98 conformance"
3817 #endif
3819 // These inclusions are to reject old compilers that
3820 // lack the unsuffixed header files.
3821 #include <cstdlib>
3822 #include <exception>
3824 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3825 extern void assert (int);
3826 namespace std {
3827 extern int strcmp (const char *, const char *);
3830 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3831 using std::exception;
3832 using std::strcmp;
3834 namespace {
3836 void test_exception_syntax()
3838 try {
3839 throw "test";
3840 } catch (const char *s) {
3841 // Extra parentheses suppress a warning when building autoconf itself,
3842 // due to lint rules shared with more typical C programs.
3843 assert (!(strcmp) (s, "test"));
3847 template <typename T> struct test_template
3849 T const val;
3850 explicit test_template(T t) : val(t) {}
3851 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3854 } // anonymous namespace
3857 # Test code for whether the C++ compiler supports C++98 (body of main)
3858 ac_cxx_conftest_cxx98_main='
3859 assert (argc);
3860 assert (! argv[0]);
3862 test_exception_syntax ();
3863 test_template<double> tt (2.0);
3864 assert (tt.add (4) == 6.0);
3865 assert (true && !false);
3869 # Test code for whether the C++ compiler supports C++11 (global declarations)
3870 ac_cxx_conftest_cxx11_globals='
3871 // Does the compiler advertise C++ 2011 conformance?
3872 #if !defined __cplusplus || __cplusplus < 201103L
3873 # error "Compiler does not advertise C++11 conformance"
3874 #endif
3876 namespace cxx11test
3878 constexpr int get_val() { return 20; }
3880 struct testinit
3882 int i;
3883 double d;
3886 class delegate
3888 public:
3889 delegate(int n) : n(n) {}
3890 delegate(): delegate(2354) {}
3892 virtual int getval() { return this->n; };
3893 protected:
3894 int n;
3897 class overridden : public delegate
3899 public:
3900 overridden(int n): delegate(n) {}
3901 virtual int getval() override final { return this->n * 2; }
3904 class nocopy
3906 public:
3907 nocopy(int i): i(i) {}
3908 nocopy() = default;
3909 nocopy(const nocopy&) = delete;
3910 nocopy & operator=(const nocopy&) = delete;
3911 private:
3912 int i;
3915 // for testing lambda expressions
3916 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3918 return f(v);
3921 // for testing variadic templates and trailing return types
3922 template <typename V> auto sum(V first) -> V
3924 return first;
3926 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3928 return first + sum(rest...);
3933 # Test code for whether the C++ compiler supports C++11 (body of main)
3934 ac_cxx_conftest_cxx11_main='
3936 // Test auto and decltype
3937 auto a1 = 6538;
3938 auto a2 = 48573953.4;
3939 auto a3 = "String literal";
3941 int total = 0;
3942 for (auto i = a3; *i; ++i) { total += *i; }
3944 decltype(a2) a4 = 34895.034;
3947 // Test constexpr
3948 short sa[cxx11test::get_val()] = { 0 };
3951 // Test initializer lists
3952 cxx11test::testinit il = { 4323, 435234.23544 };
3955 // Test range-based for
3956 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3957 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3958 for (auto &x : array) { x += 23; }
3961 // Test lambda expressions
3962 using cxx11test::eval;
3963 assert (eval ([](int x) { return x*2; }, 21) == 42);
3964 double d = 2.0;
3965 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3966 assert (d == 5.0);
3967 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3968 assert (d == 5.0);
3971 // Test use of variadic templates
3972 using cxx11test::sum;
3973 auto a = sum(1);
3974 auto b = sum(1, 2);
3975 auto c = sum(1.0, 2.0, 3.0);
3978 // Test constructor delegation
3979 cxx11test::delegate d1;
3980 cxx11test::delegate d2();
3981 cxx11test::delegate d3(45);
3984 // Test override and final
3985 cxx11test::overridden o1(55464);
3988 // Test nullptr
3989 char *c = nullptr;
3992 // Test template brackets
3993 test_template<::test_template<int>> v(test_template<int>(12));
3996 // Unicode literals
3997 char const *utf8 = u8"UTF-8 string \u2500";
3998 char16_t const *utf16 = u"UTF-8 string \u2500";
3999 char32_t const *utf32 = U"UTF-32 string \u2500";
4003 # Test code for whether the C compiler supports C++11 (complete).
4004 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
4005 ${ac_cxx_conftest_cxx11_globals}
4008 main (int argc, char **argv)
4010 int ok = 0;
4011 ${ac_cxx_conftest_cxx98_main}
4012 ${ac_cxx_conftest_cxx11_main}
4013 return ok;
4017 # Test code for whether the C compiler supports C++98 (complete).
4018 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4020 main (int argc, char **argv)
4022 int ok = 0;
4023 ${ac_cxx_conftest_cxx98_main}
4024 return ok;
4028 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4029 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4030 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4031 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4032 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4033 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4034 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4035 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4036 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4038 # Auxiliary files required by this configure script.
4039 ac_aux_files="config.guess config.sub"
4041 # Locations in which to look for auxiliary files.
4042 ac_aux_dir_candidates="${srcdir}/tools"
4044 # Search for a directory containing all of the required auxiliary files,
4045 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4046 # If we don't find one directory that contains all the files we need,
4047 # we report the set of missing files from the *first* directory in
4048 # $ac_aux_dir_candidates and give up.
4049 ac_missing_aux_files=""
4050 ac_first_candidate=:
4051 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4053 as_found=false
4054 for as_dir in $ac_aux_dir_candidates
4056 IFS=$as_save_IFS
4057 case $as_dir in #(((
4058 '') as_dir=./ ;;
4059 */) ;;
4060 *) as_dir=$as_dir/ ;;
4061 esac
4062 as_found=:
4064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4065 ac_aux_dir_found=yes
4066 ac_install_sh=
4067 for ac_aux in $ac_aux_files
4069 # As a special case, if "install-sh" is required, that requirement
4070 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4071 # and $ac_install_sh is set appropriately for whichever one is found.
4072 if test x"$ac_aux" = x"install-sh"
4073 then
4074 if test -f "${as_dir}install-sh"; then
4075 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4076 ac_install_sh="${as_dir}install-sh -c"
4077 elif test -f "${as_dir}install.sh"; then
4078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4079 ac_install_sh="${as_dir}install.sh -c"
4080 elif test -f "${as_dir}shtool"; then
4081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4082 ac_install_sh="${as_dir}shtool install -c"
4083 else
4084 ac_aux_dir_found=no
4085 if $ac_first_candidate; then
4086 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4087 else
4088 break
4091 else
4092 if test -f "${as_dir}${ac_aux}"; then
4093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4094 else
4095 ac_aux_dir_found=no
4096 if $ac_first_candidate; then
4097 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4098 else
4099 break
4103 done
4104 if test "$ac_aux_dir_found" = yes; then
4105 ac_aux_dir="$as_dir"
4106 break
4108 ac_first_candidate=false
4110 as_found=false
4111 done
4112 IFS=$as_save_IFS
4113 if $as_found
4114 then :
4116 else $as_nop
4117 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4121 # These three variables are undocumented and unsupported,
4122 # and are intended to be withdrawn in a future Autoconf release.
4123 # They can cause serious problems if a builder's source tree is in a directory
4124 # whose full name contains unusual characters.
4125 if test -f "${ac_aux_dir}config.guess"; then
4126 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4128 if test -f "${ac_aux_dir}config.sub"; then
4129 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4131 if test -f "$ac_aux_dir/configure"; then
4132 ac_configure="$SHELL ${ac_aux_dir}configure"
4135 # Check that the precious variables saved in the cache have kept the same
4136 # value.
4137 ac_cache_corrupted=false
4138 for ac_var in $ac_precious_vars; do
4139 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4140 eval ac_new_set=\$ac_env_${ac_var}_set
4141 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4142 eval ac_new_val=\$ac_env_${ac_var}_value
4143 case $ac_old_set,$ac_new_set in
4144 set,)
4145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4146 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4147 ac_cache_corrupted=: ;;
4148 ,set)
4149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4150 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4151 ac_cache_corrupted=: ;;
4152 ,);;
4154 if test "x$ac_old_val" != "x$ac_new_val"; then
4155 # differences in whitespace do not lead to failure.
4156 ac_old_val_w=`echo x $ac_old_val`
4157 ac_new_val_w=`echo x $ac_new_val`
4158 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4160 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4161 ac_cache_corrupted=:
4162 else
4163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4164 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4165 eval $ac_var=\$ac_old_val
4167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4168 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4170 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4171 fi;;
4172 esac
4173 # Pass precious variables to config.status.
4174 if test "$ac_new_set" = set; then
4175 case $ac_new_val in
4176 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4177 *) ac_arg=$ac_var=$ac_new_val ;;
4178 esac
4179 case " $ac_configure_args " in
4180 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4181 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4182 esac
4184 done
4185 if $ac_cache_corrupted; then
4186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4187 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4189 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4190 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4191 and start over" "$LINENO" 5
4193 ## -------------------- ##
4194 ## Main body of script. ##
4195 ## -------------------- ##
4197 ac_ext=c
4198 ac_cpp='$CPP $CPPFLAGS'
4199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4205 ac_config_headers="$ac_config_headers include/config.h"
4209 libwine_version="1.0"
4212 # Check whether --enable-archs was given.
4213 if test ${enable_archs+y}
4214 then :
4215 enableval=$enable_archs;
4218 # Check whether --enable-win16 was given.
4219 if test ${enable_win16+y}
4220 then :
4221 enableval=$enable_win16;
4224 # Check whether --enable-win64 was given.
4225 if test ${enable_win64+y}
4226 then :
4227 enableval=$enable_win64;
4230 # Check whether --enable-tests was given.
4231 if test ${enable_tests+y}
4232 then :
4233 enableval=$enable_tests;
4236 # Check whether --enable-build-id was given.
4237 if test ${enable_build_id+y}
4238 then :
4239 enableval=$enable_build_id;
4242 # Check whether --enable-maintainer-mode was given.
4243 if test ${enable_maintainer_mode+y}
4244 then :
4245 enableval=$enable_maintainer_mode;
4248 # Check whether --enable-silent-rules was given.
4249 if test ${enable_silent_rules+y}
4250 then :
4251 enableval=$enable_silent_rules;
4254 # Check whether --enable-werror was given.
4255 if test ${enable_werror+y}
4256 then :
4257 enableval=$enable_werror;
4262 # Check whether --with-alsa was given.
4263 if test ${with_alsa+y}
4264 then :
4265 withval=$with_alsa;
4269 # Check whether --with-capi was given.
4270 if test ${with_capi+y}
4271 then :
4272 withval=$with_capi;
4276 # Check whether --with-coreaudio was given.
4277 if test ${with_coreaudio+y}
4278 then :
4279 withval=$with_coreaudio;
4283 # Check whether --with-cups was given.
4284 if test ${with_cups+y}
4285 then :
4286 withval=$with_cups;
4290 # Check whether --with-dbus was given.
4291 if test ${with_dbus+y}
4292 then :
4293 withval=$with_dbus;
4297 # Check whether --with-fontconfig was given.
4298 if test ${with_fontconfig+y}
4299 then :
4300 withval=$with_fontconfig;
4304 # Check whether --with-freetype was given.
4305 if test ${with_freetype+y}
4306 then :
4307 withval=$with_freetype;
4311 # Check whether --with-gettext was given.
4312 if test ${with_gettext+y}
4313 then :
4314 withval=$with_gettext;
4318 # Check whether --with-gettextpo was given.
4319 if test ${with_gettextpo+y}
4320 then :
4321 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4325 # Check whether --with-gphoto was given.
4326 if test ${with_gphoto+y}
4327 then :
4328 withval=$with_gphoto;
4332 # Check whether --with-gnutls was given.
4333 if test ${with_gnutls+y}
4334 then :
4335 withval=$with_gnutls;
4339 # Check whether --with-gssapi was given.
4340 if test ${with_gssapi+y}
4341 then :
4342 withval=$with_gssapi;
4346 # Check whether --with-gstreamer was given.
4347 if test ${with_gstreamer+y}
4348 then :
4349 withval=$with_gstreamer;
4353 # Check whether --with-inotify was given.
4354 if test ${with_inotify+y}
4355 then :
4356 withval=$with_inotify;
4360 # Check whether --with-krb5 was given.
4361 if test ${with_krb5+y}
4362 then :
4363 withval=$with_krb5;
4367 # Check whether --with-mingw was given.
4368 if test ${with_mingw+y}
4369 then :
4370 withval=$with_mingw;
4374 # Check whether --with-netapi was given.
4375 if test ${with_netapi+y}
4376 then :
4377 withval=$with_netapi;
4381 # Check whether --with-odbc was given.
4382 if test ${with_odbc+y}
4383 then :
4384 withval=$with_odbc;
4388 # Check whether --with-opencl was given.
4389 if test ${with_opencl+y}
4390 then :
4391 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4395 # Check whether --with-opengl was given.
4396 if test ${with_opengl+y}
4397 then :
4398 withval=$with_opengl;
4402 # Check whether --with-osmesa was given.
4403 if test ${with_osmesa+y}
4404 then :
4405 withval=$with_osmesa;
4409 # Check whether --with-oss was given.
4410 if test ${with_oss+y}
4411 then :
4412 withval=$with_oss;
4416 # Check whether --with-pcap was given.
4417 if test ${with_pcap+y}
4418 then :
4419 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4423 # Check whether --with-pcsclite was given.
4424 if test ${with_pcsclite+y}
4425 then :
4426 withval=$with_pcsclite;
4430 # Check whether --with-pthread was given.
4431 if test ${with_pthread+y}
4432 then :
4433 withval=$with_pthread;
4437 # Check whether --with-pulse was given.
4438 if test ${with_pulse+y}
4439 then :
4440 withval=$with_pulse;
4444 # Check whether --with-sane was given.
4445 if test ${with_sane+y}
4446 then :
4447 withval=$with_sane;
4451 # Check whether --with-sdl was given.
4452 if test ${with_sdl+y}
4453 then :
4454 withval=$with_sdl;
4458 # Check whether --with-udev was given.
4459 if test ${with_udev+y}
4460 then :
4461 withval=$with_udev;
4465 # Check whether --with-unwind was given.
4466 if test ${with_unwind+y}
4467 then :
4468 withval=$with_unwind;
4472 # Check whether --with-usb was given.
4473 if test ${with_usb+y}
4474 then :
4475 withval=$with_usb;
4479 # Check whether --with-v4l2 was given.
4480 if test ${with_v4l2+y}
4481 then :
4482 withval=$with_v4l2;
4486 # Check whether --with-vulkan was given.
4487 if test ${with_vulkan+y}
4488 then :
4489 withval=$with_vulkan;
4493 # Check whether --with-wayland was given.
4494 if test ${with_wayland+y}
4495 then :
4496 withval=$with_wayland;
4500 # Check whether --with-xcomposite was given.
4501 if test ${with_xcomposite+y}
4502 then :
4503 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4507 # Check whether --with-xcursor was given.
4508 if test ${with_xcursor+y}
4509 then :
4510 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4514 # Check whether --with-xfixes was given.
4515 if test ${with_xfixes+y}
4516 then :
4517 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4521 # Check whether --with-xinerama was given.
4522 if test ${with_xinerama+y}
4523 then :
4524 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4528 # Check whether --with-xinput was given.
4529 if test ${with_xinput+y}
4530 then :
4531 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4535 # Check whether --with-xinput2 was given.
4536 if test ${with_xinput2+y}
4537 then :
4538 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4542 # Check whether --with-xrandr was given.
4543 if test ${with_xrandr+y}
4544 then :
4545 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4549 # Check whether --with-xrender was given.
4550 if test ${with_xrender+y}
4551 then :
4552 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4556 # Check whether --with-xshape was given.
4557 if test ${with_xshape+y}
4558 then :
4559 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4563 # Check whether --with-xshm was given.
4564 if test ${with_xshm+y}
4565 then :
4566 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4570 # Check whether --with-xxf86vm was given.
4571 if test ${with_xxf86vm+y}
4572 then :
4573 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
4578 # Check whether --with-system-dllpath was given.
4579 if test ${with_system_dllpath+y}
4580 then :
4581 withval=$with_system_dllpath; system_dllpath=$withval
4586 # Check whether --with-wine-tools was given.
4587 if test ${with_wine_tools+y}
4588 then :
4589 withval=$with_wine_tools;
4593 # Check whether --with-wine64 was given.
4594 if test ${with_wine64+y}
4595 then :
4596 withval=$with_wine64;
4603 # Make sure we can run config.sub.
4604 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4605 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4608 printf %s "checking build system type... " >&6; }
4609 if test ${ac_cv_build+y}
4610 then :
4611 printf %s "(cached) " >&6
4612 else $as_nop
4613 ac_build_alias=$build_alias
4614 test "x$ac_build_alias" = x &&
4615 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4616 test "x$ac_build_alias" = x &&
4617 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4618 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4619 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4623 printf "%s\n" "$ac_cv_build" >&6; }
4624 case $ac_cv_build in
4625 *-*-*) ;;
4626 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4627 esac
4628 build=$ac_cv_build
4629 ac_save_IFS=$IFS; IFS='-'
4630 set x $ac_cv_build
4631 shift
4632 build_cpu=$1
4633 build_vendor=$2
4634 shift; shift
4635 # Remember, the first character of IFS is used to create $*,
4636 # except with old shells:
4637 build_os=$*
4638 IFS=$ac_save_IFS
4639 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4643 printf %s "checking host system type... " >&6; }
4644 if test ${ac_cv_host+y}
4645 then :
4646 printf %s "(cached) " >&6
4647 else $as_nop
4648 if test "x$host_alias" = x; then
4649 ac_cv_host=$ac_cv_build
4650 else
4651 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4652 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4657 printf "%s\n" "$ac_cv_host" >&6; }
4658 case $ac_cv_host in
4659 *-*-*) ;;
4660 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4661 esac
4662 host=$ac_cv_host
4663 ac_save_IFS=$IFS; IFS='-'
4664 set x $ac_cv_host
4665 shift
4666 host_cpu=$1
4667 host_vendor=$2
4668 shift; shift
4669 # Remember, the first character of IFS is used to create $*,
4670 # except with old shells:
4671 host_os=$*
4672 IFS=$ac_save_IFS
4673 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4677 dlldir=\${libdir}/wine
4679 fontdir=\${datadir}/wine/fonts
4681 nlsdir=\${datadir}/wine/nls
4686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4687 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4688 set x ${MAKE-make}
4689 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4690 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4691 then :
4692 printf %s "(cached) " >&6
4693 else $as_nop
4694 cat >conftest.make <<\_ACEOF
4695 SHELL = /bin/sh
4696 all:
4697 @echo '@@@%%%=$(MAKE)=@@@%%%'
4698 _ACEOF
4699 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4700 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4701 *@@@%%%=?*=@@@%%%*)
4702 eval ac_cv_prog_make_${ac_make}_set=yes;;
4704 eval ac_cv_prog_make_${ac_make}_set=no;;
4705 esac
4706 rm -f conftest.make
4708 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4710 printf "%s\n" "yes" >&6; }
4711 SET_MAKE=
4712 else
4713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4714 printf "%s\n" "no" >&6; }
4715 SET_MAKE="MAKE=${MAKE-make}"
4727 ac_ext=c
4728 ac_cpp='$CPP $CPPFLAGS'
4729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4732 if test -n "$ac_tool_prefix"; then
4733 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4734 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4736 printf %s "checking for $ac_word... " >&6; }
4737 if test ${ac_cv_prog_CC+y}
4738 then :
4739 printf %s "(cached) " >&6
4740 else $as_nop
4741 if test -n "$CC"; then
4742 ac_cv_prog_CC="$CC" # Let the user override the test.
4743 else
4744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4745 for as_dir in $PATH
4747 IFS=$as_save_IFS
4748 case $as_dir in #(((
4749 '') as_dir=./ ;;
4750 */) ;;
4751 *) as_dir=$as_dir/ ;;
4752 esac
4753 for ac_exec_ext in '' $ac_executable_extensions; do
4754 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4755 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4757 break 2
4759 done
4760 done
4761 IFS=$as_save_IFS
4765 CC=$ac_cv_prog_CC
4766 if test -n "$CC"; then
4767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4768 printf "%s\n" "$CC" >&6; }
4769 else
4770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4771 printf "%s\n" "no" >&6; }
4776 if test -z "$ac_cv_prog_CC"; then
4777 ac_ct_CC=$CC
4778 # Extract the first word of "gcc", so it can be a program name with args.
4779 set dummy gcc; ac_word=$2
4780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4781 printf %s "checking for $ac_word... " >&6; }
4782 if test ${ac_cv_prog_ac_ct_CC+y}
4783 then :
4784 printf %s "(cached) " >&6
4785 else $as_nop
4786 if test -n "$ac_ct_CC"; then
4787 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4788 else
4789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4790 for as_dir in $PATH
4792 IFS=$as_save_IFS
4793 case $as_dir in #(((
4794 '') as_dir=./ ;;
4795 */) ;;
4796 *) as_dir=$as_dir/ ;;
4797 esac
4798 for ac_exec_ext in '' $ac_executable_extensions; do
4799 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4800 ac_cv_prog_ac_ct_CC="gcc"
4801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4802 break 2
4804 done
4805 done
4806 IFS=$as_save_IFS
4810 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4811 if test -n "$ac_ct_CC"; then
4812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4813 printf "%s\n" "$ac_ct_CC" >&6; }
4814 else
4815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4816 printf "%s\n" "no" >&6; }
4819 if test "x$ac_ct_CC" = x; then
4820 CC=""
4821 else
4822 case $cross_compiling:$ac_tool_warned in
4823 yes:)
4824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4825 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4826 ac_tool_warned=yes ;;
4827 esac
4828 CC=$ac_ct_CC
4830 else
4831 CC="$ac_cv_prog_CC"
4834 if test -z "$CC"; then
4835 if test -n "$ac_tool_prefix"; then
4836 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4837 set dummy ${ac_tool_prefix}cc; ac_word=$2
4838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4839 printf %s "checking for $ac_word... " >&6; }
4840 if test ${ac_cv_prog_CC+y}
4841 then :
4842 printf %s "(cached) " >&6
4843 else $as_nop
4844 if test -n "$CC"; then
4845 ac_cv_prog_CC="$CC" # Let the user override the test.
4846 else
4847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4848 for as_dir in $PATH
4850 IFS=$as_save_IFS
4851 case $as_dir in #(((
4852 '') as_dir=./ ;;
4853 */) ;;
4854 *) as_dir=$as_dir/ ;;
4855 esac
4856 for ac_exec_ext in '' $ac_executable_extensions; do
4857 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4858 ac_cv_prog_CC="${ac_tool_prefix}cc"
4859 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4860 break 2
4862 done
4863 done
4864 IFS=$as_save_IFS
4868 CC=$ac_cv_prog_CC
4869 if test -n "$CC"; then
4870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4871 printf "%s\n" "$CC" >&6; }
4872 else
4873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4874 printf "%s\n" "no" >&6; }
4880 if test -z "$CC"; then
4881 # Extract the first word of "cc", so it can be a program name with args.
4882 set dummy cc; ac_word=$2
4883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4884 printf %s "checking for $ac_word... " >&6; }
4885 if test ${ac_cv_prog_CC+y}
4886 then :
4887 printf %s "(cached) " >&6
4888 else $as_nop
4889 if test -n "$CC"; then
4890 ac_cv_prog_CC="$CC" # Let the user override the test.
4891 else
4892 ac_prog_rejected=no
4893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4894 for as_dir in $PATH
4896 IFS=$as_save_IFS
4897 case $as_dir in #(((
4898 '') as_dir=./ ;;
4899 */) ;;
4900 *) as_dir=$as_dir/ ;;
4901 esac
4902 for ac_exec_ext in '' $ac_executable_extensions; do
4903 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4904 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4905 ac_prog_rejected=yes
4906 continue
4908 ac_cv_prog_CC="cc"
4909 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4910 break 2
4912 done
4913 done
4914 IFS=$as_save_IFS
4916 if test $ac_prog_rejected = yes; then
4917 # We found a bogon in the path, so make sure we never use it.
4918 set dummy $ac_cv_prog_CC
4919 shift
4920 if test $# != 0; then
4921 # We chose a different compiler from the bogus one.
4922 # However, it has the same basename, so the bogon will be chosen
4923 # first if we set CC to just the basename; use the full file name.
4924 shift
4925 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4930 CC=$ac_cv_prog_CC
4931 if test -n "$CC"; then
4932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4933 printf "%s\n" "$CC" >&6; }
4934 else
4935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 printf "%s\n" "no" >&6; }
4941 if test -z "$CC"; then
4942 if test -n "$ac_tool_prefix"; then
4943 for ac_prog in cl.exe
4945 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4946 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4948 printf %s "checking for $ac_word... " >&6; }
4949 if test ${ac_cv_prog_CC+y}
4950 then :
4951 printf %s "(cached) " >&6
4952 else $as_nop
4953 if test -n "$CC"; then
4954 ac_cv_prog_CC="$CC" # Let the user override the test.
4955 else
4956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4957 for as_dir in $PATH
4959 IFS=$as_save_IFS
4960 case $as_dir in #(((
4961 '') as_dir=./ ;;
4962 */) ;;
4963 *) as_dir=$as_dir/ ;;
4964 esac
4965 for ac_exec_ext in '' $ac_executable_extensions; do
4966 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4967 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4969 break 2
4971 done
4972 done
4973 IFS=$as_save_IFS
4977 CC=$ac_cv_prog_CC
4978 if test -n "$CC"; then
4979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4980 printf "%s\n" "$CC" >&6; }
4981 else
4982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 printf "%s\n" "no" >&6; }
4987 test -n "$CC" && break
4988 done
4990 if test -z "$CC"; then
4991 ac_ct_CC=$CC
4992 for ac_prog in cl.exe
4994 # Extract the first word of "$ac_prog", so it can be a program name with args.
4995 set dummy $ac_prog; ac_word=$2
4996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4997 printf %s "checking for $ac_word... " >&6; }
4998 if test ${ac_cv_prog_ac_ct_CC+y}
4999 then :
5000 printf %s "(cached) " >&6
5001 else $as_nop
5002 if test -n "$ac_ct_CC"; then
5003 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5004 else
5005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5006 for as_dir in $PATH
5008 IFS=$as_save_IFS
5009 case $as_dir in #(((
5010 '') as_dir=./ ;;
5011 */) ;;
5012 *) as_dir=$as_dir/ ;;
5013 esac
5014 for ac_exec_ext in '' $ac_executable_extensions; do
5015 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5016 ac_cv_prog_ac_ct_CC="$ac_prog"
5017 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5018 break 2
5020 done
5021 done
5022 IFS=$as_save_IFS
5026 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5027 if test -n "$ac_ct_CC"; then
5028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5029 printf "%s\n" "$ac_ct_CC" >&6; }
5030 else
5031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5032 printf "%s\n" "no" >&6; }
5036 test -n "$ac_ct_CC" && break
5037 done
5039 if test "x$ac_ct_CC" = x; then
5040 CC=""
5041 else
5042 case $cross_compiling:$ac_tool_warned in
5043 yes:)
5044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5045 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5046 ac_tool_warned=yes ;;
5047 esac
5048 CC=$ac_ct_CC
5053 if test -z "$CC"; then
5054 if test -n "$ac_tool_prefix"; then
5055 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5056 set dummy ${ac_tool_prefix}clang; ac_word=$2
5057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5058 printf %s "checking for $ac_word... " >&6; }
5059 if test ${ac_cv_prog_CC+y}
5060 then :
5061 printf %s "(cached) " >&6
5062 else $as_nop
5063 if test -n "$CC"; then
5064 ac_cv_prog_CC="$CC" # Let the user override the test.
5065 else
5066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5067 for as_dir in $PATH
5069 IFS=$as_save_IFS
5070 case $as_dir in #(((
5071 '') as_dir=./ ;;
5072 */) ;;
5073 *) as_dir=$as_dir/ ;;
5074 esac
5075 for ac_exec_ext in '' $ac_executable_extensions; do
5076 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5077 ac_cv_prog_CC="${ac_tool_prefix}clang"
5078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5079 break 2
5081 done
5082 done
5083 IFS=$as_save_IFS
5087 CC=$ac_cv_prog_CC
5088 if test -n "$CC"; then
5089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5090 printf "%s\n" "$CC" >&6; }
5091 else
5092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5093 printf "%s\n" "no" >&6; }
5098 if test -z "$ac_cv_prog_CC"; then
5099 ac_ct_CC=$CC
5100 # Extract the first word of "clang", so it can be a program name with args.
5101 set dummy clang; ac_word=$2
5102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5103 printf %s "checking for $ac_word... " >&6; }
5104 if test ${ac_cv_prog_ac_ct_CC+y}
5105 then :
5106 printf %s "(cached) " >&6
5107 else $as_nop
5108 if test -n "$ac_ct_CC"; then
5109 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5110 else
5111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5112 for as_dir in $PATH
5114 IFS=$as_save_IFS
5115 case $as_dir in #(((
5116 '') as_dir=./ ;;
5117 */) ;;
5118 *) as_dir=$as_dir/ ;;
5119 esac
5120 for ac_exec_ext in '' $ac_executable_extensions; do
5121 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5122 ac_cv_prog_ac_ct_CC="clang"
5123 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5124 break 2
5126 done
5127 done
5128 IFS=$as_save_IFS
5132 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5133 if test -n "$ac_ct_CC"; then
5134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5135 printf "%s\n" "$ac_ct_CC" >&6; }
5136 else
5137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 printf "%s\n" "no" >&6; }
5141 if test "x$ac_ct_CC" = x; then
5142 CC=""
5143 else
5144 case $cross_compiling:$ac_tool_warned in
5145 yes:)
5146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5147 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5148 ac_tool_warned=yes ;;
5149 esac
5150 CC=$ac_ct_CC
5152 else
5153 CC="$ac_cv_prog_CC"
5159 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5160 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5161 as_fn_error $? "no acceptable C compiler found in \$PATH
5162 See \`config.log' for more details" "$LINENO" 5; }
5164 # Provide some information about the compiler.
5165 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5166 set X $ac_compile
5167 ac_compiler=$2
5168 for ac_option in --version -v -V -qversion -version; do
5169 { { ac_try="$ac_compiler $ac_option >&5"
5170 case "(($ac_try" in
5171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5172 *) ac_try_echo=$ac_try;;
5173 esac
5174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5175 printf "%s\n" "$ac_try_echo"; } >&5
5176 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5177 ac_status=$?
5178 if test -s conftest.err; then
5179 sed '10a\
5180 ... rest of stderr output deleted ...
5181 10q' conftest.err >conftest.er1
5182 cat conftest.er1 >&5
5184 rm -f conftest.er1 conftest.err
5185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5186 test $ac_status = 0; }
5187 done
5189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5190 /* end confdefs.h. */
5193 main (void)
5197 return 0;
5199 _ACEOF
5200 ac_clean_files_save=$ac_clean_files
5201 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5202 # Try to create an executable without -o first, disregard a.out.
5203 # It will help us diagnose broken compilers, and finding out an intuition
5204 # of exeext.
5205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5206 printf %s "checking whether the C compiler works... " >&6; }
5207 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5209 # The possible output files:
5210 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5212 ac_rmfiles=
5213 for ac_file in $ac_files
5215 case $ac_file in
5216 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5217 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5218 esac
5219 done
5220 rm -f $ac_rmfiles
5222 if { { ac_try="$ac_link_default"
5223 case "(($ac_try" in
5224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5225 *) ac_try_echo=$ac_try;;
5226 esac
5227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5228 printf "%s\n" "$ac_try_echo"; } >&5
5229 (eval "$ac_link_default") 2>&5
5230 ac_status=$?
5231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5232 test $ac_status = 0; }
5233 then :
5234 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5235 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5236 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5237 # so that the user can short-circuit this test for compilers unknown to
5238 # Autoconf.
5239 for ac_file in $ac_files ''
5241 test -f "$ac_file" || continue
5242 case $ac_file in
5243 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5245 [ab].out )
5246 # We found the default executable, but exeext='' is most
5247 # certainly right.
5248 break;;
5249 *.* )
5250 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5251 then :; else
5252 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5254 # We set ac_cv_exeext here because the later test for it is not
5255 # safe: cross compilers may not add the suffix if given an `-o'
5256 # argument, so we may need to know it at that point already.
5257 # Even if this section looks crufty: it has the advantage of
5258 # actually working.
5259 break;;
5261 break;;
5262 esac
5263 done
5264 test "$ac_cv_exeext" = no && ac_cv_exeext=
5266 else $as_nop
5267 ac_file=''
5269 if test -z "$ac_file"
5270 then :
5271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5272 printf "%s\n" "no" >&6; }
5273 printf "%s\n" "$as_me: failed program was:" >&5
5274 sed 's/^/| /' conftest.$ac_ext >&5
5276 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5277 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5278 as_fn_error 77 "C compiler cannot create executables
5279 See \`config.log' for more details" "$LINENO" 5; }
5280 else $as_nop
5281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5282 printf "%s\n" "yes" >&6; }
5284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5285 printf %s "checking for C compiler default output file name... " >&6; }
5286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5287 printf "%s\n" "$ac_file" >&6; }
5288 ac_exeext=$ac_cv_exeext
5290 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5291 ac_clean_files=$ac_clean_files_save
5292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5293 printf %s "checking for suffix of executables... " >&6; }
5294 if { { ac_try="$ac_link"
5295 case "(($ac_try" in
5296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5297 *) ac_try_echo=$ac_try;;
5298 esac
5299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5300 printf "%s\n" "$ac_try_echo"; } >&5
5301 (eval "$ac_link") 2>&5
5302 ac_status=$?
5303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5304 test $ac_status = 0; }
5305 then :
5306 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5307 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5308 # work properly (i.e., refer to `conftest.exe'), while it won't with
5309 # `rm'.
5310 for ac_file in conftest.exe conftest conftest.*; do
5311 test -f "$ac_file" || continue
5312 case $ac_file in
5313 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5314 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5315 break;;
5316 * ) break;;
5317 esac
5318 done
5319 else $as_nop
5320 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5321 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5322 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5323 See \`config.log' for more details" "$LINENO" 5; }
5325 rm -f conftest conftest$ac_cv_exeext
5326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5327 printf "%s\n" "$ac_cv_exeext" >&6; }
5329 rm -f conftest.$ac_ext
5330 EXEEXT=$ac_cv_exeext
5331 ac_exeext=$EXEEXT
5332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5333 /* end confdefs.h. */
5334 #include <stdio.h>
5336 main (void)
5338 FILE *f = fopen ("conftest.out", "w");
5339 return ferror (f) || fclose (f) != 0;
5342 return 0;
5344 _ACEOF
5345 ac_clean_files="$ac_clean_files conftest.out"
5346 # Check that the compiler produces executables we can run. If not, either
5347 # the compiler is broken, or we cross compile.
5348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5349 printf %s "checking whether we are cross compiling... " >&6; }
5350 if test "$cross_compiling" != yes; then
5351 { { ac_try="$ac_link"
5352 case "(($ac_try" in
5353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5354 *) ac_try_echo=$ac_try;;
5355 esac
5356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5357 printf "%s\n" "$ac_try_echo"; } >&5
5358 (eval "$ac_link") 2>&5
5359 ac_status=$?
5360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5361 test $ac_status = 0; }
5362 if { ac_try='./conftest$ac_cv_exeext'
5363 { { case "(($ac_try" in
5364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5365 *) ac_try_echo=$ac_try;;
5366 esac
5367 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5368 printf "%s\n" "$ac_try_echo"; } >&5
5369 (eval "$ac_try") 2>&5
5370 ac_status=$?
5371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5372 test $ac_status = 0; }; }; then
5373 cross_compiling=no
5374 else
5375 if test "$cross_compiling" = maybe; then
5376 cross_compiling=yes
5377 else
5378 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5379 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5380 as_fn_error 77 "cannot run C compiled programs.
5381 If you meant to cross compile, use \`--host'.
5382 See \`config.log' for more details" "$LINENO" 5; }
5386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5387 printf "%s\n" "$cross_compiling" >&6; }
5389 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5390 ac_clean_files=$ac_clean_files_save
5391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5392 printf %s "checking for suffix of object files... " >&6; }
5393 if test ${ac_cv_objext+y}
5394 then :
5395 printf %s "(cached) " >&6
5396 else $as_nop
5397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5398 /* end confdefs.h. */
5401 main (void)
5405 return 0;
5407 _ACEOF
5408 rm -f conftest.o conftest.obj
5409 if { { ac_try="$ac_compile"
5410 case "(($ac_try" in
5411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5412 *) ac_try_echo=$ac_try;;
5413 esac
5414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5415 printf "%s\n" "$ac_try_echo"; } >&5
5416 (eval "$ac_compile") 2>&5
5417 ac_status=$?
5418 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5419 test $ac_status = 0; }
5420 then :
5421 for ac_file in conftest.o conftest.obj conftest.*; do
5422 test -f "$ac_file" || continue;
5423 case $ac_file in
5424 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5425 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5426 break;;
5427 esac
5428 done
5429 else $as_nop
5430 printf "%s\n" "$as_me: failed program was:" >&5
5431 sed 's/^/| /' conftest.$ac_ext >&5
5433 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5434 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5435 as_fn_error $? "cannot compute suffix of object files: cannot compile
5436 See \`config.log' for more details" "$LINENO" 5; }
5438 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5441 printf "%s\n" "$ac_cv_objext" >&6; }
5442 OBJEXT=$ac_cv_objext
5443 ac_objext=$OBJEXT
5444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5445 printf %s "checking whether the compiler supports GNU C... " >&6; }
5446 if test ${ac_cv_c_compiler_gnu+y}
5447 then :
5448 printf %s "(cached) " >&6
5449 else $as_nop
5450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5451 /* end confdefs.h. */
5454 main (void)
5456 #ifndef __GNUC__
5457 choke me
5458 #endif
5461 return 0;
5463 _ACEOF
5464 if ac_fn_c_try_compile "$LINENO"
5465 then :
5466 ac_compiler_gnu=yes
5467 else $as_nop
5468 ac_compiler_gnu=no
5470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5471 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5475 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5478 if test $ac_compiler_gnu = yes; then
5479 GCC=yes
5480 else
5481 GCC=
5483 ac_test_CFLAGS=${CFLAGS+y}
5484 ac_save_CFLAGS=$CFLAGS
5485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5486 printf %s "checking whether $CC accepts -g... " >&6; }
5487 if test ${ac_cv_prog_cc_g+y}
5488 then :
5489 printf %s "(cached) " >&6
5490 else $as_nop
5491 ac_save_c_werror_flag=$ac_c_werror_flag
5492 ac_c_werror_flag=yes
5493 ac_cv_prog_cc_g=no
5494 CFLAGS="-g"
5495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5496 /* end confdefs.h. */
5499 main (void)
5503 return 0;
5505 _ACEOF
5506 if ac_fn_c_try_compile "$LINENO"
5507 then :
5508 ac_cv_prog_cc_g=yes
5509 else $as_nop
5510 CFLAGS=""
5511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5512 /* end confdefs.h. */
5515 main (void)
5519 return 0;
5521 _ACEOF
5522 if ac_fn_c_try_compile "$LINENO"
5523 then :
5525 else $as_nop
5526 ac_c_werror_flag=$ac_save_c_werror_flag
5527 CFLAGS="-g"
5528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5529 /* end confdefs.h. */
5532 main (void)
5536 return 0;
5538 _ACEOF
5539 if ac_fn_c_try_compile "$LINENO"
5540 then :
5541 ac_cv_prog_cc_g=yes
5543 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5545 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5548 ac_c_werror_flag=$ac_save_c_werror_flag
5550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5551 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5552 if test $ac_test_CFLAGS; then
5553 CFLAGS=$ac_save_CFLAGS
5554 elif test $ac_cv_prog_cc_g = yes; then
5555 if test "$GCC" = yes; then
5556 CFLAGS="-g -O2"
5557 else
5558 CFLAGS="-g"
5560 else
5561 if test "$GCC" = yes; then
5562 CFLAGS="-O2"
5563 else
5564 CFLAGS=
5567 ac_prog_cc_stdc=no
5568 if test x$ac_prog_cc_stdc = xno
5569 then :
5570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5571 printf %s "checking for $CC option to enable C11 features... " >&6; }
5572 if test ${ac_cv_prog_cc_c11+y}
5573 then :
5574 printf %s "(cached) " >&6
5575 else $as_nop
5576 ac_cv_prog_cc_c11=no
5577 ac_save_CC=$CC
5578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5579 /* end confdefs.h. */
5580 $ac_c_conftest_c11_program
5581 _ACEOF
5582 for ac_arg in '' -std=gnu11
5584 CC="$ac_save_CC $ac_arg"
5585 if ac_fn_c_try_compile "$LINENO"
5586 then :
5587 ac_cv_prog_cc_c11=$ac_arg
5589 rm -f core conftest.err conftest.$ac_objext conftest.beam
5590 test "x$ac_cv_prog_cc_c11" != "xno" && break
5591 done
5592 rm -f conftest.$ac_ext
5593 CC=$ac_save_CC
5596 if test "x$ac_cv_prog_cc_c11" = xno
5597 then :
5598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5599 printf "%s\n" "unsupported" >&6; }
5600 else $as_nop
5601 if test "x$ac_cv_prog_cc_c11" = x
5602 then :
5603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5604 printf "%s\n" "none needed" >&6; }
5605 else $as_nop
5606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5607 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5608 CC="$CC $ac_cv_prog_cc_c11"
5610 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5611 ac_prog_cc_stdc=c11
5614 if test x$ac_prog_cc_stdc = xno
5615 then :
5616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5617 printf %s "checking for $CC option to enable C99 features... " >&6; }
5618 if test ${ac_cv_prog_cc_c99+y}
5619 then :
5620 printf %s "(cached) " >&6
5621 else $as_nop
5622 ac_cv_prog_cc_c99=no
5623 ac_save_CC=$CC
5624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5625 /* end confdefs.h. */
5626 $ac_c_conftest_c99_program
5627 _ACEOF
5628 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5630 CC="$ac_save_CC $ac_arg"
5631 if ac_fn_c_try_compile "$LINENO"
5632 then :
5633 ac_cv_prog_cc_c99=$ac_arg
5635 rm -f core conftest.err conftest.$ac_objext conftest.beam
5636 test "x$ac_cv_prog_cc_c99" != "xno" && break
5637 done
5638 rm -f conftest.$ac_ext
5639 CC=$ac_save_CC
5642 if test "x$ac_cv_prog_cc_c99" = xno
5643 then :
5644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5645 printf "%s\n" "unsupported" >&6; }
5646 else $as_nop
5647 if test "x$ac_cv_prog_cc_c99" = x
5648 then :
5649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5650 printf "%s\n" "none needed" >&6; }
5651 else $as_nop
5652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5653 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5654 CC="$CC $ac_cv_prog_cc_c99"
5656 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5657 ac_prog_cc_stdc=c99
5660 if test x$ac_prog_cc_stdc = xno
5661 then :
5662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5663 printf %s "checking for $CC option to enable C89 features... " >&6; }
5664 if test ${ac_cv_prog_cc_c89+y}
5665 then :
5666 printf %s "(cached) " >&6
5667 else $as_nop
5668 ac_cv_prog_cc_c89=no
5669 ac_save_CC=$CC
5670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5671 /* end confdefs.h. */
5672 $ac_c_conftest_c89_program
5673 _ACEOF
5674 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5676 CC="$ac_save_CC $ac_arg"
5677 if ac_fn_c_try_compile "$LINENO"
5678 then :
5679 ac_cv_prog_cc_c89=$ac_arg
5681 rm -f core conftest.err conftest.$ac_objext conftest.beam
5682 test "x$ac_cv_prog_cc_c89" != "xno" && break
5683 done
5684 rm -f conftest.$ac_ext
5685 CC=$ac_save_CC
5688 if test "x$ac_cv_prog_cc_c89" = xno
5689 then :
5690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5691 printf "%s\n" "unsupported" >&6; }
5692 else $as_nop
5693 if test "x$ac_cv_prog_cc_c89" = x
5694 then :
5695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5696 printf "%s\n" "none needed" >&6; }
5697 else $as_nop
5698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5699 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5700 CC="$CC $ac_cv_prog_cc_c89"
5702 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5703 ac_prog_cc_stdc=c89
5707 ac_ext=c
5708 ac_cpp='$CPP $CPPFLAGS'
5709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5719 ac_ext=cpp
5720 ac_cpp='$CXXCPP $CPPFLAGS'
5721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5724 if test -z "$CXX"; then
5725 if test -n "$CCC"; then
5726 CXX=$CCC
5727 else
5728 if test -n "$ac_tool_prefix"; then
5729 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5731 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5732 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5734 printf %s "checking for $ac_word... " >&6; }
5735 if test ${ac_cv_prog_CXX+y}
5736 then :
5737 printf %s "(cached) " >&6
5738 else $as_nop
5739 if test -n "$CXX"; then
5740 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5741 else
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 for as_dir in $PATH
5745 IFS=$as_save_IFS
5746 case $as_dir in #(((
5747 '') as_dir=./ ;;
5748 */) ;;
5749 *) as_dir=$as_dir/ ;;
5750 esac
5751 for ac_exec_ext in '' $ac_executable_extensions; do
5752 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5753 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5755 break 2
5757 done
5758 done
5759 IFS=$as_save_IFS
5763 CXX=$ac_cv_prog_CXX
5764 if test -n "$CXX"; then
5765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5766 printf "%s\n" "$CXX" >&6; }
5767 else
5768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5769 printf "%s\n" "no" >&6; }
5773 test -n "$CXX" && break
5774 done
5776 if test -z "$CXX"; then
5777 ac_ct_CXX=$CXX
5778 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5780 # Extract the first word of "$ac_prog", so it can be a program name with args.
5781 set dummy $ac_prog; ac_word=$2
5782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5783 printf %s "checking for $ac_word... " >&6; }
5784 if test ${ac_cv_prog_ac_ct_CXX+y}
5785 then :
5786 printf %s "(cached) " >&6
5787 else $as_nop
5788 if test -n "$ac_ct_CXX"; then
5789 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5790 else
5791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5792 for as_dir in $PATH
5794 IFS=$as_save_IFS
5795 case $as_dir in #(((
5796 '') as_dir=./ ;;
5797 */) ;;
5798 *) as_dir=$as_dir/ ;;
5799 esac
5800 for ac_exec_ext in '' $ac_executable_extensions; do
5801 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5802 ac_cv_prog_ac_ct_CXX="$ac_prog"
5803 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5804 break 2
5806 done
5807 done
5808 IFS=$as_save_IFS
5812 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5813 if test -n "$ac_ct_CXX"; then
5814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5815 printf "%s\n" "$ac_ct_CXX" >&6; }
5816 else
5817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5818 printf "%s\n" "no" >&6; }
5822 test -n "$ac_ct_CXX" && break
5823 done
5825 if test "x$ac_ct_CXX" = x; then
5826 CXX="g++"
5827 else
5828 case $cross_compiling:$ac_tool_warned in
5829 yes:)
5830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5831 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5832 ac_tool_warned=yes ;;
5833 esac
5834 CXX=$ac_ct_CXX
5840 # Provide some information about the compiler.
5841 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5842 set X $ac_compile
5843 ac_compiler=$2
5844 for ac_option in --version -v -V -qversion; do
5845 { { ac_try="$ac_compiler $ac_option >&5"
5846 case "(($ac_try" in
5847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5848 *) ac_try_echo=$ac_try;;
5849 esac
5850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5851 printf "%s\n" "$ac_try_echo"; } >&5
5852 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5853 ac_status=$?
5854 if test -s conftest.err; then
5855 sed '10a\
5856 ... rest of stderr output deleted ...
5857 10q' conftest.err >conftest.er1
5858 cat conftest.er1 >&5
5860 rm -f conftest.er1 conftest.err
5861 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5862 test $ac_status = 0; }
5863 done
5865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5866 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5867 if test ${ac_cv_cxx_compiler_gnu+y}
5868 then :
5869 printf %s "(cached) " >&6
5870 else $as_nop
5871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5872 /* end confdefs.h. */
5875 main (void)
5877 #ifndef __GNUC__
5878 choke me
5879 #endif
5882 return 0;
5884 _ACEOF
5885 if ac_fn_cxx_try_compile "$LINENO"
5886 then :
5887 ac_compiler_gnu=yes
5888 else $as_nop
5889 ac_compiler_gnu=no
5891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5892 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5896 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5899 if test $ac_compiler_gnu = yes; then
5900 GXX=yes
5901 else
5902 GXX=
5904 ac_test_CXXFLAGS=${CXXFLAGS+y}
5905 ac_save_CXXFLAGS=$CXXFLAGS
5906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5907 printf %s "checking whether $CXX accepts -g... " >&6; }
5908 if test ${ac_cv_prog_cxx_g+y}
5909 then :
5910 printf %s "(cached) " >&6
5911 else $as_nop
5912 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5913 ac_cxx_werror_flag=yes
5914 ac_cv_prog_cxx_g=no
5915 CXXFLAGS="-g"
5916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5917 /* end confdefs.h. */
5920 main (void)
5924 return 0;
5926 _ACEOF
5927 if ac_fn_cxx_try_compile "$LINENO"
5928 then :
5929 ac_cv_prog_cxx_g=yes
5930 else $as_nop
5931 CXXFLAGS=""
5932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5933 /* end confdefs.h. */
5936 main (void)
5940 return 0;
5942 _ACEOF
5943 if ac_fn_cxx_try_compile "$LINENO"
5944 then :
5946 else $as_nop
5947 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5948 CXXFLAGS="-g"
5949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5950 /* end confdefs.h. */
5953 main (void)
5957 return 0;
5959 _ACEOF
5960 if ac_fn_cxx_try_compile "$LINENO"
5961 then :
5962 ac_cv_prog_cxx_g=yes
5964 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5968 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5969 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5972 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5973 if test $ac_test_CXXFLAGS; then
5974 CXXFLAGS=$ac_save_CXXFLAGS
5975 elif test $ac_cv_prog_cxx_g = yes; then
5976 if test "$GXX" = yes; then
5977 CXXFLAGS="-g -O2"
5978 else
5979 CXXFLAGS="-g"
5981 else
5982 if test "$GXX" = yes; then
5983 CXXFLAGS="-O2"
5984 else
5985 CXXFLAGS=
5988 ac_prog_cxx_stdcxx=no
5989 if test x$ac_prog_cxx_stdcxx = xno
5990 then :
5991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5992 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5993 if test ${ac_cv_prog_cxx_cxx11+y}
5994 then :
5995 printf %s "(cached) " >&6
5996 else $as_nop
5997 ac_cv_prog_cxx_cxx11=no
5998 ac_save_CXX=$CXX
5999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6000 /* end confdefs.h. */
6001 $ac_cxx_conftest_cxx11_program
6002 _ACEOF
6003 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6005 CXX="$ac_save_CXX $ac_arg"
6006 if ac_fn_cxx_try_compile "$LINENO"
6007 then :
6008 ac_cv_prog_cxx_cxx11=$ac_arg
6010 rm -f core conftest.err conftest.$ac_objext conftest.beam
6011 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6012 done
6013 rm -f conftest.$ac_ext
6014 CXX=$ac_save_CXX
6017 if test "x$ac_cv_prog_cxx_cxx11" = xno
6018 then :
6019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6020 printf "%s\n" "unsupported" >&6; }
6021 else $as_nop
6022 if test "x$ac_cv_prog_cxx_cxx11" = x
6023 then :
6024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6025 printf "%s\n" "none needed" >&6; }
6026 else $as_nop
6027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6028 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6029 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6031 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6032 ac_prog_cxx_stdcxx=cxx11
6035 if test x$ac_prog_cxx_stdcxx = xno
6036 then :
6037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6038 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6039 if test ${ac_cv_prog_cxx_cxx98+y}
6040 then :
6041 printf %s "(cached) " >&6
6042 else $as_nop
6043 ac_cv_prog_cxx_cxx98=no
6044 ac_save_CXX=$CXX
6045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6046 /* end confdefs.h. */
6047 $ac_cxx_conftest_cxx98_program
6048 _ACEOF
6049 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6051 CXX="$ac_save_CXX $ac_arg"
6052 if ac_fn_cxx_try_compile "$LINENO"
6053 then :
6054 ac_cv_prog_cxx_cxx98=$ac_arg
6056 rm -f core conftest.err conftest.$ac_objext conftest.beam
6057 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6058 done
6059 rm -f conftest.$ac_ext
6060 CXX=$ac_save_CXX
6063 if test "x$ac_cv_prog_cxx_cxx98" = xno
6064 then :
6065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6066 printf "%s\n" "unsupported" >&6; }
6067 else $as_nop
6068 if test "x$ac_cv_prog_cxx_cxx98" = x
6069 then :
6070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6071 printf "%s\n" "none needed" >&6; }
6072 else $as_nop
6073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6074 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6075 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6077 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6078 ac_prog_cxx_stdcxx=cxx98
6082 ac_ext=c
6083 ac_cpp='$CPP $CPPFLAGS'
6084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6088 if test -n "$ac_tool_prefix"; then
6089 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6090 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6092 printf %s "checking for $ac_word... " >&6; }
6093 if test ${ac_cv_prog_CPPBIN+y}
6094 then :
6095 printf %s "(cached) " >&6
6096 else $as_nop
6097 if test -n "$CPPBIN"; then
6098 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6099 else
6100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6101 for as_dir in $PATH
6103 IFS=$as_save_IFS
6104 case $as_dir in #(((
6105 '') as_dir=./ ;;
6106 */) ;;
6107 *) as_dir=$as_dir/ ;;
6108 esac
6109 for ac_exec_ext in '' $ac_executable_extensions; do
6110 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6111 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6113 break 2
6115 done
6116 done
6117 IFS=$as_save_IFS
6121 CPPBIN=$ac_cv_prog_CPPBIN
6122 if test -n "$CPPBIN"; then
6123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6124 printf "%s\n" "$CPPBIN" >&6; }
6125 else
6126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6127 printf "%s\n" "no" >&6; }
6132 if test -z "$ac_cv_prog_CPPBIN"; then
6133 ac_ct_CPPBIN=$CPPBIN
6134 # Extract the first word of "cpp", so it can be a program name with args.
6135 set dummy cpp; ac_word=$2
6136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6137 printf %s "checking for $ac_word... " >&6; }
6138 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6139 then :
6140 printf %s "(cached) " >&6
6141 else $as_nop
6142 if test -n "$ac_ct_CPPBIN"; then
6143 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6144 else
6145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6146 for as_dir in $PATH
6148 IFS=$as_save_IFS
6149 case $as_dir in #(((
6150 '') as_dir=./ ;;
6151 */) ;;
6152 *) as_dir=$as_dir/ ;;
6153 esac
6154 for ac_exec_ext in '' $ac_executable_extensions; do
6155 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6156 ac_cv_prog_ac_ct_CPPBIN="cpp"
6157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6158 break 2
6160 done
6161 done
6162 IFS=$as_save_IFS
6166 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6167 if test -n "$ac_ct_CPPBIN"; then
6168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6169 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6170 else
6171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6172 printf "%s\n" "no" >&6; }
6175 if test "x$ac_ct_CPPBIN" = x; then
6176 CPPBIN="cpp"
6177 else
6178 case $cross_compiling:$ac_tool_warned in
6179 yes:)
6180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6181 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6182 ac_tool_warned=yes ;;
6183 esac
6184 CPPBIN=$ac_ct_CPPBIN
6186 else
6187 CPPBIN="$ac_cv_prog_CPPBIN"
6191 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6193 if test -n "$ac_tool_prefix"; then
6194 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6195 set dummy ${ac_tool_prefix}ld; ac_word=$2
6196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6197 printf %s "checking for $ac_word... " >&6; }
6198 if test ${ac_cv_prog_LD+y}
6199 then :
6200 printf %s "(cached) " >&6
6201 else $as_nop
6202 if test -n "$LD"; then
6203 ac_cv_prog_LD="$LD" # Let the user override the test.
6204 else
6205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6206 for as_dir in $PATH
6208 IFS=$as_save_IFS
6209 case $as_dir in #(((
6210 '') as_dir=./ ;;
6211 */) ;;
6212 *) as_dir=$as_dir/ ;;
6213 esac
6214 for ac_exec_ext in '' $ac_executable_extensions; do
6215 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6216 ac_cv_prog_LD="${ac_tool_prefix}ld"
6217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6218 break 2
6220 done
6221 done
6222 IFS=$as_save_IFS
6226 LD=$ac_cv_prog_LD
6227 if test -n "$LD"; then
6228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6229 printf "%s\n" "$LD" >&6; }
6230 else
6231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6232 printf "%s\n" "no" >&6; }
6237 if test -z "$ac_cv_prog_LD"; then
6238 ac_ct_LD=$LD
6239 # Extract the first word of "ld", so it can be a program name with args.
6240 set dummy ld; ac_word=$2
6241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6242 printf %s "checking for $ac_word... " >&6; }
6243 if test ${ac_cv_prog_ac_ct_LD+y}
6244 then :
6245 printf %s "(cached) " >&6
6246 else $as_nop
6247 if test -n "$ac_ct_LD"; then
6248 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6249 else
6250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6251 for as_dir in $PATH
6253 IFS=$as_save_IFS
6254 case $as_dir in #(((
6255 '') as_dir=./ ;;
6256 */) ;;
6257 *) as_dir=$as_dir/ ;;
6258 esac
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_ac_ct_LD="ld"
6262 printf "%s\n" "$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 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6272 if test -n "$ac_ct_LD"; then
6273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6274 printf "%s\n" "$ac_ct_LD" >&6; }
6275 else
6276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6277 printf "%s\n" "no" >&6; }
6280 if test "x$ac_ct_LD" = x; then
6281 LD=""
6282 else
6283 case $cross_compiling:$ac_tool_warned in
6284 yes:)
6285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6286 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6287 ac_tool_warned=yes ;;
6288 esac
6289 LD=$ac_ct_LD
6291 else
6292 LD="$ac_cv_prog_LD"
6296 case $host in
6297 *-darwin*)
6298 with_fontconfig=${with_fontconfig:-no}
6300 *-mingw32*|*-cygwin*)
6301 enable_win16=${enable_win16:-no}
6302 with_mingw=${with_mingw:-no}
6304 esac
6307 case $host in
6308 x86_64*|amd64*)
6309 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6310 then
6311 CC="$CC -m32"
6312 CXX="$CXX -m32"
6314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6315 printf %s "checking whether $CC works... " >&6; }
6316 if test ${wine_cv_cc_m32+y}
6317 then :
6318 printf %s "(cached) " >&6
6319 else $as_nop
6320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6321 /* end confdefs.h. */
6324 main (void)
6328 return 0;
6330 _ACEOF
6331 if ac_fn_c_try_link "$LINENO"
6332 then :
6333 wine_cv_cc_m32=yes
6334 else $as_nop
6335 wine_cv_cc_m32=no
6337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6338 conftest$ac_exeext conftest.$ac_ext
6340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6341 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6342 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
6343 host_cpu="i386"
6344 notice_platform="32-bit "
6345 TARGETFLAGS="$TARGETFLAGS -m32"
6346 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6347 export PKG_CONFIG_LIBDIR
6348 else
6349 CC="$CC -m64"
6350 CXX="$CXX -m64"
6351 host_cpu="x86_64"
6352 notice_platform="64-bit "
6353 TARGETFLAGS="$TARGETFLAGS -m64"
6356 arm*)
6357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6358 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6359 if test ${wine_cv_thumb2+y}
6360 then :
6361 printf %s "(cached) " >&6
6362 else $as_nop
6363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6364 /* end confdefs.h. */
6367 main (void)
6369 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6371 return 0;
6373 _ACEOF
6374 if ac_fn_c_try_link "$LINENO"
6375 then :
6376 wine_cv_thumb2=yes
6377 else $as_nop
6378 wine_cv_thumb2=no
6380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6381 conftest$ac_exeext conftest.$ac_ext
6383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6384 printf "%s\n" "$wine_cv_thumb2" >&6; }
6385 if test x"$wine_cv_thumb2" = xyes
6386 then
6387 CFLAGS="$CFLAGS -mthumb"
6388 else
6389 CFLAGS="$CFLAGS -marm"
6391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports floating point instructions" >&5
6392 printf %s "checking whether $CC supports floating point instructions... " >&6; }
6393 if test ${wine_cv_float_abi+y}
6394 then :
6395 printf %s "(cached) " >&6
6396 else $as_nop
6397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6398 /* end confdefs.h. */
6401 main (void)
6403 asm("vmrs r2,fpscr");
6405 return 0;
6407 _ACEOF
6408 if ac_fn_c_try_link "$LINENO"
6409 then :
6410 wine_cv_float_abi=yes
6411 else $as_nop
6412 wine_cv_float_abi=no
6414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6415 conftest$ac_exeext conftest.$ac_ext
6417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6418 printf "%s\n" "$wine_cv_float_abi" >&6; }
6419 test $wine_cv_float_abi != no || as_fn_error $? "The ARM target needs to support floating point instructions." "$LINENO" 5
6421 esac
6423 if test "x$enable_win64" = "xyes"
6424 then
6425 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6426 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6429 case $build_os in
6430 cygwin*|mingw32*) toolsext=".exe"
6432 *) toolsext=""
6434 esac
6436 HOST_ARCH=unknown
6437 case "$host_cpu" in
6438 aarch64*) HOST_ARCH=aarch64 ;;
6439 arm*) HOST_ARCH=arm ;;
6440 i[3456789]86*) HOST_ARCH=i386 ;;
6441 x86_64) HOST_ARCH=x86_64 ;;
6442 esac
6445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6446 printf %s "checking for the directory containing the Wine tools... " >&6; }
6447 if test ${wine_cv_toolsdir+y}
6448 then :
6449 printf %s "(cached) " >&6
6450 else $as_nop
6451 wine_cv_toolsdir="$with_wine_tools"
6452 if test -z "$with_wine_tools"; then
6453 if test "$cross_compiling" = "yes"; then
6454 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6455 elif test -n "$with_wine64"; then
6456 wine_cv_toolsdir="$with_wine64"
6460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6461 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6462 if test -z "$wine_cv_toolsdir"; then
6463 wine_makedep=tools/makedep$toolsext
6464 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6465 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6466 enable_tools=${enable_tools:-no}
6467 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6468 else
6469 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6471 toolsdir=$wine_cv_toolsdir
6473 MAKEDEP=$wine_makedep
6475 RUNTESTFLAGS="-q -P wine"
6477 SED_CMD="LC_ALL=C sed -e 's,@bindir@,\${bindir},g' -e 's,@dlldir@,\${dlldir},g' -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g'"
6480 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6481 then
6482 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6485 for ac_prog in flex
6487 # Extract the first word of "$ac_prog", so it can be a program name with args.
6488 set dummy $ac_prog; ac_word=$2
6489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6490 printf %s "checking for $ac_word... " >&6; }
6491 if test ${ac_cv_prog_FLEX+y}
6492 then :
6493 printf %s "(cached) " >&6
6494 else $as_nop
6495 if test -n "$FLEX"; then
6496 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6497 else
6498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6499 for as_dir in $PATH
6501 IFS=$as_save_IFS
6502 case $as_dir in #(((
6503 '') as_dir=./ ;;
6504 */) ;;
6505 *) as_dir=$as_dir/ ;;
6506 esac
6507 for ac_exec_ext in '' $ac_executable_extensions; do
6508 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6509 ac_cv_prog_FLEX="$ac_prog"
6510 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6511 break 2
6513 done
6514 done
6515 IFS=$as_save_IFS
6519 FLEX=$ac_cv_prog_FLEX
6520 if test -n "$FLEX"; then
6521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6522 printf "%s\n" "$FLEX" >&6; }
6523 else
6524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6525 printf "%s\n" "no" >&6; }
6529 test -n "$FLEX" && break
6530 done
6531 test -n "$FLEX" || FLEX="none"
6533 if test "$FLEX" = "none"
6534 then
6535 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6538 printf %s "checking whether flex is recent enough... " >&6; }
6539 if test ${wine_cv_recent_flex+y}
6540 then :
6541 printf %s "(cached) " >&6
6542 else $as_nop
6543 cat >conftest.l <<EOF
6544 %top{
6545 #include "prediluvian.h"
6549 if $FLEX -t conftest.l >/dev/null 2>&5
6550 then
6551 wine_cv_recent_flex=yes
6552 else
6553 wine_cv_recent_flex=no
6556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6557 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6558 test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
6560 for ac_prog in bison
6562 # Extract the first word of "$ac_prog", so it can be a program name with args.
6563 set dummy $ac_prog; ac_word=$2
6564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565 printf %s "checking for $ac_word... " >&6; }
6566 if test ${ac_cv_prog_BISON+y}
6567 then :
6568 printf %s "(cached) " >&6
6569 else $as_nop
6570 if test -n "$BISON"; then
6571 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6572 else
6573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6574 for as_dir in $PATH
6576 IFS=$as_save_IFS
6577 case $as_dir in #(((
6578 '') as_dir=./ ;;
6579 */) ;;
6580 *) as_dir=$as_dir/ ;;
6581 esac
6582 for ac_exec_ext in '' $ac_executable_extensions; do
6583 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6584 ac_cv_prog_BISON="$ac_prog"
6585 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6586 break 2
6588 done
6589 done
6590 IFS=$as_save_IFS
6594 BISON=$ac_cv_prog_BISON
6595 if test -n "$BISON"; then
6596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6597 printf "%s\n" "$BISON" >&6; }
6598 else
6599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6600 printf "%s\n" "no" >&6; }
6604 test -n "$BISON" && break
6605 done
6606 test -n "$BISON" || BISON="none"
6608 if test "$BISON" = "none"
6609 then
6610 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6613 printf %s "checking whether bison is recent enough... " >&6; }
6614 if test ${wine_cv_recent_bison+y}
6615 then :
6616 printf %s "(cached) " >&6
6617 else $as_nop
6618 cat >conftest.y <<EOF
6619 %define parse.error verbose
6621 empty: ;
6623 if $BISON conftest.y >/dev/null 2>&5
6624 then
6625 wine_cv_recent_bison=yes
6626 else
6627 wine_cv_recent_bison=no
6630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6631 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6632 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
6634 if test -n "$ac_tool_prefix"; then
6635 for ac_prog in ar gar
6637 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6638 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6640 printf %s "checking for $ac_word... " >&6; }
6641 if test ${ac_cv_prog_AR+y}
6642 then :
6643 printf %s "(cached) " >&6
6644 else $as_nop
6645 if test -n "$AR"; then
6646 ac_cv_prog_AR="$AR" # Let the user override the test.
6647 else
6648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6649 for as_dir in $PATH
6651 IFS=$as_save_IFS
6652 case $as_dir in #(((
6653 '') as_dir=./ ;;
6654 */) ;;
6655 *) as_dir=$as_dir/ ;;
6656 esac
6657 for ac_exec_ext in '' $ac_executable_extensions; do
6658 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6659 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6660 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6661 break 2
6663 done
6664 done
6665 IFS=$as_save_IFS
6669 AR=$ac_cv_prog_AR
6670 if test -n "$AR"; then
6671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6672 printf "%s\n" "$AR" >&6; }
6673 else
6674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6675 printf "%s\n" "no" >&6; }
6679 test -n "$AR" && break
6680 done
6682 if test -z "$AR"; then
6683 ac_ct_AR=$AR
6684 for ac_prog in ar gar
6686 # Extract the first word of "$ac_prog", so it can be a program name with args.
6687 set dummy $ac_prog; ac_word=$2
6688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689 printf %s "checking for $ac_word... " >&6; }
6690 if test ${ac_cv_prog_ac_ct_AR+y}
6691 then :
6692 printf %s "(cached) " >&6
6693 else $as_nop
6694 if test -n "$ac_ct_AR"; then
6695 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6696 else
6697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6698 for as_dir in $PATH
6700 IFS=$as_save_IFS
6701 case $as_dir in #(((
6702 '') as_dir=./ ;;
6703 */) ;;
6704 *) as_dir=$as_dir/ ;;
6705 esac
6706 for ac_exec_ext in '' $ac_executable_extensions; do
6707 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6708 ac_cv_prog_ac_ct_AR="$ac_prog"
6709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6710 break 2
6712 done
6713 done
6714 IFS=$as_save_IFS
6718 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6719 if test -n "$ac_ct_AR"; then
6720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6721 printf "%s\n" "$ac_ct_AR" >&6; }
6722 else
6723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724 printf "%s\n" "no" >&6; }
6728 test -n "$ac_ct_AR" && break
6729 done
6731 if test "x$ac_ct_AR" = x; then
6732 AR="ar"
6733 else
6734 case $cross_compiling:$ac_tool_warned in
6735 yes:)
6736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6737 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6738 ac_tool_warned=yes ;;
6739 esac
6740 AR=$ac_ct_AR
6744 if test -n "$ac_tool_prefix"; then
6745 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6746 set dummy ${ac_tool_prefix}strip; ac_word=$2
6747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6748 printf %s "checking for $ac_word... " >&6; }
6749 if test ${ac_cv_prog_STRIP+y}
6750 then :
6751 printf %s "(cached) " >&6
6752 else $as_nop
6753 if test -n "$STRIP"; then
6754 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6755 else
6756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6757 for as_dir in $PATH
6759 IFS=$as_save_IFS
6760 case $as_dir in #(((
6761 '') as_dir=./ ;;
6762 */) ;;
6763 *) as_dir=$as_dir/ ;;
6764 esac
6765 for ac_exec_ext in '' $ac_executable_extensions; do
6766 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6767 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6769 break 2
6771 done
6772 done
6773 IFS=$as_save_IFS
6777 STRIP=$ac_cv_prog_STRIP
6778 if test -n "$STRIP"; then
6779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6780 printf "%s\n" "$STRIP" >&6; }
6781 else
6782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6783 printf "%s\n" "no" >&6; }
6788 if test -z "$ac_cv_prog_STRIP"; then
6789 ac_ct_STRIP=$STRIP
6790 # Extract the first word of "strip", so it can be a program name with args.
6791 set dummy strip; ac_word=$2
6792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6793 printf %s "checking for $ac_word... " >&6; }
6794 if test ${ac_cv_prog_ac_ct_STRIP+y}
6795 then :
6796 printf %s "(cached) " >&6
6797 else $as_nop
6798 if test -n "$ac_ct_STRIP"; then
6799 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6800 else
6801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6802 for as_dir in $PATH
6804 IFS=$as_save_IFS
6805 case $as_dir in #(((
6806 '') as_dir=./ ;;
6807 */) ;;
6808 *) as_dir=$as_dir/ ;;
6809 esac
6810 for ac_exec_ext in '' $ac_executable_extensions; do
6811 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6812 ac_cv_prog_ac_ct_STRIP="strip"
6813 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6814 break 2
6816 done
6817 done
6818 IFS=$as_save_IFS
6822 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6823 if test -n "$ac_ct_STRIP"; then
6824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6825 printf "%s\n" "$ac_ct_STRIP" >&6; }
6826 else
6827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6828 printf "%s\n" "no" >&6; }
6831 if test "x$ac_ct_STRIP" = x; then
6832 STRIP="strip"
6833 else
6834 case $cross_compiling:$ac_tool_warned in
6835 yes:)
6836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6837 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6838 ac_tool_warned=yes ;;
6839 esac
6840 STRIP=$ac_ct_STRIP
6842 else
6843 STRIP="$ac_cv_prog_STRIP"
6846 if test -n "$ac_tool_prefix"; then
6847 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6848 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850 printf %s "checking for $ac_word... " >&6; }
6851 if test ${ac_cv_prog_RANLIB+y}
6852 then :
6853 printf %s "(cached) " >&6
6854 else $as_nop
6855 if test -n "$RANLIB"; then
6856 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6857 else
6858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6859 for as_dir in $PATH
6861 IFS=$as_save_IFS
6862 case $as_dir in #(((
6863 '') as_dir=./ ;;
6864 */) ;;
6865 *) as_dir=$as_dir/ ;;
6866 esac
6867 for ac_exec_ext in '' $ac_executable_extensions; do
6868 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6869 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6870 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6871 break 2
6873 done
6874 done
6875 IFS=$as_save_IFS
6879 RANLIB=$ac_cv_prog_RANLIB
6880 if test -n "$RANLIB"; then
6881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6882 printf "%s\n" "$RANLIB" >&6; }
6883 else
6884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6885 printf "%s\n" "no" >&6; }
6890 if test -z "$ac_cv_prog_RANLIB"; then
6891 ac_ct_RANLIB=$RANLIB
6892 # Extract the first word of "ranlib", so it can be a program name with args.
6893 set dummy ranlib; ac_word=$2
6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6895 printf %s "checking for $ac_word... " >&6; }
6896 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6897 then :
6898 printf %s "(cached) " >&6
6899 else $as_nop
6900 if test -n "$ac_ct_RANLIB"; then
6901 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6902 else
6903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6904 for as_dir in $PATH
6906 IFS=$as_save_IFS
6907 case $as_dir in #(((
6908 '') as_dir=./ ;;
6909 */) ;;
6910 *) as_dir=$as_dir/ ;;
6911 esac
6912 for ac_exec_ext in '' $ac_executable_extensions; do
6913 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6914 ac_cv_prog_ac_ct_RANLIB="ranlib"
6915 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6916 break 2
6918 done
6919 done
6920 IFS=$as_save_IFS
6924 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6925 if test -n "$ac_ct_RANLIB"; then
6926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6927 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6928 else
6929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6930 printf "%s\n" "no" >&6; }
6933 if test "x$ac_ct_RANLIB" = x; then
6934 RANLIB=":"
6935 else
6936 case $cross_compiling:$ac_tool_warned in
6937 yes:)
6938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6939 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6940 ac_tool_warned=yes ;;
6941 esac
6942 RANLIB=$ac_ct_RANLIB
6944 else
6945 RANLIB="$ac_cv_prog_RANLIB"
6948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6949 printf %s "checking whether ln -s works... " >&6; }
6950 LN_S=$as_ln_s
6951 if test "$LN_S" = "ln -s"; then
6952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6953 printf "%s\n" "yes" >&6; }
6954 else
6955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6956 printf "%s\n" "no, using $LN_S" >&6; }
6959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6960 printf %s "checking for grep that handles long lines and -e... " >&6; }
6961 if test ${ac_cv_path_GREP+y}
6962 then :
6963 printf %s "(cached) " >&6
6964 else $as_nop
6965 if test -z "$GREP"; then
6966 ac_path_GREP_found=false
6967 # Loop through the user's path and test for each of PROGNAME-LIST
6968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6969 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6971 IFS=$as_save_IFS
6972 case $as_dir in #(((
6973 '') as_dir=./ ;;
6974 */) ;;
6975 *) as_dir=$as_dir/ ;;
6976 esac
6977 for ac_prog in grep ggrep
6979 for ac_exec_ext in '' $ac_executable_extensions; do
6980 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6981 as_fn_executable_p "$ac_path_GREP" || continue
6982 # Check for GNU ac_path_GREP and select it if it is found.
6983 # Check for GNU $ac_path_GREP
6984 case `"$ac_path_GREP" --version 2>&1` in
6985 *GNU*)
6986 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6988 ac_count=0
6989 printf %s 0123456789 >"conftest.in"
6990 while :
6992 cat "conftest.in" "conftest.in" >"conftest.tmp"
6993 mv "conftest.tmp" "conftest.in"
6994 cp "conftest.in" "conftest.nl"
6995 printf "%s\n" 'GREP' >> "conftest.nl"
6996 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6997 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6998 as_fn_arith $ac_count + 1 && ac_count=$as_val
6999 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7000 # Best one so far, save it but keep looking for a better one
7001 ac_cv_path_GREP="$ac_path_GREP"
7002 ac_path_GREP_max=$ac_count
7004 # 10*(2^10) chars as input seems more than enough
7005 test $ac_count -gt 10 && break
7006 done
7007 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7008 esac
7010 $ac_path_GREP_found && break 3
7011 done
7012 done
7013 done
7014 IFS=$as_save_IFS
7015 if test -z "$ac_cv_path_GREP"; then
7016 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7018 else
7019 ac_cv_path_GREP=$GREP
7023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7024 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7025 GREP="$ac_cv_path_GREP"
7028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7029 printf %s "checking for egrep... " >&6; }
7030 if test ${ac_cv_path_EGREP+y}
7031 then :
7032 printf %s "(cached) " >&6
7033 else $as_nop
7034 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7035 then ac_cv_path_EGREP="$GREP -E"
7036 else
7037 if test -z "$EGREP"; then
7038 ac_path_EGREP_found=false
7039 # Loop through the user's path and test for each of PROGNAME-LIST
7040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7041 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7043 IFS=$as_save_IFS
7044 case $as_dir in #(((
7045 '') as_dir=./ ;;
7046 */) ;;
7047 *) as_dir=$as_dir/ ;;
7048 esac
7049 for ac_prog in egrep
7051 for ac_exec_ext in '' $ac_executable_extensions; do
7052 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7053 as_fn_executable_p "$ac_path_EGREP" || continue
7054 # Check for GNU ac_path_EGREP and select it if it is found.
7055 # Check for GNU $ac_path_EGREP
7056 case `"$ac_path_EGREP" --version 2>&1` in
7057 *GNU*)
7058 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7060 ac_count=0
7061 printf %s 0123456789 >"conftest.in"
7062 while :
7064 cat "conftest.in" "conftest.in" >"conftest.tmp"
7065 mv "conftest.tmp" "conftest.in"
7066 cp "conftest.in" "conftest.nl"
7067 printf "%s\n" 'EGREP' >> "conftest.nl"
7068 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7069 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7070 as_fn_arith $ac_count + 1 && ac_count=$as_val
7071 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7072 # Best one so far, save it but keep looking for a better one
7073 ac_cv_path_EGREP="$ac_path_EGREP"
7074 ac_path_EGREP_max=$ac_count
7076 # 10*(2^10) chars as input seems more than enough
7077 test $ac_count -gt 10 && break
7078 done
7079 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7080 esac
7082 $ac_path_EGREP_found && break 3
7083 done
7084 done
7085 done
7086 IFS=$as_save_IFS
7087 if test -z "$ac_cv_path_EGREP"; then
7088 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7090 else
7091 ac_cv_path_EGREP=$EGREP
7096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7097 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7098 EGREP="$ac_cv_path_EGREP"
7101 # Extract the first word of "ldconfig", so it can be a program name with args.
7102 set dummy ldconfig; ac_word=$2
7103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7104 printf %s "checking for $ac_word... " >&6; }
7105 if test ${ac_cv_path_LDCONFIG+y}
7106 then :
7107 printf %s "(cached) " >&6
7108 else $as_nop
7109 case $LDCONFIG in
7110 [\\/]* | ?:[\\/]*)
7111 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7115 for as_dir in /sbin /usr/sbin $PATH
7117 IFS=$as_save_IFS
7118 case $as_dir in #(((
7119 '') as_dir=./ ;;
7120 */) ;;
7121 *) as_dir=$as_dir/ ;;
7122 esac
7123 for ac_exec_ext in '' $ac_executable_extensions; do
7124 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7125 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7127 break 2
7129 done
7130 done
7131 IFS=$as_save_IFS
7133 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7135 esac
7137 LDCONFIG=$ac_cv_path_LDCONFIG
7138 if test -n "$LDCONFIG"; then
7139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7140 printf "%s\n" "$LDCONFIG" >&6; }
7141 else
7142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7143 printf "%s\n" "no" >&6; }
7147 for ac_prog in msgfmt
7149 # Extract the first word of "$ac_prog", so it can be a program name with args.
7150 set dummy $ac_prog; ac_word=$2
7151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7152 printf %s "checking for $ac_word... " >&6; }
7153 if test ${ac_cv_prog_MSGFMT+y}
7154 then :
7155 printf %s "(cached) " >&6
7156 else $as_nop
7157 if test -n "$MSGFMT"; then
7158 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7159 else
7160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7161 for as_dir in $PATH
7163 IFS=$as_save_IFS
7164 case $as_dir in #(((
7165 '') as_dir=./ ;;
7166 */) ;;
7167 *) as_dir=$as_dir/ ;;
7168 esac
7169 for ac_exec_ext in '' $ac_executable_extensions; do
7170 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7171 ac_cv_prog_MSGFMT="$ac_prog"
7172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7173 break 2
7175 done
7176 done
7177 IFS=$as_save_IFS
7181 MSGFMT=$ac_cv_prog_MSGFMT
7182 if test -n "$MSGFMT"; then
7183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7184 printf "%s\n" "$MSGFMT" >&6; }
7185 else
7186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7187 printf "%s\n" "no" >&6; }
7191 test -n "$MSGFMT" && break
7192 done
7193 test -n "$MSGFMT" || MSGFMT="false"
7195 if test ${ac_tool_prefix+y}
7196 then :
7197 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7198 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7200 printf %s "checking for $ac_word... " >&6; }
7201 if test ${ac_cv_prog_PKG_CONFIG+y}
7202 then :
7203 printf %s "(cached) " >&6
7204 else $as_nop
7205 if test -n "$PKG_CONFIG"; then
7206 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7207 else
7208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7209 for as_dir in $PATH
7211 IFS=$as_save_IFS
7212 case $as_dir in #(((
7213 '') as_dir=./ ;;
7214 */) ;;
7215 *) as_dir=$as_dir/ ;;
7216 esac
7217 for ac_exec_ext in '' $ac_executable_extensions; do
7218 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7219 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7221 break 2
7223 done
7224 done
7225 IFS=$as_save_IFS
7229 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7230 if test -n "$PKG_CONFIG"; then
7231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7232 printf "%s\n" "$PKG_CONFIG" >&6; }
7233 else
7234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7235 printf "%s\n" "no" >&6; }
7240 if ${ac_cv_prog_PKG_CONFIG:+false} :
7241 then :
7242 if test "x$cross_compiling" = xyes
7243 then :
7245 else $as_nop
7246 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7247 # Extract the first word of "pkg-config", so it can be a program name with args.
7248 set dummy pkg-config; ac_word=$2
7249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7250 printf %s "checking for $ac_word... " >&6; }
7251 if test ${ac_cv_prog_PKG_CONFIG+y}
7252 then :
7253 printf %s "(cached) " >&6
7254 else $as_nop
7255 if test -n "$PKG_CONFIG"; then
7256 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7257 else
7258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7259 for as_dir in $PATH
7261 IFS=$as_save_IFS
7262 case $as_dir in #(((
7263 '') as_dir=./ ;;
7264 */) ;;
7265 *) as_dir=$as_dir/ ;;
7266 esac
7267 for ac_exec_ext in '' $ac_executable_extensions; do
7268 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7269 ac_cv_prog_PKG_CONFIG="pkg-config"
7270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7271 break 2
7273 done
7274 done
7275 IFS=$as_save_IFS
7279 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7280 if test -n "$PKG_CONFIG"; then
7281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7282 printf "%s\n" "$PKG_CONFIG" >&6; }
7283 else
7284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7285 printf "%s\n" "no" >&6; }
7290 else $as_nop
7291 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7294 if test "x$enable_maintainer_mode" != "xyes"
7295 then
7296 FONTFORGE=""
7297 RSVG=""
7298 CONVERT=""
7299 ICOTOOL=""
7300 else
7301 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7302 for ac_prog in fontforge
7304 # Extract the first word of "$ac_prog", so it can be a program name with args.
7305 set dummy $ac_prog; ac_word=$2
7306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7307 printf %s "checking for $ac_word... " >&6; }
7308 if test ${ac_cv_prog_FONTFORGE+y}
7309 then :
7310 printf %s "(cached) " >&6
7311 else $as_nop
7312 if test -n "$FONTFORGE"; then
7313 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7314 else
7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7316 for as_dir in $PATH
7318 IFS=$as_save_IFS
7319 case $as_dir in #(((
7320 '') as_dir=./ ;;
7321 */) ;;
7322 *) as_dir=$as_dir/ ;;
7323 esac
7324 for ac_exec_ext in '' $ac_executable_extensions; do
7325 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7326 ac_cv_prog_FONTFORGE="$ac_prog"
7327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7328 break 2
7330 done
7331 done
7332 IFS=$as_save_IFS
7336 FONTFORGE=$ac_cv_prog_FONTFORGE
7337 if test -n "$FONTFORGE"; then
7338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7339 printf "%s\n" "$FONTFORGE" >&6; }
7340 else
7341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 printf "%s\n" "no" >&6; }
7346 test -n "$FONTFORGE" && break
7347 done
7348 test -n "$FONTFORGE" || FONTFORGE="false"
7350 for ac_prog in rsvg-convert rsvg
7352 # Extract the first word of "$ac_prog", so it can be a program name with args.
7353 set dummy $ac_prog; ac_word=$2
7354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7355 printf %s "checking for $ac_word... " >&6; }
7356 if test ${ac_cv_prog_RSVG+y}
7357 then :
7358 printf %s "(cached) " >&6
7359 else $as_nop
7360 if test -n "$RSVG"; then
7361 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7362 else
7363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7364 for as_dir in $PATH
7366 IFS=$as_save_IFS
7367 case $as_dir in #(((
7368 '') as_dir=./ ;;
7369 */) ;;
7370 *) as_dir=$as_dir/ ;;
7371 esac
7372 for ac_exec_ext in '' $ac_executable_extensions; do
7373 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7374 ac_cv_prog_RSVG="$ac_prog"
7375 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7376 break 2
7378 done
7379 done
7380 IFS=$as_save_IFS
7384 RSVG=$ac_cv_prog_RSVG
7385 if test -n "$RSVG"; then
7386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7387 printf "%s\n" "$RSVG" >&6; }
7388 else
7389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390 printf "%s\n" "no" >&6; }
7394 test -n "$RSVG" && break
7395 done
7396 test -n "$RSVG" || RSVG="false"
7398 for ac_prog in convert
7400 # Extract the first word of "$ac_prog", so it can be a program name with args.
7401 set dummy $ac_prog; ac_word=$2
7402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403 printf %s "checking for $ac_word... " >&6; }
7404 if test ${ac_cv_prog_CONVERT+y}
7405 then :
7406 printf %s "(cached) " >&6
7407 else $as_nop
7408 if test -n "$CONVERT"; then
7409 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7410 else
7411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7412 for as_dir in $PATH
7414 IFS=$as_save_IFS
7415 case $as_dir in #(((
7416 '') as_dir=./ ;;
7417 */) ;;
7418 *) as_dir=$as_dir/ ;;
7419 esac
7420 for ac_exec_ext in '' $ac_executable_extensions; do
7421 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7422 ac_cv_prog_CONVERT="$ac_prog"
7423 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7424 break 2
7426 done
7427 done
7428 IFS=$as_save_IFS
7432 CONVERT=$ac_cv_prog_CONVERT
7433 if test -n "$CONVERT"; then
7434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7435 printf "%s\n" "$CONVERT" >&6; }
7436 else
7437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7438 printf "%s\n" "no" >&6; }
7442 test -n "$CONVERT" && break
7443 done
7444 test -n "$CONVERT" || CONVERT="false"
7446 for ac_prog in icotool
7448 # Extract the first word of "$ac_prog", so it can be a program name with args.
7449 set dummy $ac_prog; ac_word=$2
7450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7451 printf %s "checking for $ac_word... " >&6; }
7452 if test ${ac_cv_prog_ICOTOOL+y}
7453 then :
7454 printf %s "(cached) " >&6
7455 else $as_nop
7456 if test -n "$ICOTOOL"; then
7457 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7458 else
7459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7460 for as_dir in $PATH
7462 IFS=$as_save_IFS
7463 case $as_dir in #(((
7464 '') as_dir=./ ;;
7465 */) ;;
7466 *) as_dir=$as_dir/ ;;
7467 esac
7468 for ac_exec_ext in '' $ac_executable_extensions; do
7469 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7470 ac_cv_prog_ICOTOOL="$ac_prog"
7471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7472 break 2
7474 done
7475 done
7476 IFS=$as_save_IFS
7480 ICOTOOL=$ac_cv_prog_ICOTOOL
7481 if test -n "$ICOTOOL"; then
7482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7483 printf "%s\n" "$ICOTOOL" >&6; }
7484 else
7485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7486 printf "%s\n" "no" >&6; }
7490 test -n "$ICOTOOL" && break
7491 done
7492 test -n "$ICOTOOL" || ICOTOOL="false"
7494 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7495 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7497 if test "$CONVERT" = false
7498 then
7499 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7500 else
7501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7502 printf %s "checking for recent enough imagemagick... " >&6; }
7503 convert_version=`convert --version | head -n1`
7504 if test "x$convert_version" != "x"
7505 then
7506 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7507 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7508 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7509 then
7510 CONVERT=false
7513 if test "$CONVERT" = false
7514 then
7515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7516 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7517 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7518 else
7519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7520 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7524 if test "$ICOTOOL" = false
7525 then
7526 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7527 else
7528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7529 printf %s "checking for recent enough icotool... " >&6; }
7530 icotool_version=`icotool --version | head -n1`
7531 if test "x$icotool_version" != "x"
7532 then
7533 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7534 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7535 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7536 then
7537 ICOTOOL=false
7538 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7541 if test "$ICOTOOL" = false
7542 then
7543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7544 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7545 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7546 else
7547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7548 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7552 with_gettext=yes
7553 with_gettextpo=yes
7555 enable_werror=yes
7558 test "x$with_gettext" != xno || MSGFMT=false
7559 if test "$MSGFMT" != "false"
7560 then
7561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7562 printf %s "checking whether msgfmt supports contexts... " >&6; }
7563 if test ${wine_cv_msgfmt_contexts+y}
7564 then :
7565 printf %s "(cached) " >&6
7566 else $as_nop
7567 cat >conftest.po <<EOF
7568 # comment
7569 msgctxt "ctxt"
7570 msgid "id"
7571 msgstr "str"
7573 if $MSGFMT -o /dev/null conftest.po 2>&5
7574 then
7575 wine_cv_msgfmt_contexts=yes
7576 else
7577 wine_cv_msgfmt_contexts=no
7580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7581 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7582 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7584 if test "$MSGFMT" = false
7585 then :
7586 case "x$with_gettext" in
7587 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7588 xno) ;;
7589 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7590 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7591 esac
7592 enable_po=${enable_po:-no}
7596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7597 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7598 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7599 then :
7600 printf %s "(cached) " >&6
7601 else $as_nop
7602 ac_check_lib_save_LIBS=$LIBS
7603 LIBS="-li386 $LIBS"
7604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7605 /* end confdefs.h. */
7607 /* Override any GCC internal prototype to avoid an error.
7608 Use char because int might match the return type of a GCC
7609 builtin and then its argument prototype would still apply. */
7610 char i386_set_ldt ();
7612 main (void)
7614 return i386_set_ldt ();
7616 return 0;
7618 _ACEOF
7619 if ac_fn_c_try_link "$LINENO"
7620 then :
7621 ac_cv_lib_i386_i386_set_ldt=yes
7622 else $as_nop
7623 ac_cv_lib_i386_i386_set_ldt=no
7625 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7626 conftest$ac_exeext conftest.$ac_ext
7627 LIBS=$ac_check_lib_save_LIBS
7629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7630 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7631 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7632 then :
7633 I386_LIBS="-li386"
7638 OPENGL_LIBS=""
7642 # Check whether --enable-largefile was given.
7643 if test ${enable_largefile+y}
7644 then :
7645 enableval=$enable_largefile;
7648 if test "$enable_largefile" != no; then
7650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7651 printf %s "checking for special C compiler options needed for large files... " >&6; }
7652 if test ${ac_cv_sys_largefile_CC+y}
7653 then :
7654 printf %s "(cached) " >&6
7655 else $as_nop
7656 ac_cv_sys_largefile_CC=no
7657 if test "$GCC" != yes; then
7658 ac_save_CC=$CC
7659 while :; do
7660 # IRIX 6.2 and later do not support large files by default,
7661 # so use the C compiler's -n32 option if that helps.
7662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7663 /* end confdefs.h. */
7664 #include <sys/types.h>
7665 /* Check that off_t can represent 2**63 - 1 correctly.
7666 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7667 since some C++ compilers masquerading as C compilers
7668 incorrectly reject 9223372036854775807. */
7669 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7670 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7671 && LARGE_OFF_T % 2147483647 == 1)
7672 ? 1 : -1];
7674 main (void)
7678 return 0;
7680 _ACEOF
7681 if ac_fn_c_try_compile "$LINENO"
7682 then :
7683 break
7685 rm -f core conftest.err conftest.$ac_objext conftest.beam
7686 CC="$CC -n32"
7687 if ac_fn_c_try_compile "$LINENO"
7688 then :
7689 ac_cv_sys_largefile_CC=' -n32'; break
7691 rm -f core conftest.err conftest.$ac_objext conftest.beam
7692 break
7693 done
7694 CC=$ac_save_CC
7695 rm -f conftest.$ac_ext
7698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7699 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7700 if test "$ac_cv_sys_largefile_CC" != no; then
7701 CC=$CC$ac_cv_sys_largefile_CC
7704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7705 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7706 if test ${ac_cv_sys_file_offset_bits+y}
7707 then :
7708 printf %s "(cached) " >&6
7709 else $as_nop
7710 while :; do
7711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7712 /* end confdefs.h. */
7713 #include <sys/types.h>
7714 /* Check that off_t can represent 2**63 - 1 correctly.
7715 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7716 since some C++ compilers masquerading as C compilers
7717 incorrectly reject 9223372036854775807. */
7718 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7719 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7720 && LARGE_OFF_T % 2147483647 == 1)
7721 ? 1 : -1];
7723 main (void)
7727 return 0;
7729 _ACEOF
7730 if ac_fn_c_try_compile "$LINENO"
7731 then :
7732 ac_cv_sys_file_offset_bits=no; break
7734 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7736 /* end confdefs.h. */
7737 #define _FILE_OFFSET_BITS 64
7738 #include <sys/types.h>
7739 /* Check that off_t can represent 2**63 - 1 correctly.
7740 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7741 since some C++ compilers masquerading as C compilers
7742 incorrectly reject 9223372036854775807. */
7743 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7744 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7745 && LARGE_OFF_T % 2147483647 == 1)
7746 ? 1 : -1];
7748 main (void)
7752 return 0;
7754 _ACEOF
7755 if ac_fn_c_try_compile "$LINENO"
7756 then :
7757 ac_cv_sys_file_offset_bits=64; break
7759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7760 ac_cv_sys_file_offset_bits=unknown
7761 break
7762 done
7764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7765 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7766 case $ac_cv_sys_file_offset_bits in #(
7767 no | unknown) ;;
7769 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7771 esac
7772 rm -rf conftest*
7773 if test $ac_cv_sys_file_offset_bits = unknown; then
7774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7775 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7776 if test ${ac_cv_sys_large_files+y}
7777 then :
7778 printf %s "(cached) " >&6
7779 else $as_nop
7780 while :; do
7781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h. */
7783 #include <sys/types.h>
7784 /* Check that off_t can represent 2**63 - 1 correctly.
7785 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7786 since some C++ compilers masquerading as C compilers
7787 incorrectly reject 9223372036854775807. */
7788 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7789 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7790 && LARGE_OFF_T % 2147483647 == 1)
7791 ? 1 : -1];
7793 main (void)
7797 return 0;
7799 _ACEOF
7800 if ac_fn_c_try_compile "$LINENO"
7801 then :
7802 ac_cv_sys_large_files=no; break
7804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7806 /* end confdefs.h. */
7807 #define _LARGE_FILES 1
7808 #include <sys/types.h>
7809 /* Check that off_t can represent 2**63 - 1 correctly.
7810 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7811 since some C++ compilers masquerading as C compilers
7812 incorrectly reject 9223372036854775807. */
7813 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7814 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7815 && LARGE_OFF_T % 2147483647 == 1)
7816 ? 1 : -1];
7818 main (void)
7822 return 0;
7824 _ACEOF
7825 if ac_fn_c_try_compile "$LINENO"
7826 then :
7827 ac_cv_sys_large_files=1; break
7829 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7830 ac_cv_sys_large_files=unknown
7831 break
7832 done
7834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7835 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7836 case $ac_cv_sys_large_files in #(
7837 no | unknown) ;;
7839 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7841 esac
7842 rm -rf conftest*
7846 test "$ac_cv_sys_file_offset_bits" = 64 &&
7847 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
7850 ac_header= ac_cache=
7851 for ac_item in $ac_header_c_list
7853 if test $ac_cache; then
7854 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7855 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7856 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7858 ac_header= ac_cache=
7859 elif test $ac_header; then
7860 ac_cache=$ac_item
7861 else
7862 ac_header=$ac_item
7864 done
7873 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7874 then :
7876 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7879 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7880 if test "x$ac_cv_header_CL_cl_h" = xyes
7881 then :
7882 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7885 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7886 if test "x$ac_cv_header_EGL_egl_h" = xyes
7887 then :
7888 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7891 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7892 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7893 then :
7894 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7897 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7898 if test "x$ac_cv_header_arpa_inet_h" = xyes
7899 then :
7900 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7903 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7904 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7905 then :
7906 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7909 ac_fn_c_check_header_compile "$LINENO" "asm/termbits.h" "ac_cv_header_asm_termbits_h" "$ac_includes_default"
7910 if test "x$ac_cv_header_asm_termbits_h" = xyes
7911 then :
7912 printf "%s\n" "#define HAVE_ASM_TERMBITS_H 1" >>confdefs.h
7915 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7916 if test "x$ac_cv_header_asm_types_h" = xyes
7917 then :
7918 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7921 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7922 if test "x$ac_cv_header_asm_user_h" = xyes
7923 then :
7924 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7927 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7928 if test "x$ac_cv_header_elf_h" = xyes
7929 then :
7930 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7933 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7934 if test "x$ac_cv_header_float_h" = xyes
7935 then :
7936 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7939 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7940 if test "x$ac_cv_header_gettext_po_h" = xyes
7941 then :
7942 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7945 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7946 if test "x$ac_cv_header_libproc_h" = xyes
7947 then :
7948 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7951 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_link_h" = xyes
7953 then :
7954 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7957 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7958 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7959 then :
7960 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7963 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7964 if test "x$ac_cv_header_linux_filter_h" = xyes
7965 then :
7966 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7969 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7971 then :
7972 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7975 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7976 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7977 then :
7978 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7981 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7982 if test "x$ac_cv_header_linux_input_h" = xyes
7983 then :
7984 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7987 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7988 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7989 then :
7990 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7993 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_linux_major_h" = xyes
7995 then :
7996 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7999 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_linux_param_h" = xyes
8001 then :
8002 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8005 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_linux_serial_h" = xyes
8007 then :
8008 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8011 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8012 if test "x$ac_cv_header_linux_types_h" = xyes
8013 then :
8014 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8017 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8018 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8019 then :
8020 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8023 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8024 if test "x$ac_cv_header_linux_wireless_h" = xyes
8025 then :
8026 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8029 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8030 if test "x$ac_cv_header_lwp_h" = xyes
8031 then :
8032 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8035 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8036 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8037 then :
8038 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8041 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8042 if test "x$ac_cv_header_mach_mach_h" = xyes
8043 then :
8044 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8047 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8048 if test "x$ac_cv_header_machine_cpu_h" = xyes
8049 then :
8050 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8053 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8054 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8055 then :
8056 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8059 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8060 if test "x$ac_cv_header_mntent_h" = xyes
8061 then :
8062 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8065 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_netdb_h" = xyes
8067 then :
8068 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8071 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8072 if test "x$ac_cv_header_netinet_in_h" = xyes
8073 then :
8074 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8077 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8078 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8079 then :
8080 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8083 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8084 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8085 then :
8086 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8089 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8090 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8091 then :
8092 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8095 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8096 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8097 then :
8098 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8101 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8102 if test "x$ac_cv_header_port_h" = xyes
8103 then :
8104 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8107 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8108 if test "x$ac_cv_header_pwd_h" = xyes
8109 then :
8110 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8113 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8114 if test "x$ac_cv_header_sched_h" = xyes
8115 then :
8116 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8119 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8120 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8121 then :
8122 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8125 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8126 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8127 then :
8128 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8131 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8132 if test "x$ac_cv_header_scsi_sg_h" = xyes
8133 then :
8134 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8137 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8138 if test "x$ac_cv_header_stdint_h" = xyes
8139 then :
8140 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8143 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_sys_attr_h" = xyes
8145 then :
8146 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8149 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_sys_auxv_h" = xyes
8151 then :
8152 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8155 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8156 if test "x$ac_cv_header_sys_cdio_h" = xyes
8157 then :
8158 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8161 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8162 if test "x$ac_cv_header_sys_epoll_h" = xyes
8163 then :
8164 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8167 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_sys_event_h" = xyes
8169 then :
8170 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_sys_extattr_h" = xyes
8175 then :
8176 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_sys_filio_h" = xyes
8181 then :
8182 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_sys_ipc_h" = xyes
8187 then :
8188 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_sys_link_h" = xyes
8193 then :
8194 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_sys_modem_h" = xyes
8199 then :
8200 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_sys_mtio_h" = xyes
8205 then :
8206 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_sys_param_h" = xyes
8211 then :
8212 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_sys_prctl_h" = xyes
8217 then :
8218 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8223 then :
8224 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_sys_queue_h" = xyes
8229 then :
8230 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_sys_random_h" = xyes
8235 then :
8236 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_sys_resource_h" = xyes
8241 then :
8242 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8247 then :
8248 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_sys_shm_h" = xyes
8253 then :
8254 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_sys_signal_h" = xyes
8259 then :
8260 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8265 then :
8266 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_sys_sockio_h" = xyes
8271 then :
8272 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8277 then :
8278 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_sys_strtio_h" = xyes
8283 then :
8284 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_sys_syscall_h" = xyes
8289 then :
8290 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8293 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8294 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8295 then :
8296 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8299 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8300 if test "x$ac_cv_header_sys_times_h" = xyes
8301 then :
8302 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8305 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8306 if test "x$ac_cv_header_sys_uio_h" = xyes
8307 then :
8308 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8311 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8312 if test "x$ac_cv_header_sys_user_h" = xyes
8313 then :
8314 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8317 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8318 if test "x$ac_cv_header_sys_utsname_h" = xyes
8319 then :
8320 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8323 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8324 if test "x$ac_cv_header_sys_vnode_h" = xyes
8325 then :
8326 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8329 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8330 if test "x$ac_cv_header_sys_xattr_h" = xyes
8331 then :
8332 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8335 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8336 if test "x$ac_cv_header_syscall_h" = xyes
8337 then :
8338 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8341 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8342 if test "x$ac_cv_header_utime_h" = xyes
8343 then :
8344 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8347 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8348 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8349 then :
8350 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8353 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8354 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8355 then :
8356 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8360 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8361 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8362 then :
8364 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8368 if test $ac_cv_header_sys_mkdev_h = no; then
8369 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8370 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8371 then :
8373 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8379 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8380 if test ${ac_cv_header_stat_broken+y}
8381 then :
8382 printf %s "(cached) " >&6
8383 else $as_nop
8384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8385 /* end confdefs.h. */
8386 #include <sys/types.h>
8387 #include <sys/stat.h>
8389 #if defined S_ISBLK && defined S_IFDIR
8390 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8391 #endif
8393 #if defined S_ISBLK && defined S_IFCHR
8394 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8395 #endif
8397 #if defined S_ISLNK && defined S_IFREG
8398 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8399 #endif
8401 #if defined S_ISSOCK && defined S_IFREG
8402 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8403 #endif
8405 _ACEOF
8406 if ac_fn_c_try_compile "$LINENO"
8407 then :
8408 ac_cv_header_stat_broken=no
8409 else $as_nop
8410 ac_cv_header_stat_broken=yes
8412 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8415 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8416 if test $ac_cv_header_stat_broken = yes; then
8418 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8424 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8425 #ifdef HAVE_SYS_PARAM_H
8426 # include <sys/param.h>
8427 #endif
8429 if test "x$ac_cv_header_sys_conf_h" = xyes
8430 then :
8431 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8434 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8435 #ifdef HAVE_SYS_PARAM_H
8436 # include <sys/param.h>
8437 #endif
8439 if test "x$ac_cv_header_sys_mount_h" = xyes
8440 then :
8441 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8444 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8445 #ifdef HAVE_SYS_PARAM_H
8446 # include <sys/param.h>
8447 #endif
8449 if test "x$ac_cv_header_sys_statfs_h" = xyes
8450 then :
8451 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8454 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8455 #ifdef HAVE_SYS_PARAM_H
8456 # include <sys/param.h>
8457 #endif
8459 if test "x$ac_cv_header_sys_user_h" = xyes
8460 then :
8461 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8464 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8465 #ifdef HAVE_SYS_PARAM_H
8466 # include <sys/param.h>
8467 #endif
8469 if test "x$ac_cv_header_sys_vfs_h" = xyes
8470 then :
8471 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8476 saved_sysctl_h_CFLAGS=$CFLAGS
8477 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8478 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8479 #ifdef HAVE_SYS_PARAM_H
8480 # include <sys/param.h>
8481 #endif
8483 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8484 then :
8485 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8489 CFLAGS=$saved_sysctl_h_CFLAGS
8491 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8492 #include <sys/socket.h>
8493 #ifdef HAVE_SYS_SOCKETVAR_H
8494 # include <sys/socketvar.h>
8495 #endif
8496 #ifdef HAVE_NET_ROUTE_H
8497 # include <net/route.h>
8498 #endif
8499 #ifdef HAVE_NETINET_IN_H
8500 # include <netinet/in.h>
8501 #endif
8502 #ifdef HAVE_NETINET_IN_SYSTM_H
8503 # include <netinet/in_systm.h>
8504 #endif
8505 #ifdef HAVE_NET_IF_H
8506 # include <net/if.h>
8507 #endif
8508 #ifdef HAVE_NETINET_IP_H
8509 # include <netinet/ip.h>
8510 #endif
8512 if test "x$ac_cv_header_netinet_ip_h" = xyes
8513 then :
8514 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8517 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8518 #include <sys/socket.h>
8519 #ifdef HAVE_SYS_SOCKETVAR_H
8520 # include <sys/socketvar.h>
8521 #endif
8522 #ifdef HAVE_NET_ROUTE_H
8523 # include <net/route.h>
8524 #endif
8525 #ifdef HAVE_NETINET_IN_H
8526 # include <netinet/in.h>
8527 #endif
8528 #ifdef HAVE_NETINET_IN_SYSTM_H
8529 # include <netinet/in_systm.h>
8530 #endif
8531 #ifdef HAVE_NET_IF_H
8532 # include <net/if.h>
8533 #endif
8534 #ifdef HAVE_NETINET_IP_H
8535 # include <netinet/ip.h>
8536 #endif
8538 if test "x$ac_cv_header_net_if_h" = xyes
8539 then :
8540 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8543 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8544 #include <sys/socket.h>
8545 #ifdef HAVE_SYS_SOCKETVAR_H
8546 # include <sys/socketvar.h>
8547 #endif
8548 #ifdef HAVE_NET_ROUTE_H
8549 # include <net/route.h>
8550 #endif
8551 #ifdef HAVE_NETINET_IN_H
8552 # include <netinet/in.h>
8553 #endif
8554 #ifdef HAVE_NETINET_IN_SYSTM_H
8555 # include <netinet/in_systm.h>
8556 #endif
8557 #ifdef HAVE_NET_IF_H
8558 # include <net/if.h>
8559 #endif
8560 #ifdef HAVE_NETINET_IP_H
8561 # include <netinet/ip.h>
8562 #endif
8564 if test "x$ac_cv_header_net_if_arp_h" = xyes
8565 then :
8566 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8569 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8570 #include <sys/socket.h>
8571 #ifdef HAVE_SYS_SOCKETVAR_H
8572 # include <sys/socketvar.h>
8573 #endif
8574 #ifdef HAVE_NET_ROUTE_H
8575 # include <net/route.h>
8576 #endif
8577 #ifdef HAVE_NETINET_IN_H
8578 # include <netinet/in.h>
8579 #endif
8580 #ifdef HAVE_NETINET_IN_SYSTM_H
8581 # include <netinet/in_systm.h>
8582 #endif
8583 #ifdef HAVE_NET_IF_H
8584 # include <net/if.h>
8585 #endif
8586 #ifdef HAVE_NETINET_IP_H
8587 # include <netinet/ip.h>
8588 #endif
8590 if test "x$ac_cv_header_net_if_dl_h" = xyes
8591 then :
8592 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8595 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8596 #include <sys/socket.h>
8597 #ifdef HAVE_SYS_SOCKETVAR_H
8598 # include <sys/socketvar.h>
8599 #endif
8600 #ifdef HAVE_NET_ROUTE_H
8601 # include <net/route.h>
8602 #endif
8603 #ifdef HAVE_NETINET_IN_H
8604 # include <netinet/in.h>
8605 #endif
8606 #ifdef HAVE_NETINET_IN_SYSTM_H
8607 # include <netinet/in_systm.h>
8608 #endif
8609 #ifdef HAVE_NET_IF_H
8610 # include <net/if.h>
8611 #endif
8612 #ifdef HAVE_NETINET_IP_H
8613 # include <netinet/ip.h>
8614 #endif
8616 if test "x$ac_cv_header_net_if_types_h" = xyes
8617 then :
8618 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8621 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8622 #include <sys/socket.h>
8623 #ifdef HAVE_SYS_SOCKETVAR_H
8624 # include <sys/socketvar.h>
8625 #endif
8626 #ifdef HAVE_NET_ROUTE_H
8627 # include <net/route.h>
8628 #endif
8629 #ifdef HAVE_NETINET_IN_H
8630 # include <netinet/in.h>
8631 #endif
8632 #ifdef HAVE_NETINET_IN_SYSTM_H
8633 # include <netinet/in_systm.h>
8634 #endif
8635 #ifdef HAVE_NET_IF_H
8636 # include <net/if.h>
8637 #endif
8638 #ifdef HAVE_NETINET_IP_H
8639 # include <netinet/ip.h>
8640 #endif
8642 if test "x$ac_cv_header_net_route_h" = xyes
8643 then :
8644 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8647 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8648 #include <sys/socket.h>
8649 #ifdef HAVE_SYS_SOCKETVAR_H
8650 # include <sys/socketvar.h>
8651 #endif
8652 #ifdef HAVE_NET_ROUTE_H
8653 # include <net/route.h>
8654 #endif
8655 #ifdef HAVE_NETINET_IN_H
8656 # include <netinet/in.h>
8657 #endif
8658 #ifdef HAVE_NETINET_IN_SYSTM_H
8659 # include <netinet/in_systm.h>
8660 #endif
8661 #ifdef HAVE_NET_IF_H
8662 # include <net/if.h>
8663 #endif
8664 #ifdef HAVE_NETINET_IP_H
8665 # include <netinet/ip.h>
8666 #endif
8668 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8669 then :
8670 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8673 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8674 #include <sys/socket.h>
8675 #ifdef HAVE_SYS_SOCKETVAR_H
8676 # include <sys/socketvar.h>
8677 #endif
8678 #ifdef HAVE_NET_ROUTE_H
8679 # include <net/route.h>
8680 #endif
8681 #ifdef HAVE_NETINET_IN_H
8682 # include <netinet/in.h>
8683 #endif
8684 #ifdef HAVE_NETINET_IN_SYSTM_H
8685 # include <netinet/in_systm.h>
8686 #endif
8687 #ifdef HAVE_NET_IF_H
8688 # include <net/if.h>
8689 #endif
8690 #ifdef HAVE_NETINET_IP_H
8691 # include <netinet/ip.h>
8692 #endif
8694 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8695 then :
8696 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8699 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8700 #include <sys/socket.h>
8701 #ifdef HAVE_SYS_SOCKETVAR_H
8702 # include <sys/socketvar.h>
8703 #endif
8704 #ifdef HAVE_NET_ROUTE_H
8705 # include <net/route.h>
8706 #endif
8707 #ifdef HAVE_NETINET_IN_H
8708 # include <netinet/in.h>
8709 #endif
8710 #ifdef HAVE_NETINET_IN_SYSTM_H
8711 # include <netinet/in_systm.h>
8712 #endif
8713 #ifdef HAVE_NET_IF_H
8714 # include <net/if.h>
8715 #endif
8716 #ifdef HAVE_NETINET_IP_H
8717 # include <netinet/ip.h>
8718 #endif
8720 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8721 then :
8722 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8725 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8726 #include <sys/socket.h>
8727 #ifdef HAVE_SYS_SOCKETVAR_H
8728 # include <sys/socketvar.h>
8729 #endif
8730 #ifdef HAVE_NET_ROUTE_H
8731 # include <net/route.h>
8732 #endif
8733 #ifdef HAVE_NETINET_IN_H
8734 # include <netinet/in.h>
8735 #endif
8736 #ifdef HAVE_NETINET_IN_SYSTM_H
8737 # include <netinet/in_systm.h>
8738 #endif
8739 #ifdef HAVE_NET_IF_H
8740 # include <net/if.h>
8741 #endif
8742 #ifdef HAVE_NETINET_IP_H
8743 # include <netinet/ip.h>
8744 #endif
8746 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8747 then :
8748 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8751 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8752 #include <sys/socket.h>
8753 #ifdef HAVE_SYS_SOCKETVAR_H
8754 # include <sys/socketvar.h>
8755 #endif
8756 #ifdef HAVE_NET_ROUTE_H
8757 # include <net/route.h>
8758 #endif
8759 #ifdef HAVE_NETINET_IN_H
8760 # include <netinet/in.h>
8761 #endif
8762 #ifdef HAVE_NETINET_IN_SYSTM_H
8763 # include <netinet/in_systm.h>
8764 #endif
8765 #ifdef HAVE_NET_IF_H
8766 # include <net/if.h>
8767 #endif
8768 #ifdef HAVE_NETINET_IP_H
8769 # include <netinet/ip.h>
8770 #endif
8772 if test "x$ac_cv_header_netinet_udp_h" = xyes
8773 then :
8774 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8777 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8778 #include <sys/socket.h>
8779 #ifdef HAVE_SYS_SOCKETVAR_H
8780 # include <sys/socketvar.h>
8781 #endif
8782 #ifdef HAVE_NET_ROUTE_H
8783 # include <net/route.h>
8784 #endif
8785 #ifdef HAVE_NETINET_IN_H
8786 # include <netinet/in.h>
8787 #endif
8788 #ifdef HAVE_NETINET_IN_SYSTM_H
8789 # include <netinet/in_systm.h>
8790 #endif
8791 #ifdef HAVE_NET_IF_H
8792 # include <net/if.h>
8793 #endif
8794 #ifdef HAVE_NETINET_IP_H
8795 # include <netinet/ip.h>
8796 #endif
8798 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8799 then :
8800 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8803 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8804 #include <sys/socket.h>
8805 #ifdef HAVE_SYS_SOCKETVAR_H
8806 # include <sys/socketvar.h>
8807 #endif
8808 #ifdef HAVE_NET_ROUTE_H
8809 # include <net/route.h>
8810 #endif
8811 #ifdef HAVE_NETINET_IN_H
8812 # include <netinet/in.h>
8813 #endif
8814 #ifdef HAVE_NETINET_IN_SYSTM_H
8815 # include <netinet/in_systm.h>
8816 #endif
8817 #ifdef HAVE_NET_IF_H
8818 # include <net/if.h>
8819 #endif
8820 #ifdef HAVE_NETINET_IP_H
8821 # include <netinet/ip.h>
8822 #endif
8824 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8825 then :
8826 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8829 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8830 #include <sys/socket.h>
8831 #ifdef HAVE_SYS_SOCKETVAR_H
8832 # include <sys/socketvar.h>
8833 #endif
8834 #ifdef HAVE_NET_ROUTE_H
8835 # include <net/route.h>
8836 #endif
8837 #ifdef HAVE_NETINET_IN_H
8838 # include <netinet/in.h>
8839 #endif
8840 #ifdef HAVE_NETINET_IN_SYSTM_H
8841 # include <netinet/in_systm.h>
8842 #endif
8843 #ifdef HAVE_NET_IF_H
8844 # include <net/if.h>
8845 #endif
8846 #ifdef HAVE_NETINET_IP_H
8847 # include <netinet/ip.h>
8848 #endif
8850 if test "x$ac_cv_header_sys_un_h" = xyes
8851 then :
8852 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8857 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8858 #include <sys/socket.h>
8859 #ifdef HAVE_SYS_SOCKETVAR_H
8860 # include <sys/socketvar.h>
8861 #endif
8862 #ifdef HAVE_NETINET_IN_H
8863 # include <netinet/in.h>
8864 #endif
8865 #ifdef HAVE_NETINET_IN_SYSTM_H
8866 # include <netinet/in_systm.h>
8867 #endif
8868 #ifdef HAVE_NETINET_IP_H
8869 # include <netinet/ip.h>
8870 #endif
8871 #ifdef HAVE_NETINET_IP_VAR_H
8872 # include <netinet/ip_var.h>
8873 #endif
8874 #ifdef HAVE_NETINET_IP_ICMP_H
8875 # include <netinet/ip_icmp.h>
8876 #endif
8877 #ifdef HAVE_NETINET_UDP_H
8878 # include <netinet/udp.h>
8879 #endif
8880 #ifdef HAVE_NETINET_TCP_H
8881 # include <netinet/tcp.h>
8882 #endif
8884 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8885 then :
8886 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8889 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8890 #include <sys/socket.h>
8891 #ifdef HAVE_SYS_SOCKETVAR_H
8892 # include <sys/socketvar.h>
8893 #endif
8894 #ifdef HAVE_NETINET_IN_H
8895 # include <netinet/in.h>
8896 #endif
8897 #ifdef HAVE_NETINET_IN_SYSTM_H
8898 # include <netinet/in_systm.h>
8899 #endif
8900 #ifdef HAVE_NETINET_IP_H
8901 # include <netinet/ip.h>
8902 #endif
8903 #ifdef HAVE_NETINET_IP_VAR_H
8904 # include <netinet/ip_var.h>
8905 #endif
8906 #ifdef HAVE_NETINET_IP_ICMP_H
8907 # include <netinet/ip_icmp.h>
8908 #endif
8909 #ifdef HAVE_NETINET_UDP_H
8910 # include <netinet/udp.h>
8911 #endif
8912 #ifdef HAVE_NETINET_TCP_H
8913 # include <netinet/tcp.h>
8914 #endif
8916 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8917 then :
8918 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8921 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8922 #include <sys/socket.h>
8923 #ifdef HAVE_SYS_SOCKETVAR_H
8924 # include <sys/socketvar.h>
8925 #endif
8926 #ifdef HAVE_NETINET_IN_H
8927 # include <netinet/in.h>
8928 #endif
8929 #ifdef HAVE_NETINET_IN_SYSTM_H
8930 # include <netinet/in_systm.h>
8931 #endif
8932 #ifdef HAVE_NETINET_IP_H
8933 # include <netinet/ip.h>
8934 #endif
8935 #ifdef HAVE_NETINET_IP_VAR_H
8936 # include <netinet/ip_var.h>
8937 #endif
8938 #ifdef HAVE_NETINET_IP_ICMP_H
8939 # include <netinet/ip_icmp.h>
8940 #endif
8941 #ifdef HAVE_NETINET_UDP_H
8942 # include <netinet/udp.h>
8943 #endif
8944 #ifdef HAVE_NETINET_TCP_H
8945 # include <netinet/tcp.h>
8946 #endif
8948 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8949 then :
8950 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8953 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8954 #include <sys/socket.h>
8955 #ifdef HAVE_SYS_SOCKETVAR_H
8956 # include <sys/socketvar.h>
8957 #endif
8958 #ifdef HAVE_NETINET_IN_H
8959 # include <netinet/in.h>
8960 #endif
8961 #ifdef HAVE_NETINET_IN_SYSTM_H
8962 # include <netinet/in_systm.h>
8963 #endif
8964 #ifdef HAVE_NETINET_IP_H
8965 # include <netinet/ip.h>
8966 #endif
8967 #ifdef HAVE_NETINET_IP_VAR_H
8968 # include <netinet/ip_var.h>
8969 #endif
8970 #ifdef HAVE_NETINET_IP_ICMP_H
8971 # include <netinet/ip_icmp.h>
8972 #endif
8973 #ifdef HAVE_NETINET_UDP_H
8974 # include <netinet/udp.h>
8975 #endif
8976 #ifdef HAVE_NETINET_TCP_H
8977 # include <netinet/tcp.h>
8978 #endif
8980 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8981 then :
8982 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8987 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8988 #include <sys/socket.h>
8989 #ifdef HAVE_ASM_TYPES_H
8990 # include <asm/types.h>
8991 #endif
8992 #ifdef HAVE_LINUX_TYPES_H
8993 # include <linux/types.h>
8994 #endif
8996 if test "x$ac_cv_header_linux_ipx_h" = xyes
8997 then :
8998 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9001 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9002 #include <sys/socket.h>
9003 #ifdef HAVE_ASM_TYPES_H
9004 # include <asm/types.h>
9005 #endif
9006 #ifdef HAVE_LINUX_TYPES_H
9007 # include <linux/types.h>
9008 #endif
9010 if test "x$ac_cv_header_linux_irda_h" = xyes
9011 then :
9012 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9015 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9016 #include <sys/socket.h>
9017 #ifdef HAVE_ASM_TYPES_H
9018 # include <asm/types.h>
9019 #endif
9020 #ifdef HAVE_LINUX_TYPES_H
9021 # include <linux/types.h>
9022 #endif
9024 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9025 then :
9026 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9031 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9032 #include <sys/socket.h>
9033 #ifdef HAVE_NETINET_IN_H
9034 # include <netinet/in.h>
9035 #endif
9036 #ifdef HAVE_ARPA_NAMESER_H
9037 # include <arpa/nameser.h>
9038 #endif
9040 if test "x$ac_cv_header_resolv_h" = xyes
9041 then :
9042 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9047 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9049 if test "x$ac_cv_header_ifaddrs_h" = xyes
9050 then :
9051 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9056 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9058 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9059 then :
9060 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9065 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9066 #ifdef HAVE_SYS_UCONTEXT_H
9067 #include <sys/ucontext.h>
9068 #endif
9070 if test "x$ac_cv_header_sys_thr_h" = xyes
9071 then :
9072 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9077 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h>
9079 if test "x$ac_cv_header_pthread_np_h" = xyes
9080 then :
9081 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9086 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9087 #include <sys/types.h>
9088 #ifdef HAVE_ASM_TYPES_H
9089 #include <asm/types.h>
9090 #endif
9092 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9093 then :
9094 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9099 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9100 #include <sys/param.h>
9101 #endif
9102 #include <sys/socket.h>
9103 #ifdef HAVE_SYS_QUEUE_H
9104 #include <sys/queue.h>
9105 #endif
9107 if test "x$ac_cv_header_libprocstat_h" = xyes
9108 then :
9109 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9114 if test "x$ac_cv_header_sys_xattr_h" = xyes
9115 then
9116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9117 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9118 if test ${wine_cv_xattr_extra_args+y}
9119 then :
9120 printf %s "(cached) " >&6
9121 else $as_nop
9122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9123 /* end confdefs.h. */
9124 #include <sys/xattr.h>
9126 main (void)
9128 getxattr("", "", "", 0, 0, 0);
9130 return 0;
9132 _ACEOF
9133 if ac_fn_c_try_compile "$LINENO"
9134 then :
9135 wine_cv_xattr_extra_args=yes
9136 else $as_nop
9137 wine_cv_xattr_extra_args=no
9139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9142 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9143 test $wine_cv_xattr_extra_args != yes ||
9144 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9149 DLLFLAGS=""
9151 LDDLLFLAGS=""
9153 LDEXECFLAGS=""
9155 EXTRACFLAGS=""
9157 UNIXDLLFLAGS="-fPIC"
9159 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9161 TOP_INSTALL_LIB=""
9163 TOP_INSTALL_DEV=""
9165 WINELOADER_LDFLAGS=""
9167 WINEPRELOADER_LDFLAGS=""
9169 DLLEXT=".so"
9171 LIBEXT="so"
9172 # Extract the first word of "ldd", so it can be a program name with args.
9173 set dummy ldd; ac_word=$2
9174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9175 printf %s "checking for $ac_word... " >&6; }
9176 if test ${ac_cv_path_LDD+y}
9177 then :
9178 printf %s "(cached) " >&6
9179 else $as_nop
9180 case $LDD in
9181 [\\/]* | ?:[\\/]*)
9182 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9186 as_dummy="/sbin:/usr/sbin:$PATH"
9187 for as_dir in $as_dummy
9189 IFS=$as_save_IFS
9190 case $as_dir in #(((
9191 '') as_dir=./ ;;
9192 */) ;;
9193 *) as_dir=$as_dir/ ;;
9194 esac
9195 for ac_exec_ext in '' $ac_executable_extensions; do
9196 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9197 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9199 break 2
9201 done
9202 done
9203 IFS=$as_save_IFS
9205 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9207 esac
9209 LDD=$ac_cv_path_LDD
9210 if test -n "$LDD"; then
9211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9212 printf "%s\n" "$LDD" >&6; }
9213 else
9214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9215 printf "%s\n" "no" >&6; }
9219 if test -n "$ac_tool_prefix"; then
9220 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9221 set dummy ${ac_tool_prefix}otool; ac_word=$2
9222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9223 printf %s "checking for $ac_word... " >&6; }
9224 if test ${ac_cv_prog_OTOOL+y}
9225 then :
9226 printf %s "(cached) " >&6
9227 else $as_nop
9228 if test -n "$OTOOL"; then
9229 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9230 else
9231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9232 for as_dir in $PATH
9234 IFS=$as_save_IFS
9235 case $as_dir in #(((
9236 '') as_dir=./ ;;
9237 */) ;;
9238 *) as_dir=$as_dir/ ;;
9239 esac
9240 for ac_exec_ext in '' $ac_executable_extensions; do
9241 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9242 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9244 break 2
9246 done
9247 done
9248 IFS=$as_save_IFS
9252 OTOOL=$ac_cv_prog_OTOOL
9253 if test -n "$OTOOL"; then
9254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9255 printf "%s\n" "$OTOOL" >&6; }
9256 else
9257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9258 printf "%s\n" "no" >&6; }
9263 if test -z "$ac_cv_prog_OTOOL"; then
9264 ac_ct_OTOOL=$OTOOL
9265 # Extract the first word of "otool", so it can be a program name with args.
9266 set dummy otool; ac_word=$2
9267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9268 printf %s "checking for $ac_word... " >&6; }
9269 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9270 then :
9271 printf %s "(cached) " >&6
9272 else $as_nop
9273 if test -n "$ac_ct_OTOOL"; then
9274 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9275 else
9276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9277 for as_dir in $PATH
9279 IFS=$as_save_IFS
9280 case $as_dir in #(((
9281 '') as_dir=./ ;;
9282 */) ;;
9283 *) as_dir=$as_dir/ ;;
9284 esac
9285 for ac_exec_ext in '' $ac_executable_extensions; do
9286 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9287 ac_cv_prog_ac_ct_OTOOL="otool"
9288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9289 break 2
9291 done
9292 done
9293 IFS=$as_save_IFS
9297 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9298 if test -n "$ac_ct_OTOOL"; then
9299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9300 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9301 else
9302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9303 printf "%s\n" "no" >&6; }
9306 if test "x$ac_ct_OTOOL" = x; then
9307 OTOOL="otool"
9308 else
9309 case $cross_compiling:$ac_tool_warned in
9310 yes:)
9311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9312 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9313 ac_tool_warned=yes ;;
9314 esac
9315 OTOOL=$ac_ct_OTOOL
9317 else
9318 OTOOL="$ac_cv_prog_OTOOL"
9321 if test -n "$ac_tool_prefix"; then
9322 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9323 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9325 printf %s "checking for $ac_word... " >&6; }
9326 if test ${ac_cv_prog_READELF+y}
9327 then :
9328 printf %s "(cached) " >&6
9329 else $as_nop
9330 if test -n "$READELF"; then
9331 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9332 else
9333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9334 for as_dir in $PATH
9336 IFS=$as_save_IFS
9337 case $as_dir in #(((
9338 '') as_dir=./ ;;
9339 */) ;;
9340 *) as_dir=$as_dir/ ;;
9341 esac
9342 for ac_exec_ext in '' $ac_executable_extensions; do
9343 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9344 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9346 break 2
9348 done
9349 done
9350 IFS=$as_save_IFS
9354 READELF=$ac_cv_prog_READELF
9355 if test -n "$READELF"; then
9356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9357 printf "%s\n" "$READELF" >&6; }
9358 else
9359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9360 printf "%s\n" "no" >&6; }
9365 if test -z "$ac_cv_prog_READELF"; then
9366 ac_ct_READELF=$READELF
9367 # Extract the first word of "readelf", so it can be a program name with args.
9368 set dummy readelf; ac_word=$2
9369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9370 printf %s "checking for $ac_word... " >&6; }
9371 if test ${ac_cv_prog_ac_ct_READELF+y}
9372 then :
9373 printf %s "(cached) " >&6
9374 else $as_nop
9375 if test -n "$ac_ct_READELF"; then
9376 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9377 else
9378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9379 for as_dir in $PATH
9381 IFS=$as_save_IFS
9382 case $as_dir in #(((
9383 '') as_dir=./ ;;
9384 */) ;;
9385 *) as_dir=$as_dir/ ;;
9386 esac
9387 for ac_exec_ext in '' $ac_executable_extensions; do
9388 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9389 ac_cv_prog_ac_ct_READELF="readelf"
9390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9391 break 2
9393 done
9394 done
9395 IFS=$as_save_IFS
9399 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9400 if test -n "$ac_ct_READELF"; then
9401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9402 printf "%s\n" "$ac_ct_READELF" >&6; }
9403 else
9404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9405 printf "%s\n" "no" >&6; }
9408 if test "x$ac_ct_READELF" = x; then
9409 READELF="true"
9410 else
9411 case $cross_compiling:$ac_tool_warned in
9412 yes:)
9413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9414 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9415 ac_tool_warned=yes ;;
9416 esac
9417 READELF=$ac_ct_READELF
9419 else
9420 READELF="$ac_cv_prog_READELF"
9423 wine_rules="all:"
9424 SUBDIRS=""
9426 DISABLED_SUBDIRS=""
9428 CONFIGURE_TARGETS=""
9431 wine_fn_config_makefile ()
9433 as_fn_append SUBDIRS " \\$as_nl $1"
9434 eval enable=\$$2
9435 case "$enable" in
9436 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9437 yes) ;;
9438 *aarch64*|*arm*|*i386*|*x86_64*)
9439 if test -n "$PE_ARCHS"
9440 then
9441 for i in $PE_ARCHS
9443 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9444 done
9445 else
9446 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9447 fi ;;
9449 case "$1, $PE_ARCHS " in
9450 programs/*,*\ arm64ec\ *) as_fn_append arm64ec_DISABLED_SUBDIRS " $1" ;;
9451 esac ;;
9452 esac
9455 wine_fn_config_symlink ()
9457 ac_links=$@
9458 as_fn_append wine_rules "
9459 $ac_links:
9460 @./config.status \$@"
9461 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9464 case $host_os in
9465 cygwin*|mingw32*)
9466 LIBEXT="dll"
9467 DLLEXT=""
9468 EXTRACFLAGS="-D__WINE_PE_BUILD"
9469 if test "x$HOST_ARCH" = xi386
9470 then :
9471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9472 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9473 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9474 then :
9475 printf %s "(cached) " >&6
9476 else $as_nop
9477 ac_wine_try_cflags_saved=$CFLAGS
9478 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9480 /* end confdefs.h. */
9481 int main(int argc, char **argv) { return 0; }
9482 _ACEOF
9483 if ac_fn_c_try_link "$LINENO"
9484 then :
9485 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9486 else $as_nop
9487 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9490 conftest$ac_exeext conftest.$ac_ext
9491 CFLAGS=$ac_wine_try_cflags_saved
9493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9494 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9495 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9496 then :
9497 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9500 enable_loader=${enable_loader:-no}
9501 enable_server=${enable_server:-no}
9502 with_x=${with_x:-no}
9503 with_pthread=${with_pthread:-no}
9506 darwin*|macosx*)
9507 LIBEXT="dylib"
9508 DLLFLAGS="$DLLFLAGS -fPIC"
9509 LDDLLFLAGS="-fPIC"
9510 enable_winemac_drv=${enable_winemac_drv:-yes}
9511 CARBON_LIBS="-framework Carbon"
9513 COREFOUNDATION_LIBS="-framework CoreFoundation"
9515 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9517 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9519 METAL_LIBS="-framework Metal"
9521 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9523 CORESERVICES_LIBS="-framework CoreServices"
9525 APPKIT_LIBS="-framework AppKit"
9527 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9529 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9532 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9534 case $HOST_ARCH in
9535 i386|x86_64) wine_can_build_preloader=yes ;;
9536 *) wine_can_build_preloader=no ;;
9537 esac
9539 if test "$wine_can_build_preloader" = "yes"
9540 then
9541 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -mmacosx-version-min=10.7 -Wl,-no_new_main,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9543 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9544 if test ${ac_cv_cflags__Wl__no_pie+y}
9545 then :
9546 printf %s "(cached) " >&6
9547 else $as_nop
9548 ac_wine_try_cflags_saved=$CFLAGS
9549 CFLAGS="$CFLAGS -Wl,-no_pie"
9550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9551 /* end confdefs.h. */
9552 int main(int argc, char **argv) { return 0; }
9553 _ACEOF
9554 if ac_fn_c_try_link "$LINENO"
9555 then :
9556 ac_cv_cflags__Wl__no_pie=yes
9557 else $as_nop
9558 ac_cv_cflags__Wl__no_pie=no
9560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9561 conftest$ac_exeext conftest.$ac_ext
9562 CFLAGS=$ac_wine_try_cflags_saved
9564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9565 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9566 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9567 then :
9568 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9570 case $HOST_ARCH in
9571 i386)
9572 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9574 x86_64)
9575 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9577 esac
9578 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9579 else
9580 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9583 if test "x$with_coreaudio" != "xno";
9584 then
9585 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9587 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9589 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9590 then
9591 OPENCL_LIBS="-framework OpenCL"
9593 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9597 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9598 ac_ext=m
9599 ac_cpp='$OBJCPP $CPPFLAGS'
9600 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9601 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9602 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9604 ac_ext=m
9605 ac_cpp='$OBJCPP $CPPFLAGS'
9606 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9607 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9608 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9609 if test -n "$ac_tool_prefix"; then
9610 for ac_prog in gcc objcc objc cc CC clang
9612 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9613 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9615 printf %s "checking for $ac_word... " >&6; }
9616 if test ${ac_cv_prog_OBJC+y}
9617 then :
9618 printf %s "(cached) " >&6
9619 else $as_nop
9620 if test -n "$OBJC"; then
9621 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9622 else
9623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9624 for as_dir in $PATH
9626 IFS=$as_save_IFS
9627 case $as_dir in #(((
9628 '') as_dir=./ ;;
9629 */) ;;
9630 *) as_dir=$as_dir/ ;;
9631 esac
9632 for ac_exec_ext in '' $ac_executable_extensions; do
9633 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9634 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9635 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9636 break 2
9638 done
9639 done
9640 IFS=$as_save_IFS
9644 OBJC=$ac_cv_prog_OBJC
9645 if test -n "$OBJC"; then
9646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9647 printf "%s\n" "$OBJC" >&6; }
9648 else
9649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9650 printf "%s\n" "no" >&6; }
9654 test -n "$OBJC" && break
9655 done
9657 if test -z "$OBJC"; then
9658 ac_ct_OBJC=$OBJC
9659 for ac_prog in gcc objcc objc cc CC clang
9661 # Extract the first word of "$ac_prog", so it can be a program name with args.
9662 set dummy $ac_prog; ac_word=$2
9663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9664 printf %s "checking for $ac_word... " >&6; }
9665 if test ${ac_cv_prog_ac_ct_OBJC+y}
9666 then :
9667 printf %s "(cached) " >&6
9668 else $as_nop
9669 if test -n "$ac_ct_OBJC"; then
9670 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9671 else
9672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9673 for as_dir in $PATH
9675 IFS=$as_save_IFS
9676 case $as_dir in #(((
9677 '') as_dir=./ ;;
9678 */) ;;
9679 *) as_dir=$as_dir/ ;;
9680 esac
9681 for ac_exec_ext in '' $ac_executable_extensions; do
9682 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9683 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9684 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9685 break 2
9687 done
9688 done
9689 IFS=$as_save_IFS
9693 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9694 if test -n "$ac_ct_OBJC"; then
9695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9696 printf "%s\n" "$ac_ct_OBJC" >&6; }
9697 else
9698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9699 printf "%s\n" "no" >&6; }
9703 test -n "$ac_ct_OBJC" && break
9704 done
9706 if test "x$ac_ct_OBJC" = x; then
9707 OBJC="gcc"
9708 else
9709 case $cross_compiling:$ac_tool_warned in
9710 yes:)
9711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9712 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9713 ac_tool_warned=yes ;;
9714 esac
9715 OBJC=$ac_ct_OBJC
9719 # Provide some information about the compiler.
9720 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9721 set X $ac_compile
9722 ac_compiler=$2
9723 for ac_option in --version -v -V -qversion; do
9724 { { ac_try="$ac_compiler $ac_option >&5"
9725 case "(($ac_try" in
9726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9727 *) ac_try_echo=$ac_try;;
9728 esac
9729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9730 printf "%s\n" "$ac_try_echo"; } >&5
9731 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9732 ac_status=$?
9733 if test -s conftest.err; then
9734 sed '10a\
9735 ... rest of stderr output deleted ...
9736 10q' conftest.err >conftest.er1
9737 cat conftest.er1 >&5
9739 rm -f conftest.er1 conftest.err
9740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9741 test $ac_status = 0; }
9742 done
9744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9745 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9746 if test ${ac_cv_objc_compiler_gnu+y}
9747 then :
9748 printf %s "(cached) " >&6
9749 else $as_nop
9750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9751 /* end confdefs.h. */
9754 main (void)
9756 #ifndef __GNUC__
9757 choke me
9758 #endif
9761 return 0;
9763 _ACEOF
9764 if ac_fn_objc_try_compile "$LINENO"
9765 then :
9766 ac_compiler_gnu=yes
9767 else $as_nop
9768 ac_compiler_gnu=no
9770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9771 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9775 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9776 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9778 if test $ac_compiler_gnu = yes; then
9779 GOBJC=yes
9780 else
9781 GOBJC=
9783 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9784 ac_save_OBJCFLAGS=$OBJCFLAGS
9785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9786 printf %s "checking whether $OBJC accepts -g... " >&6; }
9787 if test ${ac_cv_prog_objc_g+y}
9788 then :
9789 printf %s "(cached) " >&6
9790 else $as_nop
9791 ac_save_objc_werror_flag=$ac_objc_werror_flag
9792 ac_objc_werror_flag=yes
9793 ac_cv_prog_objc_g=no
9794 OBJCFLAGS="-g"
9795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9796 /* end confdefs.h. */
9799 main (void)
9803 return 0;
9805 _ACEOF
9806 if ac_fn_objc_try_compile "$LINENO"
9807 then :
9808 ac_cv_prog_objc_g=yes
9809 else $as_nop
9810 OBJCFLAGS=""
9811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9812 /* end confdefs.h. */
9815 main (void)
9819 return 0;
9821 _ACEOF
9822 if ac_fn_objc_try_compile "$LINENO"
9823 then :
9825 else $as_nop
9826 ac_objc_werror_flag=$ac_save_objc_werror_flag
9827 OBJCFLAGS="-g"
9828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9832 main (void)
9836 return 0;
9838 _ACEOF
9839 if ac_fn_objc_try_compile "$LINENO"
9840 then :
9841 ac_cv_prog_objc_g=yes
9843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9848 ac_objc_werror_flag=$ac_save_objc_werror_flag
9850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9851 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9852 if test $ac_test_OBJCFLAGS; then
9853 OBJCFLAGS=$ac_save_OBJCFLAGS
9854 elif test $ac_cv_prog_objc_g = yes; then
9855 if test "$GOBJC" = yes; then
9856 OBJCFLAGS="-g -O2"
9857 else
9858 OBJCFLAGS="-g"
9860 else
9861 if test "$GOBJC" = yes; then
9862 OBJCFLAGS="-O2"
9863 else
9864 OBJCFLAGS=
9867 ac_ext=m
9868 ac_cpp='$OBJCPP $CPPFLAGS'
9869 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9870 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9871 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9875 /* end confdefs.h. */
9876 #include <Metal/Metal.h>
9878 main (void)
9880 id<MTLDevice> device; device.registryID;
9882 return 0;
9884 _ACEOF
9885 if ac_fn_objc_try_compile "$LINENO"
9886 then :
9887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9888 printf "%s\n" "yes" >&6; }
9890 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9892 else $as_nop
9893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9894 printf "%s\n" "no" >&6; }
9896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9897 ac_ext=c
9898 ac_cpp='$CPP $CPPFLAGS'
9899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9904 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9905 WINELOADER_DEPENDS="wine_info.plist"
9909 linux-android*)
9911 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9913 DLLFLAGS="$DLLFLAGS -fPIC"
9914 LDDLLFLAGS="-fPIC"
9915 LDEXECFLAGS="-Wl,-pie"
9916 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9918 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9919 if test ${ac_cv_cflags__Wl__z_defs+y}
9920 then :
9921 printf %s "(cached) " >&6
9922 else $as_nop
9923 ac_wine_try_cflags_saved=$CFLAGS
9924 CFLAGS="$CFLAGS -Wl,-z,defs"
9925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9926 /* end confdefs.h. */
9927 int main(int argc, char **argv) { return 0; }
9928 _ACEOF
9929 if ac_fn_c_try_link "$LINENO"
9930 then :
9931 ac_cv_cflags__Wl__z_defs=yes
9932 else $as_nop
9933 ac_cv_cflags__Wl__z_defs=no
9935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9936 conftest$ac_exeext conftest.$ac_ext
9937 CFLAGS=$ac_wine_try_cflags_saved
9939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9940 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9941 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9942 then :
9943 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9946 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9947 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9948 then :
9949 printf %s "(cached) " >&6
9950 else $as_nop
9951 ac_wine_try_cflags_saved=$CFLAGS
9952 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9954 /* end confdefs.h. */
9955 int main(int argc, char **argv) { return 0; }
9956 _ACEOF
9957 if ac_fn_c_try_link "$LINENO"
9958 then :
9959 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9960 else $as_nop
9961 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9964 conftest$ac_exeext conftest.$ac_ext
9965 CFLAGS=$ac_wine_try_cflags_saved
9967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9968 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9969 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9970 then :
9971 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9973 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9976 printf %s "checking for -lEGL... " >&6; }
9977 if test ${ac_cv_lib_soname_EGL+y}
9978 then :
9979 printf %s "(cached) " >&6
9980 else $as_nop
9981 ac_check_soname_save_LIBS=$LIBS
9982 LIBS="-lEGL $LIBS"
9983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9984 /* end confdefs.h. */
9986 /* Override any GCC internal prototype to avoid an error.
9987 Use char because int might match the return type of a GCC
9988 builtin and then its argument prototype would still apply. */
9989 char eglGetProcAddress ();
9991 main (void)
9993 return eglGetProcAddress ();
9995 return 0;
9997 _ACEOF
9998 if ac_fn_c_try_link "$LINENO"
9999 then :
10000 case "$LIBEXT" in
10001 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10002 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'` ;;
10003 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10004 if ${ac_cv_lib_soname_EGL:+false} :
10005 then :
10006 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10007 fi ;;
10008 esac
10009 else $as_nop
10010 ac_cv_lib_soname_EGL=
10012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10013 conftest$ac_exeext conftest.$ac_ext
10014 LIBS=$ac_check_soname_save_LIBS
10016 if ${ac_cv_lib_soname_EGL:+false} :
10017 then :
10018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10019 printf "%s\n" "not found" >&6; }
10021 else $as_nop
10022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10023 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10025 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10030 printf %s "checking for -lGLESv2... " >&6; }
10031 if test ${ac_cv_lib_soname_GLESv2+y}
10032 then :
10033 printf %s "(cached) " >&6
10034 else $as_nop
10035 ac_check_soname_save_LIBS=$LIBS
10036 LIBS="-lGLESv2 $LIBS"
10037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10038 /* end confdefs.h. */
10040 /* Override any GCC internal prototype to avoid an error.
10041 Use char because int might match the return type of a GCC
10042 builtin and then its argument prototype would still apply. */
10043 char glFlush ();
10045 main (void)
10047 return glFlush ();
10049 return 0;
10051 _ACEOF
10052 if ac_fn_c_try_link "$LINENO"
10053 then :
10054 case "$LIBEXT" in
10055 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10056 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'` ;;
10057 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10058 if ${ac_cv_lib_soname_GLESv2:+false} :
10059 then :
10060 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10061 fi ;;
10062 esac
10063 else $as_nop
10064 ac_cv_lib_soname_GLESv2=
10066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10067 conftest$ac_exeext conftest.$ac_ext
10068 LIBS=$ac_check_soname_save_LIBS
10070 if ${ac_cv_lib_soname_GLESv2:+false} :
10071 then :
10072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10073 printf "%s\n" "not found" >&6; }
10075 else $as_nop
10076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10077 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10079 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10084 if test "x$exec_prefix" = xNONE
10085 then
10086 case $HOST_ARCH in
10087 i386) exec_prefix='${prefix}/x86' ;;
10088 x86_64) exec_prefix='${prefix}/x86_64' ;;
10089 arm) exec_prefix='${prefix}/armeabi-v7a' ;;
10090 aarch64) exec_prefix='${prefix}/arm64-v8a' ;;
10091 esac
10097 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10099 if test $HOST_ARCH = i386
10100 then
10101 DLLFLAGS="$DLLFLAGS -fno-PIC"
10102 LDDLLFLAGS="-fno-PIC"
10103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10104 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10105 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10106 then :
10107 printf %s "(cached) " >&6
10108 else $as_nop
10109 ac_wine_try_cflags_saved=$CFLAGS
10110 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10112 /* end confdefs.h. */
10113 int main(int argc, char **argv) { return 0; }
10114 _ACEOF
10115 if ac_fn_c_try_link "$LINENO"
10116 then :
10117 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10118 else $as_nop
10119 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10122 conftest$ac_exeext conftest.$ac_ext
10123 CFLAGS=$ac_wine_try_cflags_saved
10125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10126 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10127 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10128 then :
10129 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10131 else
10132 DLLFLAGS="$DLLFLAGS -fPIC"
10133 LDDLLFLAGS="-fPIC"
10136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10137 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10138 if test ${ac_cv_wl_z_defs+y}
10139 then :
10140 printf %s "(cached) " >&6
10141 else $as_nop
10142 ac_save_CFLAGS="$CFLAGS"
10143 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10145 /* end confdefs.h. */
10146 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10147 _ACEOF
10148 if ac_fn_c_try_link "$LINENO"
10149 then :
10150 ac_cv_wl_z_defs=yes
10151 else $as_nop
10152 ac_cv_wl_z_defs=no
10154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10155 conftest$ac_exeext conftest.$ac_ext
10156 CFLAGS=$ac_save_CFLAGS
10158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10159 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10160 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10163 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10164 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10165 then :
10166 printf %s "(cached) " >&6
10167 else $as_nop
10168 ac_wine_try_cflags_saved=$CFLAGS
10169 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10171 /* end confdefs.h. */
10172 int main(int argc, char **argv) { return 0; }
10173 _ACEOF
10174 if ac_fn_c_try_link "$LINENO"
10175 then :
10176 ac_cv_cflags__Wl___export_dynamic=yes
10177 else $as_nop
10178 ac_cv_cflags__Wl___export_dynamic=no
10180 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10181 conftest$ac_exeext conftest.$ac_ext
10182 CFLAGS=$ac_wine_try_cflags_saved
10184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10185 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10186 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10187 then :
10188 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10190 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10192 case $host_os in
10193 linux*)
10194 as_fn_append WINELOADER_LDFLAGS " -pie"
10195 case $HOST_ARCH in
10196 i386|arm)
10197 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10200 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10201 if test ${ac_cv_cflags__static_pie+y}
10202 then :
10203 printf %s "(cached) " >&6
10204 else $as_nop
10205 ac_wine_try_cflags_saved=$CFLAGS
10206 CFLAGS="$CFLAGS -static-pie"
10207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10208 /* end confdefs.h. */
10209 int main(int argc, char **argv) { return 0; }
10210 _ACEOF
10211 if ac_fn_c_try_link "$LINENO"
10212 then :
10213 ac_cv_cflags__static_pie=yes
10214 else $as_nop
10215 ac_cv_cflags__static_pie=no
10217 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10218 conftest$ac_exeext conftest.$ac_ext
10219 CFLAGS=$ac_wine_try_cflags_saved
10221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10222 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10223 if test "x$ac_cv_cflags__static_pie" = xyes
10224 then :
10225 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10226 else $as_nop
10227 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10230 esac
10233 case $HOST_ARCH in
10234 i386|arm)
10235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10236 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10237 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10238 then :
10239 printf %s "(cached) " >&6
10240 else $as_nop
10241 ac_wine_try_cflags_saved=$CFLAGS
10242 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10245 int main(int argc, char **argv) { return 0; }
10246 _ACEOF
10247 if ac_fn_c_try_link "$LINENO"
10248 then :
10249 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10250 else $as_nop
10251 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10254 conftest$ac_exeext conftest.$ac_ext
10255 CFLAGS=$ac_wine_try_cflags_saved
10257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10258 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10259 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10260 then :
10261 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10262 else $as_nop
10263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10264 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10265 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10266 then :
10267 printf %s "(cached) " >&6
10268 else $as_nop
10269 ac_wine_try_cflags_saved=$CFLAGS
10270 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10272 /* end confdefs.h. */
10273 int main(int argc, char **argv) { return 0; }
10274 _ACEOF
10275 if ac_fn_c_try_link "$LINENO"
10276 then :
10277 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10278 else $as_nop
10279 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10282 conftest$ac_exeext conftest.$ac_ext
10283 CFLAGS=$ac_wine_try_cflags_saved
10285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10286 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10287 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10288 then :
10289 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10294 as_fn_append WINELOADER_LDFLAGS " -pie"
10296 esac
10298 esac
10300 esac
10302 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10303 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10304 enable_winemac_drv=${enable_winemac_drv:-no}
10306 PE_ARCHS=""
10308 cross_archs=
10309 if test ${enable_archs+y}
10310 then :
10311 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10312 ac_save_IFS=$IFS
10313 IFS=' ,'
10314 set x $enable_archs
10315 IFS=$ac_save_IFS
10316 shift
10317 for arch
10319 case $arch in
10320 i386|x86_64|arm|aarch64|arm64ec) cross_archs="$cross_archs $arch" ;;
10321 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10322 esac
10323 done
10324 else $as_nop
10325 if test "x$with_mingw" != xno
10326 then
10327 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10331 saved_CC=$CC
10332 saved_CFLAGS=$CFLAGS
10333 saved_LDFLAGS=$LDFLAGS
10335 { extra_arch=; unset extra_arch;}
10336 for arch in $cross_archs
10338 case $arch in
10339 arm64ec) test ${extra_arch+y} || extra_arch=x86_64 ;;
10340 x86_64) extra_arch="" ;;
10341 esac
10342 done
10344 for wine_arch in $cross_archs $extra_arch
10346 case "x$with_mingw" in
10347 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10348 esac
10349 if eval \${${wine_arch}_CC:+false} :
10350 then :
10351 case $wine_arch in
10352 aarch64)
10353 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10355 # Extract the first word of "$ac_prog", so it can be a program name with args.
10356 set dummy $ac_prog; ac_word=$2
10357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10358 printf %s "checking for $ac_word... " >&6; }
10359 if test ${ac_cv_prog_aarch64_CC+y}
10360 then :
10361 printf %s "(cached) " >&6
10362 else $as_nop
10363 if test -n "$aarch64_CC"; then
10364 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10365 else
10366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10367 for as_dir in $PATH
10369 IFS=$as_save_IFS
10370 case $as_dir in #(((
10371 '') as_dir=./ ;;
10372 */) ;;
10373 *) as_dir=$as_dir/ ;;
10374 esac
10375 for ac_exec_ext in '' $ac_executable_extensions; do
10376 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10377 ac_cv_prog_aarch64_CC="$ac_prog"
10378 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10379 break 2
10381 done
10382 done
10383 IFS=$as_save_IFS
10387 aarch64_CC=$ac_cv_prog_aarch64_CC
10388 if test -n "$aarch64_CC"; then
10389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10390 printf "%s\n" "$aarch64_CC" >&6; }
10391 else
10392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10393 printf "%s\n" "no" >&6; }
10397 test -n "$aarch64_CC" && break
10398 done
10399 test -n "$aarch64_CC" || aarch64_CC="false"
10402 arm64ec)
10403 for ac_prog in arm64ec-w64-mingw32-clang arm64ec-w64-mingw32-gcc clang
10405 # Extract the first word of "$ac_prog", so it can be a program name with args.
10406 set dummy $ac_prog; ac_word=$2
10407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10408 printf %s "checking for $ac_word... " >&6; }
10409 if test ${ac_cv_prog_arm64ec_CC+y}
10410 then :
10411 printf %s "(cached) " >&6
10412 else $as_nop
10413 if test -n "$arm64ec_CC"; then
10414 ac_cv_prog_arm64ec_CC="$arm64ec_CC" # Let the user override the test.
10415 else
10416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10417 for as_dir in $PATH
10419 IFS=$as_save_IFS
10420 case $as_dir in #(((
10421 '') as_dir=./ ;;
10422 */) ;;
10423 *) as_dir=$as_dir/ ;;
10424 esac
10425 for ac_exec_ext in '' $ac_executable_extensions; do
10426 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10427 ac_cv_prog_arm64ec_CC="$ac_prog"
10428 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10429 break 2
10431 done
10432 done
10433 IFS=$as_save_IFS
10437 arm64ec_CC=$ac_cv_prog_arm64ec_CC
10438 if test -n "$arm64ec_CC"; then
10439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm64ec_CC" >&5
10440 printf "%s\n" "$arm64ec_CC" >&6; }
10441 else
10442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10443 printf "%s\n" "no" >&6; }
10447 test -n "$arm64ec_CC" && break
10448 done
10449 test -n "$arm64ec_CC" || arm64ec_CC="false"
10452 arm)
10453 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10455 # Extract the first word of "$ac_prog", so it can be a program name with args.
10456 set dummy $ac_prog; ac_word=$2
10457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10458 printf %s "checking for $ac_word... " >&6; }
10459 if test ${ac_cv_prog_arm_CC+y}
10460 then :
10461 printf %s "(cached) " >&6
10462 else $as_nop
10463 if test -n "$arm_CC"; then
10464 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10465 else
10466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10467 for as_dir in $PATH
10469 IFS=$as_save_IFS
10470 case $as_dir in #(((
10471 '') as_dir=./ ;;
10472 */) ;;
10473 *) as_dir=$as_dir/ ;;
10474 esac
10475 for ac_exec_ext in '' $ac_executable_extensions; do
10476 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10477 ac_cv_prog_arm_CC="$ac_prog"
10478 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10479 break 2
10481 done
10482 done
10483 IFS=$as_save_IFS
10487 arm_CC=$ac_cv_prog_arm_CC
10488 if test -n "$arm_CC"; then
10489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10490 printf "%s\n" "$arm_CC" >&6; }
10491 else
10492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10493 printf "%s\n" "no" >&6; }
10497 test -n "$arm_CC" && break
10498 done
10499 test -n "$arm_CC" || arm_CC="false"
10502 i386)
10503 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang "
10504 for ac_prog in $ac_prefix_list clang
10506 # Extract the first word of "$ac_prog", so it can be a program name with args.
10507 set dummy $ac_prog; ac_word=$2
10508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10509 printf %s "checking for $ac_word... " >&6; }
10510 if test ${ac_cv_prog_i386_CC+y}
10511 then :
10512 printf %s "(cached) " >&6
10513 else $as_nop
10514 if test -n "$i386_CC"; then
10515 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10516 else
10517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10518 for as_dir in $PATH
10520 IFS=$as_save_IFS
10521 case $as_dir in #(((
10522 '') as_dir=./ ;;
10523 */) ;;
10524 *) as_dir=$as_dir/ ;;
10525 esac
10526 for ac_exec_ext in '' $ac_executable_extensions; do
10527 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10528 ac_cv_prog_i386_CC="$ac_prog"
10529 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10530 break 2
10532 done
10533 done
10534 IFS=$as_save_IFS
10538 i386_CC=$ac_cv_prog_i386_CC
10539 if test -n "$i386_CC"; then
10540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10541 printf "%s\n" "$i386_CC" >&6; }
10542 else
10543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10544 printf "%s\n" "no" >&6; }
10548 test -n "$i386_CC" && break
10549 done
10550 test -n "$i386_CC" || i386_CC="false"
10553 x86_64)
10554 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10555 for ac_prog in $ac_prefix_list clang
10557 # Extract the first word of "$ac_prog", so it can be a program name with args.
10558 set dummy $ac_prog; ac_word=$2
10559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10560 printf %s "checking for $ac_word... " >&6; }
10561 if test ${ac_cv_prog_x86_64_CC+y}
10562 then :
10563 printf %s "(cached) " >&6
10564 else $as_nop
10565 if test -n "$x86_64_CC"; then
10566 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10567 else
10568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10569 for as_dir in $PATH
10571 IFS=$as_save_IFS
10572 case $as_dir in #(((
10573 '') as_dir=./ ;;
10574 */) ;;
10575 *) as_dir=$as_dir/ ;;
10576 esac
10577 for ac_exec_ext in '' $ac_executable_extensions; do
10578 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10579 ac_cv_prog_x86_64_CC="$ac_prog"
10580 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10581 break 2
10583 done
10584 done
10585 IFS=$as_save_IFS
10589 x86_64_CC=$ac_cv_prog_x86_64_CC
10590 if test -n "$x86_64_CC"; then
10591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10592 printf "%s\n" "$x86_64_CC" >&6; }
10593 else
10594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10595 printf "%s\n" "no" >&6; }
10599 test -n "$x86_64_CC" && break
10600 done
10601 test -n "$x86_64_CC" || x86_64_CC="false"
10604 esac
10607 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10608 LDFLAGS=$CROSSLDFLAGS
10609 eval CC=\$${wine_arch}_CC
10610 eval ${wine_arch}_CFLAGS=\$CFLAGS
10611 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10612 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10614 target=""
10615 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10617 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10618 then :
10620 else $as_nop
10621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10622 printf %s "checking whether $CC works... " >&6; }
10623 if eval test \${$as_wine_cv_crosscc+y}
10624 then :
10625 printf %s "(cached) " >&6
10626 else $as_nop
10627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10628 /* end confdefs.h. */
10631 main (void)
10635 return 0;
10637 _ACEOF
10638 if ac_fn_c_try_compile "$LINENO"
10639 then :
10640 eval "$as_wine_cv_crosscc=yes"
10641 else $as_nop
10642 eval "$as_wine_cv_crosscc=no"
10644 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10646 eval ac_res=\$$as_wine_cv_crosscc
10647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10648 printf "%s\n" "$ac_res" >&6; }
10650 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10651 then :
10652 set x $CC
10653 shift
10654 while test $# -ge 1
10656 case "$1" in
10657 */*-gcc) target=`expr "$1" : '.*/\(.*\)-gcc'` ;;
10658 */*-clang) target=`expr "$1" : '.*/\(.*\)-clang'` ;;
10659 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10660 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10661 esac
10662 shift
10663 done
10665 llvm_target=$target
10666 if test -z "$llvm_target"
10667 then
10668 case $wine_arch in
10669 i386) llvm_target=i686-windows ;;
10670 arm) llvm_target=armv7-windows ;;
10671 *) llvm_target=$wine_arch-windows ;;
10672 esac
10674 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10675 llvm_extra_ldflags=""
10676 case $llvm_target in
10677 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10678 esac
10679 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags --no-default-config" | $as_tr_sh`
10680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config" >&5
10681 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config... " >&6; }
10682 if eval test \${$as_ac_var+y}
10683 then :
10684 printf %s "(cached) " >&6
10685 else $as_nop
10686 ac_wine_try_cflags_saved=$CFLAGS
10687 ac_wine_try_cflags_saved_exeext=$ac_exeext
10688 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags --no-default-config"
10689 ac_exeext=".exe"
10690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10691 /* end confdefs.h. */
10692 void *__os_arm64x_dispatch_ret = 0;
10693 int __cdecl mainCRTStartup(void) { return 0; }
10694 _ACEOF
10695 if ac_fn_c_try_link "$LINENO"
10696 then :
10697 eval "$as_ac_var=yes"
10698 else $as_nop
10699 eval "$as_ac_var=no"
10701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10702 conftest$ac_exeext conftest.$ac_ext
10703 CFLAGS=$ac_wine_try_cflags_saved
10704 ac_exeext=$ac_wine_try_cflags_saved_exeext
10706 eval ac_res=\$$as_ac_var
10707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10708 printf "%s\n" "$ac_res" >&6; }
10709 if eval test \"x\$"$as_ac_var"\" = x"yes"
10710 then :
10711 llvm_extra_cflags="$llvm_extra_cflags --no-default-config"
10712 llvm_extra_ldflags="--no-default-config"
10713 else $as_nop
10714 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10716 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10717 if eval test \${$as_ac_var+y}
10718 then :
10719 printf %s "(cached) " >&6
10720 else $as_nop
10721 ac_wine_try_cflags_saved=$CFLAGS
10722 ac_wine_try_cflags_saved_exeext=$ac_exeext
10723 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10724 ac_exeext=".exe"
10725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10726 /* end confdefs.h. */
10727 void *__os_arm64x_dispatch_ret = 0;
10728 int __cdecl mainCRTStartup(void) { return 0; }
10729 _ACEOF
10730 if ac_fn_c_try_link "$LINENO"
10731 then :
10732 eval "$as_ac_var=yes"
10733 else $as_nop
10734 eval "$as_ac_var=no"
10736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10737 conftest$ac_exeext conftest.$ac_ext
10738 CFLAGS=$ac_wine_try_cflags_saved
10739 ac_exeext=$ac_wine_try_cflags_saved_exeext
10741 eval ac_res=\$$as_ac_var
10742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10743 printf "%s\n" "$ac_res" >&6; }
10744 if eval test \"x\$"$as_ac_var"\" = x"yes"
10745 then :
10747 else $as_nop
10748 llvm_extra_cflags=""
10749 fi }
10750 fi }
10751 if test -n "$llvm_extra_cflags"
10752 then
10753 target=$llvm_target
10754 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10755 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10756 as_fn_append ${wine_arch}_LDFLAGS " $llvm_extra_ldflags"
10757 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10759 eval "${wine_arch}_TARGET=\$target"
10763 if test -z "$target"
10764 then
10765 if test ${enable_archs+y}
10766 then :
10767 as_fn_error $? "$wine_arch PE cross-compiler not found.
10768 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10770 continue
10773 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10776 printf %s "checking for $CC option to enable C99 features... " >&6; }
10777 if eval test \${$as_wine_cv_crosscc_c99+y}
10778 then :
10779 printf %s "(cached) " >&6
10780 else $as_nop
10781 eval "$as_wine_cv_crosscc_c99=no"
10782 for arg in '' '-std=gnu99' '-D__STDC__'
10784 test -z "$arg" || CC="$CC $arg"
10785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10786 /* end confdefs.h. */
10787 $ac_c_conftest_c99_program
10788 _ACEOF
10789 if ac_fn_c_try_compile "$LINENO"
10790 then :
10791 eval "$as_wine_cv_crosscc_c99=\$arg"
10792 else $as_nop
10793 eval "$as_wine_cv_crosscc_c99=no"
10795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10796 eval CC=\$${wine_arch}_CC
10797 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10798 then :
10800 else $as_nop
10801 break
10803 done
10806 eval res=\$$as_wine_cv_crosscc_c99
10808 case "x$res" in
10809 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10810 printf "%s\n" "none needed" >&6; } ;;
10811 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10812 printf "%s\n" "unsupported" >&6; }
10813 if test ${enable_archs+y}
10814 then :
10815 as_fn_error $? "$wine_arch PE cross-compiler supporting C99 not found.
10816 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10818 continue
10820 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10821 printf "%s\n" "$res" >&6; }
10822 as_fn_append ${wine_arch}_CC " $res" ;;
10823 esac
10825 if test "x$wine_arch" = xi386
10826 then :
10828 else $as_nop
10829 as_wine_cv_seh_support=`printf "%s\n" "ac_cv_${wine_arch}_seh_support" | $as_tr_sh`
10831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports SEH directives" >&5
10832 printf %s "checking whether $CC supports SEH directives... " >&6; }
10833 if eval test \${$as_wine_cv_seh_support+y}
10834 then :
10835 printf %s "(cached) " >&6
10836 else $as_nop
10837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10839 asm(".text\nac_test:\t.seh_proc ac_test\n\tnop\n\t.seh_stackalloc 16\n\t.seh_endprologue\n\t.seh_endproc");
10841 main (void)
10845 return 0;
10847 _ACEOF
10848 if ac_fn_c_try_compile "$LINENO"
10849 then :
10850 eval "$as_wine_cv_seh_support=yes"
10851 else $as_nop
10852 eval "$as_wine_cv_seh_support=no"
10854 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10856 eval ac_res=\$$as_wine_cv_seh_support
10857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10858 printf "%s\n" "$ac_res" >&6; }
10859 eval res=\$$as_wine_cv_seh_support
10861 if test "x$res" = xyes
10862 then :
10864 else $as_nop
10865 if test ${enable_archs+y}
10866 then :
10867 as_fn_error $? "The $wine_arch PE cross-compiler doesn't support SEH directives.
10868 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10870 continue
10874 if test "x$wine_arch" = x$extra_arch
10875 then :
10877 else $as_nop
10878 as_fn_append PE_ARCHS " $wine_arch"
10881 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10883 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10884 if eval test \${$as_ac_var+y}
10885 then :
10886 printf %s "(cached) " >&6
10887 else $as_nop
10888 ac_wine_try_cflags_saved=$CFLAGS
10889 ac_wine_try_cflags_saved_exeext=$ac_exeext
10890 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10891 ac_exeext=".exe"
10892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10893 /* end confdefs.h. */
10894 void *__os_arm64x_dispatch_ret = 0;
10895 int __cdecl mainCRTStartup(void) { return 0; }
10896 _ACEOF
10897 if ac_fn_c_try_link "$LINENO"
10898 then :
10899 eval "$as_ac_var=yes"
10900 else $as_nop
10901 eval "$as_ac_var=no"
10903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10904 conftest$ac_exeext conftest.$ac_ext
10905 CFLAGS=$ac_wine_try_cflags_saved
10906 ac_exeext=$ac_wine_try_cflags_saved_exeext
10908 eval ac_res=\$$as_ac_var
10909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10910 printf "%s\n" "$ac_res" >&6; }
10911 if eval test \"x\$"$as_ac_var"\" = x"yes"
10912 then :
10913 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10914 fi }
10915 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10917 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10918 if eval test \${$as_ac_var+y}
10919 then :
10920 printf %s "(cached) " >&6
10921 else $as_nop
10922 ac_wine_try_cflags_saved=$CFLAGS
10923 ac_wine_try_cflags_saved_exeext=$ac_exeext
10924 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10925 ac_exeext=".exe"
10926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10927 /* end confdefs.h. */
10928 void *__os_arm64x_dispatch_ret = 0;
10929 int __cdecl mainCRTStartup(void) { return 0; }
10930 _ACEOF
10931 if ac_fn_c_try_link "$LINENO"
10932 then :
10933 eval "$as_ac_var=yes"
10934 else $as_nop
10935 eval "$as_ac_var=no"
10937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10938 conftest$ac_exeext conftest.$ac_ext
10939 CFLAGS=$ac_wine_try_cflags_saved
10940 ac_exeext=$ac_wine_try_cflags_saved_exeext
10942 eval ac_res=\$$as_ac_var
10943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10944 printf "%s\n" "$ac_res" >&6; }
10945 if eval test \"x\$"$as_ac_var"\" = x"yes"
10946 then :
10947 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10948 fi }
10949 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10951 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10952 if eval test \${$as_ac_var+y}
10953 then :
10954 printf %s "(cached) " >&6
10955 else $as_nop
10956 ac_wine_try_cflags_saved=$CFLAGS
10957 ac_wine_try_cflags_saved_exeext=$ac_exeext
10958 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10959 ac_exeext=".exe"
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10962 void *__os_arm64x_dispatch_ret = 0;
10963 int __cdecl mainCRTStartup(void) { return 0; }
10964 _ACEOF
10965 if ac_fn_c_try_link "$LINENO"
10966 then :
10967 eval "$as_ac_var=yes"
10968 else $as_nop
10969 eval "$as_ac_var=no"
10971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10972 conftest$ac_exeext conftest.$ac_ext
10973 CFLAGS=$ac_wine_try_cflags_saved
10974 ac_exeext=$ac_wine_try_cflags_saved_exeext
10976 eval ac_res=\$$as_ac_var
10977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10978 printf "%s\n" "$ac_res" >&6; }
10979 if eval test \"x\$"$as_ac_var"\" = x"yes"
10980 then :
10981 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10982 fi }
10983 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10985 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10986 if eval test \${$as_ac_var+y}
10987 then :
10988 printf %s "(cached) " >&6
10989 else $as_nop
10990 ac_wine_try_cflags_saved=$CFLAGS
10991 ac_wine_try_cflags_saved_exeext=$ac_exeext
10992 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10993 ac_exeext=".exe"
10994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10995 /* end confdefs.h. */
10996 void *__os_arm64x_dispatch_ret = 0;
10997 int __cdecl mainCRTStartup(void) { return 0; }
10998 _ACEOF
10999 if ac_fn_c_try_link "$LINENO"
11000 then :
11001 eval "$as_ac_var=yes"
11002 else $as_nop
11003 eval "$as_ac_var=no"
11005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11006 conftest$ac_exeext conftest.$ac_ext
11007 CFLAGS=$ac_wine_try_cflags_saved
11008 ac_exeext=$ac_wine_try_cflags_saved_exeext
11010 eval ac_res=\$$as_ac_var
11011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11012 printf "%s\n" "$ac_res" >&6; }
11013 if eval test \"x\$"$as_ac_var"\" = x"yes"
11014 then :
11015 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11016 fi }
11017 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
11018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11019 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11020 if eval test \${$as_ac_var+y}
11021 then :
11022 printf %s "(cached) " >&6
11023 else $as_nop
11024 ac_wine_try_cflags_saved=$CFLAGS
11025 ac_wine_try_cflags_saved_exeext=$ac_exeext
11026 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
11027 ac_exeext=".exe"
11028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11029 /* end confdefs.h. */
11030 void *__os_arm64x_dispatch_ret = 0;
11031 int __cdecl mainCRTStartup(void) { return 0; }
11032 _ACEOF
11033 if ac_fn_c_try_link "$LINENO"
11034 then :
11035 eval "$as_ac_var=yes"
11036 else $as_nop
11037 eval "$as_ac_var=no"
11039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11040 conftest$ac_exeext conftest.$ac_ext
11041 CFLAGS=$ac_wine_try_cflags_saved
11042 ac_exeext=$ac_wine_try_cflags_saved_exeext
11044 eval ac_res=\$$as_ac_var
11045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11046 printf "%s\n" "$ac_res" >&6; }
11047 if eval test \"x\$"$as_ac_var"\" = x"yes"
11048 then :
11049 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11050 fi }
11051 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
11052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11053 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11054 if eval test \${$as_ac_var+y}
11055 then :
11056 printf %s "(cached) " >&6
11057 else $as_nop
11058 ac_wine_try_cflags_saved=$CFLAGS
11059 ac_wine_try_cflags_saved_exeext=$ac_exeext
11060 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
11061 ac_exeext=".exe"
11062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11063 /* end confdefs.h. */
11064 void *__os_arm64x_dispatch_ret = 0;
11065 int __cdecl mainCRTStartup(void) { return 0; }
11066 _ACEOF
11067 if ac_fn_c_try_link "$LINENO"
11068 then :
11069 eval "$as_ac_var=yes"
11070 else $as_nop
11071 eval "$as_ac_var=no"
11073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11074 conftest$ac_exeext conftest.$ac_ext
11075 CFLAGS=$ac_wine_try_cflags_saved
11076 ac_exeext=$ac_wine_try_cflags_saved_exeext
11078 eval ac_res=\$$as_ac_var
11079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11080 printf "%s\n" "$ac_res" >&6; }
11081 if eval test \"x\$"$as_ac_var"\" = x"yes"
11082 then :
11083 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11084 fi }
11085 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
11086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11087 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11088 if eval test \${$as_ac_var+y}
11089 then :
11090 printf %s "(cached) " >&6
11091 else $as_nop
11092 ac_wine_try_cflags_saved=$CFLAGS
11093 ac_wine_try_cflags_saved_exeext=$ac_exeext
11094 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11095 ac_exeext=".exe"
11096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11097 /* end confdefs.h. */
11098 void *__os_arm64x_dispatch_ret = 0;
11099 int __cdecl mainCRTStartup(void) { return 0; }
11100 _ACEOF
11101 if ac_fn_c_try_link "$LINENO"
11102 then :
11103 eval "$as_ac_var=yes"
11104 else $as_nop
11105 eval "$as_ac_var=no"
11107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11108 conftest$ac_exeext conftest.$ac_ext
11109 CFLAGS=$ac_wine_try_cflags_saved
11110 ac_exeext=$ac_wine_try_cflags_saved_exeext
11112 eval ac_res=\$$as_ac_var
11113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11114 printf "%s\n" "$ac_res" >&6; }
11115 if eval test \"x\$"$as_ac_var"\" = x"yes"
11116 then :
11117 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11118 fi }
11119 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11121 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11122 if eval test \${$as_ac_var+y}
11123 then :
11124 printf %s "(cached) " >&6
11125 else $as_nop
11126 ac_wine_try_cflags_saved=$CFLAGS
11127 ac_wine_try_cflags_saved_exeext=$ac_exeext
11128 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11129 ac_exeext=".exe"
11130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11131 /* end confdefs.h. */
11132 void *__os_arm64x_dispatch_ret = 0;
11133 int __cdecl mainCRTStartup(void) { return 0; }
11134 _ACEOF
11135 if ac_fn_c_try_link "$LINENO"
11136 then :
11137 eval "$as_ac_var=yes"
11138 else $as_nop
11139 eval "$as_ac_var=no"
11141 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11142 conftest$ac_exeext conftest.$ac_ext
11143 CFLAGS=$ac_wine_try_cflags_saved
11144 ac_exeext=$ac_wine_try_cflags_saved_exeext
11146 eval ac_res=\$$as_ac_var
11147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11148 printf "%s\n" "$ac_res" >&6; }
11149 if eval test \"x\$"$as_ac_var"\" = x"yes"
11150 then :
11151 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11152 fi }
11153 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11155 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11156 if eval test \${$as_ac_var+y}
11157 then :
11158 printf %s "(cached) " >&6
11159 else $as_nop
11160 ac_wine_try_cflags_saved=$CFLAGS
11161 ac_wine_try_cflags_saved_exeext=$ac_exeext
11162 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11163 ac_exeext=".exe"
11164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11165 /* end confdefs.h. */
11166 void *__os_arm64x_dispatch_ret = 0;
11167 int __cdecl mainCRTStartup(void) { return 0; }
11168 _ACEOF
11169 if ac_fn_c_try_link "$LINENO"
11170 then :
11171 eval "$as_ac_var=yes"
11172 else $as_nop
11173 eval "$as_ac_var=no"
11175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11176 conftest$ac_exeext conftest.$ac_ext
11177 CFLAGS=$ac_wine_try_cflags_saved
11178 ac_exeext=$ac_wine_try_cflags_saved_exeext
11180 eval ac_res=\$$as_ac_var
11181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11182 printf "%s\n" "$ac_res" >&6; }
11183 if eval test \"x\$"$as_ac_var"\" = x"yes"
11184 then :
11185 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11186 fi }
11187 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" | $as_tr_sh`
11188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11189 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11190 if eval test \${$as_ac_var+y}
11191 then :
11192 printf %s "(cached) " >&6
11193 else $as_nop
11194 ac_wine_try_cflags_saved=$CFLAGS
11195 ac_wine_try_cflags_saved_exeext=$ac_exeext
11196 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11197 ac_exeext=".exe"
11198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11199 /* end confdefs.h. */
11200 void *__os_arm64x_dispatch_ret = 0;
11201 int __cdecl mainCRTStartup(void) { return 0; }
11202 _ACEOF
11203 if ac_fn_c_try_link "$LINENO"
11204 then :
11205 eval "$as_ac_var=yes"
11206 else $as_nop
11207 eval "$as_ac_var=no"
11209 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11210 conftest$ac_exeext conftest.$ac_ext
11211 CFLAGS=$ac_wine_try_cflags_saved
11212 ac_exeext=$ac_wine_try_cflags_saved_exeext
11214 eval ac_res=\$$as_ac_var
11215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11216 printf "%s\n" "$ac_res" >&6; }
11217 if eval test \"x\$"$as_ac_var"\" = x"yes"
11218 then :
11219 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11220 fi }
11221 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11223 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11224 if eval test \${$as_ac_var+y}
11225 then :
11226 printf %s "(cached) " >&6
11227 else $as_nop
11228 ac_wine_try_cflags_saved=$CFLAGS
11229 ac_wine_try_cflags_saved_exeext=$ac_exeext
11230 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11231 ac_exeext=".exe"
11232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11233 /* end confdefs.h. */
11234 void *__os_arm64x_dispatch_ret = 0;
11235 int __cdecl mainCRTStartup(void) { return 0; }
11236 _ACEOF
11237 if ac_fn_c_try_link "$LINENO"
11238 then :
11239 eval "$as_ac_var=yes"
11240 else $as_nop
11241 eval "$as_ac_var=no"
11243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11244 conftest$ac_exeext conftest.$ac_ext
11245 CFLAGS=$ac_wine_try_cflags_saved
11246 ac_exeext=$ac_wine_try_cflags_saved_exeext
11248 eval ac_res=\$$as_ac_var
11249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11250 printf "%s\n" "$ac_res" >&6; }
11251 if eval test \"x\$"$as_ac_var"\" = x"yes"
11252 then :
11253 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11254 fi }
11255 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11257 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11258 if eval test \${$as_ac_var+y}
11259 then :
11260 printf %s "(cached) " >&6
11261 else $as_nop
11262 ac_wine_try_cflags_saved=$CFLAGS
11263 ac_wine_try_cflags_saved_exeext=$ac_exeext
11264 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11265 ac_exeext=".exe"
11266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11267 /* end confdefs.h. */
11268 void *__os_arm64x_dispatch_ret = 0;
11269 int __cdecl mainCRTStartup(void) { return 0; }
11270 _ACEOF
11271 if ac_fn_c_try_link "$LINENO"
11272 then :
11273 eval "$as_ac_var=yes"
11274 else $as_nop
11275 eval "$as_ac_var=no"
11277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11278 conftest$ac_exeext conftest.$ac_ext
11279 CFLAGS=$ac_wine_try_cflags_saved
11280 ac_exeext=$ac_wine_try_cflags_saved_exeext
11282 eval ac_res=\$$as_ac_var
11283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11284 printf "%s\n" "$ac_res" >&6; }
11285 if eval test \"x\$"$as_ac_var"\" = x"yes"
11286 then :
11287 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11288 fi }
11289 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11291 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11292 if eval test \${$as_ac_var+y}
11293 then :
11294 printf %s "(cached) " >&6
11295 else $as_nop
11296 ac_wine_try_cflags_saved=$CFLAGS
11297 ac_wine_try_cflags_saved_exeext=$ac_exeext
11298 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11299 ac_exeext=".exe"
11300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11301 /* end confdefs.h. */
11302 void *__os_arm64x_dispatch_ret = 0;
11303 int __cdecl mainCRTStartup(void) { return 0; }
11304 _ACEOF
11305 if ac_fn_c_try_link "$LINENO"
11306 then :
11307 eval "$as_ac_var=yes"
11308 else $as_nop
11309 eval "$as_ac_var=no"
11311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11312 conftest$ac_exeext conftest.$ac_ext
11313 CFLAGS=$ac_wine_try_cflags_saved
11314 ac_exeext=$ac_wine_try_cflags_saved_exeext
11316 eval ac_res=\$$as_ac_var
11317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11318 printf "%s\n" "$ac_res" >&6; }
11319 if eval test \"x\$"$as_ac_var"\" = x"yes"
11320 then :
11321 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11322 fi }
11323 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11325 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11326 if eval test \${$as_ac_var+y}
11327 then :
11328 printf %s "(cached) " >&6
11329 else $as_nop
11330 ac_wine_try_cflags_saved=$CFLAGS
11331 ac_wine_try_cflags_saved_exeext=$ac_exeext
11332 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11333 ac_exeext=".exe"
11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11336 void *__os_arm64x_dispatch_ret = 0;
11337 int __cdecl mainCRTStartup(void) { return 0; }
11338 _ACEOF
11339 if ac_fn_c_try_link "$LINENO"
11340 then :
11341 eval "$as_ac_var=yes"
11342 else $as_nop
11343 eval "$as_ac_var=no"
11345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11346 conftest$ac_exeext conftest.$ac_ext
11347 CFLAGS=$ac_wine_try_cflags_saved
11348 ac_exeext=$ac_wine_try_cflags_saved_exeext
11350 eval ac_res=\$$as_ac_var
11351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11352 printf "%s\n" "$ac_res" >&6; }
11353 if eval test \"x\$"$as_ac_var"\" = x"yes"
11354 then :
11355 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11356 fi }
11357 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11359 printf %s "checking whether $CC supports -Wvla... " >&6; }
11360 if eval test \${$as_ac_var+y}
11361 then :
11362 printf %s "(cached) " >&6
11363 else $as_nop
11364 ac_wine_try_cflags_saved=$CFLAGS
11365 ac_wine_try_cflags_saved_exeext=$ac_exeext
11366 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11367 ac_exeext=".exe"
11368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11369 /* end confdefs.h. */
11370 void *__os_arm64x_dispatch_ret = 0;
11371 int __cdecl mainCRTStartup(void) { return 0; }
11372 _ACEOF
11373 if ac_fn_c_try_link "$LINENO"
11374 then :
11375 eval "$as_ac_var=yes"
11376 else $as_nop
11377 eval "$as_ac_var=no"
11379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11380 conftest$ac_exeext conftest.$ac_ext
11381 CFLAGS=$ac_wine_try_cflags_saved
11382 ac_exeext=$ac_wine_try_cflags_saved_exeext
11384 eval ac_res=\$$as_ac_var
11385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11386 printf "%s\n" "$ac_res" >&6; }
11387 if eval test \"x\$"$as_ac_var"\" = x"yes"
11388 then :
11389 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11390 fi }
11391 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11393 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11394 if eval test \${$as_ac_var+y}
11395 then :
11396 printf %s "(cached) " >&6
11397 else $as_nop
11398 ac_wine_try_cflags_saved=$CFLAGS
11399 ac_wine_try_cflags_saved_exeext=$ac_exeext
11400 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11401 ac_exeext=".exe"
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11404 void *__os_arm64x_dispatch_ret = 0;
11405 int __cdecl mainCRTStartup(void) { return 0; }
11406 _ACEOF
11407 if ac_fn_c_try_link "$LINENO"
11408 then :
11409 eval "$as_ac_var=yes"
11410 else $as_nop
11411 eval "$as_ac_var=no"
11413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11414 conftest$ac_exeext conftest.$ac_ext
11415 CFLAGS=$ac_wine_try_cflags_saved
11416 ac_exeext=$ac_wine_try_cflags_saved_exeext
11418 eval ac_res=\$$as_ac_var
11419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11420 printf "%s\n" "$ac_res" >&6; }
11421 if eval test \"x\$"$as_ac_var"\" = x"yes"
11422 then :
11423 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11424 fi }
11425 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11427 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11428 if eval test \${$as_ac_var+y}
11429 then :
11430 printf %s "(cached) " >&6
11431 else $as_nop
11432 ac_wine_try_cflags_saved=$CFLAGS
11433 ac_wine_try_cflags_saved_exeext=$ac_exeext
11434 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11435 ac_exeext=".exe"
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11438 void *__os_arm64x_dispatch_ret = 0;
11439 int __cdecl mainCRTStartup(void) { return 0; }
11440 _ACEOF
11441 if ac_fn_c_try_link "$LINENO"
11442 then :
11443 eval "$as_ac_var=yes"
11444 else $as_nop
11445 eval "$as_ac_var=no"
11447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11448 conftest$ac_exeext conftest.$ac_ext
11449 CFLAGS=$ac_wine_try_cflags_saved
11450 ac_exeext=$ac_wine_try_cflags_saved_exeext
11452 eval ac_res=\$$as_ac_var
11453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11454 printf "%s\n" "$ac_res" >&6; }
11455 if eval test \"x\$"$as_ac_var"\" = x"yes"
11456 then :
11457 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11458 fi }
11459 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11461 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11462 if eval test \${$as_ac_var+y}
11463 then :
11464 printf %s "(cached) " >&6
11465 else $as_nop
11466 ac_wine_try_cflags_saved=$CFLAGS
11467 ac_wine_try_cflags_saved_exeext=$ac_exeext
11468 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11469 ac_exeext=".exe"
11470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11471 /* end confdefs.h. */
11472 void *__os_arm64x_dispatch_ret = 0;
11473 int __cdecl mainCRTStartup(void) { return 0; }
11474 _ACEOF
11475 if ac_fn_c_try_link "$LINENO"
11476 then :
11477 eval "$as_ac_var=yes"
11478 else $as_nop
11479 eval "$as_ac_var=no"
11481 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11482 conftest$ac_exeext conftest.$ac_ext
11483 CFLAGS=$ac_wine_try_cflags_saved
11484 ac_exeext=$ac_wine_try_cflags_saved_exeext
11486 eval ac_res=\$$as_ac_var
11487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11488 printf "%s\n" "$ac_res" >&6; }
11489 if eval test \"x\$"$as_ac_var"\" = x"yes"
11490 then :
11491 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11492 fi }
11493 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11495 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11496 if eval test \${$as_ac_var+y}
11497 then :
11498 printf %s "(cached) " >&6
11499 else $as_nop
11500 ac_wine_try_cflags_saved=$CFLAGS
11501 ac_wine_try_cflags_saved_exeext=$ac_exeext
11502 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11503 ac_exeext=".exe"
11504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11505 /* end confdefs.h. */
11506 void *__os_arm64x_dispatch_ret = 0;
11507 int __cdecl mainCRTStartup(void) { return 0; }
11508 _ACEOF
11509 if ac_fn_c_try_link "$LINENO"
11510 then :
11511 eval "$as_ac_var=yes"
11512 else $as_nop
11513 eval "$as_ac_var=no"
11515 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11516 conftest$ac_exeext conftest.$ac_ext
11517 CFLAGS=$ac_wine_try_cflags_saved
11518 ac_exeext=$ac_wine_try_cflags_saved_exeext
11520 eval ac_res=\$$as_ac_var
11521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11522 printf "%s\n" "$ac_res" >&6; }
11523 if eval test \"x\$"$as_ac_var"\" = x"yes"
11524 then :
11525 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11526 fi }
11527 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-enum-conversion" | $as_tr_sh`
11528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-enum-conversion" >&5
11529 printf %s "checking whether $CC supports -Wenum-enum-conversion... " >&6; }
11530 if eval test \${$as_ac_var+y}
11531 then :
11532 printf %s "(cached) " >&6
11533 else $as_nop
11534 ac_wine_try_cflags_saved=$CFLAGS
11535 ac_wine_try_cflags_saved_exeext=$ac_exeext
11536 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-enum-conversion"
11537 ac_exeext=".exe"
11538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11539 /* end confdefs.h. */
11540 void *__os_arm64x_dispatch_ret = 0;
11541 int __cdecl mainCRTStartup(void) { return 0; }
11542 _ACEOF
11543 if ac_fn_c_try_link "$LINENO"
11544 then :
11545 eval "$as_ac_var=yes"
11546 else $as_nop
11547 eval "$as_ac_var=no"
11549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11550 conftest$ac_exeext conftest.$ac_ext
11551 CFLAGS=$ac_wine_try_cflags_saved
11552 ac_exeext=$ac_wine_try_cflags_saved_exeext
11554 eval ac_res=\$$as_ac_var
11555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11556 printf "%s\n" "$ac_res" >&6; }
11557 if eval test \"x\$"$as_ac_var"\" = x"yes"
11558 then :
11560 else $as_nop
11561 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-conversion" | $as_tr_sh`
11562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-conversion" >&5
11563 printf %s "checking whether $CC supports -Wenum-conversion... " >&6; }
11564 if eval test \${$as_ac_var+y}
11565 then :
11566 printf %s "(cached) " >&6
11567 else $as_nop
11568 ac_wine_try_cflags_saved=$CFLAGS
11569 ac_wine_try_cflags_saved_exeext=$ac_exeext
11570 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-conversion"
11571 ac_exeext=".exe"
11572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11574 void *__os_arm64x_dispatch_ret = 0;
11575 int __cdecl mainCRTStartup(void) { return 0; }
11576 _ACEOF
11577 if ac_fn_c_try_link "$LINENO"
11578 then :
11579 eval "$as_ac_var=yes"
11580 else $as_nop
11581 eval "$as_ac_var=no"
11583 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11584 conftest$ac_exeext conftest.$ac_ext
11585 CFLAGS=$ac_wine_try_cflags_saved
11586 ac_exeext=$ac_wine_try_cflags_saved_exeext
11588 eval ac_res=\$$as_ac_var
11589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11590 printf "%s\n" "$ac_res" >&6; }
11591 if eval test \"x\$"$as_ac_var"\" = x"yes"
11592 then :
11593 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wenum-conversion"
11594 fi }
11595 fi }
11597 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-flarge-source-files -Wmisleading-indentation" | $as_tr_sh`
11598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -flarge-source-files -Wmisleading-indentation" >&5
11599 printf %s "checking whether $CC supports -flarge-source-files -Wmisleading-indentation... " >&6; }
11600 if eval test \${$as_ac_var+y}
11601 then :
11602 printf %s "(cached) " >&6
11603 else $as_nop
11604 ac_wine_try_cflags_saved=$CFLAGS
11605 ac_wine_try_cflags_saved_exeext=$ac_exeext
11606 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -flarge-source-files -Wmisleading-indentation"
11607 ac_exeext=".exe"
11608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11609 /* end confdefs.h. */
11610 void *__os_arm64x_dispatch_ret = 0;
11611 int __cdecl mainCRTStartup(void) { return 0; }
11612 _ACEOF
11613 if ac_fn_c_try_link "$LINENO"
11614 then :
11615 eval "$as_ac_var=yes"
11616 else $as_nop
11617 eval "$as_ac_var=no"
11619 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11620 conftest$ac_exeext conftest.$ac_ext
11621 CFLAGS=$ac_wine_try_cflags_saved
11622 ac_exeext=$ac_wine_try_cflags_saved_exeext
11624 eval ac_res=\$$as_ac_var
11625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11626 printf "%s\n" "$ac_res" >&6; }
11627 if eval test \"x\$"$as_ac_var"\" = x"yes"
11628 then :
11629 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-misleading-indentation"
11630 fi }
11632 case $wine_arch in
11633 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11635 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11636 if eval test \${$as_ac_var+y}
11637 then :
11638 printf %s "(cached) " >&6
11639 else $as_nop
11640 ac_wine_try_cflags_saved=$CFLAGS
11641 ac_wine_try_cflags_saved_exeext=$ac_exeext
11642 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11643 ac_exeext=".exe"
11644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11645 /* end confdefs.h. */
11646 void *__os_arm64x_dispatch_ret = 0;
11647 int __cdecl mainCRTStartup(void) { return 0; }
11648 _ACEOF
11649 if ac_fn_c_try_link "$LINENO"
11650 then :
11651 eval "$as_ac_var=yes"
11652 else $as_nop
11653 eval "$as_ac_var=no"
11655 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11656 conftest$ac_exeext conftest.$ac_ext
11657 CFLAGS=$ac_wine_try_cflags_saved
11658 ac_exeext=$ac_wine_try_cflags_saved_exeext
11660 eval ac_res=\$$as_ac_var
11661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11662 printf "%s\n" "$ac_res" >&6; }
11663 if eval test \"x\$"$as_ac_var"\" = x"yes"
11664 then :
11665 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11666 fi }
11667 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mpreferred-stack-boundary=2" | $as_tr_sh`
11668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mpreferred-stack-boundary=2" >&5
11669 printf %s "checking whether $CC supports -mpreferred-stack-boundary=2... " >&6; }
11670 if eval test \${$as_ac_var+y}
11671 then :
11672 printf %s "(cached) " >&6
11673 else $as_nop
11674 ac_wine_try_cflags_saved=$CFLAGS
11675 ac_wine_try_cflags_saved_exeext=$ac_exeext
11676 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mpreferred-stack-boundary=2"
11677 ac_exeext=".exe"
11678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11679 /* end confdefs.h. */
11680 void *__os_arm64x_dispatch_ret = 0;
11681 int __cdecl mainCRTStartup(void) { return 0; }
11682 _ACEOF
11683 if ac_fn_c_try_link "$LINENO"
11684 then :
11685 eval "$as_ac_var=yes"
11686 else $as_nop
11687 eval "$as_ac_var=no"
11689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11690 conftest$ac_exeext conftest.$ac_ext
11691 CFLAGS=$ac_wine_try_cflags_saved
11692 ac_exeext=$ac_wine_try_cflags_saved_exeext
11694 eval ac_res=\$$as_ac_var
11695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11696 printf "%s\n" "$ac_res" >&6; }
11697 if eval test \"x\$"$as_ac_var"\" = x"yes"
11698 then :
11699 as_fn_append ${wine_arch}_EXTRACFLAGS " -mpreferred-stack-boundary=2"
11700 fi }
11701 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11703 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11704 if eval test \${$as_ac_var+y}
11705 then :
11706 printf %s "(cached) " >&6
11707 else $as_nop
11708 ac_wine_try_cflags_saved=$CFLAGS
11709 ac_wine_try_cflags_saved_exeext=$ac_exeext
11710 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11711 ac_exeext=".exe"
11712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11713 /* end confdefs.h. */
11714 void *__os_arm64x_dispatch_ret = 0;
11715 int __cdecl mainCRTStartup(void) { return 0; }
11716 _ACEOF
11717 if ac_fn_c_try_link "$LINENO"
11718 then :
11719 eval "$as_ac_var=yes"
11720 else $as_nop
11721 eval "$as_ac_var=no"
11723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11724 conftest$ac_exeext conftest.$ac_ext
11725 CFLAGS=$ac_wine_try_cflags_saved
11726 ac_exeext=$ac_wine_try_cflags_saved_exeext
11728 eval ac_res=\$$as_ac_var
11729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11730 printf "%s\n" "$ac_res" >&6; }
11731 if eval test \"x\$"$as_ac_var"\" = x"yes"
11732 then :
11733 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11734 fi } ;;
11735 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11737 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11738 if eval test \${$as_ac_var+y}
11739 then :
11740 printf %s "(cached) " >&6
11741 else $as_nop
11742 ac_wine_try_cflags_saved=$CFLAGS
11743 ac_wine_try_cflags_saved_exeext=$ac_exeext
11744 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11745 ac_exeext=".exe"
11746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11748 void *__os_arm64x_dispatch_ret = 0;
11749 int __cdecl mainCRTStartup(void) { return 0; }
11750 _ACEOF
11751 if ac_fn_c_try_link "$LINENO"
11752 then :
11753 eval "$as_ac_var=yes"
11754 else $as_nop
11755 eval "$as_ac_var=no"
11757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11758 conftest$ac_exeext conftest.$ac_ext
11759 CFLAGS=$ac_wine_try_cflags_saved
11760 ac_exeext=$ac_wine_try_cflags_saved_exeext
11762 eval ac_res=\$$as_ac_var
11763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11764 printf "%s\n" "$ac_res" >&6; }
11765 if eval test \"x\$"$as_ac_var"\" = x"yes"
11766 then :
11767 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11768 fi }
11769 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11771 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11772 if eval test \${$as_ac_var+y}
11773 then :
11774 printf %s "(cached) " >&6
11775 else $as_nop
11776 ac_wine_try_cflags_saved=$CFLAGS
11777 ac_wine_try_cflags_saved_exeext=$ac_exeext
11778 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11779 ac_exeext=".exe"
11780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11781 /* end confdefs.h. */
11782 void *__os_arm64x_dispatch_ret = 0;
11783 int __cdecl mainCRTStartup(void) { return 0; }
11784 _ACEOF
11785 if ac_fn_c_try_link "$LINENO"
11786 then :
11787 eval "$as_ac_var=yes"
11788 else $as_nop
11789 eval "$as_ac_var=no"
11791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11792 conftest$ac_exeext conftest.$ac_ext
11793 CFLAGS=$ac_wine_try_cflags_saved
11794 ac_exeext=$ac_wine_try_cflags_saved_exeext
11796 eval ac_res=\$$as_ac_var
11797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11798 printf "%s\n" "$ac_res" >&6; }
11799 if eval test \"x\$"$as_ac_var"\" = x"yes"
11800 then :
11801 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11802 fi }
11803 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11805 printf %s "checking whether $CC supports -mcx16... " >&6; }
11806 if eval test \${$as_ac_var+y}
11807 then :
11808 printf %s "(cached) " >&6
11809 else $as_nop
11810 ac_wine_try_cflags_saved=$CFLAGS
11811 ac_wine_try_cflags_saved_exeext=$ac_exeext
11812 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11813 ac_exeext=".exe"
11814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11815 /* end confdefs.h. */
11816 void *__os_arm64x_dispatch_ret = 0;
11817 int __cdecl mainCRTStartup(void) { return 0; }
11818 _ACEOF
11819 if ac_fn_c_try_link "$LINENO"
11820 then :
11821 eval "$as_ac_var=yes"
11822 else $as_nop
11823 eval "$as_ac_var=no"
11825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11826 conftest$ac_exeext conftest.$ac_ext
11827 CFLAGS=$ac_wine_try_cflags_saved
11828 ac_exeext=$ac_wine_try_cflags_saved_exeext
11830 eval ac_res=\$$as_ac_var
11831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11832 printf "%s\n" "$ac_res" >&6; }
11833 if eval test \"x\$"$as_ac_var"\" = x"yes"
11834 then :
11835 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11836 fi }
11837 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11839 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11840 if eval test \${$as_ac_var+y}
11841 then :
11842 printf %s "(cached) " >&6
11843 else $as_nop
11844 ac_wine_try_cflags_saved=$CFLAGS
11845 ac_wine_try_cflags_saved_exeext=$ac_exeext
11846 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11847 ac_exeext=".exe"
11848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11849 /* end confdefs.h. */
11850 void *__os_arm64x_dispatch_ret = 0;
11851 int __cdecl mainCRTStartup(void) { return 0; }
11852 _ACEOF
11853 if ac_fn_c_try_link "$LINENO"
11854 then :
11855 eval "$as_ac_var=yes"
11856 else $as_nop
11857 eval "$as_ac_var=no"
11859 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11860 conftest$ac_exeext conftest.$ac_ext
11861 CFLAGS=$ac_wine_try_cflags_saved
11862 ac_exeext=$ac_wine_try_cflags_saved_exeext
11864 eval ac_res=\$$as_ac_var
11865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11866 printf "%s\n" "$ac_res" >&6; }
11867 if eval test \"x\$"$as_ac_var"\" = x"yes"
11868 then :
11869 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11870 fi } ;;
11871 esac
11873 wine_crossdebug=$CROSSDEBUG
11874 if test -z "$wine_crossdebug"
11875 then
11876 for ac_flag in $CFLAGS; do
11877 case $ac_flag in
11878 -gdwarf*) wine_crossdebug=dwarf ;;
11879 -gcodeview) wine_crossdebug=pdb ;;
11880 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11881 esac
11882 done
11885 ac_debug_format_seen=""
11886 for ac_flag in $CFLAGS; do
11887 case $ac_flag in
11888 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11889 esac
11890 done
11891 if test "x$ac_debug_format_seen" = x
11892 then
11893 case $wine_crossdebug in
11894 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11896 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11897 if eval test \${$as_ac_var+y}
11898 then :
11899 printf %s "(cached) " >&6
11900 else $as_nop
11901 ac_wine_try_cflags_saved=$CFLAGS
11902 ac_wine_try_cflags_saved_exeext=$ac_exeext
11903 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11904 ac_exeext=".exe"
11905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11906 /* end confdefs.h. */
11907 void *__os_arm64x_dispatch_ret = 0;
11908 int __cdecl mainCRTStartup(void) { return 0; }
11909 _ACEOF
11910 if ac_fn_c_try_link "$LINENO"
11911 then :
11912 eval "$as_ac_var=yes"
11913 else $as_nop
11914 eval "$as_ac_var=no"
11916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11917 conftest$ac_exeext conftest.$ac_ext
11918 CFLAGS=$ac_wine_try_cflags_saved
11919 ac_exeext=$ac_wine_try_cflags_saved_exeext
11921 eval ac_res=\$$as_ac_var
11922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11923 printf "%s\n" "$ac_res" >&6; }
11924 if eval test \"x\$"$as_ac_var"\" = x"yes"
11925 then :
11926 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11927 fi } ;;
11928 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11930 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11931 if eval test \${$as_ac_var+y}
11932 then :
11933 printf %s "(cached) " >&6
11934 else $as_nop
11935 ac_wine_try_cflags_saved=$CFLAGS
11936 ac_wine_try_cflags_saved_exeext=$ac_exeext
11937 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11938 ac_exeext=".exe"
11939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11940 /* end confdefs.h. */
11941 void *__os_arm64x_dispatch_ret = 0;
11942 int __cdecl mainCRTStartup(void) { return 0; }
11943 _ACEOF
11944 if ac_fn_c_try_link "$LINENO"
11945 then :
11946 eval "$as_ac_var=yes"
11947 else $as_nop
11948 eval "$as_ac_var=no"
11950 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11951 conftest$ac_exeext conftest.$ac_ext
11952 CFLAGS=$ac_wine_try_cflags_saved
11953 ac_exeext=$ac_wine_try_cflags_saved_exeext
11955 eval ac_res=\$$as_ac_var
11956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11957 printf "%s\n" "$ac_res" >&6; }
11958 if eval test \"x\$"$as_ac_var"\" = x"yes"
11959 then :
11960 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11961 fi } ;;
11962 esac
11964 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11966 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11968 printf %s "checking whether $CC supports -Werror... " >&6; }
11969 if eval test \${$as_ac_var+y}
11970 then :
11971 printf %s "(cached) " >&6
11972 else $as_nop
11973 ac_wine_try_cflags_saved=$CFLAGS
11974 ac_wine_try_cflags_saved_exeext=$ac_exeext
11975 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11976 ac_exeext=".exe"
11977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11978 /* end confdefs.h. */
11979 void *__os_arm64x_dispatch_ret = 0;
11980 int __cdecl mainCRTStartup(void) { return 0; }
11981 _ACEOF
11982 if ac_fn_c_try_link "$LINENO"
11983 then :
11984 eval "$as_ac_var=yes"
11985 else $as_nop
11986 eval "$as_ac_var=no"
11988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11989 conftest$ac_exeext conftest.$ac_ext
11990 CFLAGS=$ac_wine_try_cflags_saved
11991 ac_exeext=$ac_wine_try_cflags_saved_exeext
11993 eval ac_res=\$$as_ac_var
11994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11995 printf "%s\n" "$ac_res" >&6; }
11996 if eval test \"x\$"$as_ac_var"\" = x"yes"
11997 then :
11998 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11999 fi }
12000 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
12001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
12002 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
12003 if eval test \${$as_ac_var+y}
12004 then :
12005 printf %s "(cached) " >&6
12006 else $as_nop
12007 ac_wine_try_cflags_saved=$CFLAGS
12008 ac_wine_try_cflags_saved_exeext=$ac_exeext
12009 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
12010 ac_exeext=".exe"
12011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12012 /* end confdefs.h. */
12013 void *__os_arm64x_dispatch_ret = 0;
12014 int __cdecl mainCRTStartup(void) { return 0; }
12015 _ACEOF
12016 if ac_fn_c_try_link "$LINENO"
12017 then :
12018 eval "$as_ac_var=yes"
12019 else $as_nop
12020 eval "$as_ac_var=no"
12022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12023 conftest$ac_exeext conftest.$ac_ext
12024 CFLAGS=$ac_wine_try_cflags_saved
12025 ac_exeext=$ac_wine_try_cflags_saved_exeext
12027 eval ac_res=\$$as_ac_var
12028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12029 printf "%s\n" "$ac_res" >&6; }
12030 if eval test \"x\$"$as_ac_var"\" = x"yes"
12031 then :
12032 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
12033 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
12034 fi }
12036 done
12038 CC=$saved_CC
12039 CFLAGS=$saved_CFLAGS
12040 LDFLAGS=$saved_LDFLAGS
12042 case $HOST_ARCH in
12043 arm|aarch64)
12044 test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for $HOST_ARCH, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
12045 DLLEXT="" ;;
12047 if test "x$PE_ARCHS" = "x"
12048 then :
12049 case "x$with_mingw" in
12050 x) as_fn_append wine_notices "|Suitable PE cross-compiler not found, PE files won't be built." ;;
12051 xno) ;;
12052 *) as_fn_error $? "Suitable PE cross-compiler not found, PE files won't be built.
12053 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
12054 esac
12056 fi ;;
12057 esac
12060 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
12061 then
12062 if test "x$HOST_ARCH" = xi386
12063 then :
12064 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config "
12065 else $as_nop
12066 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config"
12068 for ac_prog in $ac_prefix_list
12070 # Extract the first word of "$ac_prog", so it can be a program name with args.
12071 set dummy $ac_prog; ac_word=$2
12072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12073 printf %s "checking for $ac_word... " >&6; }
12074 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
12075 then :
12076 printf %s "(cached) " >&6
12077 else $as_nop
12078 if test -n "$MINGW_PKG_CONFIG"; then
12079 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12080 else
12081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12082 for as_dir in $PATH
12084 IFS=$as_save_IFS
12085 case $as_dir in #(((
12086 '') as_dir=./ ;;
12087 */) ;;
12088 *) as_dir=$as_dir/ ;;
12089 esac
12090 for ac_exec_ext in '' $ac_executable_extensions; do
12091 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12092 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12094 break 2
12096 done
12097 done
12098 IFS=$as_save_IFS
12102 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12103 if test -n "$MINGW_PKG_CONFIG"; then
12104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12105 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12106 else
12107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12108 printf "%s\n" "no" >&6; }
12112 test -n "$MINGW_PKG_CONFIG" && break
12113 done
12114 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12116 if ${FAUDIO_PE_CFLAGS:+false} :
12117 then :
12118 if test ${MINGW_PKG_CONFIG+y}
12119 then :
12120 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12123 if ${FAUDIO_PE_LIBS:+false} :
12124 then :
12125 if test ${MINGW_PKG_CONFIG+y}
12126 then :
12127 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12130 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12131 ac_save_CPPFLAGS=$CPPFLAGS
12132 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12134 printf %s "checking for MinGW FAudio.h... " >&6; }
12135 if test ${ac_cv_mingw_header_FAudio_h+y}
12136 then :
12137 printf %s "(cached) " >&6
12138 else $as_nop
12139 ac_wine_check_headers_saved_cc=$CC
12140 ac_wine_check_headers_saved_exeext=$ac_exeext
12141 eval CC=\$${wine_arch}_CC
12142 ac_exeext=".exe"
12143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12144 /* end confdefs.h. */
12146 #include <FAudio.h>
12148 main (void)
12152 return 0;
12154 _ACEOF
12155 if ac_fn_c_try_compile "$LINENO"
12156 then :
12157 ac_cv_mingw_header_FAudio_h=yes
12158 else $as_nop
12159 ac_cv_mingw_header_FAudio_h=no
12161 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12162 CC=$ac_wine_check_headers_saved_cc
12163 ac_exeext=$ac_wine_check_headers_saved_exeext
12165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12166 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12167 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12168 then :
12169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12170 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12171 if test ${ac_cv_mingw_lib_FAudio+y}
12172 then :
12173 printf %s "(cached) " >&6
12174 else $as_nop
12175 ac_wine_check_headers_saved_cc=$CC
12176 ac_wine_check_headers_saved_exeext=$ac_exeext
12177 ac_wine_check_headers_saved_libs=$LIBS
12178 eval CC=\$${wine_arch}_CC
12179 ac_exeext=".exe"
12180 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h. */
12184 /* Override any GCC internal prototype to avoid an error.
12185 Use char because int might match the return type of a GCC
12186 builtin and then its argument prototype would still apply. */
12187 char FAudio_CommitOperationSet ();
12189 main (void)
12191 return FAudio_CommitOperationSet ();
12193 return 0;
12195 _ACEOF
12196 if ac_fn_c_try_link "$LINENO"
12197 then :
12198 ac_cv_mingw_lib_FAudio=yes
12199 else $as_nop
12200 ac_cv_mingw_lib_FAudio=no
12202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12203 conftest$ac_exeext conftest.$ac_ext
12204 CC=$ac_wine_check_headers_saved_cc
12205 ac_exeext=$ac_wine_check_headers_saved_exeext
12206 LIBS=$ac_wine_check_headers_saved_libs
12208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12209 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12210 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12211 then :
12213 else $as_nop
12214 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12216 else $as_nop
12217 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12219 CPPFLAGS=$ac_save_CPPFLAGS
12221 if test "x$FAUDIO_PE_LIBS" = "x"
12222 then
12223 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12226 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
12227 then :
12228 if test ${MINGW_PKG_CONFIG+y}
12229 then :
12230 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth 2>/dev/null`
12233 if ${FLUIDSYNTH_PE_LIBS:+false} :
12234 then :
12235 if test ${MINGW_PKG_CONFIG+y}
12236 then :
12237 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth 2>/dev/null`
12240 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
12241 ac_save_CPPFLAGS=$CPPFLAGS
12242 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
12243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
12244 printf %s "checking for MinGW fluidsynth.h... " >&6; }
12245 if test ${ac_cv_mingw_header_fluidsynth_h+y}
12246 then :
12247 printf %s "(cached) " >&6
12248 else $as_nop
12249 ac_wine_check_headers_saved_cc=$CC
12250 ac_wine_check_headers_saved_exeext=$ac_exeext
12251 eval CC=\$${wine_arch}_CC
12252 ac_exeext=".exe"
12253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12254 /* end confdefs.h. */
12256 #include <fluidsynth.h>
12258 main (void)
12262 return 0;
12264 _ACEOF
12265 if ac_fn_c_try_compile "$LINENO"
12266 then :
12267 ac_cv_mingw_header_fluidsynth_h=yes
12268 else $as_nop
12269 ac_cv_mingw_header_fluidsynth_h=no
12271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12272 CC=$ac_wine_check_headers_saved_cc
12273 ac_exeext=$ac_wine_check_headers_saved_exeext
12275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
12276 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
12277 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
12278 then :
12279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
12280 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
12281 if test ${ac_cv_mingw_lib_fluidsynth+y}
12282 then :
12283 printf %s "(cached) " >&6
12284 else $as_nop
12285 ac_wine_check_headers_saved_cc=$CC
12286 ac_wine_check_headers_saved_exeext=$ac_exeext
12287 ac_wine_check_headers_saved_libs=$LIBS
12288 eval CC=\$${wine_arch}_CC
12289 ac_exeext=".exe"
12290 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
12291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h. */
12294 /* Override any GCC internal prototype to avoid an error.
12295 Use char because int might match the return type of a GCC
12296 builtin and then its argument prototype would still apply. */
12297 char new_fluid_synth ();
12299 main (void)
12301 return new_fluid_synth ();
12303 return 0;
12305 _ACEOF
12306 if ac_fn_c_try_link "$LINENO"
12307 then :
12308 ac_cv_mingw_lib_fluidsynth=yes
12309 else $as_nop
12310 ac_cv_mingw_lib_fluidsynth=no
12312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12313 conftest$ac_exeext conftest.$ac_ext
12314 CC=$ac_wine_check_headers_saved_cc
12315 ac_exeext=$ac_wine_check_headers_saved_exeext
12316 LIBS=$ac_wine_check_headers_saved_libs
12318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
12319 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
12320 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
12321 then :
12323 else $as_nop
12324 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12326 else $as_nop
12327 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12329 CPPFLAGS=$ac_save_CPPFLAGS
12331 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
12332 then
12333 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
12336 if ${JPEG_PE_CFLAGS:+false} :
12337 then :
12338 if test ${MINGW_PKG_CONFIG+y}
12339 then :
12340 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12343 if ${JPEG_PE_LIBS:+false} :
12344 then :
12345 if test ${MINGW_PKG_CONFIG+y}
12346 then :
12347 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12351 ac_save_CPPFLAGS=$CPPFLAGS
12352 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12354 printf %s "checking for MinGW jpeglib.h... " >&6; }
12355 if test ${ac_cv_mingw_header_jpeglib_h+y}
12356 then :
12357 printf %s "(cached) " >&6
12358 else $as_nop
12359 ac_wine_check_headers_saved_cc=$CC
12360 ac_wine_check_headers_saved_exeext=$ac_exeext
12361 eval CC=\$${wine_arch}_CC
12362 ac_exeext=".exe"
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12365 #include <stddef.h>
12366 #include <stdio.h>
12367 #include <jpeglib.h>
12369 main (void)
12373 return 0;
12375 _ACEOF
12376 if ac_fn_c_try_compile "$LINENO"
12377 then :
12378 ac_cv_mingw_header_jpeglib_h=yes
12379 else $as_nop
12380 ac_cv_mingw_header_jpeglib_h=no
12382 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12383 CC=$ac_wine_check_headers_saved_cc
12384 ac_exeext=$ac_wine_check_headers_saved_exeext
12386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12387 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12388 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12389 then :
12390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12391 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12392 if test ${ac_cv_mingw_lib_jpeg+y}
12393 then :
12394 printf %s "(cached) " >&6
12395 else $as_nop
12396 ac_wine_check_headers_saved_cc=$CC
12397 ac_wine_check_headers_saved_exeext=$ac_exeext
12398 ac_wine_check_headers_saved_libs=$LIBS
12399 eval CC=\$${wine_arch}_CC
12400 ac_exeext=".exe"
12401 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12405 /* Override any GCC internal prototype to avoid an error.
12406 Use char because int might match the return type of a GCC
12407 builtin and then its argument prototype would still apply. */
12408 char jpeg_start_decompress ();
12410 main (void)
12412 return jpeg_start_decompress ();
12414 return 0;
12416 _ACEOF
12417 if ac_fn_c_try_link "$LINENO"
12418 then :
12419 ac_cv_mingw_lib_jpeg=yes
12420 else $as_nop
12421 ac_cv_mingw_lib_jpeg=no
12423 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12424 conftest$ac_exeext conftest.$ac_ext
12425 CC=$ac_wine_check_headers_saved_cc
12426 ac_exeext=$ac_wine_check_headers_saved_exeext
12427 LIBS=$ac_wine_check_headers_saved_libs
12429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12430 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12431 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12432 then :
12434 else $as_nop
12435 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12437 else $as_nop
12438 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12440 CPPFLAGS=$ac_save_CPPFLAGS
12442 if test "x$JPEG_PE_LIBS" = "x"
12443 then
12444 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12447 if ${LCMS2_PE_CFLAGS:+false} :
12448 then :
12449 if test ${MINGW_PKG_CONFIG+y}
12450 then :
12451 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12454 if ${LCMS2_PE_LIBS:+false} :
12455 then :
12456 if test ${MINGW_PKG_CONFIG+y}
12457 then :
12458 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12461 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12462 ac_save_CPPFLAGS=$CPPFLAGS
12463 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12465 printf %s "checking for MinGW lcms2.h... " >&6; }
12466 if test ${ac_cv_mingw_header_lcms2_h+y}
12467 then :
12468 printf %s "(cached) " >&6
12469 else $as_nop
12470 ac_wine_check_headers_saved_cc=$CC
12471 ac_wine_check_headers_saved_exeext=$ac_exeext
12472 eval CC=\$${wine_arch}_CC
12473 ac_exeext=".exe"
12474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12475 /* end confdefs.h. */
12477 #include <lcms2.h>
12479 main (void)
12483 return 0;
12485 _ACEOF
12486 if ac_fn_c_try_compile "$LINENO"
12487 then :
12488 ac_cv_mingw_header_lcms2_h=yes
12489 else $as_nop
12490 ac_cv_mingw_header_lcms2_h=no
12492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12493 CC=$ac_wine_check_headers_saved_cc
12494 ac_exeext=$ac_wine_check_headers_saved_exeext
12496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12497 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12498 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12499 then :
12500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12501 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12502 if test ${ac_cv_mingw_lib_lcms2+y}
12503 then :
12504 printf %s "(cached) " >&6
12505 else $as_nop
12506 ac_wine_check_headers_saved_cc=$CC
12507 ac_wine_check_headers_saved_exeext=$ac_exeext
12508 ac_wine_check_headers_saved_libs=$LIBS
12509 eval CC=\$${wine_arch}_CC
12510 ac_exeext=".exe"
12511 LIBS="-llcms2 $LCMS2_PE_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 char cmsOpenProfileFromFile ();
12520 main (void)
12522 return cmsOpenProfileFromFile ();
12524 return 0;
12526 _ACEOF
12527 if ac_fn_c_try_link "$LINENO"
12528 then :
12529 ac_cv_mingw_lib_lcms2=yes
12530 else $as_nop
12531 ac_cv_mingw_lib_lcms2=no
12533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12534 conftest$ac_exeext conftest.$ac_ext
12535 CC=$ac_wine_check_headers_saved_cc
12536 ac_exeext=$ac_wine_check_headers_saved_exeext
12537 LIBS=$ac_wine_check_headers_saved_libs
12539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12540 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12541 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12542 then :
12544 else $as_nop
12545 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12547 else $as_nop
12548 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12550 CPPFLAGS=$ac_save_CPPFLAGS
12552 if test "x$LCMS2_PE_LIBS" = "x"
12553 then
12554 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12557 if ${MPG123_PE_CFLAGS:+false} :
12558 then :
12559 if test ${MINGW_PKG_CONFIG+y}
12560 then :
12561 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12564 if ${MPG123_PE_LIBS:+false} :
12565 then :
12566 if test ${MINGW_PKG_CONFIG+y}
12567 then :
12568 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12571 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12572 ac_save_CPPFLAGS=$CPPFLAGS
12573 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12575 printf %s "checking for MinGW mpg123.h... " >&6; }
12576 if test ${ac_cv_mingw_header_mpg123_h+y}
12577 then :
12578 printf %s "(cached) " >&6
12579 else $as_nop
12580 ac_wine_check_headers_saved_cc=$CC
12581 ac_wine_check_headers_saved_exeext=$ac_exeext
12582 eval CC=\$${wine_arch}_CC
12583 ac_exeext=".exe"
12584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12585 /* end confdefs.h. */
12587 #include <mpg123.h>
12589 main (void)
12593 return 0;
12595 _ACEOF
12596 if ac_fn_c_try_compile "$LINENO"
12597 then :
12598 ac_cv_mingw_header_mpg123_h=yes
12599 else $as_nop
12600 ac_cv_mingw_header_mpg123_h=no
12602 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12603 CC=$ac_wine_check_headers_saved_cc
12604 ac_exeext=$ac_wine_check_headers_saved_exeext
12606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12607 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12608 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12609 then :
12610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12611 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12612 if test ${ac_cv_mingw_lib_mpg123+y}
12613 then :
12614 printf %s "(cached) " >&6
12615 else $as_nop
12616 ac_wine_check_headers_saved_cc=$CC
12617 ac_wine_check_headers_saved_exeext=$ac_exeext
12618 ac_wine_check_headers_saved_libs=$LIBS
12619 eval CC=\$${wine_arch}_CC
12620 ac_exeext=".exe"
12621 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12623 /* end confdefs.h. */
12625 /* Override any GCC internal prototype to avoid an error.
12626 Use char because int might match the return type of a GCC
12627 builtin and then its argument prototype would still apply. */
12628 char mpg123_feed ();
12630 main (void)
12632 return mpg123_feed ();
12634 return 0;
12636 _ACEOF
12637 if ac_fn_c_try_link "$LINENO"
12638 then :
12639 ac_cv_mingw_lib_mpg123=yes
12640 else $as_nop
12641 ac_cv_mingw_lib_mpg123=no
12643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12644 conftest$ac_exeext conftest.$ac_ext
12645 CC=$ac_wine_check_headers_saved_cc
12646 ac_exeext=$ac_wine_check_headers_saved_exeext
12647 LIBS=$ac_wine_check_headers_saved_libs
12649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12650 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12651 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12652 then :
12654 else $as_nop
12655 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12657 else $as_nop
12658 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12660 CPPFLAGS=$ac_save_CPPFLAGS
12662 if test "x$MPG123_PE_LIBS" = "x"
12663 then
12664 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12667 if ${PNG_PE_CFLAGS:+false} :
12668 then :
12669 if test ${MINGW_PKG_CONFIG+y}
12670 then :
12671 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12674 if ${PNG_PE_LIBS:+false} :
12675 then :
12676 if test ${MINGW_PKG_CONFIG+y}
12677 then :
12678 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12682 ac_save_CPPFLAGS=$CPPFLAGS
12683 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12685 printf %s "checking for MinGW png.h... " >&6; }
12686 if test ${ac_cv_mingw_header_png_h+y}
12687 then :
12688 printf %s "(cached) " >&6
12689 else $as_nop
12690 ac_wine_check_headers_saved_cc=$CC
12691 ac_wine_check_headers_saved_exeext=$ac_exeext
12692 eval CC=\$${wine_arch}_CC
12693 ac_exeext=".exe"
12694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12695 /* end confdefs.h. */
12697 #include <png.h>
12699 main (void)
12703 return 0;
12705 _ACEOF
12706 if ac_fn_c_try_compile "$LINENO"
12707 then :
12708 ac_cv_mingw_header_png_h=yes
12709 else $as_nop
12710 ac_cv_mingw_header_png_h=no
12712 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12713 CC=$ac_wine_check_headers_saved_cc
12714 ac_exeext=$ac_wine_check_headers_saved_exeext
12716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12717 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12718 if test "x$ac_cv_mingw_header_png_h" = xyes
12719 then :
12720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12721 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12722 if test ${ac_cv_mingw_lib_png+y}
12723 then :
12724 printf %s "(cached) " >&6
12725 else $as_nop
12726 ac_wine_check_headers_saved_cc=$CC
12727 ac_wine_check_headers_saved_exeext=$ac_exeext
12728 ac_wine_check_headers_saved_libs=$LIBS
12729 eval CC=\$${wine_arch}_CC
12730 ac_exeext=".exe"
12731 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12733 /* end confdefs.h. */
12735 /* Override any GCC internal prototype to avoid an error.
12736 Use char because int might match the return type of a GCC
12737 builtin and then its argument prototype would still apply. */
12738 char png_create_read_struct ();
12740 main (void)
12742 return png_create_read_struct ();
12744 return 0;
12746 _ACEOF
12747 if ac_fn_c_try_link "$LINENO"
12748 then :
12749 ac_cv_mingw_lib_png=yes
12750 else $as_nop
12751 ac_cv_mingw_lib_png=no
12753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12754 conftest$ac_exeext conftest.$ac_ext
12755 CC=$ac_wine_check_headers_saved_cc
12756 ac_exeext=$ac_wine_check_headers_saved_exeext
12757 LIBS=$ac_wine_check_headers_saved_libs
12759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12760 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12761 if test "x$ac_cv_mingw_lib_png" = xyes
12762 then :
12764 else $as_nop
12765 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12767 else $as_nop
12768 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12770 CPPFLAGS=$ac_save_CPPFLAGS
12772 if test "x$PNG_PE_LIBS" = "x"
12773 then
12774 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12777 if ${TIFF_PE_CFLAGS:+false} :
12778 then :
12779 if test ${MINGW_PKG_CONFIG+y}
12780 then :
12781 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12784 if ${TIFF_PE_LIBS:+false} :
12785 then :
12786 if test ${MINGW_PKG_CONFIG+y}
12787 then :
12788 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12792 ac_save_CPPFLAGS=$CPPFLAGS
12793 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12795 printf %s "checking for MinGW tiffio.h... " >&6; }
12796 if test ${ac_cv_mingw_header_tiffio_h+y}
12797 then :
12798 printf %s "(cached) " >&6
12799 else $as_nop
12800 ac_wine_check_headers_saved_cc=$CC
12801 ac_wine_check_headers_saved_exeext=$ac_exeext
12802 eval CC=\$${wine_arch}_CC
12803 ac_exeext=".exe"
12804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12805 /* end confdefs.h. */
12807 #include <tiffio.h>
12809 main (void)
12813 return 0;
12815 _ACEOF
12816 if ac_fn_c_try_compile "$LINENO"
12817 then :
12818 ac_cv_mingw_header_tiffio_h=yes
12819 else $as_nop
12820 ac_cv_mingw_header_tiffio_h=no
12822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12823 CC=$ac_wine_check_headers_saved_cc
12824 ac_exeext=$ac_wine_check_headers_saved_exeext
12826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12827 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12828 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12829 then :
12830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12831 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12832 if test ${ac_cv_mingw_lib_tiff+y}
12833 then :
12834 printf %s "(cached) " >&6
12835 else $as_nop
12836 ac_wine_check_headers_saved_cc=$CC
12837 ac_wine_check_headers_saved_exeext=$ac_exeext
12838 ac_wine_check_headers_saved_libs=$LIBS
12839 eval CC=\$${wine_arch}_CC
12840 ac_exeext=".exe"
12841 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12843 /* end confdefs.h. */
12845 /* Override any GCC internal prototype to avoid an error.
12846 Use char because int might match the return type of a GCC
12847 builtin and then its argument prototype would still apply. */
12848 char TIFFClientOpen ();
12850 main (void)
12852 return TIFFClientOpen ();
12854 return 0;
12856 _ACEOF
12857 if ac_fn_c_try_link "$LINENO"
12858 then :
12859 ac_cv_mingw_lib_tiff=yes
12860 else $as_nop
12861 ac_cv_mingw_lib_tiff=no
12863 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12864 conftest$ac_exeext conftest.$ac_ext
12865 CC=$ac_wine_check_headers_saved_cc
12866 ac_exeext=$ac_wine_check_headers_saved_exeext
12867 LIBS=$ac_wine_check_headers_saved_libs
12869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12870 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12871 if test "x$ac_cv_mingw_lib_tiff" = xyes
12872 then :
12874 else $as_nop
12875 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12877 else $as_nop
12878 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12880 CPPFLAGS=$ac_save_CPPFLAGS
12882 if test "x$TIFF_PE_LIBS" = "x"
12883 then
12884 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12887 if ${XML2_PE_CFLAGS:+false} :
12888 then :
12889 if test ${MINGW_PKG_CONFIG+y}
12890 then :
12891 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12894 if ${XML2_PE_LIBS:+false} :
12895 then :
12896 if test ${MINGW_PKG_CONFIG+y}
12897 then :
12898 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12901 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12902 ac_save_CPPFLAGS=$CPPFLAGS
12903 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12905 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12906 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12907 then :
12908 printf %s "(cached) " >&6
12909 else $as_nop
12910 ac_wine_check_headers_saved_cc=$CC
12911 ac_wine_check_headers_saved_exeext=$ac_exeext
12912 eval CC=\$${wine_arch}_CC
12913 ac_exeext=".exe"
12914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12915 /* end confdefs.h. */
12917 #include <libxml/parser.h>
12919 main (void)
12923 return 0;
12925 _ACEOF
12926 if ac_fn_c_try_compile "$LINENO"
12927 then :
12928 ac_cv_mingw_header_libxml_parser_h=yes
12929 else $as_nop
12930 ac_cv_mingw_header_libxml_parser_h=no
12932 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12933 CC=$ac_wine_check_headers_saved_cc
12934 ac_exeext=$ac_wine_check_headers_saved_exeext
12936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12937 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12938 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12939 then :
12942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12943 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12944 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12945 then :
12946 printf %s "(cached) " >&6
12947 else $as_nop
12948 ac_wine_check_headers_saved_cc=$CC
12949 ac_wine_check_headers_saved_exeext=$ac_exeext
12950 eval CC=\$${wine_arch}_CC
12951 ac_exeext=".exe"
12952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12953 /* end confdefs.h. */
12955 #include <libxml/xmlsave.h>
12957 main (void)
12961 return 0;
12963 _ACEOF
12964 if ac_fn_c_try_compile "$LINENO"
12965 then :
12966 ac_cv_mingw_header_libxml_xmlsave_h=yes
12967 else $as_nop
12968 ac_cv_mingw_header_libxml_xmlsave_h=no
12970 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12971 CC=$ac_wine_check_headers_saved_cc
12972 ac_exeext=$ac_wine_check_headers_saved_exeext
12974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12975 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12976 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12977 then :
12980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12981 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12982 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12983 then :
12984 printf %s "(cached) " >&6
12985 else $as_nop
12986 ac_wine_check_headers_saved_cc=$CC
12987 ac_wine_check_headers_saved_exeext=$ac_exeext
12988 eval CC=\$${wine_arch}_CC
12989 ac_exeext=".exe"
12990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12991 /* end confdefs.h. */
12993 #include <libxml/SAX2.h>
12995 main (void)
12999 return 0;
13001 _ACEOF
13002 if ac_fn_c_try_compile "$LINENO"
13003 then :
13004 ac_cv_mingw_header_libxml_SAX2_h=yes
13005 else $as_nop
13006 ac_cv_mingw_header_libxml_SAX2_h=no
13008 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13009 CC=$ac_wine_check_headers_saved_cc
13010 ac_exeext=$ac_wine_check_headers_saved_exeext
13012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
13013 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
13014 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
13015 then :
13018 if test "$ac_cv_mingw_header_libxml_parser_h" = "yes" -a "$ac_cv_mingw_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_mingw_header_libxml_SAX2_h" = "yes"
13019 then
13020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
13021 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
13022 if test ${ac_cv_mingw_lib_xml2+y}
13023 then :
13024 printf %s "(cached) " >&6
13025 else $as_nop
13026 ac_wine_check_headers_saved_cc=$CC
13027 ac_wine_check_headers_saved_exeext=$ac_exeext
13028 ac_wine_check_headers_saved_libs=$LIBS
13029 eval CC=\$${wine_arch}_CC
13030 ac_exeext=".exe"
13031 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
13032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13033 /* end confdefs.h. */
13035 /* Override any GCC internal prototype to avoid an error.
13036 Use char because int might match the return type of a GCC
13037 builtin and then its argument prototype would still apply. */
13038 char xmlFirstElementChild ();
13040 main (void)
13042 return xmlFirstElementChild ();
13044 return 0;
13046 _ACEOF
13047 if ac_fn_c_try_link "$LINENO"
13048 then :
13049 ac_cv_mingw_lib_xml2=yes
13050 else $as_nop
13051 ac_cv_mingw_lib_xml2=no
13053 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13054 conftest$ac_exeext conftest.$ac_ext
13055 CC=$ac_wine_check_headers_saved_cc
13056 ac_exeext=$ac_wine_check_headers_saved_exeext
13057 LIBS=$ac_wine_check_headers_saved_libs
13059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
13060 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
13061 if test "x$ac_cv_mingw_lib_xml2" = xyes
13062 then :
13064 else $as_nop
13065 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
13067 else
13068 XML2_PE_CFLAGS=""
13069 XML2_PE_LIBS=""
13071 CPPFLAGS=$ac_save_CPPFLAGS
13073 if test "x$XML2_PE_LIBS" = "x"
13074 then
13075 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
13078 if ${XSLT_PE_CFLAGS:+false} :
13079 then :
13080 if test ${MINGW_PKG_CONFIG+y}
13081 then :
13082 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
13085 if ${XSLT_PE_LIBS:+false} :
13086 then :
13087 if test ${MINGW_PKG_CONFIG+y}
13088 then :
13089 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
13092 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13093 ac_save_CPPFLAGS=$CPPFLAGS
13094 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13096 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13097 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13098 then :
13099 printf %s "(cached) " >&6
13100 else $as_nop
13101 ac_wine_check_headers_saved_cc=$CC
13102 ac_wine_check_headers_saved_exeext=$ac_exeext
13103 eval CC=\$${wine_arch}_CC
13104 ac_exeext=".exe"
13105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13106 /* end confdefs.h. */
13108 #include <libxslt/pattern.h>
13110 main (void)
13114 return 0;
13116 _ACEOF
13117 if ac_fn_c_try_compile "$LINENO"
13118 then :
13119 ac_cv_mingw_header_libxslt_pattern_h=yes
13120 else $as_nop
13121 ac_cv_mingw_header_libxslt_pattern_h=no
13123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13124 CC=$ac_wine_check_headers_saved_cc
13125 ac_exeext=$ac_wine_check_headers_saved_exeext
13127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13128 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13129 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13130 then :
13133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13134 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13135 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13136 then :
13137 printf %s "(cached) " >&6
13138 else $as_nop
13139 ac_wine_check_headers_saved_cc=$CC
13140 ac_wine_check_headers_saved_exeext=$ac_exeext
13141 eval CC=\$${wine_arch}_CC
13142 ac_exeext=".exe"
13143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13144 /* end confdefs.h. */
13146 #include <libxslt/transform.h>
13148 main (void)
13152 return 0;
13154 _ACEOF
13155 if ac_fn_c_try_compile "$LINENO"
13156 then :
13157 ac_cv_mingw_header_libxslt_transform_h=yes
13158 else $as_nop
13159 ac_cv_mingw_header_libxslt_transform_h=no
13161 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13162 CC=$ac_wine_check_headers_saved_cc
13163 ac_exeext=$ac_wine_check_headers_saved_exeext
13165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13166 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13167 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13168 then :
13171 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13172 then
13173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13174 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13175 if test ${ac_cv_mingw_lib_xslt+y}
13176 then :
13177 printf %s "(cached) " >&6
13178 else $as_nop
13179 ac_wine_check_headers_saved_cc=$CC
13180 ac_wine_check_headers_saved_exeext=$ac_exeext
13181 ac_wine_check_headers_saved_libs=$LIBS
13182 eval CC=\$${wine_arch}_CC
13183 ac_exeext=".exe"
13184 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13186 /* end confdefs.h. */
13188 /* Override any GCC internal prototype to avoid an error.
13189 Use char because int might match the return type of a GCC
13190 builtin and then its argument prototype would still apply. */
13191 char xsltCompilePattern ();
13193 main (void)
13195 return xsltCompilePattern ();
13197 return 0;
13199 _ACEOF
13200 if ac_fn_c_try_link "$LINENO"
13201 then :
13202 ac_cv_mingw_lib_xslt=yes
13203 else $as_nop
13204 ac_cv_mingw_lib_xslt=no
13206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13207 conftest$ac_exeext conftest.$ac_ext
13208 CC=$ac_wine_check_headers_saved_cc
13209 ac_exeext=$ac_wine_check_headers_saved_exeext
13210 LIBS=$ac_wine_check_headers_saved_libs
13212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13213 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13214 if test "x$ac_cv_mingw_lib_xslt" = xyes
13215 then :
13217 else $as_nop
13218 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13220 else
13221 XSLT_PE_CFLAGS=""
13222 XSLT_PE_LIBS=""
13224 CPPFLAGS=$ac_save_CPPFLAGS
13226 if test "x$XSLT_PE_LIBS" = "x"
13227 then
13228 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13231 if ${VKD3D_PE_CFLAGS:+false} :
13232 then :
13233 if test ${MINGW_PKG_CONFIG+y}
13234 then :
13235 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
13238 if ${VKD3D_PE_LIBS:+false} :
13239 then :
13240 if test ${MINGW_PKG_CONFIG+y}
13241 then :
13242 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
13245 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13246 ac_save_CPPFLAGS=$CPPFLAGS
13247 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13249 printf %s "checking for MinGW vkd3d.h... " >&6; }
13250 if test ${ac_cv_mingw_header_vkd3d_h+y}
13251 then :
13252 printf %s "(cached) " >&6
13253 else $as_nop
13254 ac_wine_check_headers_saved_cc=$CC
13255 ac_wine_check_headers_saved_exeext=$ac_exeext
13256 eval CC=\$${wine_arch}_CC
13257 ac_exeext=".exe"
13258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13259 /* end confdefs.h. */
13261 #include <vkd3d.h>
13263 main (void)
13267 return 0;
13269 _ACEOF
13270 if ac_fn_c_try_compile "$LINENO"
13271 then :
13272 ac_cv_mingw_header_vkd3d_h=yes
13273 else $as_nop
13274 ac_cv_mingw_header_vkd3d_h=no
13276 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13277 CC=$ac_wine_check_headers_saved_cc
13278 ac_exeext=$ac_wine_check_headers_saved_exeext
13280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13281 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13282 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13283 then :
13286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13287 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13288 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13289 then :
13290 printf %s "(cached) " >&6
13291 else $as_nop
13292 ac_wine_check_headers_saved_cc=$CC
13293 ac_wine_check_headers_saved_exeext=$ac_exeext
13294 eval CC=\$${wine_arch}_CC
13295 ac_exeext=".exe"
13296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13297 /* end confdefs.h. */
13299 #include <vkd3d_shader.h>
13301 main (void)
13305 return 0;
13307 _ACEOF
13308 if ac_fn_c_try_compile "$LINENO"
13309 then :
13310 ac_cv_mingw_header_vkd3d_shader_h=yes
13311 else $as_nop
13312 ac_cv_mingw_header_vkd3d_shader_h=no
13314 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13315 CC=$ac_wine_check_headers_saved_cc
13316 ac_exeext=$ac_wine_check_headers_saved_exeext
13318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13319 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13320 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13321 then :
13324 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13325 then
13326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13327 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13328 if test ${ac_cv_mingw_lib_vkd3d+y}
13329 then :
13330 printf %s "(cached) " >&6
13331 else $as_nop
13332 ac_wine_check_headers_saved_cc=$CC
13333 ac_wine_check_headers_saved_exeext=$ac_exeext
13334 ac_wine_check_headers_saved_libs=$LIBS
13335 eval CC=\$${wine_arch}_CC
13336 ac_exeext=".exe"
13337 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13339 /* end confdefs.h. */
13341 /* Override any GCC internal prototype to avoid an error.
13342 Use char because int might match the return type of a GCC
13343 builtin and then its argument prototype would still apply. */
13344 char vkd3d_set_log_callback ();
13346 main (void)
13348 return vkd3d_set_log_callback ();
13350 return 0;
13352 _ACEOF
13353 if ac_fn_c_try_link "$LINENO"
13354 then :
13355 ac_cv_mingw_lib_vkd3d=yes
13356 else $as_nop
13357 ac_cv_mingw_lib_vkd3d=no
13359 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13360 conftest$ac_exeext conftest.$ac_ext
13361 CC=$ac_wine_check_headers_saved_cc
13362 ac_exeext=$ac_wine_check_headers_saved_exeext
13363 LIBS=$ac_wine_check_headers_saved_libs
13365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13366 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13367 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13368 then :
13370 else $as_nop
13373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader" >&5
13374 printf %s "checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader... " >&6; }
13375 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13376 then :
13377 printf %s "(cached) " >&6
13378 else $as_nop
13379 ac_wine_check_headers_saved_cc=$CC
13380 ac_wine_check_headers_saved_exeext=$ac_exeext
13381 ac_wine_check_headers_saved_libs=$LIBS
13382 eval CC=\$${wine_arch}_CC
13383 ac_exeext=".exe"
13384 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13386 /* end confdefs.h. */
13388 /* Override any GCC internal prototype to avoid an error.
13389 Use char because int might match the return type of a GCC
13390 builtin and then its argument prototype would still apply. */
13391 char vkd3d_shader_build_varying_map ();
13393 main (void)
13395 return vkd3d_shader_build_varying_map ();
13397 return 0;
13399 _ACEOF
13400 if ac_fn_c_try_link "$LINENO"
13401 then :
13402 ac_cv_mingw_lib_vkd3d_shader=yes
13403 else $as_nop
13404 ac_cv_mingw_lib_vkd3d_shader=no
13406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13407 conftest$ac_exeext conftest.$ac_ext
13408 CC=$ac_wine_check_headers_saved_cc
13409 ac_exeext=$ac_wine_check_headers_saved_exeext
13410 LIBS=$ac_wine_check_headers_saved_libs
13412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13413 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13414 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13415 then :
13417 else $as_nop
13420 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13421 then
13422 VKD3D_PE_CFLAGS=""
13423 VKD3D_PE_LIBS=""
13425 else
13426 VKD3D_PE_CFLAGS=""
13427 VKD3D_PE_LIBS=""
13429 CPPFLAGS=$ac_save_CPPFLAGS
13431 if test "x$VKD3D_PE_LIBS" = "x"
13432 then
13433 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13436 if ${ZLIB_PE_CFLAGS:+false} :
13437 then :
13438 if test ${MINGW_PKG_CONFIG+y}
13439 then :
13440 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13443 if ${ZLIB_PE_LIBS:+false} :
13444 then :
13445 if test ${MINGW_PKG_CONFIG+y}
13446 then :
13447 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13450 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13451 ac_save_CPPFLAGS=$CPPFLAGS
13452 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13454 printf %s "checking for MinGW zlib.h... " >&6; }
13455 if test ${ac_cv_mingw_header_zlib_h+y}
13456 then :
13457 printf %s "(cached) " >&6
13458 else $as_nop
13459 ac_wine_check_headers_saved_cc=$CC
13460 ac_wine_check_headers_saved_exeext=$ac_exeext
13461 eval CC=\$${wine_arch}_CC
13462 ac_exeext=".exe"
13463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13464 /* end confdefs.h. */
13466 #include <zlib.h>
13468 main (void)
13472 return 0;
13474 _ACEOF
13475 if ac_fn_c_try_compile "$LINENO"
13476 then :
13477 ac_cv_mingw_header_zlib_h=yes
13478 else $as_nop
13479 ac_cv_mingw_header_zlib_h=no
13481 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13482 CC=$ac_wine_check_headers_saved_cc
13483 ac_exeext=$ac_wine_check_headers_saved_exeext
13485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13486 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13487 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13488 then :
13489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13490 printf %s "checking for inflate in MinGW -lz... " >&6; }
13491 if test ${ac_cv_mingw_lib_z+y}
13492 then :
13493 printf %s "(cached) " >&6
13494 else $as_nop
13495 ac_wine_check_headers_saved_cc=$CC
13496 ac_wine_check_headers_saved_exeext=$ac_exeext
13497 ac_wine_check_headers_saved_libs=$LIBS
13498 eval CC=\$${wine_arch}_CC
13499 ac_exeext=".exe"
13500 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13502 /* end confdefs.h. */
13504 /* Override any GCC internal prototype to avoid an error.
13505 Use char because int might match the return type of a GCC
13506 builtin and then its argument prototype would still apply. */
13507 char inflate ();
13509 main (void)
13511 return inflate ();
13513 return 0;
13515 _ACEOF
13516 if ac_fn_c_try_link "$LINENO"
13517 then :
13518 ac_cv_mingw_lib_z=yes
13519 else $as_nop
13520 ac_cv_mingw_lib_z=no
13522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13523 conftest$ac_exeext conftest.$ac_ext
13524 CC=$ac_wine_check_headers_saved_cc
13525 ac_exeext=$ac_wine_check_headers_saved_exeext
13526 LIBS=$ac_wine_check_headers_saved_libs
13528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13529 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13530 if test "x$ac_cv_mingw_lib_z" = xyes
13531 then :
13533 else $as_nop
13534 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13536 else $as_nop
13537 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13539 CPPFLAGS=$ac_save_CPPFLAGS
13541 if test "x$ZLIB_PE_LIBS" = "x"
13542 then
13543 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13547 if ${FAUDIO_PE_LIBS:+false} :
13548 then :
13549 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13550 if ${FAUDIO_PE_CFLAGS:+false} :
13551 then :
13552 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13553 else $as_nop
13554 enable_faudio=no
13556 else $as_nop
13557 enable_faudio=no
13559 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13560 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13562 if ${FLUIDSYNTH_PE_LIBS:+false} :
13563 then :
13564 FLUIDSYNTH_PE_LIBS="fluidsynth"
13565 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13566 then :
13567 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13568 else $as_nop
13569 enable_fluidsynth=no
13571 else $as_nop
13572 enable_fluidsynth=no
13574 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13575 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13577 if ${GSM_PE_LIBS:+false} :
13578 then :
13579 GSM_PE_LIBS=gsm
13580 if ${GSM_PE_CFLAGS:+false} :
13581 then :
13582 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13583 else $as_nop
13584 enable_gsm=no
13586 else $as_nop
13587 enable_gsm=no
13589 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13590 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13592 if ${JPEG_PE_LIBS:+false} :
13593 then :
13594 JPEG_PE_LIBS=jpeg
13595 if ${JPEG_PE_CFLAGS:+false} :
13596 then :
13597 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13598 else $as_nop
13599 enable_jpeg=no
13601 else $as_nop
13602 enable_jpeg=no
13604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13605 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13607 if ${JXR_PE_LIBS:+false} :
13608 then :
13609 JXR_PE_LIBS=jxr
13610 if ${JXR_PE_CFLAGS:+false} :
13611 then :
13612 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13613 else $as_nop
13614 enable_jxr=no
13616 else $as_nop
13617 enable_jxr=no
13619 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13620 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13622 if ${LCMS2_PE_LIBS:+false} :
13623 then :
13624 LCMS2_PE_LIBS=lcms2
13625 if ${LCMS2_PE_CFLAGS:+false} :
13626 then :
13627 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13628 else $as_nop
13629 enable_lcms2=no
13631 else $as_nop
13632 enable_lcms2=no
13634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13635 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13637 if ${LDAP_PE_LIBS:+false} :
13638 then :
13639 LDAP_PE_LIBS=ldap
13640 if ${LDAP_PE_CFLAGS:+false} :
13641 then :
13642 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13643 else $as_nop
13644 enable_ldap=no
13646 else $as_nop
13647 enable_ldap=no
13649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13652 if ${MPG123_PE_LIBS:+false} :
13653 then :
13654 MPG123_PE_LIBS=mpg123
13655 if ${MPG123_PE_CFLAGS:+false} :
13656 then :
13657 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/include"
13658 else $as_nop
13659 enable_mpg123=no
13661 else $as_nop
13662 enable_mpg123=no
13664 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13667 if ${MUSL_PE_LIBS:+false} :
13668 then :
13669 MUSL_PE_LIBS=musl
13670 if ${MUSL_PE_CFLAGS:+false} :
13671 then :
13672 MUSL_PE_CFLAGS=
13673 else $as_nop
13674 enable_musl=no
13676 else $as_nop
13677 enable_musl=no
13679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13680 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13682 if ${PNG_PE_LIBS:+false} :
13683 then :
13684 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13685 if ${PNG_PE_CFLAGS:+false} :
13686 then :
13687 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13688 else $as_nop
13689 enable_png=no
13691 else $as_nop
13692 enable_png=no
13694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13695 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13697 if ${TIFF_PE_LIBS:+false} :
13698 then :
13699 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13700 if ${TIFF_PE_CFLAGS:+false} :
13701 then :
13702 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13703 else $as_nop
13704 enable_tiff=no
13706 else $as_nop
13707 enable_tiff=no
13709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13710 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13712 if ${VKD3D_PE_LIBS:+false} :
13713 then :
13714 VKD3D_PE_LIBS=vkd3d
13715 if ${VKD3D_PE_CFLAGS:+false} :
13716 then :
13717 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13718 else $as_nop
13719 enable_vkd3d=no
13721 else $as_nop
13722 enable_vkd3d=no
13724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13727 if ${XML2_PE_LIBS:+false} :
13728 then :
13729 XML2_PE_LIBS=xml2
13730 if ${XML2_PE_CFLAGS:+false} :
13731 then :
13732 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13733 else $as_nop
13734 enable_xml2=no
13736 else $as_nop
13737 enable_xml2=no
13739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13742 if ${XSLT_PE_LIBS:+false} :
13743 then :
13744 XSLT_PE_LIBS=xslt
13745 if ${XSLT_PE_CFLAGS:+false} :
13746 then :
13747 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13748 else $as_nop
13749 enable_xslt=no
13751 else $as_nop
13752 enable_xslt=no
13754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13757 if ${ZLIB_PE_LIBS:+false} :
13758 then :
13759 ZLIB_PE_LIBS=z
13760 if ${ZLIB_PE_CFLAGS:+false} :
13761 then :
13762 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13763 else $as_nop
13764 enable_zlib=no
13766 else $as_nop
13767 enable_zlib=no
13769 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13772 if ${ZYDIS_PE_LIBS:+false} :
13773 then :
13774 ZYDIS_PE_LIBS=zydis
13775 if ${ZYDIS_PE_CFLAGS:+false} :
13776 then :
13777 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13778 else $as_nop
13779 enable_zydis=no
13781 else $as_nop
13782 enable_zydis=no
13784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13789 if test "x$with_pthread" = xno
13790 then :
13792 else $as_nop
13793 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13794 if test "x$ac_cv_func_pthread_create" = xyes
13795 then :
13797 else $as_nop
13798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13799 printf %s "checking for pthread_create in -lpthread... " >&6; }
13800 if test ${ac_cv_lib_pthread_pthread_create+y}
13801 then :
13802 printf %s "(cached) " >&6
13803 else $as_nop
13804 ac_check_lib_save_LIBS=$LIBS
13805 LIBS="-lpthread $LIBS"
13806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13807 /* end confdefs.h. */
13809 /* Override any GCC internal prototype to avoid an error.
13810 Use char because int might match the return type of a GCC
13811 builtin and then its argument prototype would still apply. */
13812 char pthread_create ();
13814 main (void)
13816 return pthread_create ();
13818 return 0;
13820 _ACEOF
13821 if ac_fn_c_try_link "$LINENO"
13822 then :
13823 ac_cv_lib_pthread_pthread_create=yes
13824 else $as_nop
13825 ac_cv_lib_pthread_pthread_create=no
13827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13828 conftest$ac_exeext conftest.$ac_ext
13829 LIBS=$ac_check_lib_save_LIBS
13831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13832 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13833 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13834 then :
13835 PTHREAD_LIBS="-lpthread"
13842 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13843 then :
13844 case "x$with_pthread" in
13845 xno) ;;
13846 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13847 Wine cannot support threads without libpthread.
13848 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13849 esac
13854 ac_ext=c
13855 ac_cpp='$CPP $CPPFLAGS'
13856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13860 printf %s "checking how to run the C preprocessor... " >&6; }
13861 # On Suns, sometimes $CPP names a directory.
13862 if test -n "$CPP" && test -d "$CPP"; then
13863 CPP=
13865 if test -z "$CPP"; then
13866 if test ${ac_cv_prog_CPP+y}
13867 then :
13868 printf %s "(cached) " >&6
13869 else $as_nop
13870 # Double quotes because $CC needs to be expanded
13871 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13873 ac_preproc_ok=false
13874 for ac_c_preproc_warn_flag in '' yes
13876 # Use a header file that comes with gcc, so configuring glibc
13877 # with a fresh cross-compiler works.
13878 # On the NeXT, cc -E runs the code through the compiler's parser,
13879 # not just through cpp. "Syntax error" is here to catch this case.
13880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13882 #include <limits.h>
13883 Syntax error
13884 _ACEOF
13885 if ac_fn_c_try_cpp "$LINENO"
13886 then :
13888 else $as_nop
13889 # Broken: fails on valid input.
13890 continue
13892 rm -f conftest.err conftest.i conftest.$ac_ext
13894 # OK, works on sane cases. Now check whether nonexistent headers
13895 # can be detected and how.
13896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13897 /* end confdefs.h. */
13898 #include <ac_nonexistent.h>
13899 _ACEOF
13900 if ac_fn_c_try_cpp "$LINENO"
13901 then :
13902 # Broken: success on invalid input.
13903 continue
13904 else $as_nop
13905 # Passes both tests.
13906 ac_preproc_ok=:
13907 break
13909 rm -f conftest.err conftest.i conftest.$ac_ext
13911 done
13912 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13913 rm -f conftest.i conftest.err conftest.$ac_ext
13914 if $ac_preproc_ok
13915 then :
13916 break
13919 done
13920 ac_cv_prog_CPP=$CPP
13923 CPP=$ac_cv_prog_CPP
13924 else
13925 ac_cv_prog_CPP=$CPP
13927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13928 printf "%s\n" "$CPP" >&6; }
13929 ac_preproc_ok=false
13930 for ac_c_preproc_warn_flag in '' yes
13932 # Use a header file that comes with gcc, so configuring glibc
13933 # with a fresh cross-compiler works.
13934 # On the NeXT, cc -E runs the code through the compiler's parser,
13935 # not just through cpp. "Syntax error" is here to catch this case.
13936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13937 /* end confdefs.h. */
13938 #include <limits.h>
13939 Syntax error
13940 _ACEOF
13941 if ac_fn_c_try_cpp "$LINENO"
13942 then :
13944 else $as_nop
13945 # Broken: fails on valid input.
13946 continue
13948 rm -f conftest.err conftest.i conftest.$ac_ext
13950 # OK, works on sane cases. Now check whether nonexistent headers
13951 # can be detected and how.
13952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13953 /* end confdefs.h. */
13954 #include <ac_nonexistent.h>
13955 _ACEOF
13956 if ac_fn_c_try_cpp "$LINENO"
13957 then :
13958 # Broken: success on invalid input.
13959 continue
13960 else $as_nop
13961 # Passes both tests.
13962 ac_preproc_ok=:
13963 break
13965 rm -f conftest.err conftest.i conftest.$ac_ext
13967 done
13968 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13969 rm -f conftest.i conftest.err conftest.$ac_ext
13970 if $ac_preproc_ok
13971 then :
13973 else $as_nop
13974 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13975 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13976 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13977 See \`config.log' for more details" "$LINENO" 5; }
13980 ac_ext=c
13981 ac_cpp='$CPP $CPPFLAGS'
13982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13988 printf %s "checking for X... " >&6; }
13991 # Check whether --with-x was given.
13992 if test ${with_x+y}
13993 then :
13994 withval=$with_x;
13997 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13998 if test "x$with_x" = xno; then
13999 # The user explicitly disabled X.
14000 have_x=disabled
14001 else
14002 case $x_includes,$x_libraries in #(
14003 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
14004 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
14005 then :
14006 printf %s "(cached) " >&6
14007 else $as_nop
14008 # One or both of the vars are not set, and there is no cached value.
14009 ac_x_includes=no
14010 ac_x_libraries=no
14011 # Do we need to do anything special at all?
14012 ac_save_LIBS=$LIBS
14013 LIBS="-lX11 $LIBS"
14014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14015 /* end confdefs.h. */
14016 #include <X11/Xlib.h>
14018 main (void)
14020 XrmInitialize ()
14022 return 0;
14024 _ACEOF
14025 if ac_fn_c_try_link "$LINENO"
14026 then :
14027 # We can compile and link X programs with no special options.
14028 ac_x_includes=
14029 ac_x_libraries=
14031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14032 conftest$ac_exeext conftest.$ac_ext
14033 LIBS="$ac_save_LIBS"
14034 # If that didn't work, only try xmkmf and file system searches
14035 # for native compilation.
14036 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
14037 then :
14038 rm -f -r conftest.dir
14039 if mkdir conftest.dir; then
14040 cd conftest.dir
14041 cat >Imakefile <<'_ACEOF'
14042 incroot:
14043 @echo incroot='${INCROOT}'
14044 usrlibdir:
14045 @echo usrlibdir='${USRLIBDIR}'
14046 libdir:
14047 @echo libdir='${LIBDIR}'
14048 _ACEOF
14049 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
14050 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14051 for ac_var in incroot usrlibdir libdir; do
14052 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14053 done
14054 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14055 for ac_extension in a so sl dylib la dll; do
14056 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14057 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14058 ac_im_usrlibdir=$ac_im_libdir; break
14060 done
14061 # Screen out bogus values from the imake configuration. They are
14062 # bogus both because they are the default anyway, and because
14063 # using them would break gcc on systems where it needs fixed includes.
14064 case $ac_im_incroot in
14065 /usr/include) ac_x_includes= ;;
14066 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
14067 esac
14068 case $ac_im_usrlibdir in
14069 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
14070 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
14071 esac
14073 cd ..
14074 rm -f -r conftest.dir
14077 # Standard set of common directories for X headers.
14078 # Check X11 before X11Rn because it is often a symlink to the current release.
14079 ac_x_header_dirs='
14080 /usr/X11/include
14081 /usr/X11R7/include
14082 /usr/X11R6/include
14083 /usr/X11R5/include
14084 /usr/X11R4/include
14086 /usr/include/X11
14087 /usr/include/X11R7
14088 /usr/include/X11R6
14089 /usr/include/X11R5
14090 /usr/include/X11R4
14092 /usr/local/X11/include
14093 /usr/local/X11R7/include
14094 /usr/local/X11R6/include
14095 /usr/local/X11R5/include
14096 /usr/local/X11R4/include
14098 /usr/local/include/X11
14099 /usr/local/include/X11R7
14100 /usr/local/include/X11R6
14101 /usr/local/include/X11R5
14102 /usr/local/include/X11R4
14104 /opt/X11/include
14106 /usr/X386/include
14107 /usr/x386/include
14108 /usr/XFree86/include/X11
14110 /usr/include
14111 /usr/local/include
14112 /usr/unsupported/include
14113 /usr/athena/include
14114 /usr/local/x11r5/include
14115 /usr/lpp/Xamples/include
14117 /usr/openwin/include
14118 /usr/openwin/share/include'
14120 if test "$ac_x_includes" = no; then
14121 # Guess where to find include files, by looking for Xlib.h.
14122 # First, try using that file with no special directory specified.
14123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14124 /* end confdefs.h. */
14125 #include <X11/Xlib.h>
14126 _ACEOF
14127 if ac_fn_c_try_cpp "$LINENO"
14128 then :
14129 # We can compile using X headers with no special include directory.
14130 ac_x_includes=
14131 else $as_nop
14132 for ac_dir in $ac_x_header_dirs; do
14133 if test -r "$ac_dir/X11/Xlib.h"; then
14134 ac_x_includes=$ac_dir
14135 break
14137 done
14139 rm -f conftest.err conftest.i conftest.$ac_ext
14140 fi # $ac_x_includes = no
14142 if test "$ac_x_libraries" = no; then
14143 # Check for the libraries.
14144 # See if we find them without any special options.
14145 # Don't add to $LIBS permanently.
14146 ac_save_LIBS=$LIBS
14147 LIBS="-lX11 $LIBS"
14148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14149 /* end confdefs.h. */
14150 #include <X11/Xlib.h>
14152 main (void)
14154 XrmInitialize ()
14156 return 0;
14158 _ACEOF
14159 if ac_fn_c_try_link "$LINENO"
14160 then :
14161 LIBS=$ac_save_LIBS
14162 # We can link X programs with no special library path.
14163 ac_x_libraries=
14164 else $as_nop
14165 LIBS=$ac_save_LIBS
14166 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14168 # Don't even attempt the hair of trying to link an X program!
14169 for ac_extension in a so sl dylib la dll; do
14170 if test -r "$ac_dir/libX11.$ac_extension"; then
14171 ac_x_libraries=$ac_dir
14172 break 2
14174 done
14175 done
14177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14178 conftest$ac_exeext conftest.$ac_ext
14179 fi # $ac_x_libraries = no
14182 # Record the results.
14183 case $ac_x_includes,$ac_x_libraries in #(
14184 no,* | *,no | *\'*) :
14185 # Didn't find X, or a directory has "'" in its name.
14186 ac_cv_have_x="have_x=no" ;; #(
14187 *) :
14188 # Record where we found X for the cache.
14189 ac_cv_have_x="have_x=yes\
14190 ac_x_includes='$ac_x_includes'\
14191 ac_x_libraries='$ac_x_libraries'" ;;
14192 esac
14194 ;; #(
14195 *) have_x=yes;;
14196 esac
14197 eval "$ac_cv_have_x"
14198 fi # $with_x != no
14200 if test "$have_x" != yes; then
14201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14202 printf "%s\n" "$have_x" >&6; }
14203 no_x=yes
14204 else
14205 # If each of the values was on the command line, it overrides each guess.
14206 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
14207 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
14208 # Update the cache value to reflect the command line values.
14209 ac_cv_have_x="have_x=yes\
14210 ac_x_includes='$x_includes'\
14211 ac_x_libraries='$x_libraries'"
14212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14213 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
14216 if test "$no_x" = yes; then
14217 # Not all programs may use this symbol, but it does not hurt to define it.
14219 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
14221 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
14222 else
14223 if test -n "$x_includes"; then
14224 X_CFLAGS="$X_CFLAGS -I$x_includes"
14227 # It would also be nice to do this for all -L options, not just this one.
14228 if test -n "$x_libraries"; then
14229 X_LIBS="$X_LIBS -L$x_libraries"
14230 # For Solaris; some versions of Sun CC require a space after -R and
14231 # others require no space. Words are not sufficient . . . .
14232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
14233 printf %s "checking whether -R must be followed by a space... " >&6; }
14234 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
14235 ac_xsave_c_werror_flag=$ac_c_werror_flag
14236 ac_c_werror_flag=yes
14237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14238 /* end confdefs.h. */
14241 main (void)
14245 return 0;
14247 _ACEOF
14248 if ac_fn_c_try_link "$LINENO"
14249 then :
14250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14251 printf "%s\n" "no" >&6; }
14252 X_LIBS="$X_LIBS -R$x_libraries"
14253 else $as_nop
14254 LIBS="$ac_xsave_LIBS -R $x_libraries"
14255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14256 /* end confdefs.h. */
14259 main (void)
14263 return 0;
14265 _ACEOF
14266 if ac_fn_c_try_link "$LINENO"
14267 then :
14268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14269 printf "%s\n" "yes" >&6; }
14270 X_LIBS="$X_LIBS -R $x_libraries"
14271 else $as_nop
14272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14273 printf "%s\n" "neither works" >&6; }
14275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14276 conftest$ac_exeext conftest.$ac_ext
14278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14279 conftest$ac_exeext conftest.$ac_ext
14280 ac_c_werror_flag=$ac_xsave_c_werror_flag
14281 LIBS=$ac_xsave_LIBS
14284 # Check for system-dependent libraries X programs must link with.
14285 # Do this before checking for the system-independent R6 libraries
14286 # (-lICE), since we may need -lsocket or whatever for X linking.
14288 if test "$ISC" = yes; then
14289 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14290 else
14291 # Martyn Johnson says this is needed for Ultrix, if the X
14292 # libraries were built with DECnet support. And Karl Berry says
14293 # the Alpha needs dnet_stub (dnet does not exist).
14294 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14296 /* end confdefs.h. */
14298 /* Override any GCC internal prototype to avoid an error.
14299 Use char because int might match the return type of a GCC
14300 builtin and then its argument prototype would still apply. */
14301 char XOpenDisplay ();
14303 main (void)
14305 return XOpenDisplay ();
14307 return 0;
14309 _ACEOF
14310 if ac_fn_c_try_link "$LINENO"
14311 then :
14313 else $as_nop
14314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14315 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
14316 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14317 then :
14318 printf %s "(cached) " >&6
14319 else $as_nop
14320 ac_check_lib_save_LIBS=$LIBS
14321 LIBS="-ldnet $LIBS"
14322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14323 /* end confdefs.h. */
14325 /* Override any GCC internal prototype to avoid an error.
14326 Use char because int might match the return type of a GCC
14327 builtin and then its argument prototype would still apply. */
14328 char dnet_ntoa ();
14330 main (void)
14332 return dnet_ntoa ();
14334 return 0;
14336 _ACEOF
14337 if ac_fn_c_try_link "$LINENO"
14338 then :
14339 ac_cv_lib_dnet_dnet_ntoa=yes
14340 else $as_nop
14341 ac_cv_lib_dnet_dnet_ntoa=no
14343 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14344 conftest$ac_exeext conftest.$ac_ext
14345 LIBS=$ac_check_lib_save_LIBS
14347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14348 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14349 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14350 then :
14351 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14354 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14356 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14357 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14358 then :
14359 printf %s "(cached) " >&6
14360 else $as_nop
14361 ac_check_lib_save_LIBS=$LIBS
14362 LIBS="-ldnet_stub $LIBS"
14363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14364 /* end confdefs.h. */
14366 /* Override any GCC internal prototype to avoid an error.
14367 Use char because int might match the return type of a GCC
14368 builtin and then its argument prototype would still apply. */
14369 char dnet_ntoa ();
14371 main (void)
14373 return dnet_ntoa ();
14375 return 0;
14377 _ACEOF
14378 if ac_fn_c_try_link "$LINENO"
14379 then :
14380 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14381 else $as_nop
14382 ac_cv_lib_dnet_stub_dnet_ntoa=no
14384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14385 conftest$ac_exeext conftest.$ac_ext
14386 LIBS=$ac_check_lib_save_LIBS
14388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14389 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14390 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14391 then :
14392 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14398 conftest$ac_exeext conftest.$ac_ext
14399 LIBS="$ac_xsave_LIBS"
14401 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14402 # to get the SysV transport functions.
14403 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14404 # needs -lnsl.
14405 # The nsl library prevents programs from opening the X display
14406 # on Irix 5.2, according to T.E. Dickey.
14407 # The functions gethostbyname, getservbyname, and inet_addr are
14408 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14409 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14410 if test "x$ac_cv_func_gethostbyname" = xyes
14411 then :
14415 if test $ac_cv_func_gethostbyname = no; then
14416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14417 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14418 if test ${ac_cv_lib_nsl_gethostbyname+y}
14419 then :
14420 printf %s "(cached) " >&6
14421 else $as_nop
14422 ac_check_lib_save_LIBS=$LIBS
14423 LIBS="-lnsl $LIBS"
14424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14425 /* end confdefs.h. */
14427 /* Override any GCC internal prototype to avoid an error.
14428 Use char because int might match the return type of a GCC
14429 builtin and then its argument prototype would still apply. */
14430 char gethostbyname ();
14432 main (void)
14434 return gethostbyname ();
14436 return 0;
14438 _ACEOF
14439 if ac_fn_c_try_link "$LINENO"
14440 then :
14441 ac_cv_lib_nsl_gethostbyname=yes
14442 else $as_nop
14443 ac_cv_lib_nsl_gethostbyname=no
14445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14446 conftest$ac_exeext conftest.$ac_ext
14447 LIBS=$ac_check_lib_save_LIBS
14449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14450 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14451 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14452 then :
14453 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14456 if test $ac_cv_lib_nsl_gethostbyname = no; then
14457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14458 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14459 if test ${ac_cv_lib_bsd_gethostbyname+y}
14460 then :
14461 printf %s "(cached) " >&6
14462 else $as_nop
14463 ac_check_lib_save_LIBS=$LIBS
14464 LIBS="-lbsd $LIBS"
14465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14466 /* end confdefs.h. */
14468 /* Override any GCC internal prototype to avoid an error.
14469 Use char because int might match the return type of a GCC
14470 builtin and then its argument prototype would still apply. */
14471 char gethostbyname ();
14473 main (void)
14475 return gethostbyname ();
14477 return 0;
14479 _ACEOF
14480 if ac_fn_c_try_link "$LINENO"
14481 then :
14482 ac_cv_lib_bsd_gethostbyname=yes
14483 else $as_nop
14484 ac_cv_lib_bsd_gethostbyname=no
14486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14487 conftest$ac_exeext conftest.$ac_ext
14488 LIBS=$ac_check_lib_save_LIBS
14490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14491 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14492 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14493 then :
14494 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14500 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14501 # socket/setsockopt and other routines are undefined under SCO ODT
14502 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14503 # on later versions), says Simon Leinen: it contains gethostby*
14504 # variants that don't use the name server (or something). -lsocket
14505 # must be given before -lnsl if both are needed. We assume that
14506 # if connect needs -lnsl, so does gethostbyname.
14507 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14508 if test "x$ac_cv_func_connect" = xyes
14509 then :
14513 if test $ac_cv_func_connect = no; then
14514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14515 printf %s "checking for connect in -lsocket... " >&6; }
14516 if test ${ac_cv_lib_socket_connect+y}
14517 then :
14518 printf %s "(cached) " >&6
14519 else $as_nop
14520 ac_check_lib_save_LIBS=$LIBS
14521 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14523 /* end confdefs.h. */
14525 /* Override any GCC internal prototype to avoid an error.
14526 Use char because int might match the return type of a GCC
14527 builtin and then its argument prototype would still apply. */
14528 char connect ();
14530 main (void)
14532 return connect ();
14534 return 0;
14536 _ACEOF
14537 if ac_fn_c_try_link "$LINENO"
14538 then :
14539 ac_cv_lib_socket_connect=yes
14540 else $as_nop
14541 ac_cv_lib_socket_connect=no
14543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14544 conftest$ac_exeext conftest.$ac_ext
14545 LIBS=$ac_check_lib_save_LIBS
14547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14548 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14549 if test "x$ac_cv_lib_socket_connect" = xyes
14550 then :
14551 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14556 # Guillermo Gomez says -lposix is necessary on A/UX.
14557 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14558 if test "x$ac_cv_func_remove" = xyes
14559 then :
14563 if test $ac_cv_func_remove = no; then
14564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14565 printf %s "checking for remove in -lposix... " >&6; }
14566 if test ${ac_cv_lib_posix_remove+y}
14567 then :
14568 printf %s "(cached) " >&6
14569 else $as_nop
14570 ac_check_lib_save_LIBS=$LIBS
14571 LIBS="-lposix $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 char remove ();
14580 main (void)
14582 return remove ();
14584 return 0;
14586 _ACEOF
14587 if ac_fn_c_try_link "$LINENO"
14588 then :
14589 ac_cv_lib_posix_remove=yes
14590 else $as_nop
14591 ac_cv_lib_posix_remove=no
14593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14594 conftest$ac_exeext conftest.$ac_ext
14595 LIBS=$ac_check_lib_save_LIBS
14597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14598 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14599 if test "x$ac_cv_lib_posix_remove" = xyes
14600 then :
14601 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14606 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14607 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14608 if test "x$ac_cv_func_shmat" = xyes
14609 then :
14613 if test $ac_cv_func_shmat = no; then
14614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14615 printf %s "checking for shmat in -lipc... " >&6; }
14616 if test ${ac_cv_lib_ipc_shmat+y}
14617 then :
14618 printf %s "(cached) " >&6
14619 else $as_nop
14620 ac_check_lib_save_LIBS=$LIBS
14621 LIBS="-lipc $LIBS"
14622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14623 /* end confdefs.h. */
14625 /* Override any GCC internal prototype to avoid an error.
14626 Use char because int might match the return type of a GCC
14627 builtin and then its argument prototype would still apply. */
14628 char shmat ();
14630 main (void)
14632 return shmat ();
14634 return 0;
14636 _ACEOF
14637 if ac_fn_c_try_link "$LINENO"
14638 then :
14639 ac_cv_lib_ipc_shmat=yes
14640 else $as_nop
14641 ac_cv_lib_ipc_shmat=no
14643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14644 conftest$ac_exeext conftest.$ac_ext
14645 LIBS=$ac_check_lib_save_LIBS
14647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14648 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14649 if test "x$ac_cv_lib_ipc_shmat" = xyes
14650 then :
14651 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14657 # Check for libraries that X11R6 Xt/Xaw programs need.
14658 ac_save_LDFLAGS=$LDFLAGS
14659 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14660 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14661 # check for ICE first), but we must link in the order -lSM -lICE or
14662 # we get undefined symbols. So assume we have SM if we have ICE.
14663 # These have to be linked with before -lX11, unlike the other
14664 # libraries we check for below, so use a different variable.
14665 # John Interrante, Karl Berry
14666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14667 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14668 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14669 then :
14670 printf %s "(cached) " >&6
14671 else $as_nop
14672 ac_check_lib_save_LIBS=$LIBS
14673 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14675 /* end confdefs.h. */
14677 /* Override any GCC internal prototype to avoid an error.
14678 Use char because int might match the return type of a GCC
14679 builtin and then its argument prototype would still apply. */
14680 char IceConnectionNumber ();
14682 main (void)
14684 return IceConnectionNumber ();
14686 return 0;
14688 _ACEOF
14689 if ac_fn_c_try_link "$LINENO"
14690 then :
14691 ac_cv_lib_ICE_IceConnectionNumber=yes
14692 else $as_nop
14693 ac_cv_lib_ICE_IceConnectionNumber=no
14695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14696 conftest$ac_exeext conftest.$ac_ext
14697 LIBS=$ac_check_lib_save_LIBS
14699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14700 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14701 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14702 then :
14703 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14706 LDFLAGS=$ac_save_LDFLAGS
14711 if test "$have_x" = "yes"
14712 then
14713 ac_save_CPPFLAGS="$CPPFLAGS"
14714 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14717 printf %s "checking for -lX11... " >&6; }
14718 if test ${ac_cv_lib_soname_X11+y}
14719 then :
14720 printf %s "(cached) " >&6
14721 else $as_nop
14722 ac_check_soname_save_LIBS=$LIBS
14723 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14725 /* end confdefs.h. */
14727 /* Override any GCC internal prototype to avoid an error.
14728 Use char because int might match the return type of a GCC
14729 builtin and then its argument prototype would still apply. */
14730 char XCreateWindow ();
14732 main (void)
14734 return XCreateWindow ();
14736 return 0;
14738 _ACEOF
14739 if ac_fn_c_try_link "$LINENO"
14740 then :
14741 case "$LIBEXT" in
14742 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14743 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'` ;;
14744 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14745 if ${ac_cv_lib_soname_X11:+false} :
14746 then :
14747 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14748 fi ;;
14749 esac
14750 else $as_nop
14751 ac_cv_lib_soname_X11=
14753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14754 conftest$ac_exeext conftest.$ac_ext
14755 LIBS=$ac_check_soname_save_LIBS
14757 if ${ac_cv_lib_soname_X11:+false} :
14758 then :
14759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14760 printf "%s\n" "not found" >&6; }
14762 else $as_nop
14763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14764 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14766 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14771 printf %s "checking for -lXext... " >&6; }
14772 if test ${ac_cv_lib_soname_Xext+y}
14773 then :
14774 printf %s "(cached) " >&6
14775 else $as_nop
14776 ac_check_soname_save_LIBS=$LIBS
14777 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14779 /* end confdefs.h. */
14781 /* Override any GCC internal prototype to avoid an error.
14782 Use char because int might match the return type of a GCC
14783 builtin and then its argument prototype would still apply. */
14784 char XextCreateExtension ();
14786 main (void)
14788 return XextCreateExtension ();
14790 return 0;
14792 _ACEOF
14793 if ac_fn_c_try_link "$LINENO"
14794 then :
14795 case "$LIBEXT" in
14796 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14797 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'` ;;
14798 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14799 if ${ac_cv_lib_soname_Xext:+false} :
14800 then :
14801 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14802 fi ;;
14803 esac
14804 else $as_nop
14805 ac_cv_lib_soname_Xext=
14807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14808 conftest$ac_exeext conftest.$ac_ext
14809 LIBS=$ac_check_soname_save_LIBS
14811 if ${ac_cv_lib_soname_Xext:+false} :
14812 then :
14813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14814 printf "%s\n" "not found" >&6; }
14816 else $as_nop
14817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14818 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14820 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14822 X_LIBS="$X_LIBS -lXext"
14824 X_LIBS="$X_LIBS -lX11"
14826 xlib_includes="#include <X11/Xlib.h>
14827 #include <X11/Xutil.h>"
14829 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14831 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14832 then :
14833 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14836 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14838 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14839 then :
14840 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14843 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14845 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14846 then :
14847 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14850 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14852 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14853 then :
14854 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14857 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14859 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14860 then :
14861 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14864 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14866 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14867 then :
14868 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14871 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14873 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14874 then :
14875 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14878 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14880 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14881 then :
14882 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14885 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14887 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14888 then :
14889 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14894 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14896 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14897 then :
14898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14899 printf %s "checking for -lXcursor... " >&6; }
14900 if test ${ac_cv_lib_soname_Xcursor+y}
14901 then :
14902 printf %s "(cached) " >&6
14903 else $as_nop
14904 ac_check_soname_save_LIBS=$LIBS
14905 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14909 /* Override any GCC internal prototype to avoid an error.
14910 Use char because int might match the return type of a GCC
14911 builtin and then its argument prototype would still apply. */
14912 char XcursorImageLoadCursor ();
14914 main (void)
14916 return XcursorImageLoadCursor ();
14918 return 0;
14920 _ACEOF
14921 if ac_fn_c_try_link "$LINENO"
14922 then :
14923 case "$LIBEXT" in
14924 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14925 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'` ;;
14926 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14927 if ${ac_cv_lib_soname_Xcursor:+false} :
14928 then :
14929 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14930 fi ;;
14931 esac
14932 else $as_nop
14933 ac_cv_lib_soname_Xcursor=
14935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14936 conftest$ac_exeext conftest.$ac_ext
14937 LIBS=$ac_check_soname_save_LIBS
14939 if ${ac_cv_lib_soname_Xcursor:+false} :
14940 then :
14941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14942 printf "%s\n" "not found" >&6; }
14944 else $as_nop
14945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14946 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14948 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14954 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14955 then :
14956 case "x$with_xcursor" in
14957 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14958 xno) ;;
14959 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14960 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14961 esac
14965 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14967 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14968 then :
14969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14970 printf %s "checking for -lXi... " >&6; }
14971 if test ${ac_cv_lib_soname_Xi+y}
14972 then :
14973 printf %s "(cached) " >&6
14974 else $as_nop
14975 ac_check_soname_save_LIBS=$LIBS
14976 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14978 /* end confdefs.h. */
14980 /* Override any GCC internal prototype to avoid an error.
14981 Use char because int might match the return type of a GCC
14982 builtin and then its argument prototype would still apply. */
14983 char XOpenDevice ();
14985 main (void)
14987 return XOpenDevice ();
14989 return 0;
14991 _ACEOF
14992 if ac_fn_c_try_link "$LINENO"
14993 then :
14994 case "$LIBEXT" in
14995 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14996 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'` ;;
14997 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14998 if ${ac_cv_lib_soname_Xi:+false} :
14999 then :
15000 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15001 fi ;;
15002 esac
15003 else $as_nop
15004 ac_cv_lib_soname_Xi=
15006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15007 conftest$ac_exeext conftest.$ac_ext
15008 LIBS=$ac_check_soname_save_LIBS
15010 if ${ac_cv_lib_soname_Xi:+false} :
15011 then :
15012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15013 printf "%s\n" "not found" >&6; }
15015 else $as_nop
15016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
15017 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
15019 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
15025 if test "x$ac_cv_lib_soname_Xi" = "x"
15026 then :
15027 case "x$with_xinput" in
15028 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
15029 xno) ;;
15030 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
15031 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
15032 esac
15036 if test "x$ac_cv_lib_soname_Xi" != x
15037 then
15038 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
15039 then :
15040 case "x$with_xinput2" in
15041 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
15042 xno) ;;
15043 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
15044 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
15045 esac
15050 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
15051 then
15052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
15053 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
15054 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
15055 then :
15056 printf %s "(cached) " >&6
15057 else $as_nop
15058 ac_check_lib_save_LIBS=$LIBS
15059 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15061 /* end confdefs.h. */
15063 /* Override any GCC internal prototype to avoid an error.
15064 Use char because int might match the return type of a GCC
15065 builtin and then its argument prototype would still apply. */
15066 char XShmQueryExtension ();
15068 main (void)
15070 return XShmQueryExtension ();
15072 return 0;
15074 _ACEOF
15075 if ac_fn_c_try_link "$LINENO"
15076 then :
15077 ac_cv_lib_Xext_XShmQueryExtension=yes
15078 else $as_nop
15079 ac_cv_lib_Xext_XShmQueryExtension=no
15081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15082 conftest$ac_exeext conftest.$ac_ext
15083 LIBS=$ac_check_lib_save_LIBS
15085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
15086 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
15087 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
15088 then :
15090 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
15095 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
15096 then :
15097 case "x$with_xshm" in
15098 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
15099 xno) ;;
15100 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
15101 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
15102 esac
15106 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
15107 then
15108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15109 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
15110 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15111 then :
15112 printf %s "(cached) " >&6
15113 else $as_nop
15114 ac_check_lib_save_LIBS=$LIBS
15115 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15117 /* end confdefs.h. */
15119 /* Override any GCC internal prototype to avoid an error.
15120 Use char because int might match the return type of a GCC
15121 builtin and then its argument prototype would still apply. */
15122 char XShapeQueryExtension ();
15124 main (void)
15126 return XShapeQueryExtension ();
15128 return 0;
15130 _ACEOF
15131 if ac_fn_c_try_link "$LINENO"
15132 then :
15133 ac_cv_lib_Xext_XShapeQueryExtension=yes
15134 else $as_nop
15135 ac_cv_lib_Xext_XShapeQueryExtension=no
15137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15138 conftest$ac_exeext conftest.$ac_ext
15139 LIBS=$ac_check_lib_save_LIBS
15141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15142 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15143 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15144 then :
15146 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15151 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15152 then :
15153 case "x$with_xshape" in
15154 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15155 xno) ;;
15156 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
15157 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15158 esac
15162 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15163 then
15164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15165 printf %s "checking for -lXxf86vm... " >&6; }
15166 if test ${ac_cv_lib_soname_Xxf86vm+y}
15167 then :
15168 printf %s "(cached) " >&6
15169 else $as_nop
15170 ac_check_soname_save_LIBS=$LIBS
15171 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15173 /* end confdefs.h. */
15175 /* Override any GCC internal prototype to avoid an error.
15176 Use char because int might match the return type of a GCC
15177 builtin and then its argument prototype would still apply. */
15178 char XF86VidModeQueryExtension ();
15180 main (void)
15182 return XF86VidModeQueryExtension ();
15184 return 0;
15186 _ACEOF
15187 if ac_fn_c_try_link "$LINENO"
15188 then :
15189 case "$LIBEXT" in
15190 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15191 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'` ;;
15192 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15193 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15194 then :
15195 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15196 fi ;;
15197 esac
15198 else $as_nop
15199 ac_cv_lib_soname_Xxf86vm=
15201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15202 conftest$ac_exeext conftest.$ac_ext
15203 LIBS=$ac_check_soname_save_LIBS
15205 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15206 then :
15207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15208 printf "%s\n" "not found" >&6; }
15210 else $as_nop
15211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15212 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15214 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15219 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15220 then :
15221 case "x$with_xxf86vm" in
15222 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15223 xno) ;;
15224 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15225 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15226 esac
15230 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15231 then
15232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15233 printf %s "checking for -lXrender... " >&6; }
15234 if test ${ac_cv_lib_soname_Xrender+y}
15235 then :
15236 printf %s "(cached) " >&6
15237 else $as_nop
15238 ac_check_soname_save_LIBS=$LIBS
15239 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15241 /* end confdefs.h. */
15243 /* Override any GCC internal prototype to avoid an error.
15244 Use char because int might match the return type of a GCC
15245 builtin and then its argument prototype would still apply. */
15246 char XRenderQueryExtension ();
15248 main (void)
15250 return XRenderQueryExtension ();
15252 return 0;
15254 _ACEOF
15255 if ac_fn_c_try_link "$LINENO"
15256 then :
15257 case "$LIBEXT" in
15258 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15259 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'` ;;
15260 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15261 if ${ac_cv_lib_soname_Xrender:+false} :
15262 then :
15263 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15264 fi ;;
15265 esac
15266 else $as_nop
15267 ac_cv_lib_soname_Xrender=
15269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15270 conftest$ac_exeext conftest.$ac_ext
15271 LIBS=$ac_check_soname_save_LIBS
15273 if ${ac_cv_lib_soname_Xrender:+false} :
15274 then :
15275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15276 printf "%s\n" "not found" >&6; }
15278 else $as_nop
15279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15280 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15282 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15285 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15286 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15287 then :
15288 printf %s "(cached) " >&6
15289 else $as_nop
15290 ac_check_lib_save_LIBS=$LIBS
15291 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15293 /* end confdefs.h. */
15295 /* Override any GCC internal prototype to avoid an error.
15296 Use char because int might match the return type of a GCC
15297 builtin and then its argument prototype would still apply. */
15298 char XRenderSetPictureTransform ();
15300 main (void)
15302 return XRenderSetPictureTransform ();
15304 return 0;
15306 _ACEOF
15307 if ac_fn_c_try_link "$LINENO"
15308 then :
15309 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15310 else $as_nop
15311 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15314 conftest$ac_exeext conftest.$ac_ext
15315 LIBS=$ac_check_lib_save_LIBS
15317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15318 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15319 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15320 then :
15322 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15327 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15328 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15329 then :
15330 printf %s "(cached) " >&6
15331 else $as_nop
15332 ac_check_lib_save_LIBS=$LIBS
15333 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15335 /* end confdefs.h. */
15337 /* Override any GCC internal prototype to avoid an error.
15338 Use char because int might match the return type of a GCC
15339 builtin and then its argument prototype would still apply. */
15340 char XRenderCreateLinearGradient ();
15342 main (void)
15344 return XRenderCreateLinearGradient ();
15346 return 0;
15348 _ACEOF
15349 if ac_fn_c_try_link "$LINENO"
15350 then :
15351 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15352 else $as_nop
15353 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15356 conftest$ac_exeext conftest.$ac_ext
15357 LIBS=$ac_check_lib_save_LIBS
15359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15360 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15361 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15362 then :
15364 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15371 if test "x$ac_cv_lib_soname_Xrender" = "x"
15372 then :
15373 case "x$with_xrender" in
15374 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15375 xno) ;;
15376 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15377 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15378 esac
15382 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15383 then
15384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15385 /* end confdefs.h. */
15386 #include <X11/Xlib.h>
15387 #include <X11/extensions/Xrandr.h>
15389 main (void)
15391 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15393 return 0;
15395 _ACEOF
15396 if ac_fn_c_try_compile "$LINENO"
15397 then :
15398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15399 printf %s "checking for -lXrandr... " >&6; }
15400 if test ${ac_cv_lib_soname_Xrandr+y}
15401 then :
15402 printf %s "(cached) " >&6
15403 else $as_nop
15404 ac_check_soname_save_LIBS=$LIBS
15405 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15407 /* end confdefs.h. */
15409 /* Override any GCC internal prototype to avoid an error.
15410 Use char because int might match the return type of a GCC
15411 builtin and then its argument prototype would still apply. */
15412 char XRRQueryExtension ();
15414 main (void)
15416 return XRRQueryExtension ();
15418 return 0;
15420 _ACEOF
15421 if ac_fn_c_try_link "$LINENO"
15422 then :
15423 case "$LIBEXT" in
15424 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15425 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'` ;;
15426 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15427 if ${ac_cv_lib_soname_Xrandr:+false} :
15428 then :
15429 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15430 fi ;;
15431 esac
15432 else $as_nop
15433 ac_cv_lib_soname_Xrandr=
15435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15436 conftest$ac_exeext conftest.$ac_ext
15437 LIBS=$ac_check_soname_save_LIBS
15439 if ${ac_cv_lib_soname_Xrandr:+false} :
15440 then :
15441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15442 printf "%s\n" "not found" >&6; }
15444 else $as_nop
15445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15446 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15448 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15451 /* end confdefs.h. */
15452 #include <X11/Xlib.h>
15453 #include <X11/extensions/Xrandr.h>
15455 main (void)
15457 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15459 return 0;
15461 _ACEOF
15462 if ac_fn_c_try_compile "$LINENO"
15463 then :
15465 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15467 else $as_nop
15468 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15473 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15475 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15476 then :
15477 case "x$with_xrandr" in
15478 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15479 xno) ;;
15480 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15481 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15482 esac
15486 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15487 then
15488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15489 /* end confdefs.h. */
15490 #include <X11/Xlib.h>
15491 #include <X11/extensions/Xfixes.h>
15493 main (void)
15495 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15497 return 0;
15499 _ACEOF
15500 if ac_fn_c_try_compile "$LINENO"
15501 then :
15502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15503 printf %s "checking for -lXfixes... " >&6; }
15504 if test ${ac_cv_lib_soname_Xfixes+y}
15505 then :
15506 printf %s "(cached) " >&6
15507 else $as_nop
15508 ac_check_soname_save_LIBS=$LIBS
15509 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15511 /* end confdefs.h. */
15513 /* Override any GCC internal prototype to avoid an error.
15514 Use char because int might match the return type of a GCC
15515 builtin and then its argument prototype would still apply. */
15516 char XFixesQueryVersion ();
15518 main (void)
15520 return XFixesQueryVersion ();
15522 return 0;
15524 _ACEOF
15525 if ac_fn_c_try_link "$LINENO"
15526 then :
15527 case "$LIBEXT" in
15528 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15529 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'` ;;
15530 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15531 if ${ac_cv_lib_soname_Xfixes:+false} :
15532 then :
15533 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15534 fi ;;
15535 esac
15536 else $as_nop
15537 ac_cv_lib_soname_Xfixes=
15539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15540 conftest$ac_exeext conftest.$ac_ext
15541 LIBS=$ac_check_soname_save_LIBS
15543 if ${ac_cv_lib_soname_Xfixes:+false} :
15544 then :
15545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15546 printf "%s\n" "not found" >&6; }
15548 else $as_nop
15549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15550 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15552 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15557 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15559 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15560 then :
15561 case "x$with_xfixes" in
15562 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15563 xno) ;;
15564 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15565 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15566 esac
15570 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15571 then
15572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15573 /* end confdefs.h. */
15574 #include <X11/Xlib.h>
15575 #include <X11/extensions/Xinerama.h>
15577 main (void)
15579 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15581 return 0;
15583 _ACEOF
15584 if ac_fn_c_try_compile "$LINENO"
15585 then :
15586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15587 printf %s "checking for -lXinerama... " >&6; }
15588 if test ${ac_cv_lib_soname_Xinerama+y}
15589 then :
15590 printf %s "(cached) " >&6
15591 else $as_nop
15592 ac_check_soname_save_LIBS=$LIBS
15593 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15595 /* end confdefs.h. */
15597 /* Override any GCC internal prototype to avoid an error.
15598 Use char because int might match the return type of a GCC
15599 builtin and then its argument prototype would still apply. */
15600 char XineramaQueryScreens ();
15602 main (void)
15604 return XineramaQueryScreens ();
15606 return 0;
15608 _ACEOF
15609 if ac_fn_c_try_link "$LINENO"
15610 then :
15611 case "$LIBEXT" in
15612 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15613 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'` ;;
15614 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15615 if ${ac_cv_lib_soname_Xinerama:+false} :
15616 then :
15617 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15618 fi ;;
15619 esac
15620 else $as_nop
15621 ac_cv_lib_soname_Xinerama=
15623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15624 conftest$ac_exeext conftest.$ac_ext
15625 LIBS=$ac_check_soname_save_LIBS
15627 if ${ac_cv_lib_soname_Xinerama:+false} :
15628 then :
15629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15630 printf "%s\n" "not found" >&6; }
15632 else $as_nop
15633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15634 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15636 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15643 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15644 then :
15645 case "x$with_xinerama" in
15646 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15647 xno) ;;
15648 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15649 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15650 esac
15654 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15656 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15657 then :
15658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15659 printf %s "checking for -lXcomposite... " >&6; }
15660 if test ${ac_cv_lib_soname_Xcomposite+y}
15661 then :
15662 printf %s "(cached) " >&6
15663 else $as_nop
15664 ac_check_soname_save_LIBS=$LIBS
15665 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15667 /* end confdefs.h. */
15669 /* Override any GCC internal prototype to avoid an error.
15670 Use char because int might match the return type of a GCC
15671 builtin and then its argument prototype would still apply. */
15672 char XCompositeRedirectWindow ();
15674 main (void)
15676 return XCompositeRedirectWindow ();
15678 return 0;
15680 _ACEOF
15681 if ac_fn_c_try_link "$LINENO"
15682 then :
15683 case "$LIBEXT" in
15684 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15685 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'` ;;
15686 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15687 if ${ac_cv_lib_soname_Xcomposite:+false} :
15688 then :
15689 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15690 fi ;;
15691 esac
15692 else $as_nop
15693 ac_cv_lib_soname_Xcomposite=
15695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15696 conftest$ac_exeext conftest.$ac_ext
15697 LIBS=$ac_check_soname_save_LIBS
15699 if ${ac_cv_lib_soname_Xcomposite:+false} :
15700 then :
15701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15702 printf "%s\n" "not found" >&6; }
15704 else $as_nop
15705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15706 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15708 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15714 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15715 then :
15716 case "x$with_xcomposite" in
15717 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15718 xno) ;;
15719 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15720 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15721 esac
15725 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15727 if test "x$ac_cv_member_XICCallback_callback" = xyes
15728 then :
15730 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15734 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15736 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15737 then :
15739 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15746 opengl_msg=""
15747 if test "x$with_opengl" != "xno"
15748 then
15749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15750 printf %s "checking for -lGL... " >&6; }
15751 if test ${ac_cv_lib_soname_GL+y}
15752 then :
15753 printf %s "(cached) " >&6
15754 else $as_nop
15755 ac_check_soname_save_LIBS=$LIBS
15756 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15758 /* end confdefs.h. */
15760 /* Override any GCC internal prototype to avoid an error.
15761 Use char because int might match the return type of a GCC
15762 builtin and then its argument prototype would still apply. */
15763 char glXCreateContext ();
15765 main (void)
15767 return glXCreateContext ();
15769 return 0;
15771 _ACEOF
15772 if ac_fn_c_try_link "$LINENO"
15773 then :
15774 case "$LIBEXT" in
15775 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15776 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'` ;;
15777 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15778 if ${ac_cv_lib_soname_GL:+false} :
15779 then :
15780 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15781 fi ;;
15782 esac
15783 else $as_nop
15784 ac_cv_lib_soname_GL=
15786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15787 conftest$ac_exeext conftest.$ac_ext
15788 LIBS=$ac_check_soname_save_LIBS
15790 if ${ac_cv_lib_soname_GL:+false} :
15791 then :
15792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15793 printf "%s\n" "not found" >&6; }
15794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15795 printf %s "checking for -lGL... " >&6; }
15796 if test ${ac_cv_lib_soname_GL+y}
15797 then :
15798 printf %s "(cached) " >&6
15799 else $as_nop
15800 ac_check_soname_save_LIBS=$LIBS
15801 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"
15802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15803 /* end confdefs.h. */
15805 /* Override any GCC internal prototype to avoid an error.
15806 Use char because int might match the return type of a GCC
15807 builtin and then its argument prototype would still apply. */
15808 char glXCreateContext ();
15810 main (void)
15812 return glXCreateContext ();
15814 return 0;
15816 _ACEOF
15817 if ac_fn_c_try_link "$LINENO"
15818 then :
15819 case "$LIBEXT" in
15820 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15821 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'` ;;
15822 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15823 if ${ac_cv_lib_soname_GL:+false} :
15824 then :
15825 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15826 fi ;;
15827 esac
15828 else $as_nop
15829 ac_cv_lib_soname_GL=
15831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15832 conftest$ac_exeext conftest.$ac_ext
15833 LIBS=$ac_check_soname_save_LIBS
15835 if ${ac_cv_lib_soname_GL:+false} :
15836 then :
15837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15838 printf "%s\n" "not found" >&6; }
15839 if test -f /usr/X11R6/lib/libGL.a
15840 then
15841 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15842 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15843 else
15844 opengl_msg="No OpenGL library found on this system."
15846 else $as_nop
15847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15848 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15850 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15852 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"
15854 else $as_nop
15855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15856 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15858 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15860 OPENGL_LIBS="-lGL"
15862 if test "x$with_osmesa" != "xno"
15863 then
15864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15865 printf %s "checking for -lOSMesa... " >&6; }
15866 if test ${ac_cv_lib_soname_OSMesa+y}
15867 then :
15868 printf %s "(cached) " >&6
15869 else $as_nop
15870 ac_check_soname_save_LIBS=$LIBS
15871 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15873 /* end confdefs.h. */
15875 /* Override any GCC internal prototype to avoid an error.
15876 Use char because int might match the return type of a GCC
15877 builtin and then its argument prototype would still apply. */
15878 char OSMesaGetProcAddress ();
15880 main (void)
15882 return OSMesaGetProcAddress ();
15884 return 0;
15886 _ACEOF
15887 if ac_fn_c_try_link "$LINENO"
15888 then :
15889 case "$LIBEXT" in
15890 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15891 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'` ;;
15892 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15893 if ${ac_cv_lib_soname_OSMesa:+false} :
15894 then :
15895 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15896 fi ;;
15897 esac
15898 else $as_nop
15899 ac_cv_lib_soname_OSMesa=
15901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15902 conftest$ac_exeext conftest.$ac_ext
15903 LIBS=$ac_check_soname_save_LIBS
15905 if ${ac_cv_lib_soname_OSMesa:+false} :
15906 then :
15907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15908 printf "%s\n" "not found" >&6; }
15910 else $as_nop
15911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15912 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15914 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15918 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15919 then :
15920 case "x$with_osmesa" in
15921 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15922 xno) ;;
15923 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15924 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15925 esac
15930 if test -n "$opengl_msg"
15931 then :
15932 case "x$with_opengl" in
15933 x) as_fn_append wine_warnings "|$opengl_msg
15934 OpenGL and Direct3D won't be supported." ;;
15935 xno) ;;
15936 *) as_fn_error $? "$opengl_msg
15937 OpenGL and Direct3D won't be supported.
15938 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15939 esac
15943 CPPFLAGS="$ac_save_CPPFLAGS"
15944 else
15945 X_CFLAGS=""
15946 X_LIBS=""
15949 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15950 then
15951 if test "x$X_LIBS" = "x"
15952 then :
15953 case "x$with_x" in
15954 xno) ;;
15955 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15956 without X support, which probably isn't what you want. You will need
15957 to install ${notice_platform}development packages of Xlib at the very least.
15958 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15959 esac
15960 enable_winex11_drv=${enable_winex11_drv:-no}
15962 else
15963 if test "x$X_LIBS" = "x"
15964 then :
15965 case "x$with_x" in
15966 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15967 xno) ;;
15968 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15969 This is an error since --with-x was requested." "$LINENO" 5 ;;
15970 esac
15971 enable_winex11_drv=${enable_winex11_drv:-no}
15975 if test "x$with_wayland" != "xno"
15976 then
15977 rm -f conftest.err
15978 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15979 then :
15980 if test ${PKG_CONFIG+y}
15981 then :
15982 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15986 if ${WAYLAND_CLIENT_LIBS:+false} :
15987 then :
15988 if test ${PKG_CONFIG+y}
15989 then :
15990 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15995 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15997 if test -s conftest.err; then
15998 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15999 cat conftest.err >&5
16001 rm -f conftest.err
16002 ac_save_CPPFLAGS=$CPPFLAGS
16003 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
16004 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
16005 if test "x$ac_cv_header_wayland_client_h" = xyes
16006 then :
16007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
16008 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
16009 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
16010 then :
16011 printf %s "(cached) " >&6
16012 else $as_nop
16013 ac_check_lib_save_LIBS=$LIBS
16014 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
16015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16016 /* end confdefs.h. */
16018 /* Override any GCC internal prototype to avoid an error.
16019 Use char because int might match the return type of a GCC
16020 builtin and then its argument prototype would still apply. */
16021 char wl_display_connect ();
16023 main (void)
16025 return wl_display_connect ();
16027 return 0;
16029 _ACEOF
16030 if ac_fn_c_try_link "$LINENO"
16031 then :
16032 ac_cv_lib_wayland_client_wl_display_connect=yes
16033 else $as_nop
16034 ac_cv_lib_wayland_client_wl_display_connect=no
16036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16037 conftest$ac_exeext conftest.$ac_ext
16038 LIBS=$ac_check_lib_save_LIBS
16040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
16041 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
16042 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
16043 then :
16044 # Extract the first word of "wayland-scanner", so it can be a program name with args.
16045 set dummy wayland-scanner; ac_word=$2
16046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16047 printf %s "checking for $ac_word... " >&6; }
16048 if test ${ac_cv_path_WAYLAND_SCANNER+y}
16049 then :
16050 printf %s "(cached) " >&6
16051 else $as_nop
16052 case $WAYLAND_SCANNER in
16053 [\\/]* | ?:[\\/]*)
16054 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
16057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16058 for as_dir in $PATH
16060 IFS=$as_save_IFS
16061 case $as_dir in #(((
16062 '') as_dir=./ ;;
16063 */) ;;
16064 *) as_dir=$as_dir/ ;;
16065 esac
16066 for ac_exec_ext in '' $ac_executable_extensions; do
16067 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
16068 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
16069 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16070 break 2
16072 done
16073 done
16074 IFS=$as_save_IFS
16076 test -z "$ac_cv_path_WAYLAND_SCANNER" && ac_cv_path_WAYLAND_SCANNER="`test -n "$PKG_CONFIG" && $PKG_CONFIG --variable=wayland_scanner wayland-scanner 2>/dev/null`"
16078 esac
16080 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
16081 if test -n "$WAYLAND_SCANNER"; then
16082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
16083 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
16084 else
16085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16086 printf "%s\n" "no" >&6; }
16090 else $as_nop
16091 WAYLAND_CLIENT_LIBS=""
16096 CPPFLAGS=$ac_save_CPPFLAGS
16098 rm -f conftest.err
16099 if ${XKBCOMMON_CFLAGS:+false} :
16100 then :
16101 if test ${PKG_CONFIG+y}
16102 then :
16103 XKBCOMMON_CFLAGS=`$PKG_CONFIG --cflags xkbcommon 2>conftest.err`
16107 if ${XKBCOMMON_LIBS:+false} :
16108 then :
16109 if test ${PKG_CONFIG+y}
16110 then :
16111 XKBCOMMON_LIBS=`$PKG_CONFIG --libs xkbcommon 2>/dev/null`
16116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon cflags: $XKBCOMMON_CFLAGS" >&5
16117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon libs: $XKBCOMMON_LIBS" >&5
16118 if test -s conftest.err; then
16119 printf %s "$as_me:${as_lineno-$LINENO}: xkbcommon errors: " >&5
16120 cat conftest.err >&5
16122 rm -f conftest.err
16123 ac_save_CPPFLAGS=$CPPFLAGS
16124 CPPFLAGS="$CPPFLAGS $XKBCOMMON_CFLAGS"
16125 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbcommon.h" "ac_cv_header_xkbcommon_xkbcommon_h" "$ac_includes_default"
16126 if test "x$ac_cv_header_xkbcommon_xkbcommon_h" = xyes
16127 then :
16128 printf "%s\n" "#define HAVE_XKBCOMMON_XKBCOMMON_H 1" >>confdefs.h
16132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xkb_context_new in -lxkbcommon" >&5
16133 printf %s "checking for xkb_context_new in -lxkbcommon... " >&6; }
16134 if test ${ac_cv_lib_xkbcommon_xkb_context_new+y}
16135 then :
16136 printf %s "(cached) " >&6
16137 else $as_nop
16138 ac_check_lib_save_LIBS=$LIBS
16139 LIBS="-lxkbcommon $XKBCOMMON_LIBS $LIBS"
16140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16141 /* end confdefs.h. */
16143 /* Override any GCC internal prototype to avoid an error.
16144 Use char because int might match the return type of a GCC
16145 builtin and then its argument prototype would still apply. */
16146 char xkb_context_new ();
16148 main (void)
16150 return xkb_context_new ();
16152 return 0;
16154 _ACEOF
16155 if ac_fn_c_try_link "$LINENO"
16156 then :
16157 ac_cv_lib_xkbcommon_xkb_context_new=yes
16158 else $as_nop
16159 ac_cv_lib_xkbcommon_xkb_context_new=no
16161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16162 conftest$ac_exeext conftest.$ac_ext
16163 LIBS=$ac_check_lib_save_LIBS
16165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbcommon_xkb_context_new" >&5
16166 printf "%s\n" "$ac_cv_lib_xkbcommon_xkb_context_new" >&6; }
16167 if test "x$ac_cv_lib_xkbcommon_xkb_context_new" = xyes
16168 then :
16170 else $as_nop
16171 XKBCOMMON_LIBS=""
16174 CPPFLAGS=$ac_save_CPPFLAGS
16176 rm -f conftest.err
16177 if ${XKBREGISTRY_CFLAGS:+false} :
16178 then :
16179 if test ${PKG_CONFIG+y}
16180 then :
16181 XKBREGISTRY_CFLAGS=`$PKG_CONFIG --cflags xkbregistry 2>conftest.err`
16185 if ${XKBREGISTRY_LIBS:+false} :
16186 then :
16187 if test ${PKG_CONFIG+y}
16188 then :
16189 XKBREGISTRY_LIBS=`$PKG_CONFIG --libs xkbregistry 2>/dev/null`
16194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry cflags: $XKBREGISTRY_CFLAGS" >&5
16195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry libs: $XKBREGISTRY_LIBS" >&5
16196 if test -s conftest.err; then
16197 printf %s "$as_me:${as_lineno-$LINENO}: xkbregistry errors: " >&5
16198 cat conftest.err >&5
16200 rm -f conftest.err
16201 ac_save_CPPFLAGS=$CPPFLAGS
16202 CPPFLAGS="$CPPFLAGS $XKBREGISTRY_CFLAGS"
16203 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbregistry.h" "ac_cv_header_xkbcommon_xkbregistry_h" "$ac_includes_default"
16204 if test "x$ac_cv_header_xkbcommon_xkbregistry_h" = xyes
16205 then :
16206 printf "%s\n" "#define HAVE_XKBCOMMON_XKBREGISTRY_H 1" >>confdefs.h
16210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rxkb_context_new in -lxkbregistry" >&5
16211 printf %s "checking for rxkb_context_new in -lxkbregistry... " >&6; }
16212 if test ${ac_cv_lib_xkbregistry_rxkb_context_new+y}
16213 then :
16214 printf %s "(cached) " >&6
16215 else $as_nop
16216 ac_check_lib_save_LIBS=$LIBS
16217 LIBS="-lxkbregistry $XKBREGISTRY_LIBS $LIBS"
16218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16219 /* end confdefs.h. */
16221 /* Override any GCC internal prototype to avoid an error.
16222 Use char because int might match the return type of a GCC
16223 builtin and then its argument prototype would still apply. */
16224 char rxkb_context_new ();
16226 main (void)
16228 return rxkb_context_new ();
16230 return 0;
16232 _ACEOF
16233 if ac_fn_c_try_link "$LINENO"
16234 then :
16235 ac_cv_lib_xkbregistry_rxkb_context_new=yes
16236 else $as_nop
16237 ac_cv_lib_xkbregistry_rxkb_context_new=no
16239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16240 conftest$ac_exeext conftest.$ac_ext
16241 LIBS=$ac_check_lib_save_LIBS
16243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbregistry_rxkb_context_new" >&5
16244 printf "%s\n" "$ac_cv_lib_xkbregistry_rxkb_context_new" >&6; }
16245 if test "x$ac_cv_lib_xkbregistry_rxkb_context_new" = xyes
16246 then :
16248 else $as_nop
16249 XKBREGISTRY_LIBS=""
16252 CPPFLAGS=$ac_save_CPPFLAGS
16254 if test "x$with_opengl" != "xno"
16255 then
16256 rm -f conftest.err
16257 if ${EGL_CFLAGS:+false} :
16258 then :
16259 if test ${PKG_CONFIG+y}
16260 then :
16261 EGL_CFLAGS=`$PKG_CONFIG --cflags egl 2>conftest.err`
16265 if ${EGL_LIBS:+false} :
16266 then :
16267 if test ${PKG_CONFIG+y}
16268 then :
16269 EGL_LIBS=`$PKG_CONFIG --libs egl 2>/dev/null`
16273 EGL_LIBS=${EGL_LIBS:-"-lEGL"}
16274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl cflags: $EGL_CFLAGS" >&5
16275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl libs: $EGL_LIBS" >&5
16276 if test -s conftest.err; then
16277 printf %s "$as_me:${as_lineno-$LINENO}: egl errors: " >&5
16278 cat conftest.err >&5
16280 rm -f conftest.err
16281 ac_save_CPPFLAGS=$CPPFLAGS
16282 CPPFLAGS="$CPPFLAGS $EGL_CFLAGS"
16283 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
16284 if test "x$ac_cv_header_EGL_egl_h" = xyes
16285 then :
16286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
16287 printf %s "checking for -lEGL... " >&6; }
16288 if test ${ac_cv_lib_soname_EGL+y}
16289 then :
16290 printf %s "(cached) " >&6
16291 else $as_nop
16292 ac_check_soname_save_LIBS=$LIBS
16293 LIBS="-lEGL $EGL_LIBS $LIBS"
16294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16295 /* end confdefs.h. */
16297 /* Override any GCC internal prototype to avoid an error.
16298 Use char because int might match the return type of a GCC
16299 builtin and then its argument prototype would still apply. */
16300 char eglGetProcAddress ();
16302 main (void)
16304 return eglGetProcAddress ();
16306 return 0;
16308 _ACEOF
16309 if ac_fn_c_try_link "$LINENO"
16310 then :
16311 case "$LIBEXT" in
16312 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16313 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'` ;;
16314 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16315 if ${ac_cv_lib_soname_EGL:+false} :
16316 then :
16317 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16318 fi ;;
16319 esac
16320 else $as_nop
16321 ac_cv_lib_soname_EGL=
16323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16324 conftest$ac_exeext conftest.$ac_ext
16325 LIBS=$ac_check_soname_save_LIBS
16327 if ${ac_cv_lib_soname_EGL:+false} :
16328 then :
16329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16330 printf "%s\n" "not found" >&6; }
16332 else $as_nop
16333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
16334 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
16336 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
16342 CPPFLAGS=$ac_save_CPPFLAGS
16344 rm -f conftest.err
16345 if ${WAYLAND_EGL_CFLAGS:+false} :
16346 then :
16347 if test ${PKG_CONFIG+y}
16348 then :
16349 WAYLAND_EGL_CFLAGS=`$PKG_CONFIG --cflags wayland-egl 2>conftest.err`
16353 if ${WAYLAND_EGL_LIBS:+false} :
16354 then :
16355 if test ${PKG_CONFIG+y}
16356 then :
16357 WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs wayland-egl 2>/dev/null`
16362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl cflags: $WAYLAND_EGL_CFLAGS" >&5
16363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl libs: $WAYLAND_EGL_LIBS" >&5
16364 if test -s conftest.err; then
16365 printf %s "$as_me:${as_lineno-$LINENO}: wayland-egl errors: " >&5
16366 cat conftest.err >&5
16368 rm -f conftest.err
16369 ac_save_CPPFLAGS=$CPPFLAGS
16370 CPPFLAGS="$CPPFLAGS $WAYLAND_EGL_CFLAGS"
16371 ac_fn_c_check_header_compile "$LINENO" "wayland-egl.h" "ac_cv_header_wayland_egl_h" "$ac_includes_default"
16372 if test "x$ac_cv_header_wayland_egl_h" = xyes
16373 then :
16374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_egl_window_create in -lwayland-egl" >&5
16375 printf %s "checking for wl_egl_window_create in -lwayland-egl... " >&6; }
16376 if test ${ac_cv_lib_wayland_egl_wl_egl_window_create+y}
16377 then :
16378 printf %s "(cached) " >&6
16379 else $as_nop
16380 ac_check_lib_save_LIBS=$LIBS
16381 LIBS="-lwayland-egl $WAYLAND_EGL_LIBS $LIBS"
16382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16383 /* end confdefs.h. */
16385 /* Override any GCC internal prototype to avoid an error.
16386 Use char because int might match the return type of a GCC
16387 builtin and then its argument prototype would still apply. */
16388 char wl_egl_window_create ();
16390 main (void)
16392 return wl_egl_window_create ();
16394 return 0;
16396 _ACEOF
16397 if ac_fn_c_try_link "$LINENO"
16398 then :
16399 ac_cv_lib_wayland_egl_wl_egl_window_create=yes
16400 else $as_nop
16401 ac_cv_lib_wayland_egl_wl_egl_window_create=no
16403 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16404 conftest$ac_exeext conftest.$ac_ext
16405 LIBS=$ac_check_lib_save_LIBS
16407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_egl_wl_egl_window_create" >&5
16408 printf "%s\n" "$ac_cv_lib_wayland_egl_wl_egl_window_create" >&6; }
16409 if test "x$ac_cv_lib_wayland_egl_wl_egl_window_create" = xyes
16410 then :
16412 printf "%s\n" "#define HAVE_LIBWAYLAND_EGL 1" >>confdefs.h
16414 else $as_nop
16415 WAYLAND_EGL_LIBS=""
16420 CPPFLAGS=$ac_save_CPPFLAGS
16422 if test "x$with_wayland" != "x"
16423 then
16424 if test -z "$ac_cv_lib_soname_EGL" -o "$ac_cv_lib_wayland_egl_wl_egl_window_create" != yes
16425 then :
16426 case "x$with_opengl" in
16427 x) as_fn_append wine_notices "|EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL" ;;
16428 xno) ;;
16429 *) as_fn_error $? "EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL
16430 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
16431 esac
16437 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER" -o -z "$XKBCOMMON_LIBS" -o -z "$XKBREGISTRY_LIBS" -o "$ac_cv_header_linux_input_h" = "no"
16438 then :
16439 case "x$with_wayland" in
16440 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
16441 xno) ;;
16442 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
16443 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
16444 esac
16445 enable_winewayland_drv=${enable_winewayland_drv:-no}
16448 if test "$ac_cv_header_CL_cl_h" = "yes"
16449 then
16450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
16451 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
16452 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
16453 then :
16454 printf %s "(cached) " >&6
16455 else $as_nop
16456 ac_check_lib_save_LIBS=$LIBS
16457 LIBS="-lOpenCL $LIBS"
16458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16459 /* end confdefs.h. */
16461 /* Override any GCC internal prototype to avoid an error.
16462 Use char because int might match the return type of a GCC
16463 builtin and then its argument prototype would still apply. */
16464 char clGetPlatformInfo ();
16466 main (void)
16468 return clGetPlatformInfo ();
16470 return 0;
16472 _ACEOF
16473 if ac_fn_c_try_link "$LINENO"
16474 then :
16475 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
16476 else $as_nop
16477 ac_cv_lib_OpenCL_clGetPlatformInfo=no
16479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16480 conftest$ac_exeext conftest.$ac_ext
16481 LIBS=$ac_check_lib_save_LIBS
16483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
16484 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
16485 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
16486 then :
16487 OPENCL_LIBS="-lOpenCL"
16492 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
16493 then :
16494 case "x$with_opencl" in
16495 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
16496 xno) ;;
16497 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
16498 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
16499 esac
16500 enable_opencl=${enable_opencl:-no}
16503 if test "$ac_cv_header_pcap_pcap_h" = "yes"
16504 then
16505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
16506 printf %s "checking for pcap_init in -lpcap... " >&6; }
16507 if test ${ac_cv_lib_pcap_pcap_init+y}
16508 then :
16509 printf %s "(cached) " >&6
16510 else $as_nop
16511 ac_check_lib_save_LIBS=$LIBS
16512 LIBS="-lpcap $LIBS"
16513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16514 /* end confdefs.h. */
16516 /* Override any GCC internal prototype to avoid an error.
16517 Use char because int might match the return type of a GCC
16518 builtin and then its argument prototype would still apply. */
16519 char pcap_init ();
16521 main (void)
16523 return pcap_init ();
16525 return 0;
16527 _ACEOF
16528 if ac_fn_c_try_link "$LINENO"
16529 then :
16530 ac_cv_lib_pcap_pcap_init=yes
16531 else $as_nop
16532 ac_cv_lib_pcap_pcap_init=no
16534 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16535 conftest$ac_exeext conftest.$ac_ext
16536 LIBS=$ac_check_lib_save_LIBS
16538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
16539 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
16540 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
16541 then :
16542 PCAP_LIBS="-lpcap"
16547 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
16548 then :
16549 case "x$with_pcap" in
16550 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
16551 xno) ;;
16552 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
16553 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
16554 esac
16555 enable_wpcap=${enable_wpcap:-no}
16558 if test "x$with_pcsclite" != "xno"
16559 then
16560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
16561 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
16562 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
16563 then :
16564 printf %s "(cached) " >&6
16565 else $as_nop
16566 ac_check_lib_save_LIBS=$LIBS
16567 LIBS="-lpcsclite $LIBS"
16568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16569 /* end confdefs.h. */
16571 /* Override any GCC internal prototype to avoid an error.
16572 Use char because int might match the return type of a GCC
16573 builtin and then its argument prototype would still apply. */
16574 char SCardEstablishContext ();
16576 main (void)
16578 return SCardEstablishContext ();
16580 return 0;
16582 _ACEOF
16583 if ac_fn_c_try_link "$LINENO"
16584 then :
16585 ac_cv_lib_pcsclite_SCardEstablishContext=yes
16586 else $as_nop
16587 ac_cv_lib_pcsclite_SCardEstablishContext=no
16589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16590 conftest$ac_exeext conftest.$ac_ext
16591 LIBS=$ac_check_lib_save_LIBS
16593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
16594 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
16595 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
16596 then :
16597 PCSCLITE_LIBS="-lpcsclite"
16599 else $as_nop
16600 case $host_os in
16601 darwin*|macosx*) PCSCLITE_LIBS="-framework PCSC"
16603 esac
16607 if test "x$PCSCLITE_LIBS" = x
16608 then :
16609 case "x$with_pcsclite" in
16610 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
16611 xno) ;;
16612 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
16613 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
16614 esac
16615 enable_winscard=${enable_winscard:-no}
16618 if test "x$with_odbc" != "xno"
16619 then
16620 rm -f conftest.err
16621 if ${ODBC_CFLAGS:+false} :
16622 then :
16623 if test ${PKG_CONFIG+y}
16624 then :
16625 ODBC_CFLAGS=`$PKG_CONFIG --cflags odbc 2>conftest.err`
16629 if ${ODBC_LIBS:+false} :
16630 then :
16631 if test ${PKG_CONFIG+y}
16632 then :
16633 ODBC_LIBS=`$PKG_CONFIG --libs odbc 2>/dev/null`
16637 ODBC_LIBS=${ODBC_LIBS:-"-lodbc"}
16638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: odbc cflags: $ODBC_CFLAGS" >&5
16639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: odbc libs: $ODBC_LIBS" >&5
16640 if test -s conftest.err; then
16641 printf %s "$as_me:${as_lineno-$LINENO}: odbc errors: " >&5
16642 cat conftest.err >&5
16644 rm -f conftest.err
16645 ac_save_CPPFLAGS=$CPPFLAGS
16646 CPPFLAGS="$CPPFLAGS $ODBC_CFLAGS"
16647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SQLConnect in -lodbc" >&5
16648 printf %s "checking for SQLConnect in -lodbc... " >&6; }
16649 if test ${ac_cv_lib_odbc_SQLConnect+y}
16650 then :
16651 printf %s "(cached) " >&6
16652 else $as_nop
16653 ac_check_lib_save_LIBS=$LIBS
16654 LIBS="-lodbc $ODBC_LIBS $LIBS"
16655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16656 /* end confdefs.h. */
16658 /* Override any GCC internal prototype to avoid an error.
16659 Use char because int might match the return type of a GCC
16660 builtin and then its argument prototype would still apply. */
16661 char SQLConnect ();
16663 main (void)
16665 return SQLConnect ();
16667 return 0;
16669 _ACEOF
16670 if ac_fn_c_try_link "$LINENO"
16671 then :
16672 ac_cv_lib_odbc_SQLConnect=yes
16673 else $as_nop
16674 ac_cv_lib_odbc_SQLConnect=no
16676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16677 conftest$ac_exeext conftest.$ac_ext
16678 LIBS=$ac_check_lib_save_LIBS
16680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_odbc_SQLConnect" >&5
16681 printf "%s\n" "$ac_cv_lib_odbc_SQLConnect" >&6; }
16682 if test "x$ac_cv_lib_odbc_SQLConnect" = xyes
16683 then :
16685 else $as_nop
16686 ODBC_LIBS=""
16689 CPPFLAGS=$ac_save_CPPFLAGS
16692 if test "x$ODBC_LIBS" = x
16693 then :
16694 case "x$with_odbc" in
16695 x) as_fn_append wine_notices "|libodbc not found, ODBC won't be supported." ;;
16696 xno) ;;
16697 *) as_fn_error $? "libodbc not found, ODBC won't be supported.
16698 This is an error since --with-odbc was requested." "$LINENO" 5 ;;
16699 esac
16700 enable_odbc32=${enable_odbc32:-no}
16703 if test "x$with_inotify" != "xno"
16704 then
16705 rm -f conftest.err
16706 if ${INOTIFY_CFLAGS:+false} :
16707 then :
16708 if test ${PKG_CONFIG+y}
16709 then :
16710 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
16714 if ${INOTIFY_LIBS:+false} :
16715 then :
16716 if test ${PKG_CONFIG+y}
16717 then :
16718 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16725 if test -s conftest.err; then
16726 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
16727 cat conftest.err >&5
16729 rm -f conftest.err
16730 ac_save_CPPFLAGS=$CPPFLAGS
16731 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
16732 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16733 if test "x$ac_cv_header_sys_inotify_h" = xyes
16734 then :
16735 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16740 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
16741 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16742 then :
16743 printf %s "(cached) " >&6
16744 else $as_nop
16745 ac_check_lib_save_LIBS=$LIBS
16746 LIBS="-linotify $INOTIFY_LIBS $LIBS"
16747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16748 /* end confdefs.h. */
16750 /* Override any GCC internal prototype to avoid an error.
16751 Use char because int might match the return type of a GCC
16752 builtin and then its argument prototype would still apply. */
16753 char inotify_add_watch ();
16755 main (void)
16757 return inotify_add_watch ();
16759 return 0;
16761 _ACEOF
16762 if ac_fn_c_try_link "$LINENO"
16763 then :
16764 ac_cv_lib_inotify_inotify_add_watch=yes
16765 else $as_nop
16766 ac_cv_lib_inotify_inotify_add_watch=no
16768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16769 conftest$ac_exeext conftest.$ac_ext
16770 LIBS=$ac_check_lib_save_LIBS
16772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16773 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16774 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16775 then :
16777 else $as_nop
16778 INOTIFY_LIBS=""
16781 CPPFLAGS=$ac_save_CPPFLAGS
16784 if test "$ac_cv_header_sys_inotify_h" != "yes"
16785 then :
16786 case "x$with_inotify" in
16787 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16788 xno) ;;
16789 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16790 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16791 esac
16795 if test "x$with_dbus" != "xno"
16796 then
16797 rm -f conftest.err
16798 if ${DBUS_CFLAGS:+false} :
16799 then :
16800 if test ${PKG_CONFIG+y}
16801 then :
16802 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16806 if ${DBUS_LIBS:+false} :
16807 then :
16808 if test ${PKG_CONFIG+y}
16809 then :
16810 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16815 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16816 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16817 if test -s conftest.err; then
16818 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16819 cat conftest.err >&5
16821 rm -f conftest.err
16822 ac_save_CPPFLAGS=$CPPFLAGS
16823 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16824 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16825 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16826 then :
16827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16828 printf %s "checking for -ldbus-1... " >&6; }
16829 if test ${ac_cv_lib_soname_dbus_1+y}
16830 then :
16831 printf %s "(cached) " >&6
16832 else $as_nop
16833 ac_check_soname_save_LIBS=$LIBS
16834 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16836 /* end confdefs.h. */
16838 /* Override any GCC internal prototype to avoid an error.
16839 Use char because int might match the return type of a GCC
16840 builtin and then its argument prototype would still apply. */
16841 char dbus_connection_close ();
16843 main (void)
16845 return dbus_connection_close ();
16847 return 0;
16849 _ACEOF
16850 if ac_fn_c_try_link "$LINENO"
16851 then :
16852 case "$LIBEXT" in
16853 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16854 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'` ;;
16855 *) 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'`
16856 if ${ac_cv_lib_soname_dbus_1:+false} :
16857 then :
16858 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16859 fi ;;
16860 esac
16861 else $as_nop
16862 ac_cv_lib_soname_dbus_1=
16864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16865 conftest$ac_exeext conftest.$ac_ext
16866 LIBS=$ac_check_soname_save_LIBS
16868 if ${ac_cv_lib_soname_dbus_1:+false} :
16869 then :
16870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16871 printf "%s\n" "not found" >&6; }
16872 DBUS_CFLAGS=""
16873 else $as_nop
16874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16875 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16877 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16881 else $as_nop
16882 DBUS_CFLAGS=""
16885 CPPFLAGS=$ac_save_CPPFLAGS
16888 case $host_os in
16889 darwin*|macosx*) ;;
16890 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16891 then :
16892 case "x$with_dbus" in
16893 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16894 xno) ;;
16895 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16896 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16897 esac
16899 fi ;;
16900 esac
16902 if test "x$with_gnutls" != "xno"
16903 then
16904 rm -f conftest.err
16905 if ${GNUTLS_CFLAGS:+false} :
16906 then :
16907 if test ${PKG_CONFIG+y}
16908 then :
16909 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16913 if ${GNUTLS_LIBS:+false} :
16914 then :
16915 if test ${PKG_CONFIG+y}
16916 then :
16917 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16921 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16922 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16923 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16924 if test -s conftest.err; then
16925 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16926 cat conftest.err >&5
16928 rm -f conftest.err
16929 ac_save_CPPFLAGS=$CPPFLAGS
16930 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16931 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16932 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16933 then :
16934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16935 /* end confdefs.h. */
16936 #include <gnutls/gnutls.h>
16937 #include <gnutls/crypto.h>
16939 main (void)
16941 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16943 return 0;
16945 _ACEOF
16946 if ac_fn_c_try_compile "$LINENO"
16947 then :
16948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16949 printf %s "checking for -lgnutls... " >&6; }
16950 if test ${ac_cv_lib_soname_gnutls+y}
16951 then :
16952 printf %s "(cached) " >&6
16953 else $as_nop
16954 ac_check_soname_save_LIBS=$LIBS
16955 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16957 /* end confdefs.h. */
16959 /* Override any GCC internal prototype to avoid an error.
16960 Use char because int might match the return type of a GCC
16961 builtin and then its argument prototype would still apply. */
16962 char gnutls_global_init ();
16964 main (void)
16966 return gnutls_global_init ();
16968 return 0;
16970 _ACEOF
16971 if ac_fn_c_try_link "$LINENO"
16972 then :
16973 case "$LIBEXT" in
16974 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16975 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'` ;;
16976 *) 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'`
16977 if ${ac_cv_lib_soname_gnutls:+false} :
16978 then :
16979 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'`
16980 fi ;;
16981 esac
16982 else $as_nop
16983 ac_cv_lib_soname_gnutls=
16985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16986 conftest$ac_exeext conftest.$ac_ext
16987 LIBS=$ac_check_soname_save_LIBS
16989 if ${ac_cv_lib_soname_gnutls:+false} :
16990 then :
16991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16992 printf "%s\n" "not found" >&6; }
16993 GNUTLS_CFLAGS=""
16994 else $as_nop
16995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16996 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16998 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
17002 ac_wine_check_funcs_save_LIBS="$LIBS"
17003 LIBS="$LIBS $GNUTLS_LIBS"
17005 for ac_func in gnutls_cipher_init
17006 do :
17007 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
17008 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
17009 then :
17010 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
17012 else $as_nop
17013 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
17016 done
17017 LIBS="$ac_wine_check_funcs_save_LIBS"
17019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17020 else $as_nop
17021 GNUTLS_CFLAGS=""
17024 CPPFLAGS=$ac_save_CPPFLAGS
17027 if test "x$ac_cv_lib_soname_gnutls" = "x"
17028 then :
17029 case "x$with_gnutls" in
17030 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
17031 xno) ;;
17032 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
17033 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
17034 esac
17038 if test "x$with_sane" != "xno"
17039 then
17040 rm -f conftest.err
17041 if ${SANE_CFLAGS:+false} :
17042 then :
17043 if test ${PKG_CONFIG+y}
17044 then :
17045 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
17048 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
17049 if ${SANE_LIBS:+false} :
17050 then :
17051 if test ${PKG_CONFIG+y}
17052 then :
17053 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
17056 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
17058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
17059 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
17060 if test -s conftest.err; then
17061 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
17062 cat conftest.err >&5
17064 rm -f conftest.err
17065 ac_save_CPPFLAGS=$CPPFLAGS
17066 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
17067 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
17068 if test "x$ac_cv_header_sane_sane_h" = xyes
17069 then :
17070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
17071 printf %s "checking for sane_init in -lsane... " >&6; }
17072 if test ${ac_cv_lib_sane_sane_init+y}
17073 then :
17074 printf %s "(cached) " >&6
17075 else $as_nop
17076 ac_check_lib_save_LIBS=$LIBS
17077 LIBS="-lsane $SANE_LIBS $LIBS"
17078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17079 /* end confdefs.h. */
17081 /* Override any GCC internal prototype to avoid an error.
17082 Use char because int might match the return type of a GCC
17083 builtin and then its argument prototype would still apply. */
17084 char sane_init ();
17086 main (void)
17088 return sane_init ();
17090 return 0;
17092 _ACEOF
17093 if ac_fn_c_try_link "$LINENO"
17094 then :
17095 ac_cv_lib_sane_sane_init=yes
17096 else $as_nop
17097 ac_cv_lib_sane_sane_init=no
17099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17100 conftest$ac_exeext conftest.$ac_ext
17101 LIBS=$ac_check_lib_save_LIBS
17103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
17104 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
17105 if test "x$ac_cv_lib_sane_sane_init" = xyes
17106 then :
17112 CPPFLAGS=$ac_save_CPPFLAGS
17115 if test "$ac_cv_lib_sane_sane_init" != "yes"
17116 then :
17117 case "x$with_sane" in
17118 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
17119 xno) ;;
17120 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
17121 This is an error since --with-sane was requested." "$LINENO" 5 ;;
17122 esac
17123 enable_sane_ds=${enable_sane_ds:-no}
17126 if test "x$with_usb" != "xno"
17127 then
17128 rm -f conftest.err
17129 if ${USB_CFLAGS:+false} :
17130 then :
17131 if test ${PKG_CONFIG+y}
17132 then :
17133 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
17137 if ${USB_LIBS:+false} :
17138 then :
17139 if test ${PKG_CONFIG+y}
17140 then :
17141 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
17145 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
17146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
17147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
17148 if test -s conftest.err; then
17149 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
17150 cat conftest.err >&5
17152 rm -f conftest.err
17153 ac_save_CPPFLAGS=$CPPFLAGS
17154 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
17155 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
17156 if test "x$ac_cv_header_libusb_h" = xyes
17157 then :
17158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
17159 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
17160 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
17161 then :
17162 printf %s "(cached) " >&6
17163 else $as_nop
17164 ac_check_lib_save_LIBS=$LIBS
17165 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
17166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17167 /* end confdefs.h. */
17169 /* Override any GCC internal prototype to avoid an error.
17170 Use char because int might match the return type of a GCC
17171 builtin and then its argument prototype would still apply. */
17172 char libusb_interrupt_event_handler ();
17174 main (void)
17176 return libusb_interrupt_event_handler ();
17178 return 0;
17180 _ACEOF
17181 if ac_fn_c_try_link "$LINENO"
17182 then :
17183 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
17184 else $as_nop
17185 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
17187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17188 conftest$ac_exeext conftest.$ac_ext
17189 LIBS=$ac_check_lib_save_LIBS
17191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
17192 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
17193 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
17194 then :
17196 else $as_nop
17197 USB_LIBS=""
17200 else $as_nop
17201 USB_LIBS=""
17204 CPPFLAGS=$ac_save_CPPFLAGS
17207 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
17208 then :
17209 case "x$with_usb" in
17210 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
17211 xno) ;;
17212 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
17213 This is an error since --with-usb was requested." "$LINENO" 5 ;;
17214 esac
17215 enable_wineusb_sys=${enable_wineusb_sys:-no}
17218 if test "x$with_v4l2" != "xno"
17219 then
17220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
17221 printf %s "checking for -lv4l2... " >&6; }
17222 if test ${ac_cv_lib_soname_v4l2+y}
17223 then :
17224 printf %s "(cached) " >&6
17225 else $as_nop
17226 ac_check_soname_save_LIBS=$LIBS
17227 LIBS="-lv4l2 $LIBS"
17228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17229 /* end confdefs.h. */
17231 /* Override any GCC internal prototype to avoid an error.
17232 Use char because int might match the return type of a GCC
17233 builtin and then its argument prototype would still apply. */
17234 char v4l2_open ();
17236 main (void)
17238 return v4l2_open ();
17240 return 0;
17242 _ACEOF
17243 if ac_fn_c_try_link "$LINENO"
17244 then :
17245 case "$LIBEXT" in
17246 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17247 dylib) ac_cv_lib_soname_v4l2=`$OTOOL -L conftest$ac_exeext | grep "libv4l2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libv4l2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17248 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17249 if ${ac_cv_lib_soname_v4l2:+false} :
17250 then :
17251 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17252 fi ;;
17253 esac
17254 else $as_nop
17255 ac_cv_lib_soname_v4l2=
17257 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17258 conftest$ac_exeext conftest.$ac_ext
17259 LIBS=$ac_check_soname_save_LIBS
17261 if ${ac_cv_lib_soname_v4l2:+false} :
17262 then :
17263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17264 printf "%s\n" "not found" >&6; }
17266 else $as_nop
17267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
17268 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
17270 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
17275 if test "x$ac_cv_lib_soname_v4l2" = "x"
17276 then :
17277 case "x$with_v4l2" in
17278 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
17279 xno) ;;
17280 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
17281 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
17282 esac
17286 if test "x$with_gphoto" != "xno"
17287 then
17288 rm -f conftest.err
17289 if ${GPHOTO2_CFLAGS:+false} :
17290 then :
17291 if test ${PKG_CONFIG+y}
17292 then :
17293 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
17296 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
17297 if ${GPHOTO2_LIBS:+false} :
17298 then :
17299 if test ${PKG_CONFIG+y}
17300 then :
17301 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
17304 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
17305 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
17306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
17307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
17308 if test -s conftest.err; then
17309 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
17310 cat conftest.err >&5
17312 rm -f conftest.err
17313 ac_save_CPPFLAGS=$CPPFLAGS
17314 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
17315 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
17316 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
17317 then :
17318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
17319 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
17320 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
17321 then :
17322 printf %s "(cached) " >&6
17323 else $as_nop
17324 ac_check_lib_save_LIBS=$LIBS
17325 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
17326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17327 /* end confdefs.h. */
17329 /* Override any GCC internal prototype to avoid an error.
17330 Use char because int might match the return type of a GCC
17331 builtin and then its argument prototype would still apply. */
17332 char gp_camera_new ();
17334 main (void)
17336 return gp_camera_new ();
17338 return 0;
17340 _ACEOF
17341 if ac_fn_c_try_link "$LINENO"
17342 then :
17343 ac_cv_lib_gphoto2_gp_camera_new=yes
17344 else $as_nop
17345 ac_cv_lib_gphoto2_gp_camera_new=no
17347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17348 conftest$ac_exeext conftest.$ac_ext
17349 LIBS=$ac_check_lib_save_LIBS
17351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
17352 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
17353 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
17354 then :
17360 CPPFLAGS=$ac_save_CPPFLAGS
17362 rm -f conftest.err
17363 if ${GPHOTO2_PORT_CFLAGS:+false} :
17364 then :
17365 if test ${PKG_CONFIG+y}
17366 then :
17367 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
17370 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
17371 if ${GPHOTO2_PORT_LIBS:+false} :
17372 then :
17373 if test ${PKG_CONFIG+y}
17374 then :
17375 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
17378 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
17379 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
17380 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
17381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
17382 if test -s conftest.err; then
17383 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
17384 cat conftest.err >&5
17386 rm -f conftest.err
17387 ac_save_CPPFLAGS=$CPPFLAGS
17388 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
17389 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
17390 if test "x$ac_cv_header_gphoto2_port_h" = xyes
17391 then :
17392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
17393 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
17394 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
17395 then :
17396 printf %s "(cached) " >&6
17397 else $as_nop
17398 ac_check_lib_save_LIBS=$LIBS
17399 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
17400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17403 /* Override any GCC internal prototype to avoid an error.
17404 Use char because int might match the return type of a GCC
17405 builtin and then its argument prototype would still apply. */
17406 char gp_port_info_list_new ();
17408 main (void)
17410 return gp_port_info_list_new ();
17412 return 0;
17414 _ACEOF
17415 if ac_fn_c_try_link "$LINENO"
17416 then :
17417 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
17418 else $as_nop
17419 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
17421 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17422 conftest$ac_exeext conftest.$ac_ext
17423 LIBS=$ac_check_lib_save_LIBS
17425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
17426 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
17427 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
17428 then :
17430 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
17432 else $as_nop
17433 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
17436 else $as_nop
17437 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
17440 CPPFLAGS=$ac_save_CPPFLAGS
17443 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
17444 then :
17445 case "x$with_gphoto" in
17446 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
17447 xno) ;;
17448 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
17449 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17450 esac
17451 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
17453 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
17454 then :
17455 case "x$with_gphoto" in
17456 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
17457 xno) ;;
17458 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
17459 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17460 esac
17465 if test "$ac_cv_header_resolv_h" = "yes"
17466 then
17467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
17468 printf %s "checking for resolver library... " >&6; }
17469 if test ${ac_cv_have_resolv+y}
17470 then :
17471 printf %s "(cached) " >&6
17472 else $as_nop
17473 ac_save_LIBS="$LIBS"
17474 for lib in '' -lresolv
17476 LIBS="$lib $ac_save_LIBS"
17477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17478 /* end confdefs.h. */
17479 #ifdef HAVE_NETINET_IN_H
17480 #include <netinet/in.h>
17481 #endif
17482 #include <resolv.h>
17484 main (void)
17486 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
17488 return 0;
17490 _ACEOF
17491 if ac_fn_c_try_link "$LINENO"
17492 then :
17493 ac_cv_have_resolv=${lib:-"none required"}
17494 else $as_nop
17495 ac_cv_have_resolv="not found"
17497 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17498 conftest$ac_exeext conftest.$ac_ext
17499 test "x$ac_cv_have_resolv" = "xnot found" || break
17500 done
17501 LIBS="$ac_save_LIBS"
17503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
17504 printf "%s\n" "$ac_cv_have_resolv" >&6; }
17506 case "$ac_cv_have_resolv" in
17507 "not found") ;;
17508 "none required")
17510 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17513 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17515 RESOLV_LIBS=$ac_cv_have_resolv
17517 esac
17519 if test "x$ac_cv_have_resolv" != "xnot found"
17520 then
17521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
17522 printf %s "checking for res_getservers... " >&6; }
17523 if test ${ac_cv_have_res_getservers+y}
17524 then :
17525 printf %s "(cached) " >&6
17526 else $as_nop
17527 ac_save_LIBS="$LIBS"
17528 LIBS="$RESOLV_LIBS $LIBS"
17529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17530 /* end confdefs.h. */
17531 #include <resolv.h>
17533 main (void)
17535 res_getservers(NULL, NULL, 0);
17537 return 0;
17539 _ACEOF
17540 if ac_fn_c_try_link "$LINENO"
17541 then :
17542 ac_cv_have_res_getservers=yes
17543 else $as_nop
17544 ac_cv_have_res_getservers=no
17546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17547 conftest$ac_exeext conftest.$ac_ext
17548 LIBS="$ac_save_LIBS"
17550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
17551 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
17552 if test "$ac_cv_have_res_getservers" = "yes"
17553 then
17555 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
17561 if test "x$with_freetype" != "xno"
17562 then
17563 rm -f conftest.err
17564 if ${FREETYPE_CFLAGS:+false} :
17565 then :
17566 if test ${PKG_CONFIG+y}
17567 then :
17568 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
17571 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
17572 if ${FREETYPE_LIBS:+false} :
17573 then :
17574 if test ${PKG_CONFIG+y}
17575 then :
17576 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
17579 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
17580 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
17581 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
17582 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
17583 if test -s conftest.err; then
17584 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
17585 cat conftest.err >&5
17587 rm -f conftest.err
17588 ac_save_CPPFLAGS=$CPPFLAGS
17589 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
17590 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
17591 if test "x$ac_cv_header_ft2build_h" = xyes
17592 then :
17593 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
17597 if test "$ac_cv_header_ft2build_h" = "yes"
17598 then
17599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
17600 printf %s "checking for -lfreetype... " >&6; }
17601 if test ${ac_cv_lib_soname_freetype+y}
17602 then :
17603 printf %s "(cached) " >&6
17604 else $as_nop
17605 ac_check_soname_save_LIBS=$LIBS
17606 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
17607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17608 /* end confdefs.h. */
17610 /* Override any GCC internal prototype to avoid an error.
17611 Use char because int might match the return type of a GCC
17612 builtin and then its argument prototype would still apply. */
17613 char FT_Init_FreeType ();
17615 main (void)
17617 return FT_Init_FreeType ();
17619 return 0;
17621 _ACEOF
17622 if ac_fn_c_try_link "$LINENO"
17623 then :
17624 case "$LIBEXT" in
17625 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17626 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'` ;;
17627 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17628 if ${ac_cv_lib_soname_freetype:+false} :
17629 then :
17630 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17631 fi ;;
17632 esac
17633 else $as_nop
17634 ac_cv_lib_soname_freetype=
17636 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17637 conftest$ac_exeext conftest.$ac_ext
17638 LIBS=$ac_check_soname_save_LIBS
17640 if ${ac_cv_lib_soname_freetype:+false} :
17641 then :
17642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17643 printf "%s\n" "not found" >&6; }
17644 FREETYPE_LIBS=""
17645 else $as_nop
17646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
17647 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
17649 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
17652 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
17654 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
17655 #include FT_MODULE_H
17657 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
17658 then :
17660 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
17666 else
17667 FREETYPE_CFLAGS=""
17668 FREETYPE_LIBS=""
17670 CPPFLAGS=$ac_save_CPPFLAGS
17673 if test "x$ac_cv_lib_soname_freetype" = x
17674 then :
17675 case "x$with_freetype" in
17676 xno) ;;
17677 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
17678 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
17679 esac
17680 enable_fonts=${enable_fonts:-no}
17683 ac_wine_check_funcs_save_LIBS="$LIBS"
17684 LIBS="$LIBS $PTHREAD_LIBS"
17685 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
17686 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
17687 then :
17688 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
17692 LIBS="$ac_wine_check_funcs_save_LIBS"
17694 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
17695 then
17696 if test "$ac_cv_header_gettext_po_h" = "yes"
17697 then
17698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
17699 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
17700 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
17701 then :
17702 printf %s "(cached) " >&6
17703 else $as_nop
17704 ac_check_lib_save_LIBS=$LIBS
17705 LIBS="-lgettextpo $LIBS"
17706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17707 /* end confdefs.h. */
17709 /* Override any GCC internal prototype to avoid an error.
17710 Use char because int might match the return type of a GCC
17711 builtin and then its argument prototype would still apply. */
17712 char po_message_msgctxt ();
17714 main (void)
17716 return po_message_msgctxt ();
17718 return 0;
17720 _ACEOF
17721 if ac_fn_c_try_link "$LINENO"
17722 then :
17723 ac_cv_lib_gettextpo_po_message_msgctxt=yes
17724 else $as_nop
17725 ac_cv_lib_gettextpo_po_message_msgctxt=no
17727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17728 conftest$ac_exeext conftest.$ac_ext
17729 LIBS=$ac_check_lib_save_LIBS
17731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
17732 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
17733 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
17734 then :
17736 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
17738 GETTEXTPO_LIBS="-lgettextpo"
17743 if test "x$GETTEXTPO_LIBS" = "x"
17744 then :
17745 case "x$with_gettextpo" in
17746 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
17747 xno) ;;
17748 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
17749 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17750 esac
17753 if test "$srcdir" != .
17754 then :
17755 case "x$with_gettextpo" in
17756 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
17757 xno) ;;
17758 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
17759 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17760 esac
17765 if test "x$with_pulse" != "xno";
17766 then
17767 rm -f conftest.err
17768 if ${PULSE_CFLAGS:+false} :
17769 then :
17770 if test ${PKG_CONFIG+y}
17771 then :
17772 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17776 if ${PULSE_LIBS:+false} :
17777 then :
17778 if test ${PKG_CONFIG+y}
17779 then :
17780 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17787 if test -s conftest.err; then
17788 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17789 cat conftest.err >&5
17791 rm -f conftest.err
17792 ac_save_CPPFLAGS=$CPPFLAGS
17793 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17794 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17795 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17796 then :
17797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17798 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17799 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17800 then :
17801 printf %s "(cached) " >&6
17802 else $as_nop
17803 ac_check_lib_save_LIBS=$LIBS
17804 LIBS="-lpulse $PULSE_LIBS $LIBS"
17805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17806 /* end confdefs.h. */
17808 /* Override any GCC internal prototype to avoid an error.
17809 Use char because int might match the return type of a GCC
17810 builtin and then its argument prototype would still apply. */
17811 char pa_stream_is_corked ();
17813 main (void)
17815 return pa_stream_is_corked ();
17817 return 0;
17819 _ACEOF
17820 if ac_fn_c_try_link "$LINENO"
17821 then :
17822 ac_cv_lib_pulse_pa_stream_is_corked=yes
17823 else $as_nop
17824 ac_cv_lib_pulse_pa_stream_is_corked=no
17826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17827 conftest$ac_exeext conftest.$ac_ext
17828 LIBS=$ac_check_lib_save_LIBS
17830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17831 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17832 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17833 then :
17835 else $as_nop
17836 PULSE_LIBS=""
17839 else $as_nop
17840 PULSE_LIBS=""
17843 CPPFLAGS=$ac_save_CPPFLAGS
17846 if test -z "$PULSE_LIBS"
17847 then :
17848 case "x$with_pulse" in
17849 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17850 xno) ;;
17851 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17852 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17853 esac
17854 enable_winepulse_drv=${enable_winepulse_drv:-no}
17857 if test "x$with_gstreamer" != "xno"
17858 then
17859 rm -f conftest.err
17860 if ${GSTREAMER_CFLAGS:+false} :
17861 then :
17862 if test ${PKG_CONFIG+y}
17863 then :
17864 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17868 if ${GSTREAMER_LIBS:+false} :
17869 then :
17870 if test ${PKG_CONFIG+y}
17871 then :
17872 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17877 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17878 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 libs: $GSTREAMER_LIBS" >&5
17879 if test -s conftest.err; then
17880 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17881 cat conftest.err >&5
17883 rm -f conftest.err
17884 ac_save_CPPFLAGS=$CPPFLAGS
17885 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17886 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17887 if test "x$ac_cv_header_gst_gst_h" = xyes
17888 then :
17889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17890 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h. */
17893 #include <gst/gst.h>
17895 main (void)
17897 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17899 return 0;
17901 _ACEOF
17902 if ac_fn_c_try_compile "$LINENO"
17903 then :
17904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17905 printf "%s\n" "yes" >&6; }
17906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17907 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17908 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17909 then :
17910 printf %s "(cached) " >&6
17911 else $as_nop
17912 ac_check_lib_save_LIBS=$LIBS
17913 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17915 /* end confdefs.h. */
17917 /* Override any GCC internal prototype to avoid an error.
17918 Use char because int might match the return type of a GCC
17919 builtin and then its argument prototype would still apply. */
17920 char gst_pad_new ();
17922 main (void)
17924 return gst_pad_new ();
17926 return 0;
17928 _ACEOF
17929 if ac_fn_c_try_link "$LINENO"
17930 then :
17931 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17932 else $as_nop
17933 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17936 conftest$ac_exeext conftest.$ac_ext
17937 LIBS=$ac_check_lib_save_LIBS
17939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17940 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17941 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17942 then :
17946 else $as_nop
17947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17948 printf "%s\n" "no" >&6; }
17949 ac_glib2_broken=yes
17950 enable_winegstreamer=${enable_winegstreamer:-no}
17951 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17953 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17956 CPPFLAGS=$ac_save_CPPFLAGS
17959 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17960 then :
17961 case "x$with_gstreamer" in
17962 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17963 xno) ;;
17964 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17965 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17966 esac
17967 enable_winegstreamer=${enable_winegstreamer:-no}
17970 ALSA_LIBS=""
17972 if test "x$with_alsa" != "xno"
17973 then
17974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17975 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17976 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17977 then :
17978 printf %s "(cached) " >&6
17979 else $as_nop
17980 ac_check_lib_save_LIBS=$LIBS
17981 LIBS="-lasound $LIBS"
17982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17983 /* end confdefs.h. */
17985 /* Override any GCC internal prototype to avoid an error.
17986 Use char because int might match the return type of a GCC
17987 builtin and then its argument prototype would still apply. */
17988 char snd_pcm_hw_params_get_access_mask ();
17990 main (void)
17992 return snd_pcm_hw_params_get_access_mask ();
17994 return 0;
17996 _ACEOF
17997 if ac_fn_c_try_link "$LINENO"
17998 then :
17999 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
18000 else $as_nop
18001 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
18003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18004 conftest$ac_exeext conftest.$ac_ext
18005 LIBS=$ac_check_lib_save_LIBS
18007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
18008 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
18009 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
18010 then :
18011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18012 /* end confdefs.h. */
18013 #include <alsa/asoundlib.h>
18015 main (void)
18017 snd_pcm_hw_params_get_access_mask(NULL, NULL)
18019 return 0;
18021 _ACEOF
18022 if ac_fn_c_try_compile "$LINENO"
18023 then :
18024 ALSA_LIBS="-lasound"
18026 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18030 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
18032 if test "x$with_oss" != xno
18033 then
18034 ac_save_CPPFLAGS="$CPPFLAGS"
18035 if test -f /etc/oss.conf
18036 then
18037 . /etc/oss.conf
18039 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
18040 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
18041 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
18042 if test "x$ac_cv_header_sys_soundcard_h" = xyes
18043 then :
18044 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
18046 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
18047 then :
18049 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
18051 OSS4_CFLAGS="$ac_oss_incl"
18053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
18054 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
18055 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
18056 then :
18057 printf %s "(cached) " >&6
18058 else $as_nop
18059 ac_check_lib_save_LIBS=$LIBS
18060 LIBS="-lossaudio $LIBS"
18061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18062 /* end confdefs.h. */
18064 /* Override any GCC internal prototype to avoid an error.
18065 Use char because int might match the return type of a GCC
18066 builtin and then its argument prototype would still apply. */
18067 char _oss_ioctl ();
18069 main (void)
18071 return _oss_ioctl ();
18073 return 0;
18075 _ACEOF
18076 if ac_fn_c_try_link "$LINENO"
18077 then :
18078 ac_cv_lib_ossaudio__oss_ioctl=yes
18079 else $as_nop
18080 ac_cv_lib_ossaudio__oss_ioctl=no
18082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18083 conftest$ac_exeext conftest.$ac_ext
18084 LIBS=$ac_check_lib_save_LIBS
18086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
18087 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
18088 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
18089 then :
18090 OSS4_LIBS="-lossaudio"
18098 CPPFLAGS="$ac_save_CPPFLAGS"
18100 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
18101 then :
18102 case "x$with_oss" in
18103 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
18104 xno) ;;
18105 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
18106 This is an error since --with-oss was requested." "$LINENO" 5 ;;
18107 esac
18108 enable_wineoss_drv=${enable_wineoss_drv:-no}
18111 if test "x$with_udev" != "xno"
18112 then
18113 rm -f conftest.err
18114 if ${UDEV_CFLAGS:+false} :
18115 then :
18116 if test ${PKG_CONFIG+y}
18117 then :
18118 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
18122 if ${UDEV_LIBS:+false} :
18123 then :
18124 if test ${PKG_CONFIG+y}
18125 then :
18126 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
18130 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
18131 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
18132 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
18133 if test -s conftest.err; then
18134 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
18135 cat conftest.err >&5
18137 rm -f conftest.err
18138 ac_save_CPPFLAGS=$CPPFLAGS
18139 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
18140 for ac_header in libudev.h
18141 do :
18142 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
18143 if test "x$ac_cv_header_libudev_h" = xyes
18144 then :
18145 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
18146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
18147 printf %s "checking for udev_new in -ludev... " >&6; }
18148 if test ${ac_cv_lib_udev_udev_new+y}
18149 then :
18150 printf %s "(cached) " >&6
18151 else $as_nop
18152 ac_check_lib_save_LIBS=$LIBS
18153 LIBS="-ludev $UDEV_LIBS $LIBS"
18154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18155 /* end confdefs.h. */
18157 /* Override any GCC internal prototype to avoid an error.
18158 Use char because int might match the return type of a GCC
18159 builtin and then its argument prototype would still apply. */
18160 char udev_new ();
18162 main (void)
18164 return udev_new ();
18166 return 0;
18168 _ACEOF
18169 if ac_fn_c_try_link "$LINENO"
18170 then :
18171 ac_cv_lib_udev_udev_new=yes
18172 else $as_nop
18173 ac_cv_lib_udev_udev_new=no
18175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18176 conftest$ac_exeext conftest.$ac_ext
18177 LIBS=$ac_check_lib_save_LIBS
18179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
18180 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
18181 if test "x$ac_cv_lib_udev_udev_new" = xyes
18182 then :
18184 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
18186 else $as_nop
18187 UDEV_LIBS=""
18190 else $as_nop
18191 UDEV_LIBS=""
18194 done
18195 CPPFLAGS=$ac_save_CPPFLAGS
18198 if test "x$UDEV_LIBS" = "x"
18199 then :
18200 case "x$with_udev" in
18201 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
18202 xno) ;;
18203 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
18204 This is an error since --with-udev was requested." "$LINENO" 5 ;;
18205 esac
18209 if test $HOST_ARCH = x86_64
18210 then
18211 if test "x$with_unwind" != xno
18212 then
18213 rm -f conftest.err
18214 if ${UNWIND_CFLAGS:+false} :
18215 then :
18216 if test ${PKG_CONFIG+y}
18217 then :
18218 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
18222 if ${UNWIND_LIBS:+false} :
18223 then :
18224 if test ${PKG_CONFIG+y}
18225 then :
18226 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
18230 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
18231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
18232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
18233 if test -s conftest.err; then
18234 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
18235 cat conftest.err >&5
18237 rm -f conftest.err
18238 ac_save_CPPFLAGS=$CPPFLAGS
18239 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
18240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
18241 printf %s "checking for unw_step... " >&6; }
18242 if test ${wine_cv_have_unw_step+y}
18243 then :
18244 printf %s "(cached) " >&6
18245 else $as_nop
18246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18247 /* end confdefs.h. */
18248 #define UNW_LOCAL_ONLY
18249 #include <libunwind.h>
18251 main (void)
18253 unw_cursor_t cursor; unw_step( &cursor );
18255 return 0;
18257 _ACEOF
18258 if ac_fn_c_try_link "$LINENO"
18259 then :
18260 wine_cv_have_unw_step="yes"
18261 else $as_nop
18262 wine_cv_have_unw_step="no"
18264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18265 conftest$ac_exeext conftest.$ac_ext
18267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
18268 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
18269 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
18270 then
18271 save_libs=$LIBS
18272 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
18273 LIBS="$UNWIND_LIBS $LIBS"
18274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
18275 printf %s "checking for unw_step in libunwind... " >&6; }
18276 if test ${wine_cv_have_libunwind_unw_step+y}
18277 then :
18278 printf %s "(cached) " >&6
18279 else $as_nop
18280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18281 /* end confdefs.h. */
18282 #define UNW_LOCAL_ONLY
18283 #include <libunwind.h>
18285 main (void)
18287 unw_cursor_t cursor; unw_step( &cursor );
18289 return 0;
18291 _ACEOF
18292 if ac_fn_c_try_link "$LINENO"
18293 then :
18294 wine_cv_have_libunwind_unw_step="yes"
18295 else $as_nop
18296 wine_cv_have_libunwind_unw_step="no"
18298 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18299 conftest$ac_exeext conftest.$ac_ext
18301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
18302 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
18303 LIBS=$save_libs
18305 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
18306 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
18307 then
18309 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
18312 CPPFLAGS=$ac_save_CPPFLAGS
18315 case $host in
18316 *-darwin*)
18317 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
18318 then :
18319 case "x$with_unwind" in
18320 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
18321 xno) ;;
18322 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
18323 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
18324 esac
18326 fi ;;
18327 esac
18330 if test "x$with_sdl" != "xno"
18331 then
18332 rm -f conftest.err
18333 if ${SDL2_CFLAGS:+false} :
18334 then :
18335 if test ${PKG_CONFIG+y}
18336 then :
18337 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
18341 if ${SDL2_LIBS:+false} :
18342 then :
18343 if test ${PKG_CONFIG+y}
18344 then :
18345 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
18349 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
18350 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
18351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
18352 if test -s conftest.err; then
18353 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
18354 cat conftest.err >&5
18356 rm -f conftest.err
18357 ac_save_CPPFLAGS=$CPPFLAGS
18358 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
18359 for ac_header in SDL.h
18360 do :
18361 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
18362 if test "x$ac_cv_header_SDL_h" = xyes
18363 then :
18364 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
18365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
18366 printf %s "checking for -lSDL2... " >&6; }
18367 if test ${ac_cv_lib_soname_SDL2+y}
18368 then :
18369 printf %s "(cached) " >&6
18370 else $as_nop
18371 ac_check_soname_save_LIBS=$LIBS
18372 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
18373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18374 /* end confdefs.h. */
18376 /* Override any GCC internal prototype to avoid an error.
18377 Use char because int might match the return type of a GCC
18378 builtin and then its argument prototype would still apply. */
18379 char SDL_Init ();
18381 main (void)
18383 return SDL_Init ();
18385 return 0;
18387 _ACEOF
18388 if ac_fn_c_try_link "$LINENO"
18389 then :
18390 case "$LIBEXT" in
18391 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18392 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'` ;;
18393 *) 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'`
18394 if ${ac_cv_lib_soname_SDL2:+false} :
18395 then :
18396 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18397 fi ;;
18398 esac
18399 else $as_nop
18400 ac_cv_lib_soname_SDL2=
18402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18403 conftest$ac_exeext conftest.$ac_ext
18404 LIBS=$ac_check_soname_save_LIBS
18406 if ${ac_cv_lib_soname_SDL2:+false} :
18407 then :
18408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18409 printf "%s\n" "not found" >&6; }
18411 else $as_nop
18412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
18413 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
18415 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
18421 done
18422 CPPFLAGS=$ac_save_CPPFLAGS
18425 if test "x$ac_cv_lib_soname_SDL2" = "x"
18426 then :
18427 case "x$with_sdl" in
18428 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
18429 xno) ;;
18430 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
18431 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
18432 esac
18436 if test "x$with_capi" != "xno"
18437 then
18438 rm -f conftest.err
18439 if ${CAPI20_CFLAGS:+false} :
18440 then :
18441 if test ${PKG_CONFIG+y}
18442 then :
18443 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
18447 if ${CAPI20_LIBS:+false} :
18448 then :
18449 if test ${PKG_CONFIG+y}
18450 then :
18451 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
18456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
18457 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
18458 if test -s conftest.err; then
18459 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
18460 cat conftest.err >&5
18462 rm -f conftest.err
18463 ac_save_CPPFLAGS=$CPPFLAGS
18464 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
18465 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
18467 if test "x$ac_cv_header_capi20_h" = xyes
18468 then :
18469 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
18472 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
18474 if test "x$ac_cv_header_linux_capi_h" = xyes
18475 then :
18476 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
18480 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
18481 then
18482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
18483 printf %s "checking for capi20_register in -lcapi20... " >&6; }
18484 if test ${ac_cv_lib_capi20_capi20_register+y}
18485 then :
18486 printf %s "(cached) " >&6
18487 else $as_nop
18488 ac_check_lib_save_LIBS=$LIBS
18489 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
18490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18491 /* end confdefs.h. */
18493 /* Override any GCC internal prototype to avoid an error.
18494 Use char because int might match the return type of a GCC
18495 builtin and then its argument prototype would still apply. */
18496 char capi20_register ();
18498 main (void)
18500 return capi20_register ();
18502 return 0;
18504 _ACEOF
18505 if ac_fn_c_try_link "$LINENO"
18506 then :
18507 ac_cv_lib_capi20_capi20_register=yes
18508 else $as_nop
18509 ac_cv_lib_capi20_capi20_register=no
18511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18512 conftest$ac_exeext conftest.$ac_ext
18513 LIBS=$ac_check_lib_save_LIBS
18515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
18516 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
18517 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
18518 then :
18520 else $as_nop
18521 CAPI20_LIBS=""
18525 CPPFLAGS=$ac_save_CPPFLAGS
18528 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
18529 then :
18530 case "x$with_capi" in
18531 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
18532 xno) ;;
18533 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
18534 This is an error since --with-capi was requested." "$LINENO" 5 ;;
18535 esac
18536 enable_capi2032=${enable_capi2032:-no}
18539 if test "x$with_cups" != "xno"
18540 then
18541 rm -f conftest.err
18542 if ${CUPS_CFLAGS:+false} :
18543 then :
18544 if test ${PKG_CONFIG+y}
18545 then :
18546 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
18549 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
18550 if ${CUPS_LIBS:+false} :
18551 then :
18552 if test ${PKG_CONFIG+y}
18553 then :
18554 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
18557 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
18558 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
18559 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
18560 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
18561 if test -s conftest.err; then
18562 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
18563 cat conftest.err >&5
18565 rm -f conftest.err
18566 ac_save_CPPFLAGS=$CPPFLAGS
18567 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
18568 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
18569 if test "x$ac_cv_header_cups_cups_h" = xyes
18570 then :
18571 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
18574 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
18575 if test "x$ac_cv_header_cups_ppd_h" = xyes
18576 then :
18577 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
18581 if test "$ac_cv_header_cups_cups_h" = "yes"
18582 then
18583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
18584 printf %s "checking for -lcups... " >&6; }
18585 if test ${ac_cv_lib_soname_cups+y}
18586 then :
18587 printf %s "(cached) " >&6
18588 else $as_nop
18589 ac_check_soname_save_LIBS=$LIBS
18590 LIBS="-lcups $CUPS_LIBS $LIBS"
18591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18592 /* end confdefs.h. */
18594 /* Override any GCC internal prototype to avoid an error.
18595 Use char because int might match the return type of a GCC
18596 builtin and then its argument prototype would still apply. */
18597 char cupsGetDefault ();
18599 main (void)
18601 return cupsGetDefault ();
18603 return 0;
18605 _ACEOF
18606 if ac_fn_c_try_link "$LINENO"
18607 then :
18608 case "$LIBEXT" in
18609 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18610 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'` ;;
18611 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18612 if ${ac_cv_lib_soname_cups:+false} :
18613 then :
18614 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18615 fi ;;
18616 esac
18617 else $as_nop
18618 ac_cv_lib_soname_cups=
18620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18621 conftest$ac_exeext conftest.$ac_ext
18622 LIBS=$ac_check_soname_save_LIBS
18624 if ${ac_cv_lib_soname_cups:+false} :
18625 then :
18626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18627 printf "%s\n" "not found" >&6; }
18628 CUPS_LIBS=""
18629 else $as_nop
18630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
18631 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
18633 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
18637 else
18638 CUPS_CFLAGS=""
18639 CUPS_LIBS=""
18641 CPPFLAGS=$ac_save_CPPFLAGS
18644 if test "x$ac_cv_lib_soname_cups" = "x"
18645 then :
18646 case "x$with_cups" in
18647 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
18648 xno) ;;
18649 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
18650 This is an error since --with-cups was requested." "$LINENO" 5 ;;
18651 esac
18655 if test "x$with_fontconfig" != "xno"
18656 then
18657 rm -f conftest.err
18658 if ${FONTCONFIG_CFLAGS:+false} :
18659 then :
18660 if test ${PKG_CONFIG+y}
18661 then :
18662 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
18665 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
18666 if ${FONTCONFIG_LIBS:+false} :
18667 then :
18668 if test ${PKG_CONFIG+y}
18669 then :
18670 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
18673 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
18675 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
18676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
18677 if test -s conftest.err; then
18678 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
18679 cat conftest.err >&5
18681 rm -f conftest.err
18682 ac_save_CPPFLAGS=$CPPFLAGS
18683 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
18684 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
18685 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
18686 then :
18687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
18688 printf %s "checking for -lfontconfig... " >&6; }
18689 if test ${ac_cv_lib_soname_fontconfig+y}
18690 then :
18691 printf %s "(cached) " >&6
18692 else $as_nop
18693 ac_check_soname_save_LIBS=$LIBS
18694 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
18695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18696 /* end confdefs.h. */
18698 /* Override any GCC internal prototype to avoid an error.
18699 Use char because int might match the return type of a GCC
18700 builtin and then its argument prototype would still apply. */
18701 char FcInit ();
18703 main (void)
18705 return FcInit ();
18707 return 0;
18709 _ACEOF
18710 if ac_fn_c_try_link "$LINENO"
18711 then :
18712 case "$LIBEXT" in
18713 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18714 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'` ;;
18715 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18716 if ${ac_cv_lib_soname_fontconfig:+false} :
18717 then :
18718 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18719 fi ;;
18720 esac
18721 else $as_nop
18722 ac_cv_lib_soname_fontconfig=
18724 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18725 conftest$ac_exeext conftest.$ac_ext
18726 LIBS=$ac_check_soname_save_LIBS
18728 if ${ac_cv_lib_soname_fontconfig:+false} :
18729 then :
18730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18731 printf "%s\n" "not found" >&6; }
18732 FONTCONFIG_CFLAGS=""
18733 else $as_nop
18734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
18735 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
18737 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
18741 else $as_nop
18742 FONTCONFIG_CFLAGS=""
18745 CPPFLAGS=$ac_save_CPPFLAGS
18748 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18749 then :
18750 case "x$with_fontconfig" in
18751 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18752 xno) ;;
18753 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18754 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18755 esac
18759 if test "x$with_krb5" != "xno"
18760 then
18761 rm -f conftest.err
18762 if ${KRB5_CFLAGS:+false} :
18763 then :
18764 if test ${PKG_CONFIG+y}
18765 then :
18766 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18769 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18770 if ${KRB5_LIBS:+false} :
18771 then :
18772 if test ${PKG_CONFIG+y}
18773 then :
18774 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
18777 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18781 if test -s conftest.err; then
18782 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18783 cat conftest.err >&5
18785 rm -f conftest.err
18786 ac_save_CPPFLAGS=$CPPFLAGS
18787 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
18788 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18789 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18790 then :
18791 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18795 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18796 then
18797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18798 printf %s "checking for -lkrb5... " >&6; }
18799 if test ${ac_cv_lib_soname_krb5+y}
18800 then :
18801 printf %s "(cached) " >&6
18802 else $as_nop
18803 ac_check_soname_save_LIBS=$LIBS
18804 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18806 /* end confdefs.h. */
18808 /* Override any GCC internal prototype to avoid an error.
18809 Use char because int might match the return type of a GCC
18810 builtin and then its argument prototype would still apply. */
18811 char krb5_is_config_principal ();
18813 main (void)
18815 return krb5_is_config_principal ();
18817 return 0;
18819 _ACEOF
18820 if ac_fn_c_try_link "$LINENO"
18821 then :
18822 case "$LIBEXT" in
18823 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18824 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'` ;;
18825 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18826 if ${ac_cv_lib_soname_krb5:+false} :
18827 then :
18828 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18829 fi ;;
18830 esac
18831 else $as_nop
18832 ac_cv_lib_soname_krb5=
18834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18835 conftest$ac_exeext conftest.$ac_ext
18836 LIBS=$ac_check_soname_save_LIBS
18838 if ${ac_cv_lib_soname_krb5:+false} :
18839 then :
18840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18841 printf "%s\n" "not found" >&6; }
18842 KRB5_CFLAGS=""
18843 else $as_nop
18844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18845 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18847 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18851 else
18852 KRB5_CFLAGS=""
18854 CPPFLAGS=$ac_save_CPPFLAGS
18857 if test "x$ac_cv_lib_soname_krb5" = "x"
18858 then :
18859 case "x$with_krb5" in
18860 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18861 xno) ;;
18862 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18863 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18864 esac
18867 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18869 if test "x$with_gssapi" != "xno"
18870 then
18871 rm -f conftest.err
18872 if ${GSSAPI_CFLAGS:+false} :
18873 then :
18874 if test ${PKG_CONFIG+y}
18875 then :
18876 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18879 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18880 if ${GSSAPI_LIBS:+false} :
18881 then :
18882 if test ${PKG_CONFIG+y}
18883 then :
18884 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18887 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18890 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18891 if test -s conftest.err; then
18892 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18893 cat conftest.err >&5
18895 rm -f conftest.err
18896 ac_save_CPPFLAGS=$CPPFLAGS
18897 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18898 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18899 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18900 then :
18901 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18904 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18905 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18906 then :
18907 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18911 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18912 then
18913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18914 printf %s "checking for -lgssapi_krb5... " >&6; }
18915 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18916 then :
18917 printf %s "(cached) " >&6
18918 else $as_nop
18919 ac_check_soname_save_LIBS=$LIBS
18920 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18922 /* end confdefs.h. */
18924 /* Override any GCC internal prototype to avoid an error.
18925 Use char because int might match the return type of a GCC
18926 builtin and then its argument prototype would still apply. */
18927 char gss_init_sec_context ();
18929 main (void)
18931 return gss_init_sec_context ();
18933 return 0;
18935 _ACEOF
18936 if ac_fn_c_try_link "$LINENO"
18937 then :
18938 case "$LIBEXT" in
18939 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18940 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'` ;;
18941 *) 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'`
18942 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18943 then :
18944 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18945 fi ;;
18946 esac
18947 else $as_nop
18948 ac_cv_lib_soname_gssapi_krb5=
18950 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18951 conftest$ac_exeext conftest.$ac_ext
18952 LIBS=$ac_check_soname_save_LIBS
18954 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18955 then :
18956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18957 printf "%s\n" "not found" >&6; }
18958 GSSAPI_CFLAGS=""
18959 else $as_nop
18960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18961 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18963 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18967 else
18968 GSSAPI_CFLAGS=""
18970 CPPFLAGS=$ac_save_CPPFLAGS
18973 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18974 then :
18975 case "x$with_gssapi" in
18976 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18977 xno) ;;
18978 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18979 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18980 esac
18984 if test "$ac_cv_header_libprocstat_h" = "yes"
18985 then
18986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18987 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18988 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18989 then :
18990 printf %s "(cached) " >&6
18991 else $as_nop
18992 ac_check_lib_save_LIBS=$LIBS
18993 LIBS="-lprocstat $LIBS"
18994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18995 /* end confdefs.h. */
18997 /* Override any GCC internal prototype to avoid an error.
18998 Use char because int might match the return type of a GCC
18999 builtin and then its argument prototype would still apply. */
19000 char procstat_open_sysctl ();
19002 main (void)
19004 return procstat_open_sysctl ();
19006 return 0;
19008 _ACEOF
19009 if ac_fn_c_try_link "$LINENO"
19010 then :
19011 ac_cv_lib_procstat_procstat_open_sysctl=yes
19012 else $as_nop
19013 ac_cv_lib_procstat_procstat_open_sysctl=no
19015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19016 conftest$ac_exeext conftest.$ac_ext
19017 LIBS=$ac_check_lib_save_LIBS
19019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
19020 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
19021 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
19022 then :
19024 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
19026 PROCSTAT_LIBS="-lprocstat"
19032 if test "x$with_netapi" != "xno"
19033 then
19034 rm -f conftest.err
19035 if ${NETAPI_CFLAGS:+false} :
19036 then :
19037 if test ${PKG_CONFIG+y}
19038 then :
19039 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
19043 if ${NETAPI_LIBS:+false} :
19044 then :
19045 if test ${PKG_CONFIG+y}
19046 then :
19047 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
19052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
19053 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
19054 if test -s conftest.err; then
19055 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
19056 cat conftest.err >&5
19058 rm -f conftest.err
19059 ac_save_CPPFLAGS=$CPPFLAGS
19060 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
19061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
19062 printf %s "checking for -lnetapi... " >&6; }
19063 if test ${ac_cv_lib_soname_netapi+y}
19064 then :
19065 printf %s "(cached) " >&6
19066 else $as_nop
19067 ac_check_soname_save_LIBS=$LIBS
19068 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
19069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19070 /* end confdefs.h. */
19072 /* Override any GCC internal prototype to avoid an error.
19073 Use char because int might match the return type of a GCC
19074 builtin and then its argument prototype would still apply. */
19075 char libnetapi_init ();
19077 main (void)
19079 return libnetapi_init ();
19081 return 0;
19083 _ACEOF
19084 if ac_fn_c_try_link "$LINENO"
19085 then :
19086 case "$LIBEXT" in
19087 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19088 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'` ;;
19089 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19090 if ${ac_cv_lib_soname_netapi:+false} :
19091 then :
19092 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19093 fi ;;
19094 esac
19095 else $as_nop
19096 ac_cv_lib_soname_netapi=
19098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19099 conftest$ac_exeext conftest.$ac_ext
19100 LIBS=$ac_check_soname_save_LIBS
19102 if ${ac_cv_lib_soname_netapi:+false} :
19103 then :
19104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19105 printf "%s\n" "not found" >&6; }
19106 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
19108 else $as_nop
19109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
19110 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
19112 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
19116 CPPFLAGS=$ac_save_CPPFLAGS
19119 if test "x$ac_cv_lib_soname_netapi" = "x"
19120 then :
19121 case "x$with_netapi" in
19122 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
19123 xno) ;;
19124 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
19125 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
19126 esac
19127 enable_netapi=${enable_netapi:-no}
19131 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
19132 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
19133 then
19134 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
19137 if test "x$with_vulkan" != "xno"
19138 then
19139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
19140 printf %s "checking for -lvulkan... " >&6; }
19141 if test ${ac_cv_lib_soname_vulkan+y}
19142 then :
19143 printf %s "(cached) " >&6
19144 else $as_nop
19145 ac_check_soname_save_LIBS=$LIBS
19146 LIBS="-lvulkan $LIBS"
19147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19148 /* end confdefs.h. */
19150 /* Override any GCC internal prototype to avoid an error.
19151 Use char because int might match the return type of a GCC
19152 builtin and then its argument prototype would still apply. */
19153 char vkGetInstanceProcAddr ();
19155 main (void)
19157 return vkGetInstanceProcAddr ();
19159 return 0;
19161 _ACEOF
19162 if ac_fn_c_try_link "$LINENO"
19163 then :
19164 case "$LIBEXT" in
19165 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19166 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'` ;;
19167 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19168 if ${ac_cv_lib_soname_vulkan:+false} :
19169 then :
19170 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19171 fi ;;
19172 esac
19173 else $as_nop
19174 ac_cv_lib_soname_vulkan=
19176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19177 conftest$ac_exeext conftest.$ac_ext
19178 LIBS=$ac_check_soname_save_LIBS
19180 if ${ac_cv_lib_soname_vulkan:+false} :
19181 then :
19182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19183 printf "%s\n" "not found" >&6; }
19185 else $as_nop
19186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
19187 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
19189 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
19193 if test "x$ac_cv_lib_soname_vulkan" = "x"
19194 then
19195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
19196 printf %s "checking for -lMoltenVK... " >&6; }
19197 if test ${ac_cv_lib_soname_MoltenVK+y}
19198 then :
19199 printf %s "(cached) " >&6
19200 else $as_nop
19201 ac_check_soname_save_LIBS=$LIBS
19202 LIBS="-lMoltenVK $LIBS"
19203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19204 /* end confdefs.h. */
19206 /* Override any GCC internal prototype to avoid an error.
19207 Use char because int might match the return type of a GCC
19208 builtin and then its argument prototype would still apply. */
19209 char vkGetInstanceProcAddr ();
19211 main (void)
19213 return vkGetInstanceProcAddr ();
19215 return 0;
19217 _ACEOF
19218 if ac_fn_c_try_link "$LINENO"
19219 then :
19220 case "$LIBEXT" in
19221 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19222 dylib) ac_cv_lib_soname_MoltenVK=`$OTOOL -L conftest$ac_exeext | grep "libMoltenVK\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libMoltenVK\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
19223 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19224 if ${ac_cv_lib_soname_MoltenVK:+false} :
19225 then :
19226 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19227 fi ;;
19228 esac
19229 else $as_nop
19230 ac_cv_lib_soname_MoltenVK=
19232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19233 conftest$ac_exeext conftest.$ac_ext
19234 LIBS=$ac_check_soname_save_LIBS
19236 if ${ac_cv_lib_soname_MoltenVK:+false} :
19237 then :
19238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19239 printf "%s\n" "not found" >&6; }
19241 else $as_nop
19242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
19243 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
19245 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
19247 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
19252 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
19253 then :
19254 case "x$with_vulkan" in
19255 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
19256 xno) ;;
19257 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
19258 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
19259 esac
19264 if test "x${GCC}" = "xyes"
19265 then
19266 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
19268 saved_CFLAGS=$CFLAGS
19269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
19270 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
19271 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
19272 then :
19273 printf %s "(cached) " >&6
19274 else $as_nop
19275 ac_wine_try_cflags_saved=$CFLAGS
19276 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
19277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19278 /* end confdefs.h. */
19279 int main(int argc, char **argv) { return 0; }
19280 _ACEOF
19281 if ac_fn_c_try_link "$LINENO"
19282 then :
19283 ac_cv_cflags__Werror_unknown_warning_option=yes
19284 else $as_nop
19285 ac_cv_cflags__Werror_unknown_warning_option=no
19287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19288 conftest$ac_exeext conftest.$ac_ext
19289 CFLAGS=$ac_wine_try_cflags_saved
19291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
19292 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
19293 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
19294 then :
19295 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
19297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
19298 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
19299 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
19300 then :
19301 printf %s "(cached) " >&6
19302 else $as_nop
19303 ac_wine_try_cflags_saved=$CFLAGS
19304 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
19305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19306 /* end confdefs.h. */
19307 int main(int argc, char **argv) { return 0; }
19308 _ACEOF
19309 if ac_fn_c_try_link "$LINENO"
19310 then :
19311 ac_cv_cflags__Werror_unused_command_line_argument=yes
19312 else $as_nop
19313 ac_cv_cflags__Werror_unused_command_line_argument=no
19315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19316 conftest$ac_exeext conftest.$ac_ext
19317 CFLAGS=$ac_wine_try_cflags_saved
19319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
19320 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
19321 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
19322 then :
19323 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
19325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
19326 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
19327 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
19328 then :
19329 printf %s "(cached) " >&6
19330 else $as_nop
19331 ac_wine_try_cflags_saved=$CFLAGS
19332 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
19333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19334 /* end confdefs.h. */
19335 int main(int argc, char **argv) { return 0; }
19336 _ACEOF
19337 if ac_fn_c_try_link "$LINENO"
19338 then :
19339 ac_cv_cflags__Werror_ignored_optimization_argument=yes
19340 else $as_nop
19341 ac_cv_cflags__Werror_ignored_optimization_argument=no
19343 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19344 conftest$ac_exeext conftest.$ac_ext
19345 CFLAGS=$ac_wine_try_cflags_saved
19347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
19348 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
19349 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
19350 then :
19351 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
19353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
19354 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
19355 if test ${ac_cv_cflags__fcf_protection_none+y}
19356 then :
19357 printf %s "(cached) " >&6
19358 else $as_nop
19359 ac_wine_try_cflags_saved=$CFLAGS
19360 CFLAGS="$CFLAGS -fcf-protection=none"
19361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19362 /* end confdefs.h. */
19363 int main(int argc, char **argv) { return 0; }
19364 _ACEOF
19365 if ac_fn_c_try_link "$LINENO"
19366 then :
19367 ac_cv_cflags__fcf_protection_none=yes
19368 else $as_nop
19369 ac_cv_cflags__fcf_protection_none=no
19371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19372 conftest$ac_exeext conftest.$ac_ext
19373 CFLAGS=$ac_wine_try_cflags_saved
19375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
19376 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
19377 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
19378 then :
19379 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
19381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19382 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19383 if test ${ac_cv_cflags__fvisibility_hidden+y}
19384 then :
19385 printf %s "(cached) " >&6
19386 else $as_nop
19387 ac_wine_try_cflags_saved=$CFLAGS
19388 CFLAGS="$CFLAGS -fvisibility=hidden"
19389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19390 /* end confdefs.h. */
19391 int main(int argc, char **argv) { return 0; }
19392 _ACEOF
19393 if ac_fn_c_try_link "$LINENO"
19394 then :
19395 ac_cv_cflags__fvisibility_hidden=yes
19396 else $as_nop
19397 ac_cv_cflags__fvisibility_hidden=no
19399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19400 conftest$ac_exeext conftest.$ac_ext
19401 CFLAGS=$ac_wine_try_cflags_saved
19403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19404 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19405 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19406 then :
19407 EXTRACFLAGS="$EXTRACFLAGS -fvisibility=hidden"
19409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
19410 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
19411 if test ${ac_cv_cflags__fno_stack_protector+y}
19412 then :
19413 printf %s "(cached) " >&6
19414 else $as_nop
19415 ac_wine_try_cflags_saved=$CFLAGS
19416 CFLAGS="$CFLAGS -fno-stack-protector"
19417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19418 /* end confdefs.h. */
19419 int main(int argc, char **argv) { return 0; }
19420 _ACEOF
19421 if ac_fn_c_try_link "$LINENO"
19422 then :
19423 ac_cv_cflags__fno_stack_protector=yes
19424 else $as_nop
19425 ac_cv_cflags__fno_stack_protector=no
19427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19428 conftest$ac_exeext conftest.$ac_ext
19429 CFLAGS=$ac_wine_try_cflags_saved
19431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
19432 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
19433 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
19434 then :
19435 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
19437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
19438 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
19439 if test ${ac_cv_cflags__fno_strict_aliasing+y}
19440 then :
19441 printf %s "(cached) " >&6
19442 else $as_nop
19443 ac_wine_try_cflags_saved=$CFLAGS
19444 CFLAGS="$CFLAGS -fno-strict-aliasing"
19445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19446 /* end confdefs.h. */
19447 int main(int argc, char **argv) { return 0; }
19448 _ACEOF
19449 if ac_fn_c_try_link "$LINENO"
19450 then :
19451 ac_cv_cflags__fno_strict_aliasing=yes
19452 else $as_nop
19453 ac_cv_cflags__fno_strict_aliasing=no
19455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19456 conftest$ac_exeext conftest.$ac_ext
19457 CFLAGS=$ac_wine_try_cflags_saved
19459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
19460 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
19461 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
19462 then :
19463 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
19465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
19466 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
19467 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
19468 then :
19469 printf %s "(cached) " >&6
19470 else $as_nop
19471 ac_wine_try_cflags_saved=$CFLAGS
19472 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
19473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19474 /* end confdefs.h. */
19475 int main(int argc, char **argv) { return 0; }
19476 _ACEOF
19477 if ac_fn_c_try_link "$LINENO"
19478 then :
19479 ac_cv_cflags__Wdeclaration_after_statement=yes
19480 else $as_nop
19481 ac_cv_cflags__Wdeclaration_after_statement=no
19483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19484 conftest$ac_exeext conftest.$ac_ext
19485 CFLAGS=$ac_wine_try_cflags_saved
19487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
19488 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
19489 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
19490 then :
19491 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
19493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
19494 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
19495 if test ${ac_cv_cflags__Wempty_body+y}
19496 then :
19497 printf %s "(cached) " >&6
19498 else $as_nop
19499 ac_wine_try_cflags_saved=$CFLAGS
19500 CFLAGS="$CFLAGS -Wempty-body"
19501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19502 /* end confdefs.h. */
19503 int main(int argc, char **argv) { return 0; }
19504 _ACEOF
19505 if ac_fn_c_try_link "$LINENO"
19506 then :
19507 ac_cv_cflags__Wempty_body=yes
19508 else $as_nop
19509 ac_cv_cflags__Wempty_body=no
19511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19512 conftest$ac_exeext conftest.$ac_ext
19513 CFLAGS=$ac_wine_try_cflags_saved
19515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
19516 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
19517 if test "x$ac_cv_cflags__Wempty_body" = xyes
19518 then :
19519 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
19521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
19522 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
19523 if test ${ac_cv_cflags__Wignored_qualifiers+y}
19524 then :
19525 printf %s "(cached) " >&6
19526 else $as_nop
19527 ac_wine_try_cflags_saved=$CFLAGS
19528 CFLAGS="$CFLAGS -Wignored-qualifiers"
19529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19530 /* end confdefs.h. */
19531 int main(int argc, char **argv) { return 0; }
19532 _ACEOF
19533 if ac_fn_c_try_link "$LINENO"
19534 then :
19535 ac_cv_cflags__Wignored_qualifiers=yes
19536 else $as_nop
19537 ac_cv_cflags__Wignored_qualifiers=no
19539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19540 conftest$ac_exeext conftest.$ac_ext
19541 CFLAGS=$ac_wine_try_cflags_saved
19543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
19544 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
19545 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
19546 then :
19547 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
19549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
19550 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
19551 if test ${ac_cv_cflags__Winit_self+y}
19552 then :
19553 printf %s "(cached) " >&6
19554 else $as_nop
19555 ac_wine_try_cflags_saved=$CFLAGS
19556 CFLAGS="$CFLAGS -Winit-self"
19557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19558 /* end confdefs.h. */
19559 int main(int argc, char **argv) { return 0; }
19560 _ACEOF
19561 if ac_fn_c_try_link "$LINENO"
19562 then :
19563 ac_cv_cflags__Winit_self=yes
19564 else $as_nop
19565 ac_cv_cflags__Winit_self=no
19567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19568 conftest$ac_exeext conftest.$ac_ext
19569 CFLAGS=$ac_wine_try_cflags_saved
19571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
19572 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
19573 if test "x$ac_cv_cflags__Winit_self" = xyes
19574 then :
19575 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
19577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
19578 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
19579 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
19580 then :
19581 printf %s "(cached) " >&6
19582 else $as_nop
19583 ac_wine_try_cflags_saved=$CFLAGS
19584 CFLAGS="$CFLAGS -Wpacked-not-aligned"
19585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19586 /* end confdefs.h. */
19587 int main(int argc, char **argv) { return 0; }
19588 _ACEOF
19589 if ac_fn_c_try_link "$LINENO"
19590 then :
19591 ac_cv_cflags__Wpacked_not_aligned=yes
19592 else $as_nop
19593 ac_cv_cflags__Wpacked_not_aligned=no
19595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19596 conftest$ac_exeext conftest.$ac_ext
19597 CFLAGS=$ac_wine_try_cflags_saved
19599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
19600 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
19601 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
19602 then :
19603 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
19605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
19606 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
19607 if test ${ac_cv_cflags__Wpragma_pack+y}
19608 then :
19609 printf %s "(cached) " >&6
19610 else $as_nop
19611 ac_wine_try_cflags_saved=$CFLAGS
19612 CFLAGS="$CFLAGS -Wpragma-pack"
19613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19614 /* end confdefs.h. */
19615 int main(int argc, char **argv) { return 0; }
19616 _ACEOF
19617 if ac_fn_c_try_link "$LINENO"
19618 then :
19619 ac_cv_cflags__Wpragma_pack=yes
19620 else $as_nop
19621 ac_cv_cflags__Wpragma_pack=no
19623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19624 conftest$ac_exeext conftest.$ac_ext
19625 CFLAGS=$ac_wine_try_cflags_saved
19627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
19628 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
19629 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
19630 then :
19631 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
19633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
19634 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
19635 if test ${ac_cv_cflags__Wshift_overflow_2+y}
19636 then :
19637 printf %s "(cached) " >&6
19638 else $as_nop
19639 ac_wine_try_cflags_saved=$CFLAGS
19640 CFLAGS="$CFLAGS -Wshift-overflow=2"
19641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19642 /* end confdefs.h. */
19643 int main(int argc, char **argv) { return 0; }
19644 _ACEOF
19645 if ac_fn_c_try_link "$LINENO"
19646 then :
19647 ac_cv_cflags__Wshift_overflow_2=yes
19648 else $as_nop
19649 ac_cv_cflags__Wshift_overflow_2=no
19651 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19652 conftest$ac_exeext conftest.$ac_ext
19653 CFLAGS=$ac_wine_try_cflags_saved
19655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
19656 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
19657 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
19658 then :
19659 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
19661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
19662 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
19663 if test ${ac_cv_cflags__Wstrict_prototypes+y}
19664 then :
19665 printf %s "(cached) " >&6
19666 else $as_nop
19667 ac_wine_try_cflags_saved=$CFLAGS
19668 CFLAGS="$CFLAGS -Wstrict-prototypes"
19669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h. */
19671 int main(int argc, char **argv) { return 0; }
19672 _ACEOF
19673 if ac_fn_c_try_link "$LINENO"
19674 then :
19675 ac_cv_cflags__Wstrict_prototypes=yes
19676 else $as_nop
19677 ac_cv_cflags__Wstrict_prototypes=no
19679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19680 conftest$ac_exeext conftest.$ac_ext
19681 CFLAGS=$ac_wine_try_cflags_saved
19683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19684 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19685 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19686 then :
19687 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
19689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19690 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
19691 if test ${ac_cv_cflags__Wtype_limits+y}
19692 then :
19693 printf %s "(cached) " >&6
19694 else $as_nop
19695 ac_wine_try_cflags_saved=$CFLAGS
19696 CFLAGS="$CFLAGS -Wtype-limits"
19697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19698 /* end confdefs.h. */
19699 int main(int argc, char **argv) { return 0; }
19700 _ACEOF
19701 if ac_fn_c_try_link "$LINENO"
19702 then :
19703 ac_cv_cflags__Wtype_limits=yes
19704 else $as_nop
19705 ac_cv_cflags__Wtype_limits=no
19707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19708 conftest$ac_exeext conftest.$ac_ext
19709 CFLAGS=$ac_wine_try_cflags_saved
19711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19712 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19713 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19714 then :
19715 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
19717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19718 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19719 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19720 then :
19721 printf %s "(cached) " >&6
19722 else $as_nop
19723 ac_wine_try_cflags_saved=$CFLAGS
19724 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19726 /* end confdefs.h. */
19727 int main(int argc, char **argv) { return 0; }
19728 _ACEOF
19729 if ac_fn_c_try_link "$LINENO"
19730 then :
19731 ac_cv_cflags__Wunused_but_set_parameter=yes
19732 else $as_nop
19733 ac_cv_cflags__Wunused_but_set_parameter=no
19735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19736 conftest$ac_exeext conftest.$ac_ext
19737 CFLAGS=$ac_wine_try_cflags_saved
19739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19740 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19741 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19742 then :
19743 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19746 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19747 if test ${ac_cv_cflags__Wvla+y}
19748 then :
19749 printf %s "(cached) " >&6
19750 else $as_nop
19751 ac_wine_try_cflags_saved=$CFLAGS
19752 CFLAGS="$CFLAGS -Wvla"
19753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19754 /* end confdefs.h. */
19755 int main(int argc, char **argv) { return 0; }
19756 _ACEOF
19757 if ac_fn_c_try_link "$LINENO"
19758 then :
19759 ac_cv_cflags__Wvla=yes
19760 else $as_nop
19761 ac_cv_cflags__Wvla=no
19763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19764 conftest$ac_exeext conftest.$ac_ext
19765 CFLAGS=$ac_wine_try_cflags_saved
19767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19768 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19769 if test "x$ac_cv_cflags__Wvla" = xyes
19770 then :
19771 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19774 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19775 if test ${ac_cv_cflags__Wwrite_strings+y}
19776 then :
19777 printf %s "(cached) " >&6
19778 else $as_nop
19779 ac_wine_try_cflags_saved=$CFLAGS
19780 CFLAGS="$CFLAGS -Wwrite-strings"
19781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19782 /* end confdefs.h. */
19783 int main(int argc, char **argv) { return 0; }
19784 _ACEOF
19785 if ac_fn_c_try_link "$LINENO"
19786 then :
19787 ac_cv_cflags__Wwrite_strings=yes
19788 else $as_nop
19789 ac_cv_cflags__Wwrite_strings=no
19791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19792 conftest$ac_exeext conftest.$ac_ext
19793 CFLAGS=$ac_wine_try_cflags_saved
19795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19796 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19797 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19798 then :
19799 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -flarge-source-files -Wmisleading-indentation" >&5
19803 printf %s "checking whether the compiler supports -flarge-source-files -Wmisleading-indentation... " >&6; }
19804 if test ${ac_cv_cflags__flarge_source_files__Wmisleading_indentation+y}
19805 then :
19806 printf %s "(cached) " >&6
19807 else $as_nop
19808 ac_wine_try_cflags_saved=$CFLAGS
19809 CFLAGS="$CFLAGS -flarge-source-files -Wmisleading-indentation"
19810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19811 /* end confdefs.h. */
19812 int main(int argc, char **argv) { return 0; }
19813 _ACEOF
19814 if ac_fn_c_try_link "$LINENO"
19815 then :
19816 ac_cv_cflags__flarge_source_files__Wmisleading_indentation=yes
19817 else $as_nop
19818 ac_cv_cflags__flarge_source_files__Wmisleading_indentation=no
19820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19821 conftest$ac_exeext conftest.$ac_ext
19822 CFLAGS=$ac_wine_try_cflags_saved
19824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&5
19825 printf "%s\n" "$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&6; }
19826 if test "x$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" = xyes
19827 then :
19828 EXTRACFLAGS="$EXTRACFLAGS -Wno-misleading-indentation"
19831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19832 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19833 if test ${ac_cv_cflags__Wpointer_arith+y}
19834 then :
19835 printf %s "(cached) " >&6
19836 else $as_nop
19837 ac_wine_try_cflags_saved=$CFLAGS
19838 CFLAGS="$CFLAGS -Wpointer-arith"
19839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19840 /* end confdefs.h. */
19841 int main(int argc, char **argv) { return 0; }
19842 _ACEOF
19843 if ac_fn_c_try_link "$LINENO"
19844 then :
19845 ac_cv_cflags__Wpointer_arith=yes
19846 else $as_nop
19847 ac_cv_cflags__Wpointer_arith=no
19849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19850 conftest$ac_exeext conftest.$ac_ext
19851 CFLAGS=$ac_wine_try_cflags_saved
19853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19854 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19855 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19856 then :
19857 saved_string_h_CFLAGS=$CFLAGS
19858 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19860 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19861 if test ${ac_cv_c_string_h_warnings+y}
19862 then :
19863 printf %s "(cached) " >&6
19864 else $as_nop
19865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19866 /* end confdefs.h. */
19867 #include <string.h>
19869 main (void)
19873 return 0;
19875 _ACEOF
19876 if ac_fn_c_try_compile "$LINENO"
19877 then :
19878 ac_cv_c_string_h_warnings=no
19879 else $as_nop
19880 ac_cv_c_string_h_warnings=yes
19882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19885 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19886 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19887 CFLAGS=$saved_string_h_CFLAGS
19890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19891 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19892 if test ${ac_cv_cflags__Wlogical_op+y}
19893 then :
19894 printf %s "(cached) " >&6
19895 else $as_nop
19896 ac_wine_try_cflags_saved=$CFLAGS
19897 CFLAGS="$CFLAGS -Wlogical-op"
19898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19899 /* end confdefs.h. */
19900 int main(int argc, char **argv) { return 0; }
19901 _ACEOF
19902 if ac_fn_c_try_link "$LINENO"
19903 then :
19904 ac_cv_cflags__Wlogical_op=yes
19905 else $as_nop
19906 ac_cv_cflags__Wlogical_op=no
19908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19909 conftest$ac_exeext conftest.$ac_ext
19910 CFLAGS=$ac_wine_try_cflags_saved
19912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19913 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19914 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19915 then :
19916 saved_string_h_CFLAGS=$CFLAGS
19917 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19919 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19920 if test ${ac_cv_c_logicalop_noisy+y}
19921 then :
19922 printf %s "(cached) " >&6
19923 else $as_nop
19924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19925 /* end confdefs.h. */
19926 #include <string.h>
19927 char*f(const char *h,char n) {return strchr(h,n);}
19929 main (void)
19933 return 0;
19935 _ACEOF
19936 if ac_fn_c_try_compile "$LINENO"
19937 then :
19938 ac_cv_c_logicalop_noisy=no
19939 else $as_nop
19940 ac_cv_c_logicalop_noisy=yes
19942 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19945 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19946 CFLAGS=$saved_string_h_CFLAGS
19947 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19951 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19952 if test ${wine_cv_64bit_compare_swap+y}
19953 then :
19954 printf %s "(cached) " >&6
19955 else $as_nop
19956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19957 /* end confdefs.h. */
19958 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19959 #error no
19960 #endif
19962 main (void)
19966 return 0;
19968 _ACEOF
19969 if ac_fn_c_try_compile "$LINENO"
19970 then :
19971 wine_cv_64bit_compare_swap="none needed"
19972 else $as_nop
19973 case $HOST_ARCH in
19974 i386) wine_cv_64bit_compare_swap="-march=i586" ;;
19975 arm) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19976 *) wine_cv_64bit_compare_swap="unknown" ;;
19977 esac
19978 if test "x$wine_cv_64bit_compare_swap" != xunknown
19979 then
19980 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19982 /* end confdefs.h. */
19983 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19984 #error no
19985 #endif
19987 main (void)
19991 return 0;
19993 _ACEOF
19994 if ac_fn_c_try_compile "$LINENO"
19995 then :
19997 else $as_nop
19998 wine_cv_64bit_compare_swap="unknown"
20000 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20001 CFLAGS=$saved_CFLAGS
20004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
20007 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
20008 case "$wine_cv_64bit_compare_swap" in
20009 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
20010 "none needed") ;;
20011 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
20012 esac
20014 ac_debug_format_seen=""
20015 for ac_flag in $CFLAGS; do
20016 case $ac_flag in
20017 -gdwarf*) ac_debug_format_seen=yes ;;
20018 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
20019 esac
20020 done
20021 if test "x$ac_debug_format_seen" = xdefault
20022 then
20023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
20024 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
20025 if test ${ac_cv_cflags__gdwarf_4+y}
20026 then :
20027 printf %s "(cached) " >&6
20028 else $as_nop
20029 ac_wine_try_cflags_saved=$CFLAGS
20030 CFLAGS="$CFLAGS -gdwarf-4"
20031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20032 /* end confdefs.h. */
20033 int main(int argc, char **argv) { return 0; }
20034 _ACEOF
20035 if ac_fn_c_try_link "$LINENO"
20036 then :
20037 ac_cv_cflags__gdwarf_4=yes
20038 else $as_nop
20039 ac_cv_cflags__gdwarf_4=no
20041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20042 conftest$ac_exeext conftest.$ac_ext
20043 CFLAGS=$ac_wine_try_cflags_saved
20045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
20046 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
20047 if test "x$ac_cv_cflags__gdwarf_4" = xyes
20048 then :
20049 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
20053 MSVCRTFLAGS=""
20055 case $host_os in
20056 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
20057 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
20058 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
20059 then :
20060 printf %s "(cached) " >&6
20061 else $as_nop
20062 ac_wine_try_cflags_saved=$CFLAGS
20063 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
20064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20065 /* end confdefs.h. */
20066 int main(int argc, char **argv) { return 0; }
20067 _ACEOF
20068 if ac_fn_c_try_link "$LINENO"
20069 then :
20070 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
20071 else $as_nop
20072 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
20074 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20075 conftest$ac_exeext conftest.$ac_ext
20076 CFLAGS=$ac_wine_try_cflags_saved
20078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
20079 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
20080 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
20081 then :
20082 DELAYLOADFLAG="-Wl,-delayload,"
20084 fi ;;
20085 *) MSVCRTFLAGS="-D_WIN32"
20086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
20087 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
20088 if test ${ac_cv_cflags__fno_builtin+y}
20089 then :
20090 printf %s "(cached) " >&6
20091 else $as_nop
20092 ac_wine_try_cflags_saved=$CFLAGS
20093 CFLAGS="$CFLAGS -fno-builtin"
20094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20095 /* end confdefs.h. */
20096 int main(int argc, char **argv) { return 0; }
20097 _ACEOF
20098 if ac_fn_c_try_link "$LINENO"
20099 then :
20100 ac_cv_cflags__fno_builtin=yes
20101 else $as_nop
20102 ac_cv_cflags__fno_builtin=no
20104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20105 conftest$ac_exeext conftest.$ac_ext
20106 CFLAGS=$ac_wine_try_cflags_saved
20108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
20109 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
20110 if test "x$ac_cv_cflags__fno_builtin" = xyes
20111 then :
20112 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
20114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
20115 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
20116 if test ${ac_cv_cflags__fshort_wchar+y}
20117 then :
20118 printf %s "(cached) " >&6
20119 else $as_nop
20120 ac_wine_try_cflags_saved=$CFLAGS
20121 CFLAGS="$CFLAGS -fshort-wchar"
20122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20123 /* end confdefs.h. */
20124 int main(int argc, char **argv) { return 0; }
20125 _ACEOF
20126 if ac_fn_c_try_link "$LINENO"
20127 then :
20128 ac_cv_cflags__fshort_wchar=yes
20129 else $as_nop
20130 ac_cv_cflags__fshort_wchar=no
20132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20133 conftest$ac_exeext conftest.$ac_ext
20134 CFLAGS=$ac_wine_try_cflags_saved
20136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
20137 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
20138 if test "x$ac_cv_cflags__fshort_wchar" = xyes
20139 then :
20140 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
20142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20143 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
20144 if test ${ac_cv_cflags__Wno_format+y}
20145 then :
20146 printf %s "(cached) " >&6
20147 else $as_nop
20148 ac_wine_try_cflags_saved=$CFLAGS
20149 CFLAGS="$CFLAGS -Wno-format"
20150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20151 /* end confdefs.h. */
20152 int main(int argc, char **argv) { return 0; }
20153 _ACEOF
20154 if ac_fn_c_try_link "$LINENO"
20155 then :
20156 ac_cv_cflags__Wno_format=yes
20157 else $as_nop
20158 ac_cv_cflags__Wno_format=no
20160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20161 conftest$ac_exeext conftest.$ac_ext
20162 CFLAGS=$ac_wine_try_cflags_saved
20164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20165 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20166 if test "x$ac_cv_cflags__Wno_format" = xyes
20167 then :
20168 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
20169 fi ;;
20170 esac
20172 case $HOST_ARCH in
20173 i386) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
20174 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
20175 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
20176 then :
20177 printf %s "(cached) " >&6
20178 else $as_nop
20179 ac_wine_try_cflags_saved=$CFLAGS
20180 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
20181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20182 /* end confdefs.h. */
20183 int main(int argc, char **argv) { return 0; }
20184 _ACEOF
20185 if ac_fn_c_try_link "$LINENO"
20186 then :
20187 ac_cv_cflags__fno_omit_frame_pointer=yes
20188 else $as_nop
20189 ac_cv_cflags__fno_omit_frame_pointer=no
20191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20192 conftest$ac_exeext conftest.$ac_ext
20193 CFLAGS=$ac_wine_try_cflags_saved
20195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
20196 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
20197 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
20198 then :
20199 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
20200 fi ;;
20201 x86_64)
20202 case $host_os in
20203 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20204 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
20205 if test ${ac_cv_cflags__Wno_format+y}
20206 then :
20207 printf %s "(cached) " >&6
20208 else $as_nop
20209 ac_wine_try_cflags_saved=$CFLAGS
20210 CFLAGS="$CFLAGS -Wno-format"
20211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20212 /* end confdefs.h. */
20213 int main(int argc, char **argv) { return 0; }
20214 _ACEOF
20215 if ac_fn_c_try_link "$LINENO"
20216 then :
20217 ac_cv_cflags__Wno_format=yes
20218 else $as_nop
20219 ac_cv_cflags__Wno_format=no
20221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20222 conftest$ac_exeext conftest.$ac_ext
20223 CFLAGS=$ac_wine_try_cflags_saved
20225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20226 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20227 if test "x$ac_cv_cflags__Wno_format" = xyes
20228 then :
20229 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
20230 fi ;;
20231 *) if test -z "$PE_ARCHS"
20232 then
20233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
20234 printf %s "checking for working -mabi=ms... " >&6; }
20235 if test ${ac_cv_mabi_ms+y}
20236 then :
20237 printf %s "(cached) " >&6
20238 else $as_nop
20239 CFLAGS="$CFLAGS -mabi=ms"
20240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20241 /* end confdefs.h. */
20242 #include <stdarg.h>
20243 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
20245 main (void)
20249 return 0;
20251 _ACEOF
20252 if ac_fn_c_try_compile "$LINENO"
20253 then :
20254 ac_cv_mabi_ms=yes
20255 else $as_nop
20256 ac_cv_mabi_ms=no
20258 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20259 CFLAGS=$saved_CFLAGS
20261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
20262 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
20263 test $ac_cv_mabi_ms = yes || as_fn_error $? "The compiler doesn't support -mabi=ms. Use gcc instead of clang, or install mingw-w64." "$LINENO" 5
20265 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
20266 esac ;;
20267 arm)
20268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
20269 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
20270 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
20271 then :
20272 printf %s "(cached) " >&6
20273 else $as_nop
20274 ac_wine_try_cflags_saved=$CFLAGS
20275 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
20276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20277 /* end confdefs.h. */
20278 int main(int argc, char **argv) { return 0; }
20279 _ACEOF
20280 if ac_fn_c_try_link "$LINENO"
20281 then :
20282 ac_cv_cflags__Wincompatible_function_pointer_types=yes
20283 else $as_nop
20284 ac_cv_cflags__Wincompatible_function_pointer_types=no
20286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20287 conftest$ac_exeext conftest.$ac_ext
20288 CFLAGS=$ac_wine_try_cflags_saved
20290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
20291 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
20292 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
20293 then :
20294 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
20295 fi ;;
20296 esac
20298 CFLAGS=$saved_CFLAGS
20300 if test "x$enable_werror" = "xyes"
20301 then
20302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
20303 printf %s "checking whether the compiler supports -Werror... " >&6; }
20304 if test ${ac_cv_cflags__Werror+y}
20305 then :
20306 printf %s "(cached) " >&6
20307 else $as_nop
20308 ac_wine_try_cflags_saved=$CFLAGS
20309 CFLAGS="$CFLAGS -Werror"
20310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20311 /* end confdefs.h. */
20312 int main(int argc, char **argv) { return 0; }
20313 _ACEOF
20314 if ac_fn_c_try_link "$LINENO"
20315 then :
20316 ac_cv_cflags__Werror=yes
20317 else $as_nop
20318 ac_cv_cflags__Werror=no
20320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20321 conftest$ac_exeext conftest.$ac_ext
20322 CFLAGS=$ac_wine_try_cflags_saved
20324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
20325 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
20326 if test "x$ac_cv_cflags__Werror" = xyes
20327 then :
20328 EXTRACFLAGS="$EXTRACFLAGS -Werror"
20331 if test "x$enable_build_id" = "xyes"
20332 then
20333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
20334 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
20335 if test ${ac_cv_cflags__Wl___build_id+y}
20336 then :
20337 printf %s "(cached) " >&6
20338 else $as_nop
20339 ac_wine_try_cflags_saved=$CFLAGS
20340 CFLAGS="$CFLAGS -Wl,--build-id"
20341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20342 /* end confdefs.h. */
20343 int main(int argc, char **argv) { return 0; }
20344 _ACEOF
20345 if ac_fn_c_try_link "$LINENO"
20346 then :
20347 ac_cv_cflags__Wl___build_id=yes
20348 else $as_nop
20349 ac_cv_cflags__Wl___build_id=no
20351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20352 conftest$ac_exeext conftest.$ac_ext
20353 CFLAGS=$ac_wine_try_cflags_saved
20355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
20356 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
20357 if test "x$ac_cv_cflags__Wl___build_id" = xyes
20358 then :
20359 CFLAGS="$CFLAGS -Wl,--build-id"
20360 LDFLAGS="$LDFLAGS -Wl,--build-id"
20366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
20367 printf %s "checking for the need to disable Fortify... " >&6; }
20368 if test ${ac_cv_c_fortify_enabled+y}
20369 then :
20370 printf %s "(cached) " >&6
20371 else $as_nop
20372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20373 /* end confdefs.h. */
20374 #include <string.h>
20376 main (void)
20378 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
20379 #error Fortify enabled
20380 #endif
20382 return 0;
20384 _ACEOF
20385 if ac_fn_c_try_compile "$LINENO"
20386 then :
20387 ac_cv_c_fortify_enabled=no
20388 else $as_nop
20389 ac_cv_c_fortify_enabled=yes
20391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
20394 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
20395 if test "$ac_cv_c_fortify_enabled" = yes
20396 then
20397 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
20401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
20402 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
20403 if test ${ac_cv_c_cfi_support+y}
20404 then :
20405 printf %s "(cached) " >&6
20406 else $as_nop
20407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20408 /* end confdefs.h. */
20409 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
20411 main (void)
20415 return 0;
20417 _ACEOF
20418 if ac_fn_c_try_compile "$LINENO"
20419 then :
20420 ac_cv_c_cfi_support="yes"
20421 else $as_nop
20422 ac_cv_c_cfi_support="no"
20424 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
20427 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
20428 if test "$ac_cv_c_cfi_support" = "yes"
20429 then
20430 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
20431 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
20432 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
20433 elif test $HOST_ARCH = x86_64
20434 then
20435 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
20439 case "$HOST_ARCH,$PE_ARCHS" in
20440 x86_64,*i386*) wine_binary="wine" ;;
20441 x86_64,*) wine_binary="wine64" ;;
20442 *) wine_binary="wine" ;;
20443 esac
20444 WINELOADER_PROGRAMS="$wine_binary"
20447 case $host_os in
20448 linux*)
20449 if test $HOST_ARCH != unknown
20450 then
20451 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
20452 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
20455 darwin*|macosx*)
20456 if test "$wine_can_build_preloader" = "yes"
20457 then
20458 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
20459 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
20462 esac
20465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
20466 printf %s "checking for library containing dlopen... " >&6; }
20467 if test ${ac_cv_search_dlopen+y}
20468 then :
20469 printf %s "(cached) " >&6
20470 else $as_nop
20471 ac_func_search_save_LIBS=$LIBS
20472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20473 /* end confdefs.h. */
20475 /* Override any GCC internal prototype to avoid an error.
20476 Use char because int might match the return type of a GCC
20477 builtin and then its argument prototype would still apply. */
20478 char dlopen ();
20480 main (void)
20482 return dlopen ();
20484 return 0;
20486 _ACEOF
20487 for ac_lib in '' dl
20489 if test -z "$ac_lib"; then
20490 ac_res="none required"
20491 else
20492 ac_res=-l$ac_lib
20493 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20495 if ac_fn_c_try_link "$LINENO"
20496 then :
20497 ac_cv_search_dlopen=$ac_res
20499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20500 conftest$ac_exeext
20501 if test ${ac_cv_search_dlopen+y}
20502 then :
20503 break
20505 done
20506 if test ${ac_cv_search_dlopen+y}
20507 then :
20509 else $as_nop
20510 ac_cv_search_dlopen=no
20512 rm conftest.$ac_ext
20513 LIBS=$ac_func_search_save_LIBS
20515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
20516 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
20517 ac_res=$ac_cv_search_dlopen
20518 if test "$ac_res" != no
20519 then :
20520 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
20526 printf %s "checking for library containing gethostbyname... " >&6; }
20527 if test ${ac_cv_search_gethostbyname+y}
20528 then :
20529 printf %s "(cached) " >&6
20530 else $as_nop
20531 ac_func_search_save_LIBS=$LIBS
20532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20533 /* end confdefs.h. */
20535 /* Override any GCC internal prototype to avoid an error.
20536 Use char because int might match the return type of a GCC
20537 builtin and then its argument prototype would still apply. */
20538 char gethostbyname ();
20540 main (void)
20542 return gethostbyname ();
20544 return 0;
20546 _ACEOF
20547 for ac_lib in '' nsl
20549 if test -z "$ac_lib"; then
20550 ac_res="none required"
20551 else
20552 ac_res=-l$ac_lib
20553 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20555 if ac_fn_c_try_link "$LINENO"
20556 then :
20557 ac_cv_search_gethostbyname=$ac_res
20559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20560 conftest$ac_exeext
20561 if test ${ac_cv_search_gethostbyname+y}
20562 then :
20563 break
20565 done
20566 if test ${ac_cv_search_gethostbyname+y}
20567 then :
20569 else $as_nop
20570 ac_cv_search_gethostbyname=no
20572 rm conftest.$ac_ext
20573 LIBS=$ac_func_search_save_LIBS
20575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20576 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20577 ac_res=$ac_cv_search_gethostbyname
20578 if test "$ac_res" != no
20579 then :
20580 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20586 printf %s "checking for library containing connect... " >&6; }
20587 if test ${ac_cv_search_connect+y}
20588 then :
20589 printf %s "(cached) " >&6
20590 else $as_nop
20591 ac_func_search_save_LIBS=$LIBS
20592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20593 /* end confdefs.h. */
20595 /* Override any GCC internal prototype to avoid an error.
20596 Use char because int might match the return type of a GCC
20597 builtin and then its argument prototype would still apply. */
20598 char connect ();
20600 main (void)
20602 return connect ();
20604 return 0;
20606 _ACEOF
20607 for ac_lib in '' socket
20609 if test -z "$ac_lib"; then
20610 ac_res="none required"
20611 else
20612 ac_res=-l$ac_lib
20613 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20615 if ac_fn_c_try_link "$LINENO"
20616 then :
20617 ac_cv_search_connect=$ac_res
20619 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20620 conftest$ac_exeext
20621 if test ${ac_cv_search_connect+y}
20622 then :
20623 break
20625 done
20626 if test ${ac_cv_search_connect+y}
20627 then :
20629 else $as_nop
20630 ac_cv_search_connect=no
20632 rm conftest.$ac_ext
20633 LIBS=$ac_func_search_save_LIBS
20635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20636 printf "%s\n" "$ac_cv_search_connect" >&6; }
20637 ac_res=$ac_cv_search_connect
20638 if test "$ac_res" != no
20639 then :
20640 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20646 printf %s "checking for library containing inet_aton... " >&6; }
20647 if test ${ac_cv_search_inet_aton+y}
20648 then :
20649 printf %s "(cached) " >&6
20650 else $as_nop
20651 ac_func_search_save_LIBS=$LIBS
20652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20653 /* end confdefs.h. */
20655 /* Override any GCC internal prototype to avoid an error.
20656 Use char because int might match the return type of a GCC
20657 builtin and then its argument prototype would still apply. */
20658 char inet_aton ();
20660 main (void)
20662 return inet_aton ();
20664 return 0;
20666 _ACEOF
20667 for ac_lib in '' resolv
20669 if test -z "$ac_lib"; then
20670 ac_res="none required"
20671 else
20672 ac_res=-l$ac_lib
20673 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20675 if ac_fn_c_try_link "$LINENO"
20676 then :
20677 ac_cv_search_inet_aton=$ac_res
20679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20680 conftest$ac_exeext
20681 if test ${ac_cv_search_inet_aton+y}
20682 then :
20683 break
20685 done
20686 if test ${ac_cv_search_inet_aton+y}
20687 then :
20689 else $as_nop
20690 ac_cv_search_inet_aton=no
20692 rm conftest.$ac_ext
20693 LIBS=$ac_func_search_save_LIBS
20695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20696 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20697 ac_res=$ac_cv_search_inet_aton
20698 if test "$ac_res" != no
20699 then :
20700 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20705 ac_save_CFLAGS="$CFLAGS"
20706 CFLAGS="$CFLAGS $BUILTINFLAG"
20707 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
20708 if test "x$ac_cv_func_dladdr1" = xyes
20709 then :
20710 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
20713 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
20714 if test "x$ac_cv_func_dlinfo" = xyes
20715 then :
20716 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
20719 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
20720 if test "x$ac_cv_func_epoll_create" = xyes
20721 then :
20722 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20725 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20726 if test "x$ac_cv_func_fstatfs" = xyes
20727 then :
20728 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20731 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
20732 if test "x$ac_cv_func_futimens" = xyes
20733 then :
20734 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20737 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
20738 if test "x$ac_cv_func_futimes" = xyes
20739 then :
20740 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20743 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
20744 if test "x$ac_cv_func_futimesat" = xyes
20745 then :
20746 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20749 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20750 if test "x$ac_cv_func_getaddrinfo" = xyes
20751 then :
20752 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20755 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20756 if test "x$ac_cv_func_getattrlist" = xyes
20757 then :
20758 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20761 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
20762 if test "x$ac_cv_func_getauxval" = xyes
20763 then :
20764 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20767 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20768 if test "x$ac_cv_func_getifaddrs" = xyes
20769 then :
20770 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20773 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
20774 if test "x$ac_cv_func_getrandom" = xyes
20775 then :
20776 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20779 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
20780 if test "x$ac_cv_func_kqueue" = xyes
20781 then :
20782 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20785 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20786 if test "x$ac_cv_func_mach_continuous_time" = xyes
20787 then :
20788 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20791 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20792 if test "x$ac_cv_func_pipe2" = xyes
20793 then :
20794 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20797 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20798 if test "x$ac_cv_func_port_create" = xyes
20799 then :
20800 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20803 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20804 if test "x$ac_cv_func_posix_fadvise" = xyes
20805 then :
20806 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20809 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20810 if test "x$ac_cv_func_posix_fallocate" = xyes
20811 then :
20812 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20815 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20816 if test "x$ac_cv_func_prctl" = xyes
20817 then :
20818 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20821 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20822 if test "x$ac_cv_func_proc_pidinfo" = xyes
20823 then :
20824 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20827 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20828 if test "x$ac_cv_func_sched_yield" = xyes
20829 then :
20830 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20833 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20834 if test "x$ac_cv_func_setproctitle" = xyes
20835 then :
20836 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20839 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20840 if test "x$ac_cv_func_setprogname" = xyes
20841 then :
20842 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20845 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20846 if test "x$ac_cv_func_sigprocmask" = xyes
20847 then :
20848 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20851 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20852 if test "x$ac_cv_func_sysinfo" = xyes
20853 then :
20854 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20857 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20858 if test "x$ac_cv_func_tcdrain" = xyes
20859 then :
20860 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20863 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20864 if test "x$ac_cv_func_thr_kill2" = xyes
20865 then :
20866 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20870 CFLAGS="$ac_save_CFLAGS"
20872 case $host_os in
20873 darwin*|macosx*) ;;
20874 *) ac_save_LIBS=$LIBS
20875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20876 printf %s "checking for library containing clock_gettime... " >&6; }
20877 if test ${ac_cv_search_clock_gettime+y}
20878 then :
20879 printf %s "(cached) " >&6
20880 else $as_nop
20881 ac_func_search_save_LIBS=$LIBS
20882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20883 /* end confdefs.h. */
20885 /* Override any GCC internal prototype to avoid an error.
20886 Use char because int might match the return type of a GCC
20887 builtin and then its argument prototype would still apply. */
20888 char clock_gettime ();
20890 main (void)
20892 return clock_gettime ();
20894 return 0;
20896 _ACEOF
20897 for ac_lib in '' rt
20899 if test -z "$ac_lib"; then
20900 ac_res="none required"
20901 else
20902 ac_res=-l$ac_lib
20903 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20905 if ac_fn_c_try_link "$LINENO"
20906 then :
20907 ac_cv_search_clock_gettime=$ac_res
20909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20910 conftest$ac_exeext
20911 if test ${ac_cv_search_clock_gettime+y}
20912 then :
20913 break
20915 done
20916 if test ${ac_cv_search_clock_gettime+y}
20917 then :
20919 else $as_nop
20920 ac_cv_search_clock_gettime=no
20922 rm conftest.$ac_ext
20923 LIBS=$ac_func_search_save_LIBS
20925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20926 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20927 ac_res=$ac_cv_search_clock_gettime
20928 if test "$ac_res" != no
20929 then :
20930 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20932 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20934 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20938 LIBS=$ac_save_LIBS
20940 esac
20942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20943 printf %s "checking for sched_setaffinity... " >&6; }
20944 if test ${wine_cv_have_sched_setaffinity+y}
20945 then :
20946 printf %s "(cached) " >&6
20947 else $as_nop
20948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20949 /* end confdefs.h. */
20950 #include <sched.h>
20952 main (void)
20954 sched_setaffinity(0, 0, 0);
20956 return 0;
20958 _ACEOF
20959 if ac_fn_c_try_link "$LINENO"
20960 then :
20961 wine_cv_have_sched_setaffinity=yes
20962 else $as_nop
20963 wine_cv_have_sched_setaffinity=no
20965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20966 conftest$ac_exeext conftest.$ac_ext
20968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20969 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20970 if test "$wine_cv_have_sched_setaffinity" = "yes"
20971 then
20973 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20979 printf %s "checking for inline... " >&6; }
20980 if test ${ac_cv_c_inline+y}
20981 then :
20982 printf %s "(cached) " >&6
20983 else $as_nop
20984 ac_cv_c_inline=no
20985 for ac_kw in inline __inline__ __inline; do
20986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20987 /* end confdefs.h. */
20988 #ifndef __cplusplus
20989 typedef int foo_t;
20990 static $ac_kw foo_t static_foo (void) {return 0; }
20991 $ac_kw foo_t foo (void) {return 0; }
20992 #endif
20994 _ACEOF
20995 if ac_fn_c_try_compile "$LINENO"
20996 then :
20997 ac_cv_c_inline=$ac_kw
20999 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21000 test "$ac_cv_c_inline" != no && break
21001 done
21004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
21005 printf "%s\n" "$ac_cv_c_inline" >&6; }
21007 case $ac_cv_c_inline in
21008 inline | yes) ;;
21010 case $ac_cv_c_inline in
21011 no) ac_val=;;
21012 *) ac_val=$ac_cv_c_inline;;
21013 esac
21014 cat >>confdefs.h <<_ACEOF
21015 #ifndef __cplusplus
21016 #define inline $ac_val
21017 #endif
21018 _ACEOF
21020 esac
21022 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
21024 if test "x$ac_cv_type_request_sense" = xyes
21025 then :
21027 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
21033 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
21034 #include <sys/socket.h>
21035 #ifdef HAVE_SYS_SOCKETVAR_H
21036 #include <sys/socketvar.h>
21037 #endif
21038 #ifdef HAVE_NET_ROUTE_H
21039 #include <net/route.h>
21040 #endif
21041 #ifdef HAVE_NETINET_IN_H
21042 #include <netinet/in.h>
21043 #endif
21044 #ifdef HAVE_NETINET_IN_SYSTM_H
21045 #include <netinet/in_systm.h>
21046 #endif
21047 #ifdef HAVE_NETINET_IP_H
21048 #include <netinet/ip.h>
21049 #endif
21050 #ifdef HAVE_NETINET_IN_PCB_H
21051 #include <netinet/in_pcb.h>
21052 #endif
21054 if test "x$ac_cv_type_struct_xinpgen" = xyes
21055 then :
21057 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
21063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
21064 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
21065 if test ${wine_cv_linux_gethostbyname_r_6+y}
21066 then :
21067 printf %s "(cached) " >&6
21068 else $as_nop
21069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21070 /* end confdefs.h. */
21071 #include <netdb.h>
21073 main (void)
21076 char *name=0;
21077 struct hostent he;
21078 struct hostent *result;
21079 char *buf=0;
21080 int bufsize=0;
21081 int errnr;
21082 char *addr=0;
21083 int addrlen=0;
21084 int addrtype=0;
21085 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
21086 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
21089 return 0;
21091 _ACEOF
21092 if ac_fn_c_try_link "$LINENO"
21093 then :
21094 wine_cv_linux_gethostbyname_r_6=yes
21095 else $as_nop
21096 wine_cv_linux_gethostbyname_r_6=no
21099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21100 conftest$ac_exeext conftest.$ac_ext
21103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
21104 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
21105 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
21106 then
21108 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
21112 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
21113 #include <sys/socket.h>
21114 #ifdef HAVE_SYS_UN_H
21115 # include <sys/un.h>
21116 #endif
21118 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
21119 then :
21121 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
21127 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
21128 #ifdef HAVE_SCSI_SG_H
21129 #include <scsi/sg.h>
21130 #endif
21132 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
21133 then :
21135 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
21139 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>
21140 #ifdef HAVE_SCSI_SG_H
21141 #include <scsi/sg.h>
21142 #endif
21144 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
21145 then :
21147 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
21153 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
21155 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
21156 then :
21158 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
21164 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
21165 #ifdef HAVE_SYS_MTIO_H
21166 #include <sys/mtio.h>
21167 #endif
21169 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
21170 then :
21172 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
21176 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
21177 #ifdef HAVE_SYS_MTIO_H
21178 #include <sys/mtio.h>
21179 #endif
21181 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
21182 then :
21184 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
21188 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
21189 #ifdef HAVE_SYS_MTIO_H
21190 #include <sys/mtio.h>
21191 #endif
21193 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
21194 then :
21196 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
21202 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
21203 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
21204 then :
21206 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
21210 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
21211 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
21212 then :
21214 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
21218 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
21219 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
21220 then :
21222 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
21226 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
21227 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
21228 then :
21230 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
21234 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
21235 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
21236 then :
21238 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
21242 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
21243 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
21244 then :
21246 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
21250 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
21251 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
21252 then :
21254 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
21258 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
21259 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
21260 then :
21262 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
21266 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
21267 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
21268 then :
21270 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
21274 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
21275 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
21276 then :
21278 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
21282 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
21283 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
21284 then :
21286 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
21292 ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#include <sys/types.h>
21293 #ifdef HAVE_NETINET_IN_H
21294 #include <netinet/in.h>
21295 #endif
21297 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
21298 then :
21300 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
21306 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
21307 #include <resolv.h>
21308 #endif
21310 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
21311 then :
21313 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
21319 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
21320 #include <netinet/in.h>
21321 #endif
21323 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
21324 then :
21326 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
21332 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
21333 #ifdef HAVE_SYS_SOCKETVAR_H
21334 #include <sys/socketvar.h>
21335 #endif
21336 #ifdef HAVE_NETINET_IN_H
21337 #include <netinet/in.h>
21338 #endif
21339 #ifdef HAVE_NETINET_IP_VAR_H
21340 #include <netinet/ip_var.h>
21341 #endif
21343 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
21344 then :
21346 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
21352 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
21353 #include <netinet/ip_var.h>
21354 #endif
21356 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
21357 then :
21359 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
21365 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
21366 #ifdef HAVE_SYS_SOCKETVAR_H
21367 #include <sys/socketvar.h>
21368 #endif
21369 #ifdef HAVE_NETINET_IN_H
21370 #include <netinet/in.h>
21371 #endif
21372 #ifdef HAVE_NETINET6_IP6_VAR_H
21373 #include <netinet6/ip6_var.h>
21374 #endif
21376 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
21377 then :
21379 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
21385 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
21386 #ifdef HAVE_SYS_SOCKETVAR_H
21387 #include <sys/socketvar.h>
21388 #endif
21389 #ifdef HAVE_NETINET_IN_H
21390 #include <netinet/in.h>
21391 #endif
21392 #ifdef HAVE_NETINET_IP_H
21393 #include <netinet/ip.h>
21394 #endif
21395 #ifdef HAVE_NETINET_IP_ICMP_H
21396 #include <netinet/ip_icmp.h>
21397 #endif
21398 #ifdef HAVE_NETINET_ICMP_VAR_H
21399 #include <netinet/icmp_var.h>
21400 #endif
21402 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
21403 then :
21405 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
21411 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
21412 #ifdef HAVE_SYS_SOCKETVAR_H
21413 #include <sys/socketvar.h>
21414 #endif
21415 #ifdef HAVE_NETINET_IN_H
21416 #include <netinet/in.h>
21417 #endif
21418 #ifdef HAVE_NETINET_ICMP6_H
21419 #include <netinet/icmp6.h>
21420 #endif
21422 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
21423 then :
21425 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
21431 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
21432 #ifdef HAVE_SYS_SOCKETVAR_H
21433 #include <sys/socketvar.h>
21434 #endif
21435 #ifdef HAVE_NETINET_IN_H
21436 #include <netinet/in.h>
21437 #endif
21438 #ifdef HAVE_NETINET_TCP_H
21439 #include <netinet/tcp.h>
21440 #endif
21441 #ifdef HAVE_NETINET_TCP_VAR_H
21442 #include <netinet/tcp_var.h>
21443 #endif
21445 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
21446 then :
21448 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
21454 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
21455 #include <netinet/tcp_var.h>
21456 #endif
21458 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
21459 then :
21461 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
21467 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
21468 #ifdef HAVE_NETINET_IN_H
21469 #include <netinet/in.h>
21470 #endif
21471 #ifdef HAVE_NETINET_IP_VAR_H
21472 #include <netinet/ip_var.h>
21473 #endif
21474 #ifdef HAVE_NETINET_UDP_H
21475 #include <netinet/udp.h>
21476 #endif
21477 #ifdef HAVE_NETINET_UDP_VAR_H
21478 #include <netinet/udp_var.h>
21479 #endif
21481 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
21482 then :
21484 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
21490 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
21491 #ifdef HAVE_NET_IF_H
21492 # include <net/if.h>
21493 #endif
21495 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
21496 then :
21498 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
21504 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
21505 # include <sys/sysinfo.h>
21506 #endif
21508 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
21509 then :
21511 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
21515 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
21516 # include <sys/sysinfo.h>
21517 #endif
21519 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
21520 then :
21522 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
21528 LIBS="$ac_save_LIBS"
21530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21531 printf %s "checking for __builtin_popcount... " >&6; }
21532 if test ${ac_cv_have___builtin_popcount+y}
21533 then :
21534 printf %s "(cached) " >&6
21535 else $as_nop
21536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21537 /* end confdefs.h. */
21540 main (void)
21542 return __builtin_popcount(1)
21544 return 0;
21546 _ACEOF
21547 if ac_fn_c_try_link "$LINENO"
21548 then :
21549 ac_cv_have___builtin_popcount="yes"
21550 else $as_nop
21551 ac_cv_have___builtin_popcount="no"
21553 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21554 conftest$ac_exeext conftest.$ac_ext
21556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21557 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21558 if test "$ac_cv_have___builtin_popcount" = "yes"
21559 then
21561 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21566 printf %s "checking for __clear_cache... " >&6; }
21567 if test ${ac_cv_have___clear_cache+y}
21568 then :
21569 printf %s "(cached) " >&6
21570 else $as_nop
21571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21572 /* end confdefs.h. */
21575 main (void)
21577 __clear_cache((void*)0, (void*)0); return 0;
21579 return 0;
21581 _ACEOF
21582 if ac_fn_c_try_link "$LINENO"
21583 then :
21584 ac_cv_have___clear_cache="yes"
21585 else $as_nop
21586 ac_cv_have___clear_cache="no"
21588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21589 conftest$ac_exeext conftest.$ac_ext
21591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21592 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21593 if test "$ac_cv_have___clear_cache" = "yes"
21594 then
21596 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21601 case $host_cpu in
21602 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21603 printf %s "checking whether we need to define __i386__... " >&6; }
21604 if test ${ac_cv_cpp_def___i386__+y}
21605 then :
21606 printf %s "(cached) " >&6
21607 else $as_nop
21608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21609 /* end confdefs.h. */
21610 #ifndef __i386__
21612 #endif
21613 _ACEOF
21614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21615 $EGREP "yes" >/dev/null 2>&1
21616 then :
21617 ac_cv_cpp_def___i386__=yes
21618 else $as_nop
21619 ac_cv_cpp_def___i386__=no
21621 rm -rf conftest*
21624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21625 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21626 if test "x$ac_cv_cpp_def___i386__" = xyes
21627 then :
21628 CFLAGS="$CFLAGS -D__i386__"
21629 LINTFLAGS="$LINTFLAGS -D__i386__"
21630 fi ;;
21631 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21632 printf %s "checking whether we need to define __x86_64__... " >&6; }
21633 if test ${ac_cv_cpp_def___x86_64__+y}
21634 then :
21635 printf %s "(cached) " >&6
21636 else $as_nop
21637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21638 /* end confdefs.h. */
21639 #ifndef __x86_64__
21641 #endif
21642 _ACEOF
21643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21644 $EGREP "yes" >/dev/null 2>&1
21645 then :
21646 ac_cv_cpp_def___x86_64__=yes
21647 else $as_nop
21648 ac_cv_cpp_def___x86_64__=no
21650 rm -rf conftest*
21653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21654 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21655 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21656 then :
21657 CFLAGS="$CFLAGS -D__x86_64__"
21658 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21659 fi ;;
21660 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21661 printf %s "checking whether we need to define __sparc64__... " >&6; }
21662 if test ${ac_cv_cpp_def___sparc64__+y}
21663 then :
21664 printf %s "(cached) " >&6
21665 else $as_nop
21666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21667 /* end confdefs.h. */
21668 #ifndef __sparc64__
21670 #endif
21671 _ACEOF
21672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21673 $EGREP "yes" >/dev/null 2>&1
21674 then :
21675 ac_cv_cpp_def___sparc64__=yes
21676 else $as_nop
21677 ac_cv_cpp_def___sparc64__=no
21679 rm -rf conftest*
21682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21683 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21684 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21685 then :
21686 CFLAGS="$CFLAGS -D__sparc64__"
21687 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21688 fi ;;
21689 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21690 printf %s "checking whether we need to define __sparc__... " >&6; }
21691 if test ${ac_cv_cpp_def___sparc__+y}
21692 then :
21693 printf %s "(cached) " >&6
21694 else $as_nop
21695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21696 /* end confdefs.h. */
21697 #ifndef __sparc__
21699 #endif
21700 _ACEOF
21701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21702 $EGREP "yes" >/dev/null 2>&1
21703 then :
21704 ac_cv_cpp_def___sparc__=yes
21705 else $as_nop
21706 ac_cv_cpp_def___sparc__=no
21708 rm -rf conftest*
21711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21712 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21713 if test "x$ac_cv_cpp_def___sparc__" = xyes
21714 then :
21715 CFLAGS="$CFLAGS -D__sparc__"
21716 LINTFLAGS="$LINTFLAGS -D__sparc__"
21717 fi ;;
21718 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21719 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21720 if test ${ac_cv_cpp_def___powerpc64__+y}
21721 then :
21722 printf %s "(cached) " >&6
21723 else $as_nop
21724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21725 /* end confdefs.h. */
21726 #ifndef __powerpc64__
21728 #endif
21729 _ACEOF
21730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21731 $EGREP "yes" >/dev/null 2>&1
21732 then :
21733 ac_cv_cpp_def___powerpc64__=yes
21734 else $as_nop
21735 ac_cv_cpp_def___powerpc64__=no
21737 rm -rf conftest*
21740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21741 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21742 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21743 then :
21744 CFLAGS="$CFLAGS -D__powerpc64__"
21745 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21746 fi ;;
21747 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21748 printf %s "checking whether we need to define __powerpc__... " >&6; }
21749 if test ${ac_cv_cpp_def___powerpc__+y}
21750 then :
21751 printf %s "(cached) " >&6
21752 else $as_nop
21753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21754 /* end confdefs.h. */
21755 #ifndef __powerpc__
21757 #endif
21758 _ACEOF
21759 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21760 $EGREP "yes" >/dev/null 2>&1
21761 then :
21762 ac_cv_cpp_def___powerpc__=yes
21763 else $as_nop
21764 ac_cv_cpp_def___powerpc__=no
21766 rm -rf conftest*
21769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21770 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21771 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21772 then :
21773 CFLAGS="$CFLAGS -D__powerpc__"
21774 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21775 fi ;;
21776 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21777 printf %s "checking whether we need to define __aarch64__... " >&6; }
21778 if test ${ac_cv_cpp_def___aarch64__+y}
21779 then :
21780 printf %s "(cached) " >&6
21781 else $as_nop
21782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21783 /* end confdefs.h. */
21784 #ifndef __aarch64__
21786 #endif
21787 _ACEOF
21788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21789 $EGREP "yes" >/dev/null 2>&1
21790 then :
21791 ac_cv_cpp_def___aarch64__=yes
21792 else $as_nop
21793 ac_cv_cpp_def___aarch64__=no
21795 rm -rf conftest*
21798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21799 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21800 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21801 then :
21802 CFLAGS="$CFLAGS -D__aarch64__"
21803 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21804 fi ;;
21805 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21806 printf %s "checking whether we need to define __arm__... " >&6; }
21807 if test ${ac_cv_cpp_def___arm__+y}
21808 then :
21809 printf %s "(cached) " >&6
21810 else $as_nop
21811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21812 /* end confdefs.h. */
21813 #ifndef __arm__
21815 #endif
21816 _ACEOF
21817 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21818 $EGREP "yes" >/dev/null 2>&1
21819 then :
21820 ac_cv_cpp_def___arm__=yes
21821 else $as_nop
21822 ac_cv_cpp_def___arm__=no
21824 rm -rf conftest*
21827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21828 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21829 if test "x$ac_cv_cpp_def___arm__" = xyes
21830 then :
21831 CFLAGS="$CFLAGS -D__arm__"
21832 LINTFLAGS="$LINTFLAGS -D__arm__"
21833 fi ;;
21834 esac
21836 case $host_vendor in
21837 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21838 printf %s "checking whether we need to define __sun__... " >&6; }
21839 if test ${ac_cv_cpp_def___sun__+y}
21840 then :
21841 printf %s "(cached) " >&6
21842 else $as_nop
21843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21844 /* end confdefs.h. */
21845 #ifndef __sun__
21847 #endif
21848 _ACEOF
21849 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21850 $EGREP "yes" >/dev/null 2>&1
21851 then :
21852 ac_cv_cpp_def___sun__=yes
21853 else $as_nop
21854 ac_cv_cpp_def___sun__=no
21856 rm -rf conftest*
21859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21860 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21861 if test "x$ac_cv_cpp_def___sun__" = xyes
21862 then :
21863 CFLAGS="$CFLAGS -D__sun__"
21864 LINTFLAGS="$LINTFLAGS -D__sun__"
21865 fi ;;
21866 esac
21869 enable_win16=${enable_win16:-i386}
21870 enable_vcruntime140_1=${enable_vcruntime140_1:-x86_64,arm64ec}
21872 if test -n "$PE_ARCHS"
21873 then
21874 enable_wow64=${enable_wow64:-aarch64,x86_64}
21875 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
21876 enable_wow64cpu=${enable_wow64cpu:-x86_64}
21877 else
21878 enable_wow64=${enable_wow64:-no}
21879 enable_wow64win=${enable_wow64win:-no}
21880 enable_wow64cpu=${enable_wow64cpu:-no}
21883 enable_cmd=${enable_cmd:-yes}
21884 enable_dllhost=${enable_dllhost:-yes}
21885 enable_dpnsvr=${enable_dpnsvr:-i386,x86_64,arm64ec}
21886 enable_dxdiag=${enable_dxdiag:-yes}
21887 enable_msiexec=${enable_msiexec:-yes}
21888 enable_netsh=${enable_netsh:-yes}
21889 enable_regsvr32=${enable_regsvr32:-yes}
21890 enable_rundll32=${enable_rundll32:-yes}
21892 enable_winetest=${enable_winetest:-$enable_tests}
21898 ac_config_commands="$ac_config_commands include/stamp-h"
21900 printf %s "creating Makefile rules..." >&6
21902 makedep_flags=""
21903 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21905 wine_srcdir=
21906 test "$srcdir" = . || wine_srcdir="$srcdir/"
21908 ac_config_links="$ac_config_links wine:tools/winewrapper"
21909 wine_fn_config_symlink wine
21910 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21911 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21912 wine_fn_config_symlink wine64
21915 wine_fn_config_makefile dlls/acledit enable_acledit
21916 wine_fn_config_makefile dlls/aclui enable_aclui
21917 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21918 wine_fn_config_makefile dlls/activeds enable_activeds
21919 wine_fn_config_makefile dlls/activeds/tests enable_tests
21920 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21921 wine_fn_config_makefile dlls/adsldp enable_adsldp
21922 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21923 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21924 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21925 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21926 wine_fn_config_makefile dlls/advpack enable_advpack
21927 wine_fn_config_makefile dlls/advpack/tests enable_tests
21928 wine_fn_config_makefile dlls/amsi enable_amsi
21929 wine_fn_config_makefile dlls/amstream enable_amstream
21930 wine_fn_config_makefile dlls/amstream/tests enable_tests
21931 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21932 wine_fn_config_makefile dlls/apphelp enable_apphelp
21933 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21934 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21935 wine_fn_config_makefile dlls/appxdeploymentclient enable_appxdeploymentclient
21936 wine_fn_config_makefile dlls/atl enable_atl
21937 wine_fn_config_makefile dlls/atl/tests enable_tests
21938 wine_fn_config_makefile dlls/atl100 enable_atl100
21939 wine_fn_config_makefile dlls/atl100/tests enable_tests
21940 wine_fn_config_makefile dlls/atl110 enable_atl110
21941 wine_fn_config_makefile dlls/atl110/tests enable_tests
21942 wine_fn_config_makefile dlls/atl80 enable_atl80
21943 wine_fn_config_makefile dlls/atl80/tests enable_tests
21944 wine_fn_config_makefile dlls/atl90 enable_atl90
21945 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21946 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21947 wine_fn_config_makefile dlls/atmlib enable_atmlib
21948 wine_fn_config_makefile dlls/authz enable_authz
21949 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21950 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21951 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21952 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21953 wine_fn_config_makefile dlls/avrt enable_avrt
21954 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21955 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21956 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21957 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21958 wine_fn_config_makefile dlls/browseui enable_browseui
21959 wine_fn_config_makefile dlls/browseui/tests enable_tests
21960 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21961 wine_fn_config_makefile dlls/cabinet enable_cabinet
21962 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21963 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21964 wine_fn_config_makefile dlls/cards enable_cards
21965 wine_fn_config_makefile dlls/cdosys enable_cdosys
21966 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21967 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21968 wine_fn_config_makefile dlls/clusapi enable_clusapi
21969 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21970 wine_fn_config_makefile dlls/combase enable_combase
21971 wine_fn_config_makefile dlls/combase/tests enable_tests
21972 wine_fn_config_makefile dlls/comcat enable_comcat
21973 wine_fn_config_makefile dlls/comcat/tests enable_tests
21974 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21975 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21976 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21977 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21978 wine_fn_config_makefile dlls/coml2 enable_coml2
21979 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21980 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21981 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21982 wine_fn_config_makefile dlls/compstui enable_compstui
21983 wine_fn_config_makefile dlls/compstui/tests enable_tests
21984 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21985 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21986 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21987 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21988 wine_fn_config_makefile dlls/connect enable_connect
21989 wine_fn_config_makefile dlls/coremessaging enable_coremessaging
21990 wine_fn_config_makefile dlls/credui enable_credui
21991 wine_fn_config_makefile dlls/credui/tests enable_tests
21992 wine_fn_config_makefile dlls/crtdll enable_crtdll
21993 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21994 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21995 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21996 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21997 wine_fn_config_makefile dlls/cryptext enable_cryptext
21998 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21999 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
22000 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
22001 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
22002 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
22003 wine_fn_config_makefile dlls/cryptui enable_cryptui
22004 wine_fn_config_makefile dlls/cryptui/tests enable_tests
22005 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
22006 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
22007 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
22008 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
22009 wine_fn_config_makefile dlls/d2d1 enable_d2d1
22010 wine_fn_config_makefile dlls/d2d1/tests enable_tests
22011 wine_fn_config_makefile dlls/d3d10 enable_d3d10
22012 wine_fn_config_makefile dlls/d3d10/tests enable_tests
22013 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
22014 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
22015 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
22016 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
22017 wine_fn_config_makefile dlls/d3d11 enable_d3d11
22018 wine_fn_config_makefile dlls/d3d11/tests enable_tests
22019 wine_fn_config_makefile dlls/d3d12 enable_d3d12
22020 wine_fn_config_makefile dlls/d3d12/tests enable_tests
22021 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
22022 wine_fn_config_makefile dlls/d3d8 enable_d3d8
22023 wine_fn_config_makefile dlls/d3d8/tests enable_tests
22024 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
22025 wine_fn_config_makefile dlls/d3d9 enable_d3d9
22026 wine_fn_config_makefile dlls/d3d9/tests enable_tests
22027 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
22028 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
22029 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
22030 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
22031 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
22032 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
22033 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
22034 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
22035 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
22036 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
22037 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
22038 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
22039 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
22040 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
22041 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
22042 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
22043 wine_fn_config_makefile dlls/d3dim enable_d3dim
22044 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
22045 wine_fn_config_makefile dlls/d3drm enable_d3drm
22046 wine_fn_config_makefile dlls/d3drm/tests enable_tests
22047 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
22048 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
22049 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
22050 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
22051 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
22052 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
22053 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
22054 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
22055 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
22056 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
22057 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
22058 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
22059 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
22060 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
22061 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
22062 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
22063 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
22064 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
22065 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
22066 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
22067 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
22068 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
22069 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
22070 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
22071 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
22072 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
22073 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
22074 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
22075 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
22076 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
22077 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
22078 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
22079 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
22080 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
22081 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
22082 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
22083 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
22084 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
22085 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
22086 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
22087 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
22088 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
22089 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
22090 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
22091 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
22092 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
22093 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
22094 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
22095 wine_fn_config_makefile dlls/davclnt enable_davclnt
22096 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
22097 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
22098 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
22099 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
22100 wine_fn_config_makefile dlls/dciman32 enable_dciman32
22101 wine_fn_config_makefile dlls/dcomp enable_dcomp
22102 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
22103 wine_fn_config_makefile dlls/ddraw enable_ddraw
22104 wine_fn_config_makefile dlls/ddraw/tests enable_tests
22105 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
22106 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
22107 wine_fn_config_makefile dlls/devenum enable_devenum
22108 wine_fn_config_makefile dlls/devenum/tests enable_tests
22109 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
22110 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
22111 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
22112 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
22113 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
22114 wine_fn_config_makefile dlls/difxapi enable_difxapi
22115 wine_fn_config_makefile dlls/dinput enable_dinput
22116 wine_fn_config_makefile dlls/dinput/tests enable_tests
22117 wine_fn_config_makefile dlls/dinput8 enable_dinput8
22118 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
22119 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
22120 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
22121 wine_fn_config_makefile dlls/dispex enable_dispex
22122 wine_fn_config_makefile dlls/dispex/tests enable_tests
22123 wine_fn_config_makefile dlls/display.drv16 enable_win16
22124 wine_fn_config_makefile dlls/dmband enable_dmband
22125 wine_fn_config_makefile dlls/dmband/tests enable_tests
22126 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
22127 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
22128 wine_fn_config_makefile dlls/dmime enable_dmime
22129 wine_fn_config_makefile dlls/dmime/tests enable_tests
22130 wine_fn_config_makefile dlls/dmloader enable_dmloader
22131 wine_fn_config_makefile dlls/dmloader/tests enable_tests
22132 wine_fn_config_makefile dlls/dmscript enable_dmscript
22133 wine_fn_config_makefile dlls/dmscript/tests enable_tests
22134 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
22135 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
22136 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
22137 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
22138 wine_fn_config_makefile dlls/dmusic enable_dmusic
22139 wine_fn_config_makefile dlls/dmusic/tests enable_tests
22140 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
22141 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
22142 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
22143 wine_fn_config_makefile dlls/dplay enable_dplay
22144 wine_fn_config_makefile dlls/dplayx enable_dplayx
22145 wine_fn_config_makefile dlls/dplayx/tests enable_tests
22146 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
22147 wine_fn_config_makefile dlls/dpnet enable_dpnet
22148 wine_fn_config_makefile dlls/dpnet/tests enable_tests
22149 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
22150 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
22151 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
22152 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
22153 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
22154 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
22155 wine_fn_config_makefile dlls/drmclien enable_drmclien
22156 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
22157 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
22158 wine_fn_config_makefile dlls/dsound enable_dsound
22159 wine_fn_config_makefile dlls/dsound/tests enable_tests
22160 wine_fn_config_makefile dlls/dsquery enable_dsquery
22161 wine_fn_config_makefile dlls/dssenh enable_dssenh
22162 wine_fn_config_makefile dlls/dssenh/tests enable_tests
22163 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
22164 wine_fn_config_makefile dlls/dswave enable_dswave
22165 wine_fn_config_makefile dlls/dswave/tests enable_tests
22166 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
22167 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
22168 wine_fn_config_makefile dlls/dwrite enable_dwrite
22169 wine_fn_config_makefile dlls/dwrite/tests enable_tests
22170 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
22171 wine_fn_config_makefile dlls/dxcore enable_dxcore
22172 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
22173 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
22174 wine_fn_config_makefile dlls/dxgi enable_dxgi
22175 wine_fn_config_makefile dlls/dxgi/tests enable_tests
22176 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
22177 wine_fn_config_makefile dlls/dxva2 enable_dxva2
22178 wine_fn_config_makefile dlls/dxva2/tests enable_tests
22179 wine_fn_config_makefile dlls/esent enable_esent
22180 wine_fn_config_makefile dlls/evr enable_evr
22181 wine_fn_config_makefile dlls/evr/tests enable_tests
22182 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
22183 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
22184 wine_fn_config_makefile dlls/faultrep enable_faultrep
22185 wine_fn_config_makefile dlls/faultrep/tests enable_tests
22186 wine_fn_config_makefile dlls/feclient enable_feclient
22187 wine_fn_config_makefile dlls/fltlib enable_fltlib
22188 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
22189 wine_fn_config_makefile dlls/fntcache enable_fntcache
22190 wine_fn_config_makefile dlls/fontsub enable_fontsub
22191 wine_fn_config_makefile dlls/fusion enable_fusion
22192 wine_fn_config_makefile dlls/fusion/tests enable_tests
22193 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
22194 wine_fn_config_makefile dlls/gameux enable_gameux
22195 wine_fn_config_makefile dlls/gameux/tests enable_tests
22196 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
22197 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
22198 wine_fn_config_makefile dlls/gdi32 enable_gdi32
22199 wine_fn_config_makefile dlls/gdi32/tests enable_tests
22200 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
22201 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
22202 wine_fn_config_makefile dlls/geolocation enable_geolocation
22203 wine_fn_config_makefile dlls/geolocation/tests enable_tests
22204 wine_fn_config_makefile dlls/glu32 enable_glu32
22205 wine_fn_config_makefile dlls/glu32/tests enable_tests
22206 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
22207 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
22208 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
22209 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
22210 wine_fn_config_makefile dlls/hal enable_hal
22211 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
22212 wine_fn_config_makefile dlls/hid enable_hid
22213 wine_fn_config_makefile dlls/hid/tests enable_tests
22214 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
22215 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
22216 wine_fn_config_makefile dlls/hlink enable_hlink
22217 wine_fn_config_makefile dlls/hlink/tests enable_tests
22218 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
22219 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
22220 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
22221 wine_fn_config_makefile dlls/http.sys enable_http_sys
22222 wine_fn_config_makefile dlls/httpapi enable_httpapi
22223 wine_fn_config_makefile dlls/httpapi/tests enable_tests
22224 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
22225 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
22226 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
22227 wine_fn_config_makefile dlls/iccvid enable_iccvid
22228 wine_fn_config_makefile dlls/icmp enable_icmp
22229 wine_fn_config_makefile dlls/ieframe enable_ieframe
22230 wine_fn_config_makefile dlls/ieframe/tests enable_tests
22231 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
22232 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
22233 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
22234 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
22235 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
22236 wine_fn_config_makefile dlls/imm.dll16 enable_win16
22237 wine_fn_config_makefile dlls/imm32 enable_imm32
22238 wine_fn_config_makefile dlls/imm32/tests enable_tests
22239 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
22240 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
22241 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
22242 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
22243 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
22244 wine_fn_config_makefile dlls/infosoft enable_infosoft
22245 wine_fn_config_makefile dlls/infosoft/tests enable_tests
22246 wine_fn_config_makefile dlls/initpki enable_initpki
22247 wine_fn_config_makefile dlls/inkobj enable_inkobj
22248 wine_fn_config_makefile dlls/inseng enable_inseng
22249 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
22250 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
22251 wine_fn_config_makefile dlls/iprop enable_iprop
22252 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
22253 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
22254 wine_fn_config_makefile dlls/itircl enable_itircl
22255 wine_fn_config_makefile dlls/itss enable_itss
22256 wine_fn_config_makefile dlls/itss/tests enable_tests
22257 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
22258 wine_fn_config_makefile dlls/jscript enable_jscript
22259 wine_fn_config_makefile dlls/jscript/tests enable_tests
22260 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
22261 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
22262 wine_fn_config_makefile dlls/kerberos enable_kerberos
22263 wine_fn_config_makefile dlls/kernel32 enable_kernel32
22264 wine_fn_config_makefile dlls/kernel32/tests enable_tests
22265 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
22266 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
22267 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
22268 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
22269 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
22270 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
22271 wine_fn_config_makefile dlls/ksuser enable_ksuser
22272 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
22273 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
22274 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
22275 wine_fn_config_makefile dlls/loadperf enable_loadperf
22276 wine_fn_config_makefile dlls/localspl enable_localspl
22277 wine_fn_config_makefile dlls/localspl/tests enable_tests
22278 wine_fn_config_makefile dlls/localui enable_localui
22279 wine_fn_config_makefile dlls/localui/tests enable_tests
22280 wine_fn_config_makefile dlls/lz32 enable_lz32
22281 wine_fn_config_makefile dlls/lz32/tests enable_tests
22282 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
22283 wine_fn_config_makefile dlls/magnification enable_magnification
22284 wine_fn_config_makefile dlls/mapi32 enable_mapi32
22285 wine_fn_config_makefile dlls/mapi32/tests enable_tests
22286 wine_fn_config_makefile dlls/mapistub enable_mapistub
22287 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
22288 wine_fn_config_makefile dlls/mcicda enable_mcicda
22289 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
22290 wine_fn_config_makefile dlls/mciseq enable_mciseq
22291 wine_fn_config_makefile dlls/mciwave enable_mciwave
22292 wine_fn_config_makefile dlls/mf enable_mf
22293 wine_fn_config_makefile dlls/mf/tests enable_tests
22294 wine_fn_config_makefile dlls/mf3216 enable_mf3216
22295 wine_fn_config_makefile dlls/mferror enable_mferror
22296 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
22297 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
22298 wine_fn_config_makefile dlls/mfplat enable_mfplat
22299 wine_fn_config_makefile dlls/mfplat/tests enable_tests
22300 wine_fn_config_makefile dlls/mfplay enable_mfplay
22301 wine_fn_config_makefile dlls/mfplay/tests enable_tests
22302 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
22303 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
22304 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
22305 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
22306 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
22307 wine_fn_config_makefile dlls/midimap enable_midimap
22308 wine_fn_config_makefile dlls/mlang enable_mlang
22309 wine_fn_config_makefile dlls/mlang/tests enable_tests
22310 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
22311 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
22312 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
22313 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
22314 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
22315 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
22316 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
22317 wine_fn_config_makefile dlls/mouhid.sys enable_mouhid_sys
22318 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
22319 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
22320 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
22321 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
22322 wine_fn_config_makefile dlls/mpr enable_mpr
22323 wine_fn_config_makefile dlls/mpr/tests enable_tests
22324 wine_fn_config_makefile dlls/mprapi enable_mprapi
22325 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
22326 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
22327 wine_fn_config_makefile dlls/msacm32 enable_msacm32
22328 wine_fn_config_makefile dlls/msacm32/tests enable_tests
22329 wine_fn_config_makefile dlls/msado15 enable_msado15
22330 wine_fn_config_makefile dlls/msado15/tests enable_tests
22331 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
22332 wine_fn_config_makefile dlls/msasn1 enable_msasn1
22333 wine_fn_config_makefile dlls/msasn1/tests enable_tests
22334 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
22335 wine_fn_config_makefile dlls/mscat32 enable_mscat32
22336 wine_fn_config_makefile dlls/mscms enable_mscms
22337 wine_fn_config_makefile dlls/mscms/tests enable_tests
22338 wine_fn_config_makefile dlls/mscoree enable_mscoree
22339 wine_fn_config_makefile dlls/mscoree/tests enable_tests
22340 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
22341 wine_fn_config_makefile dlls/msctf enable_msctf
22342 wine_fn_config_makefile dlls/msctf/tests enable_tests
22343 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
22344 wine_fn_config_makefile dlls/msctfp enable_msctfp
22345 wine_fn_config_makefile dlls/msdaps enable_msdaps
22346 wine_fn_config_makefile dlls/msdasql enable_msdasql
22347 wine_fn_config_makefile dlls/msdasql/tests enable_tests
22348 wine_fn_config_makefile dlls/msdelta enable_msdelta
22349 wine_fn_config_makefile dlls/msdmo enable_msdmo
22350 wine_fn_config_makefile dlls/msdmo/tests enable_tests
22351 wine_fn_config_makefile dlls/msdrm enable_msdrm
22352 wine_fn_config_makefile dlls/msftedit enable_msftedit
22353 wine_fn_config_makefile dlls/msftedit/tests enable_tests
22354 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
22355 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
22356 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
22357 wine_fn_config_makefile dlls/mshtml enable_mshtml
22358 wine_fn_config_makefile dlls/mshtml/tests enable_tests
22359 wine_fn_config_makefile dlls/msi enable_msi
22360 wine_fn_config_makefile dlls/msi/tests enable_tests
22361 wine_fn_config_makefile dlls/msident enable_msident
22362 wine_fn_config_makefile dlls/msimg32 enable_msimg32
22363 wine_fn_config_makefile dlls/msimsg enable_msimsg
22364 wine_fn_config_makefile dlls/msimtf enable_msimtf
22365 wine_fn_config_makefile dlls/msisip enable_msisip
22366 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
22367 wine_fn_config_makefile dlls/msls31 enable_msls31
22368 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
22369 wine_fn_config_makefile dlls/msnet32 enable_msnet32
22370 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
22371 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
22372 wine_fn_config_makefile dlls/msports enable_msports
22373 wine_fn_config_makefile dlls/msrle32 enable_msrle32
22374 wine_fn_config_makefile dlls/msrle32/tests enable_tests
22375 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
22376 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
22377 wine_fn_config_makefile dlls/mssign32 enable_mssign32
22378 wine_fn_config_makefile dlls/mssip32 enable_mssip32
22379 wine_fn_config_makefile dlls/mstask enable_mstask
22380 wine_fn_config_makefile dlls/mstask/tests enable_tests
22381 wine_fn_config_makefile dlls/msttsengine enable_msttsengine
22382 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
22383 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
22384 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
22385 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
22386 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
22387 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
22388 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
22389 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
22390 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
22391 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
22392 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
22393 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
22394 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
22395 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
22396 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
22397 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
22398 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
22399 wine_fn_config_makefile dlls/msvcp140_2/tests enable_tests
22400 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
22401 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
22402 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
22403 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
22404 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
22405 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
22406 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
22407 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
22408 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
22409 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
22410 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
22411 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
22412 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
22413 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
22414 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
22415 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
22416 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
22417 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
22418 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
22419 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
22420 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
22421 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
22422 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
22423 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
22424 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
22425 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
22426 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
22427 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
22428 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
22429 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
22430 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
22431 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
22432 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
22433 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
22434 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
22435 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
22436 wine_fn_config_makefile dlls/mswsock enable_mswsock
22437 wine_fn_config_makefile dlls/msxml enable_msxml
22438 wine_fn_config_makefile dlls/msxml2 enable_msxml2
22439 wine_fn_config_makefile dlls/msxml3 enable_msxml3
22440 wine_fn_config_makefile dlls/msxml3/tests enable_tests
22441 wine_fn_config_makefile dlls/msxml4 enable_msxml4
22442 wine_fn_config_makefile dlls/msxml4/tests enable_tests
22443 wine_fn_config_makefile dlls/msxml6 enable_msxml6
22444 wine_fn_config_makefile dlls/msxml6/tests enable_tests
22445 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
22446 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
22447 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
22448 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
22449 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
22450 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
22451 wine_fn_config_makefile dlls/netapi32 enable_netapi32
22452 wine_fn_config_makefile dlls/netapi32/tests enable_tests
22453 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
22454 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
22455 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
22456 wine_fn_config_makefile dlls/netprofm enable_netprofm
22457 wine_fn_config_makefile dlls/netprofm/tests enable_tests
22458 wine_fn_config_makefile dlls/netutils enable_netutils
22459 wine_fn_config_makefile dlls/newdev enable_newdev
22460 wine_fn_config_makefile dlls/ninput enable_ninput
22461 wine_fn_config_makefile dlls/ninput/tests enable_tests
22462 wine_fn_config_makefile dlls/normaliz enable_normaliz
22463 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
22464 wine_fn_config_makefile dlls/npptools enable_npptools
22465 wine_fn_config_makefile dlls/nsi enable_nsi
22466 wine_fn_config_makefile dlls/nsi/tests enable_tests
22467 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
22468 wine_fn_config_makefile dlls/ntdll enable_ntdll
22469 wine_fn_config_makefile dlls/ntdll/tests enable_tests
22470 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
22471 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
22472 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
22473 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
22474 wine_fn_config_makefile dlls/ntprint enable_ntprint
22475 wine_fn_config_makefile dlls/ntprint/tests enable_tests
22476 wine_fn_config_makefile dlls/objsel enable_objsel
22477 wine_fn_config_makefile dlls/odbc32 enable_odbc32
22478 wine_fn_config_makefile dlls/odbc32/tests enable_tests
22479 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
22480 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
22481 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
22482 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
22483 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
22484 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
22485 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
22486 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
22487 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
22488 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
22489 wine_fn_config_makefile dlls/ole32 enable_ole32
22490 wine_fn_config_makefile dlls/ole32/tests enable_tests
22491 wine_fn_config_makefile dlls/oleacc enable_oleacc
22492 wine_fn_config_makefile dlls/oleacc/tests enable_tests
22493 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
22494 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
22495 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
22496 wine_fn_config_makefile dlls/olecli32 enable_olecli32
22497 wine_fn_config_makefile dlls/oledb32 enable_oledb32
22498 wine_fn_config_makefile dlls/oledb32/tests enable_tests
22499 wine_fn_config_makefile dlls/oledlg enable_oledlg
22500 wine_fn_config_makefile dlls/oledlg/tests enable_tests
22501 wine_fn_config_makefile dlls/olepro32 enable_olepro32
22502 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
22503 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
22504 wine_fn_config_makefile dlls/olethk32 enable_olethk32
22505 wine_fn_config_makefile dlls/opcservices enable_opcservices
22506 wine_fn_config_makefile dlls/opcservices/tests enable_tests
22507 wine_fn_config_makefile dlls/opencl enable_opencl
22508 wine_fn_config_makefile dlls/opengl32 enable_opengl32
22509 wine_fn_config_makefile dlls/opengl32/tests enable_tests
22510 wine_fn_config_makefile dlls/packager enable_packager
22511 wine_fn_config_makefile dlls/packager/tests enable_tests
22512 wine_fn_config_makefile dlls/pdh enable_pdh
22513 wine_fn_config_makefile dlls/pdh/tests enable_tests
22514 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
22515 wine_fn_config_makefile dlls/pidgen enable_pidgen
22516 wine_fn_config_makefile dlls/powrprof enable_powrprof
22517 wine_fn_config_makefile dlls/printui enable_printui
22518 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
22519 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
22520 wine_fn_config_makefile dlls/propsys enable_propsys
22521 wine_fn_config_makefile dlls/propsys/tests enable_tests
22522 wine_fn_config_makefile dlls/psapi enable_psapi
22523 wine_fn_config_makefile dlls/psapi/tests enable_tests
22524 wine_fn_config_makefile dlls/pstorec enable_pstorec
22525 wine_fn_config_makefile dlls/pstorec/tests enable_tests
22526 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
22527 wine_fn_config_makefile dlls/qasf enable_qasf
22528 wine_fn_config_makefile dlls/qasf/tests enable_tests
22529 wine_fn_config_makefile dlls/qcap enable_qcap
22530 wine_fn_config_makefile dlls/qcap/tests enable_tests
22531 wine_fn_config_makefile dlls/qdvd enable_qdvd
22532 wine_fn_config_makefile dlls/qdvd/tests enable_tests
22533 wine_fn_config_makefile dlls/qedit enable_qedit
22534 wine_fn_config_makefile dlls/qedit/tests enable_tests
22535 wine_fn_config_makefile dlls/qmgr enable_qmgr
22536 wine_fn_config_makefile dlls/qmgr/tests enable_tests
22537 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
22538 wine_fn_config_makefile dlls/quartz enable_quartz
22539 wine_fn_config_makefile dlls/quartz/tests enable_tests
22540 wine_fn_config_makefile dlls/query enable_query
22541 wine_fn_config_makefile dlls/qwave enable_qwave
22542 wine_fn_config_makefile dlls/qwave/tests enable_tests
22543 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
22544 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
22545 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
22546 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
22547 wine_fn_config_makefile dlls/regapi enable_regapi
22548 wine_fn_config_makefile dlls/resutils enable_resutils
22549 wine_fn_config_makefile dlls/riched20 enable_riched20
22550 wine_fn_config_makefile dlls/riched20/tests enable_tests
22551 wine_fn_config_makefile dlls/riched32 enable_riched32
22552 wine_fn_config_makefile dlls/riched32/tests enable_tests
22553 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
22554 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
22555 wine_fn_config_makefile dlls/rsabase enable_rsabase
22556 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
22557 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
22558 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
22559 wine_fn_config_makefile dlls/rtutils enable_rtutils
22560 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
22561 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
22562 wine_fn_config_makefile dlls/samlib enable_samlib
22563 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
22564 wine_fn_config_makefile dlls/sapi enable_sapi
22565 wine_fn_config_makefile dlls/sapi/tests enable_tests
22566 wine_fn_config_makefile dlls/sas enable_sas
22567 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
22568 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
22569 wine_fn_config_makefile dlls/sccbase enable_sccbase
22570 wine_fn_config_makefile dlls/schannel enable_schannel
22571 wine_fn_config_makefile dlls/schannel/tests enable_tests
22572 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
22573 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
22574 wine_fn_config_makefile dlls/scrobj enable_scrobj
22575 wine_fn_config_makefile dlls/scrobj/tests enable_tests
22576 wine_fn_config_makefile dlls/scrrun enable_scrrun
22577 wine_fn_config_makefile dlls/scrrun/tests enable_tests
22578 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
22579 wine_fn_config_makefile dlls/sechost enable_sechost
22580 wine_fn_config_makefile dlls/secur32 enable_secur32
22581 wine_fn_config_makefile dlls/secur32/tests enable_tests
22582 wine_fn_config_makefile dlls/security enable_security
22583 wine_fn_config_makefile dlls/sensapi enable_sensapi
22584 wine_fn_config_makefile dlls/serialui enable_serialui
22585 wine_fn_config_makefile dlls/serialui/tests enable_tests
22586 wine_fn_config_makefile dlls/setupapi enable_setupapi
22587 wine_fn_config_makefile dlls/setupapi/tests enable_tests
22588 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
22589 wine_fn_config_makefile dlls/sfc enable_sfc
22590 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
22591 wine_fn_config_makefile dlls/shcore enable_shcore
22592 wine_fn_config_makefile dlls/shcore/tests enable_tests
22593 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
22594 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
22595 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
22596 wine_fn_config_makefile dlls/shell.dll16 enable_win16
22597 wine_fn_config_makefile dlls/shell32 enable_shell32
22598 wine_fn_config_makefile dlls/shell32/tests enable_tests
22599 wine_fn_config_makefile dlls/shfolder enable_shfolder
22600 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
22601 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
22602 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
22603 wine_fn_config_makefile dlls/slc enable_slc
22604 wine_fn_config_makefile dlls/slc/tests enable_tests
22605 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
22606 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
22607 wine_fn_config_makefile dlls/softpub enable_softpub
22608 wine_fn_config_makefile dlls/sound.drv16 enable_win16
22609 wine_fn_config_makefile dlls/spoolss enable_spoolss
22610 wine_fn_config_makefile dlls/spoolss/tests enable_tests
22611 wine_fn_config_makefile dlls/sppc enable_sppc
22612 wine_fn_config_makefile dlls/srclient enable_srclient
22613 wine_fn_config_makefile dlls/srvcli enable_srvcli
22614 wine_fn_config_makefile dlls/srvsvc enable_srvsvc
22615 wine_fn_config_makefile dlls/sspicli enable_sspicli
22616 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
22617 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22618 wine_fn_config_makefile dlls/sti enable_sti
22619 wine_fn_config_makefile dlls/sti/tests enable_tests
22620 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22621 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22622 wine_fn_config_makefile dlls/strmdll enable_strmdll
22623 wine_fn_config_makefile dlls/svrapi enable_svrapi
22624 wine_fn_config_makefile dlls/sxs enable_sxs
22625 wine_fn_config_makefile dlls/sxs/tests enable_tests
22626 wine_fn_config_makefile dlls/system.drv16 enable_win16
22627 wine_fn_config_makefile dlls/t2embed enable_t2embed
22628 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22629 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22630 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22631 wine_fn_config_makefile dlls/taskschd enable_taskschd
22632 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22633 wine_fn_config_makefile dlls/tbs enable_tbs
22634 wine_fn_config_makefile dlls/tdh enable_tdh
22635 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22636 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
22637 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
22638 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22639 wine_fn_config_makefile dlls/traffic enable_traffic
22640 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22641 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22642 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22643 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
22644 wine_fn_config_makefile dlls/twinapi.appcore/tests enable_tests
22645 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22646 wine_fn_config_makefile dlls/tzres enable_tzres
22647 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22648 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22649 wine_fn_config_makefile dlls/uianimation enable_uianimation
22650 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22651 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22652 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22653 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22654 wine_fn_config_makefile dlls/unicows enable_unicows
22655 wine_fn_config_makefile dlls/updspapi enable_updspapi
22656 wine_fn_config_makefile dlls/url enable_url
22657 wine_fn_config_makefile dlls/urlmon enable_urlmon
22658 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22659 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22660 wine_fn_config_makefile dlls/user.exe16 enable_win16
22661 wine_fn_config_makefile dlls/user32 enable_user32
22662 wine_fn_config_makefile dlls/user32/tests enable_tests
22663 wine_fn_config_makefile dlls/userenv enable_userenv
22664 wine_fn_config_makefile dlls/userenv/tests enable_tests
22665 wine_fn_config_makefile dlls/usp10 enable_usp10
22666 wine_fn_config_makefile dlls/usp10/tests enable_tests
22667 wine_fn_config_makefile dlls/utildll enable_utildll
22668 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22669 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22670 wine_fn_config_makefile dlls/vbscript enable_vbscript
22671 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22672 wine_fn_config_makefile dlls/vcomp enable_vcomp
22673 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22674 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22675 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22676 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22677 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22678 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22679 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22680 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22681 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22682 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22683 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22684 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22685 wine_fn_config_makefile dlls/version enable_version
22686 wine_fn_config_makefile dlls/version/tests enable_tests
22687 wine_fn_config_makefile dlls/vga enable_vga
22688 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22689 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22690 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22691 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22692 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22693 wine_fn_config_makefile dlls/vssapi enable_vssapi
22694 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22695 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22696 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22697 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22698 wine_fn_config_makefile dlls/w32skrnl enable_win16
22699 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22700 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22701 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22702 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22703 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22704 wine_fn_config_makefile dlls/wdscore enable_wdscore
22705 wine_fn_config_makefile dlls/webservices enable_webservices
22706 wine_fn_config_makefile dlls/webservices/tests enable_tests
22707 wine_fn_config_makefile dlls/websocket enable_websocket
22708 wine_fn_config_makefile dlls/wer enable_wer
22709 wine_fn_config_makefile dlls/wer/tests enable_tests
22710 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22711 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22712 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22713 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22714 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22715 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22716 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22717 wine_fn_config_makefile dlls/win32u enable_win32u
22718 wine_fn_config_makefile dlls/win32u/tests enable_tests
22719 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22720 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22721 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22722 wine_fn_config_makefile dlls/windows.applicationmodel enable_windows_applicationmodel
22723 wine_fn_config_makefile dlls/windows.applicationmodel/tests enable_tests
22724 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
22725 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
22726 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22727 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
22728 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
22729 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
22730 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22731 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22732 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22733 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
22734 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22735 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22736 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22737 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22738 wine_fn_config_makefile dlls/windows.media.mediacontrol enable_windows_media_mediacontrol
22739 wine_fn_config_makefile dlls/windows.media.mediacontrol/tests enable_tests
22740 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22741 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22742 wine_fn_config_makefile dlls/windows.media enable_windows_media
22743 wine_fn_config_makefile dlls/windows.media/tests enable_tests
22744 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
22745 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
22746 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
22747 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
22748 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
22749 wine_fn_config_makefile dlls/windows.security.authentication.onlineid enable_windows_security_authentication_onlineid
22750 wine_fn_config_makefile dlls/windows.security.authentication.onlineid/tests enable_tests
22751 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
22752 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier/tests enable_tests
22753 wine_fn_config_makefile dlls/windows.storage.applicationdata enable_windows_storage_applicationdata
22754 wine_fn_config_makefile dlls/windows.storage.applicationdata/tests enable_tests
22755 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
22756 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
22757 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
22758 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
22759 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22760 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22761 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22762 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22763 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22764 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22765 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22766 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22767 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22768 wine_fn_config_makefile dlls/wined3d enable_wined3d
22769 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22770 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22771 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22772 wine_fn_config_makefile dlls/winemapi enable_winemapi
22773 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22774 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22775 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22776 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22777 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22778 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22779 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
22780 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22781 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22782 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22783 wine_fn_config_makefile dlls/wing32 enable_wing32
22784 wine_fn_config_makefile dlls/wing32/tests enable_tests
22785 wine_fn_config_makefile dlls/winhttp enable_winhttp
22786 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22787 wine_fn_config_makefile dlls/wininet enable_wininet
22788 wine_fn_config_makefile dlls/wininet/tests enable_tests
22789 wine_fn_config_makefile dlls/winmm enable_winmm
22790 wine_fn_config_makefile dlls/winmm/tests enable_tests
22791 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22792 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22793 wine_fn_config_makefile dlls/winprint enable_winprint
22794 wine_fn_config_makefile dlls/winscard enable_winscard
22795 wine_fn_config_makefile dlls/winscard/tests enable_tests
22796 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22797 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22798 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22799 wine_fn_config_makefile dlls/winsta enable_winsta
22800 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22801 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22802 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22803 wine_fn_config_makefile dlls/wintrust enable_wintrust
22804 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22805 wine_fn_config_makefile dlls/wintypes enable_wintypes
22806 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22807 wine_fn_config_makefile dlls/winusb enable_winusb
22808 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22809 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22810 wine_fn_config_makefile dlls/wlanui enable_wlanui
22811 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22812 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22813 wine_fn_config_makefile dlls/wldp enable_wldp
22814 wine_fn_config_makefile dlls/wldp/tests enable_tests
22815 wine_fn_config_makefile dlls/wmasf enable_wmasf
22816 wine_fn_config_makefile dlls/wmi enable_wmi
22817 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22818 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22819 wine_fn_config_makefile dlls/wmp enable_wmp
22820 wine_fn_config_makefile dlls/wmp/tests enable_tests
22821 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22822 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22823 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22824 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22825 wine_fn_config_makefile dlls/wofutil enable_wofutil
22826 wine_fn_config_makefile dlls/wow32 enable_win16
22827 wine_fn_config_makefile dlls/wow64 enable_wow64
22828 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22829 wine_fn_config_makefile dlls/wow64win enable_wow64win
22830 wine_fn_config_makefile dlls/wpc enable_wpc
22831 wine_fn_config_makefile dlls/wpc/tests enable_tests
22832 wine_fn_config_makefile dlls/wpcap enable_wpcap
22833 wine_fn_config_makefile dlls/wpcap/tests enable_tests
22834 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22835 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22836 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22837 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22838 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22839 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22840 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22841 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22842 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22843 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22844 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22845 wine_fn_config_makefile dlls/wuapi enable_wuapi
22846 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22847 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22848 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22849 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22850 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22851 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22852 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22853 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22854 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22855 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22856 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22857 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22858 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22859 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22860 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22861 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22862 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22863 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22864 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22865 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22866 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22867 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22868 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22869 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22870 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22871 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22872 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22873 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22874 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22875 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22876 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22877 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22878 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22879 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22880 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22881 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22882 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22883 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22884 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22885 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22886 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22887 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22888 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22889 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22890 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22891 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22892 wine_fn_config_makefile dlls/xmllite enable_xmllite
22893 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22894 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22895 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22896 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22897 wine_fn_config_makefile fonts enable_fonts
22898 wine_fn_config_makefile include enable_include
22899 wine_fn_config_makefile libs/adsiid enable_adsiid
22900 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22901 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22902 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22903 wine_fn_config_makefile libs/dxguid enable_dxguid
22904 wine_fn_config_makefile libs/faudio enable_faudio
22905 wine_fn_config_makefile libs/fluidsynth enable_fluidsynth
22906 wine_fn_config_makefile libs/gsm enable_gsm
22907 wine_fn_config_makefile libs/jpeg enable_jpeg
22908 wine_fn_config_makefile libs/jxr enable_jxr
22909 wine_fn_config_makefile libs/lcms2 enable_lcms2
22910 wine_fn_config_makefile libs/ldap enable_ldap
22911 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22912 wine_fn_config_makefile libs/mpg123 enable_mpg123
22913 wine_fn_config_makefile libs/musl enable_musl
22914 wine_fn_config_makefile libs/png enable_png
22915 wine_fn_config_makefile libs/strmbase enable_strmbase
22916 wine_fn_config_makefile libs/strmiids enable_strmiids
22917 wine_fn_config_makefile libs/tiff enable_tiff
22918 wine_fn_config_makefile libs/uuid enable_uuid
22919 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22920 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22921 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22922 wine_fn_config_makefile libs/xml2 enable_xml2
22923 wine_fn_config_makefile libs/xslt enable_xslt
22924 wine_fn_config_makefile libs/zlib enable_zlib
22925 wine_fn_config_makefile libs/zydis enable_zydis
22926 wine_fn_config_makefile loader enable_loader
22927 wine_fn_config_makefile nls enable_nls
22928 wine_fn_config_makefile po enable_po
22929 wine_fn_config_makefile programs/arp enable_arp
22930 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22931 wine_fn_config_makefile programs/attrib enable_attrib
22932 wine_fn_config_makefile programs/cabarc enable_cabarc
22933 wine_fn_config_makefile programs/cacls enable_cacls
22934 wine_fn_config_makefile programs/certutil enable_certutil
22935 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22936 wine_fn_config_makefile programs/clock enable_clock
22937 wine_fn_config_makefile programs/cmd enable_cmd
22938 wine_fn_config_makefile programs/cmd/tests enable_tests
22939 wine_fn_config_makefile programs/conhost enable_conhost
22940 wine_fn_config_makefile programs/conhost/tests enable_tests
22941 wine_fn_config_makefile programs/control enable_control
22942 wine_fn_config_makefile programs/cscript enable_cscript
22943 wine_fn_config_makefile programs/dism enable_dism
22944 wine_fn_config_makefile programs/dllhost enable_dllhost
22945 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22946 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22947 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22948 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22949 wine_fn_config_makefile programs/eject enable_eject
22950 wine_fn_config_makefile programs/expand enable_expand
22951 wine_fn_config_makefile programs/explorer enable_explorer
22952 wine_fn_config_makefile programs/explorer/tests enable_tests
22953 wine_fn_config_makefile programs/extrac32 enable_extrac32
22954 wine_fn_config_makefile programs/fc enable_fc
22955 wine_fn_config_makefile programs/find enable_find
22956 wine_fn_config_makefile programs/find/tests enable_tests
22957 wine_fn_config_makefile programs/findstr enable_findstr
22958 wine_fn_config_makefile programs/findstr/tests enable_tests
22959 wine_fn_config_makefile programs/fsutil enable_fsutil
22960 wine_fn_config_makefile programs/fsutil/tests enable_tests
22961 wine_fn_config_makefile programs/hh enable_hh
22962 wine_fn_config_makefile programs/hostname enable_hostname
22963 wine_fn_config_makefile programs/icacls enable_icacls
22964 wine_fn_config_makefile programs/icinfo enable_icinfo
22965 wine_fn_config_makefile programs/iexplore enable_iexplore
22966 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22967 wine_fn_config_makefile programs/klist enable_klist
22968 wine_fn_config_makefile programs/lodctr enable_lodctr
22969 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22970 wine_fn_config_makefile programs/mshta enable_mshta
22971 wine_fn_config_makefile programs/msidb enable_msidb
22972 wine_fn_config_makefile programs/msiexec enable_msiexec
22973 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22974 wine_fn_config_makefile programs/net enable_net
22975 wine_fn_config_makefile programs/netsh enable_netsh
22976 wine_fn_config_makefile programs/netstat enable_netstat
22977 wine_fn_config_makefile programs/ngen enable_ngen
22978 wine_fn_config_makefile programs/notepad enable_notepad
22979 wine_fn_config_makefile programs/oleview enable_oleview
22980 wine_fn_config_makefile programs/ping enable_ping
22981 wine_fn_config_makefile programs/plugplay enable_plugplay
22982 wine_fn_config_makefile programs/pnputil enable_pnputil
22983 wine_fn_config_makefile programs/powershell enable_powershell
22984 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22985 wine_fn_config_makefile programs/progman enable_progman
22986 wine_fn_config_makefile programs/reg enable_reg
22987 wine_fn_config_makefile programs/reg/tests enable_tests
22988 wine_fn_config_makefile programs/regasm enable_regasm
22989 wine_fn_config_makefile programs/regedit enable_regedit
22990 wine_fn_config_makefile programs/regedit/tests enable_tests
22991 wine_fn_config_makefile programs/regini enable_regini
22992 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22993 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22994 wine_fn_config_makefile programs/robocopy enable_robocopy
22995 wine_fn_config_makefile programs/rpcss enable_rpcss
22996 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22997 wine_fn_config_makefile programs/rundll32 enable_rundll32
22998 wine_fn_config_makefile programs/sc enable_sc
22999 wine_fn_config_makefile programs/sc/tests enable_tests
23000 wine_fn_config_makefile programs/schtasks enable_schtasks
23001 wine_fn_config_makefile programs/schtasks/tests enable_tests
23002 wine_fn_config_makefile programs/sdbinst enable_sdbinst
23003 wine_fn_config_makefile programs/secedit enable_secedit
23004 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
23005 wine_fn_config_makefile programs/services enable_services
23006 wine_fn_config_makefile programs/services/tests enable_tests
23007 wine_fn_config_makefile programs/setx enable_setx
23008 wine_fn_config_makefile programs/shutdown enable_shutdown
23009 wine_fn_config_makefile programs/spoolsv enable_spoolsv
23010 wine_fn_config_makefile programs/start enable_start
23011 wine_fn_config_makefile programs/subst enable_subst
23012 wine_fn_config_makefile programs/svchost enable_svchost
23013 wine_fn_config_makefile programs/systeminfo enable_systeminfo
23014 wine_fn_config_makefile programs/taskkill enable_taskkill
23015 wine_fn_config_makefile programs/tasklist enable_tasklist
23016 wine_fn_config_makefile programs/tasklist/tests enable_tests
23017 wine_fn_config_makefile programs/taskmgr enable_taskmgr
23018 wine_fn_config_makefile programs/termsv enable_termsv
23019 wine_fn_config_makefile programs/uninstaller enable_uninstaller
23020 wine_fn_config_makefile programs/unlodctr enable_unlodctr
23021 wine_fn_config_makefile programs/view enable_view
23022 wine_fn_config_makefile programs/wevtutil enable_wevtutil
23023 wine_fn_config_makefile programs/where enable_where
23024 wine_fn_config_makefile programs/whoami enable_whoami
23025 wine_fn_config_makefile programs/wineboot enable_wineboot
23026 wine_fn_config_makefile programs/winebrowser enable_winebrowser
23027 wine_fn_config_makefile programs/winecfg enable_winecfg
23028 wine_fn_config_makefile programs/wineconsole enable_wineconsole
23029 wine_fn_config_makefile programs/winedbg enable_winedbg
23030 wine_fn_config_makefile programs/winedevice enable_winedevice
23031 wine_fn_config_makefile programs/winefile enable_winefile
23032 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
23033 wine_fn_config_makefile programs/winemine enable_winemine
23034 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
23035 wine_fn_config_makefile programs/winepath enable_winepath
23036 wine_fn_config_makefile programs/winetest enable_winetest
23037 wine_fn_config_makefile programs/winevdm enable_win16
23038 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
23039 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
23040 wine_fn_config_makefile programs/winmgmt enable_winmgmt
23041 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
23042 wine_fn_config_makefile programs/winver enable_winver
23043 wine_fn_config_makefile programs/wmic enable_wmic
23044 wine_fn_config_makefile programs/wmplayer enable_wmplayer
23045 wine_fn_config_makefile programs/wordpad enable_wordpad
23046 wine_fn_config_makefile programs/write enable_write
23047 wine_fn_config_makefile programs/wscript enable_wscript
23048 wine_fn_config_makefile programs/wscript/tests enable_tests
23049 wine_fn_config_makefile programs/wuauserv enable_wuauserv
23050 wine_fn_config_makefile programs/wusa enable_wusa
23051 wine_fn_config_makefile programs/xcopy enable_xcopy
23052 wine_fn_config_makefile programs/xcopy/tests enable_tests
23053 wine_fn_config_makefile server enable_server
23054 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
23055 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
23056 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
23057 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
23058 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
23059 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
23060 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
23061 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
23062 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
23065 as_fn_append CONFIGURE_TARGETS " TAGS"
23066 as_fn_append CONFIGURE_TARGETS " tags"
23067 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
23068 as_fn_append CONFIGURE_TARGETS " config.log"
23069 as_fn_append CONFIGURE_TARGETS " config.status"
23070 as_fn_append CONFIGURE_TARGETS " include/config.h"
23071 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
23072 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
23074 if test "x$enable_tools" != xno
23075 then
23076 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
23077 ac_config_commands="$ac_config_commands tools/makedep"
23081 ac_config_commands="$ac_config_commands Makefile"
23085 SHELL=/bin/sh
23088 as_fn_append wine_rules "
23089 all: wine
23090 @echo \"Wine build complete.\"
23091 .INIT: Makefile
23092 .MAKEFILEDEPS:
23093 all: Makefile
23094 Makefile: config.status \$(MAKEDEP)
23095 @./config.status Makefile
23096 depend: \$(MAKEDEP)
23097 \$(MAKEDEP)$makedep_flags"
23100 as_fn_append wine_rules "
23101 config.status: ${wine_srcdir}configure
23102 @./config.status --recheck
23103 include/config.h: include/stamp-h
23104 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
23105 @./config.status include/config.h include/stamp-h"
23107 if test "x$enable_maintainer_mode" = xyes
23108 then
23109 as_fn_append wine_rules "
23110 configure: configure.ac aclocal.m4
23111 autoconf --warnings=all
23112 include/config.h.in: include/stamp-h.in
23113 include/stamp-h.in: configure.ac aclocal.m4
23114 autoheader --warnings=all
23115 @echo timestamp > \$@"
23118 if test "x$enable_tools" != xno
23119 then
23120 as_fn_append wine_rules "
23121 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
23122 @./config.status tools/makedep
23123 Makefile: tools/makedep$ac_exeext"
23124 else
23125 as_fn_append wine_rules "
23126 \$(MAKEDEP):
23127 @echo \"You need to run make in $toolsdir first\" && false"
23131 if test -n "$with_wine64"
23132 then
23133 case "$with_wine64" in
23134 /*) reldir="" ;;
23135 *) reldir="../" ;;
23136 esac
23137 rm -f fonts server 2>/dev/null
23138 as_fn_append wine_rules "
23139 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
23140 loader/wine64 loader/wine64-preloader:
23141 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
23142 $with_wine64/loader/wine:
23143 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
23144 $with_wine64/loader/wine-preloader:
23145 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
23146 clean::
23147 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
23148 else
23149 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
23150 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
23151 fonts \
23152 loader/wine.inf \
23153 nls \
23154 programs/msidb/msidb \
23155 programs/msiexec/msiexec \
23156 programs/notepad/notepad \
23157 programs/regedit/regedit \
23158 programs/regsvr32/regsvr32 \
23159 programs/wineboot/wineboot \
23160 programs/winecfg/winecfg \
23161 programs/wineconsole/wineconsole \
23162 programs/winedbg/winedbg \
23163 programs/winefile/winefile \
23164 programs/winemine/winemine \
23165 programs/winepath/winepath \
23166 server/wineserver"
23168 case $host_os in
23169 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
23170 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
23171 esac
23175 as_fn_append wine_rules "
23176 distclean:: clean
23177 rm -rf autom4te.cache
23178 maintainer-clean::
23179 rm -f configure include/config.h.in"
23182 as_fn_append wine_rules "
23183 dlls/ntdll/unix/version.c: dummy
23184 @version=\`(GIT_DIR=${wine_srcdir}.git git describe HEAD 2>/dev/null || echo \"wine-\$(PACKAGE_VERSION)\") | sed -n -e '\$\$s/\(.*\)/const char wine_build[] = \"\\1\";/p'\` && (echo \$\$version | cmp -s - \$@) || echo \$\$version >\$@ || (rm -f \$@ && exit 1)
23185 programs/winetest/build.rc: dummy
23186 @build=\"STRINGTABLE { 1 \\\"\`GIT_DIR=${wine_srcdir}.git git rev-parse HEAD 2>/dev/null\`\\\" }\" && (echo \$\$build | cmp -s - \$@) || echo \$\$build >\$@ || (rm -f \$@ && exit 1)
23187 programs/winetest/build.nfo:
23188 @-\$(CC) -v 2>\$@
23189 dlls/wineandroid.drv/wine-debug.apk: dlls/wineandroid.drv/build.gradle ${wine_srcdir}dlls/wineandroid.drv/AndroidManifest.xml ${wine_srcdir}dlls/wineandroid.drv/WineActivity.java ${wine_srcdir}dlls/wineandroid.drv/wine.svg
23190 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
23191 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
23194 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
23196 as_fn_append wine_rules "
23197 TAGS etags:
23198 rm -f TAGS
23199 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
23200 tags ctags:
23201 rm -f tags
23202 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
23203 dummy:
23204 .PHONY: depend dummy install-manpages"
23206 printf "%s\n" " done" >&6
23207 cat >confcache <<\_ACEOF
23208 # This file is a shell script that caches the results of configure
23209 # tests run on this system so they can be shared between configure
23210 # scripts and configure runs, see configure's option --config-cache.
23211 # It is not useful on other systems. If it contains results you don't
23212 # want to keep, you may remove or edit it.
23214 # config.status only pays attention to the cache file if you give it
23215 # the --recheck option to rerun configure.
23217 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23218 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23219 # following values.
23221 _ACEOF
23223 # The following way of writing the cache mishandles newlines in values,
23224 # but we know of no workaround that is simple, portable, and efficient.
23225 # So, we kill variables containing newlines.
23226 # Ultrix sh set writes to stderr and can't be redirected directly,
23227 # and sets the high bit in the cache file unless we assign to the vars.
23229 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23230 eval ac_val=\$$ac_var
23231 case $ac_val in #(
23232 *${as_nl}*)
23233 case $ac_var in #(
23234 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
23235 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23236 esac
23237 case $ac_var in #(
23238 _ | IFS | as_nl) ;; #(
23239 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
23240 *) { eval $ac_var=; unset $ac_var;} ;;
23241 esac ;;
23242 esac
23243 done
23245 (set) 2>&1 |
23246 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23247 *${as_nl}ac_space=\ *)
23248 # `set' does not quote correctly, so add quotes: double-quote
23249 # substitution turns \\\\ into \\, and sed turns \\ into \.
23250 sed -n \
23251 "s/'/'\\\\''/g;
23252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23253 ;; #(
23255 # `set' quotes correctly as required by POSIX, so do not add quotes.
23256 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23258 esac |
23259 sort
23261 sed '
23262 /^ac_cv_env_/b end
23263 t clear
23264 :clear
23265 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
23266 t end
23267 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23268 :end' >>confcache
23269 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23270 if test -w "$cache_file"; then
23271 if test "x$cache_file" != "x/dev/null"; then
23272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
23273 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
23274 if test ! -f "$cache_file" || test -h "$cache_file"; then
23275 cat confcache >"$cache_file"
23276 else
23277 case $cache_file in #(
23278 */* | ?:*)
23279 mv -f confcache "$cache_file"$$ &&
23280 mv -f "$cache_file"$$ "$cache_file" ;; #(
23282 mv -f confcache "$cache_file" ;;
23283 esac
23286 else
23287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23288 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
23291 rm -f confcache
23293 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23294 # Let make expand exec_prefix.
23295 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23297 DEFS=-DHAVE_CONFIG_H
23299 ac_libobjs=
23300 ac_ltlibobjs=
23302 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23303 # 1. Remove the extension, and $U if already installed.
23304 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23305 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
23306 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23307 # will be set to the directory where LIBOBJS objects are built.
23308 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23309 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
23310 done
23311 LIBOBJS=$ac_libobjs
23313 LTLIBOBJS=$ac_ltlibobjs
23317 : "${CONFIG_STATUS=./config.status}"
23318 ac_write_fail=0
23319 ac_clean_files_save=$ac_clean_files
23320 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23322 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
23323 as_write_fail=0
23324 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23325 #! $SHELL
23326 # Generated by $as_me.
23327 # Run this file to recreate the current configuration.
23328 # Compiler output produced by configure, useful for debugging
23329 # configure, is in config.log if it exists.
23331 debug=false
23332 ac_cs_recheck=false
23333 ac_cs_silent=false
23335 SHELL=\${CONFIG_SHELL-$SHELL}
23336 export SHELL
23337 _ASEOF
23338 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23339 ## -------------------- ##
23340 ## M4sh Initialization. ##
23341 ## -------------------- ##
23343 # Be more Bourne compatible
23344 DUALCASE=1; export DUALCASE # for MKS sh
23345 as_nop=:
23346 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
23347 then :
23348 emulate sh
23349 NULLCMD=:
23350 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23351 # is contrary to our usage. Disable this feature.
23352 alias -g '${1+"$@"}'='"$@"'
23353 setopt NO_GLOB_SUBST
23354 else $as_nop
23355 case `(set -o) 2>/dev/null` in #(
23356 *posix*) :
23357 set -o posix ;; #(
23358 *) :
23360 esac
23365 # Reset variables that may have inherited troublesome values from
23366 # the environment.
23368 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23369 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23370 # side effect of setting IFS to empty, thus disabling word splitting.)
23371 # Quoting is to prevent editors from complaining about space-tab.
23372 as_nl='
23374 export as_nl
23375 IFS=" "" $as_nl"
23377 PS1='$ '
23378 PS2='> '
23379 PS4='+ '
23381 # Ensure predictable behavior from utilities with locale-dependent output.
23382 LC_ALL=C
23383 export LC_ALL
23384 LANGUAGE=C
23385 export LANGUAGE
23387 # We cannot yet rely on "unset" to work, but we need these variables
23388 # to be unset--not just set to an empty or harmless value--now, to
23389 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23390 # also avoids known problems related to "unset" and subshell syntax
23391 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23392 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
23393 do eval test \${$as_var+y} \
23394 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23395 done
23397 # Ensure that fds 0, 1, and 2 are open.
23398 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
23399 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
23400 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
23402 # The user is always right.
23403 if ${PATH_SEPARATOR+false} :; then
23404 PATH_SEPARATOR=:
23405 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23406 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23407 PATH_SEPARATOR=';'
23412 # Find who we are. Look in the path if we contain no directory separator.
23413 as_myself=
23414 case $0 in #((
23415 *[\\/]* ) as_myself=$0 ;;
23416 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23417 for as_dir in $PATH
23419 IFS=$as_save_IFS
23420 case $as_dir in #(((
23421 '') as_dir=./ ;;
23422 */) ;;
23423 *) as_dir=$as_dir/ ;;
23424 esac
23425 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
23426 done
23427 IFS=$as_save_IFS
23430 esac
23431 # We did not find ourselves, most probably we were run as `sh COMMAND'
23432 # in which case we are not to be found in the path.
23433 if test "x$as_myself" = x; then
23434 as_myself=$0
23436 if test ! -f "$as_myself"; then
23437 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23438 exit 1
23443 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23444 # ----------------------------------------
23445 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23446 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23447 # script with STATUS, using 1 if that was 0.
23448 as_fn_error ()
23450 as_status=$1; test $as_status -eq 0 && as_status=1
23451 if test "$4"; then
23452 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23453 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23455 printf "%s\n" "$as_me: error: $2" >&2
23456 as_fn_exit $as_status
23457 } # as_fn_error
23461 # as_fn_set_status STATUS
23462 # -----------------------
23463 # Set $? to STATUS, without forking.
23464 as_fn_set_status ()
23466 return $1
23467 } # as_fn_set_status
23469 # as_fn_exit STATUS
23470 # -----------------
23471 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23472 as_fn_exit ()
23474 set +e
23475 as_fn_set_status $1
23476 exit $1
23477 } # as_fn_exit
23479 # as_fn_unset VAR
23480 # ---------------
23481 # Portably unset VAR.
23482 as_fn_unset ()
23484 { eval $1=; unset $1;}
23486 as_unset=as_fn_unset
23488 # as_fn_append VAR VALUE
23489 # ----------------------
23490 # Append the text in VALUE to the end of the definition contained in VAR. Take
23491 # advantage of any shell optimizations that allow amortized linear growth over
23492 # repeated appends, instead of the typical quadratic growth present in naive
23493 # implementations.
23494 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
23495 then :
23496 eval 'as_fn_append ()
23498 eval $1+=\$2
23500 else $as_nop
23501 as_fn_append ()
23503 eval $1=\$$1\$2
23505 fi # as_fn_append
23507 # as_fn_arith ARG...
23508 # ------------------
23509 # Perform arithmetic evaluation on the ARGs, and store the result in the
23510 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23511 # must be portable across $(()) and expr.
23512 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
23513 then :
23514 eval 'as_fn_arith ()
23516 as_val=$(( $* ))
23518 else $as_nop
23519 as_fn_arith ()
23521 as_val=`expr "$@" || test $? -eq 1`
23523 fi # as_fn_arith
23526 if expr a : '\(a\)' >/dev/null 2>&1 &&
23527 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23528 as_expr=expr
23529 else
23530 as_expr=false
23533 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23534 as_basename=basename
23535 else
23536 as_basename=false
23539 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23540 as_dirname=dirname
23541 else
23542 as_dirname=false
23545 as_me=`$as_basename -- "$0" ||
23546 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23547 X"$0" : 'X\(//\)$' \| \
23548 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23549 printf "%s\n" X/"$0" |
23550 sed '/^.*\/\([^/][^/]*\)\/*$/{
23551 s//\1/
23554 /^X\/\(\/\/\)$/{
23555 s//\1/
23558 /^X\/\(\/\).*/{
23559 s//\1/
23562 s/.*/./; q'`
23564 # Avoid depending upon Character Ranges.
23565 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23566 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23567 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23568 as_cr_digits='0123456789'
23569 as_cr_alnum=$as_cr_Letters$as_cr_digits
23572 # Determine whether it's possible to make 'echo' print without a newline.
23573 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23574 # for compatibility with existing Makefiles.
23575 ECHO_C= ECHO_N= ECHO_T=
23576 case `echo -n x` in #(((((
23577 -n*)
23578 case `echo 'xy\c'` in
23579 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23580 xy) ECHO_C='\c';;
23581 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23582 ECHO_T=' ';;
23583 esac;;
23585 ECHO_N='-n';;
23586 esac
23588 # For backward compatibility with old third-party macros, we provide
23589 # the shell variables $as_echo and $as_echo_n. New code should use
23590 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23591 as_echo='printf %s\n'
23592 as_echo_n='printf %s'
23594 rm -f conf$$ conf$$.exe conf$$.file
23595 if test -d conf$$.dir; then
23596 rm -f conf$$.dir/conf$$.file
23597 else
23598 rm -f conf$$.dir
23599 mkdir conf$$.dir 2>/dev/null
23601 if (echo >conf$$.file) 2>/dev/null; then
23602 if ln -s conf$$.file conf$$ 2>/dev/null; then
23603 as_ln_s='ln -s'
23604 # ... but there are two gotchas:
23605 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23606 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23607 # In both cases, we have to default to `cp -pR'.
23608 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23609 as_ln_s='cp -pR'
23610 elif ln conf$$.file conf$$ 2>/dev/null; then
23611 as_ln_s=ln
23612 else
23613 as_ln_s='cp -pR'
23615 else
23616 as_ln_s='cp -pR'
23618 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23619 rmdir conf$$.dir 2>/dev/null
23622 # as_fn_mkdir_p
23623 # -------------
23624 # Create "$as_dir" as a directory, including parents if necessary.
23625 as_fn_mkdir_p ()
23628 case $as_dir in #(
23629 -*) as_dir=./$as_dir;;
23630 esac
23631 test -d "$as_dir" || eval $as_mkdir_p || {
23632 as_dirs=
23633 while :; do
23634 case $as_dir in #(
23635 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23636 *) as_qdir=$as_dir;;
23637 esac
23638 as_dirs="'$as_qdir' $as_dirs"
23639 as_dir=`$as_dirname -- "$as_dir" ||
23640 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23641 X"$as_dir" : 'X\(//\)[^/]' \| \
23642 X"$as_dir" : 'X\(//\)$' \| \
23643 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23644 printf "%s\n" X"$as_dir" |
23645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23646 s//\1/
23649 /^X\(\/\/\)[^/].*/{
23650 s//\1/
23653 /^X\(\/\/\)$/{
23654 s//\1/
23657 /^X\(\/\).*/{
23658 s//\1/
23661 s/.*/./; q'`
23662 test -d "$as_dir" && break
23663 done
23664 test -z "$as_dirs" || eval "mkdir $as_dirs"
23665 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23668 } # as_fn_mkdir_p
23669 if mkdir -p . 2>/dev/null; then
23670 as_mkdir_p='mkdir -p "$as_dir"'
23671 else
23672 test -d ./-p && rmdir ./-p
23673 as_mkdir_p=false
23677 # as_fn_executable_p FILE
23678 # -----------------------
23679 # Test if FILE is an executable regular file.
23680 as_fn_executable_p ()
23682 test -f "$1" && test -x "$1"
23683 } # as_fn_executable_p
23684 as_test_x='test -x'
23685 as_executable_p=as_fn_executable_p
23687 # Sed expression to map a string onto a valid CPP name.
23688 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23690 # Sed expression to map a string onto a valid variable name.
23691 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23694 exec 6>&1
23695 ## ----------------------------------- ##
23696 ## Main body of $CONFIG_STATUS script. ##
23697 ## ----------------------------------- ##
23698 _ASEOF
23699 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23702 # Save the log message, to keep $0 and so on meaningful, and to
23703 # report actual input values of CONFIG_FILES etc. instead of their
23704 # values after options handling.
23705 ac_log="
23706 This file was extended by Wine $as_me 9.11, which was
23707 generated by GNU Autoconf 2.71. Invocation command line was
23709 CONFIG_FILES = $CONFIG_FILES
23710 CONFIG_HEADERS = $CONFIG_HEADERS
23711 CONFIG_LINKS = $CONFIG_LINKS
23712 CONFIG_COMMANDS = $CONFIG_COMMANDS
23713 $ $0 $@
23715 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23718 _ACEOF
23721 case $ac_config_headers in *"
23722 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23723 esac
23726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23727 # Files that config.status was made for.
23728 config_headers="$ac_config_headers"
23729 config_links="$ac_config_links"
23730 config_commands="$ac_config_commands"
23732 _ACEOF
23734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23735 ac_cs_usage="\
23736 \`$as_me' instantiates files and other configuration actions
23737 from templates according to the current configuration. Unless the files
23738 and actions are specified as TAGs, all are instantiated by default.
23740 Usage: $0 [OPTION]... [TAG]...
23742 -h, --help print this help, then exit
23743 -V, --version print version number and configuration settings, then exit
23744 --config print configuration, then exit
23745 -q, --quiet, --silent
23746 do not print progress messages
23747 -d, --debug don't remove temporary files
23748 --recheck update $as_me by reconfiguring in the same conditions
23749 --header=FILE[:TEMPLATE]
23750 instantiate the configuration header FILE
23752 Configuration headers:
23753 $config_headers
23755 Configuration links:
23756 $config_links
23758 Configuration commands:
23759 $config_commands
23761 Report bugs to <wine-devel@winehq.org>.
23762 Wine home page: <https://www.winehq.org>."
23764 _ACEOF
23765 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23766 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23768 ac_cs_config='$ac_cs_config_escaped'
23769 ac_cs_version="\\
23770 Wine config.status 9.11
23771 configured by $0, generated by GNU Autoconf 2.71,
23772 with options \\"\$ac_cs_config\\"
23774 Copyright (C) 2021 Free Software Foundation, Inc.
23775 This config.status script is free software; the Free Software Foundation
23776 gives unlimited permission to copy, distribute and modify it."
23778 ac_pwd='$ac_pwd'
23779 srcdir='$srcdir'
23780 test -n "\$AWK" || AWK=awk
23781 _ACEOF
23783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23784 # The default lists apply if the user does not specify any file.
23785 ac_need_defaults=:
23786 while test $# != 0
23788 case $1 in
23789 --*=?*)
23790 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23791 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23792 ac_shift=:
23794 --*=)
23795 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23796 ac_optarg=
23797 ac_shift=:
23800 ac_option=$1
23801 ac_optarg=$2
23802 ac_shift=shift
23804 esac
23806 case $ac_option in
23807 # Handling of the options.
23808 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23809 ac_cs_recheck=: ;;
23810 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23811 printf "%s\n" "$ac_cs_version"; exit ;;
23812 --config | --confi | --conf | --con | --co | --c )
23813 printf "%s\n" "$ac_cs_config"; exit ;;
23814 --debug | --debu | --deb | --de | --d | -d )
23815 debug=: ;;
23816 --header | --heade | --head | --hea )
23817 $ac_shift
23818 case $ac_optarg in
23819 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23820 esac
23821 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23822 ac_need_defaults=false;;
23823 --he | --h)
23824 # Conflict between --help and --header
23825 as_fn_error $? "ambiguous option: \`$1'
23826 Try \`$0 --help' for more information.";;
23827 --help | --hel | -h )
23828 printf "%s\n" "$ac_cs_usage"; exit ;;
23829 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23830 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23831 ac_cs_silent=: ;;
23833 # This is an error.
23834 -*) as_fn_error $? "unrecognized option: \`$1'
23835 Try \`$0 --help' for more information." ;;
23837 *) as_fn_append ac_config_targets " $1"
23838 ac_need_defaults=false ;;
23840 esac
23841 shift
23842 done
23844 ac_configure_extra_args=
23846 if $ac_cs_silent; then
23847 exec 6>/dev/null
23848 ac_configure_extra_args="$ac_configure_extra_args --silent"
23851 _ACEOF
23852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23853 if \$ac_cs_recheck; then
23854 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23855 shift
23856 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23857 CONFIG_SHELL='$SHELL'
23858 export CONFIG_SHELL
23859 exec "\$@"
23862 _ACEOF
23863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23864 exec 5>>config.log
23866 echo
23867 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23868 ## Running $as_me. ##
23869 _ASBOX
23870 printf "%s\n" "$ac_log"
23871 } >&5
23873 _ACEOF
23874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23876 # INIT-COMMANDS
23878 wine_fn_output_makedep ()
23880 as_dir=tools; as_fn_mkdir_p
23881 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ -DWINE_UNIX_LIB $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
23883 wine_fn_output_makefile ()
23885 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23886 # This Makefile understands the following targets:
23888 # all (default): build wine
23889 # clean: remove all intermediate files
23890 # distclean: also remove all files created by configure
23891 # test: run tests
23892 # testclean: clean test results to force running all tests again
23893 # install-lib: install libraries needed to run applications
23894 # install-dev: install development environment
23895 # install: install everything
23896 # uninstall: uninstall everything
23897 # ctags: create a tags file for vim and others.
23898 # etags: create a TAGS file for Emacs.
23900 SHELL = $SHELL
23901 PATH_SEPARATOR = $PATH_SEPARATOR
23902 PACKAGE_NAME = $PACKAGE_NAME
23903 PACKAGE_TARNAME = $PACKAGE_TARNAME
23904 PACKAGE_VERSION = $PACKAGE_VERSION
23905 PACKAGE_STRING = $PACKAGE_STRING
23906 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23907 PACKAGE_URL = $PACKAGE_URL
23908 exec_prefix = $exec_prefix
23909 prefix = $prefix
23910 program_transform_name = $program_transform_name
23911 bindir = $bindir
23912 sbindir = $sbindir
23913 libexecdir = $libexecdir
23914 datarootdir = $datarootdir
23915 datadir = $datadir
23916 sysconfdir = $sysconfdir
23917 sharedstatedir = $sharedstatedir
23918 localstatedir = $localstatedir
23919 runstatedir = $runstatedir
23920 includedir = $includedir
23921 oldincludedir = $oldincludedir
23922 docdir = $docdir
23923 infodir = $infodir
23924 htmldir = $htmldir
23925 dvidir = $dvidir
23926 pdfdir = $pdfdir
23927 psdir = $psdir
23928 libdir = $libdir
23929 localedir = $localedir
23930 mandir = $mandir
23931 DEFS = $DEFS
23932 ECHO_C = $ECHO_C
23933 ECHO_N = $ECHO_N
23934 ECHO_T = $ECHO_T
23935 LIBS = $LIBS
23936 build_alias = $build_alias
23937 host_alias = $host_alias
23938 target_alias = $target_alias
23939 system_dllpath = $system_dllpath
23940 build = $build
23941 build_cpu = $build_cpu
23942 build_vendor = $build_vendor
23943 build_os = $build_os
23944 host = $host
23945 host_cpu = $host_cpu
23946 host_vendor = $host_vendor
23947 host_os = $host_os
23948 dlldir = $dlldir
23949 fontdir = $fontdir
23950 nlsdir = $nlsdir
23951 srcdir = $srcdir
23952 SET_MAKE = $SET_MAKE
23953 CC = $CC
23954 CFLAGS = $CFLAGS
23955 LDFLAGS = $LDFLAGS
23956 CPPFLAGS = $CPPFLAGS
23957 ac_ct_CC = $ac_ct_CC
23958 EXEEXT = $EXEEXT
23959 OBJEXT = $OBJEXT
23960 CXX = $CXX
23961 CXXFLAGS = $CXXFLAGS
23962 ac_ct_CXX = $ac_ct_CXX
23963 CPPBIN = $CPPBIN
23964 LD = $LD
23965 TARGETFLAGS = $TARGETFLAGS
23966 toolsext = $toolsext
23967 HOST_ARCH = $HOST_ARCH
23968 aarch64_CC = $aarch64_CC
23969 aarch64_CFLAGS = $aarch64_CFLAGS
23970 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23971 aarch64_LDFLAGS = $aarch64_LDFLAGS
23972 aarch64_DEBUG = $aarch64_DEBUG
23973 aarch64_TARGET = $aarch64_TARGET
23974 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23975 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23976 arm_CC = $arm_CC
23977 arm_CFLAGS = $arm_CFLAGS
23978 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23979 arm_LDFLAGS = $arm_LDFLAGS
23980 arm_DEBUG = $arm_DEBUG
23981 arm_TARGET = $arm_TARGET
23982 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23983 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23984 arm64ec_CC = $arm64ec_CC
23985 arm64ec_CFLAGS = $arm64ec_CFLAGS
23986 arm64ec_EXTRACFLAGS = $arm64ec_EXTRACFLAGS
23987 arm64ec_LDFLAGS = $arm64ec_LDFLAGS
23988 arm64ec_DEBUG = $arm64ec_DEBUG
23989 arm64ec_TARGET = $arm64ec_TARGET
23990 arm64ec_DELAYLOADFLAG = $arm64ec_DELAYLOADFLAG
23991 arm64ec_DISABLED_SUBDIRS = $arm64ec_DISABLED_SUBDIRS
23992 i386_CC = $i386_CC
23993 i386_CFLAGS = $i386_CFLAGS
23994 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23995 i386_LDFLAGS = $i386_LDFLAGS
23996 i386_DEBUG = $i386_DEBUG
23997 i386_TARGET = $i386_TARGET
23998 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23999 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
24000 x86_64_CC = $x86_64_CC
24001 x86_64_CFLAGS = $x86_64_CFLAGS
24002 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
24003 x86_64_LDFLAGS = $x86_64_LDFLAGS
24004 x86_64_DEBUG = $x86_64_DEBUG
24005 x86_64_TARGET = $x86_64_TARGET
24006 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
24007 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
24008 toolsdir = $toolsdir
24009 MAKEDEP = $MAKEDEP
24010 RUNTESTFLAGS = $RUNTESTFLAGS
24011 SED_CMD = $SED_CMD
24012 FLEX = $FLEX
24013 BISON = $BISON
24014 AR = $AR
24015 ac_ct_AR = $ac_ct_AR
24016 STRIP = $STRIP
24017 RANLIB = $RANLIB
24018 LN_S = $LN_S
24019 GREP = $GREP
24020 EGREP = $EGREP
24021 LDCONFIG = $LDCONFIG
24022 MSGFMT = $MSGFMT
24023 PKG_CONFIG = $PKG_CONFIG
24024 FONTFORGE = $FONTFORGE
24025 RSVG = $RSVG
24026 CONVERT = $CONVERT
24027 ICOTOOL = $ICOTOOL
24028 I386_LIBS = $I386_LIBS
24029 OPENGL_LIBS = $OPENGL_LIBS
24030 DLLFLAGS = $DLLFLAGS
24031 LDDLLFLAGS = $LDDLLFLAGS
24032 LDEXECFLAGS = $LDEXECFLAGS
24033 EXTRACFLAGS = $EXTRACFLAGS
24034 UNIXDLLFLAGS = $UNIXDLLFLAGS
24035 UNIXLDFLAGS = $UNIXLDFLAGS
24036 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
24037 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
24038 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
24039 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
24040 DLLEXT = $DLLEXT
24041 LDD = $LDD
24042 OTOOL = $OTOOL
24043 READELF = $READELF
24044 SUBDIRS = $SUBDIRS
24045 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
24046 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
24047 CARBON_LIBS = $CARBON_LIBS
24048 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
24049 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
24050 IOKIT_LIBS = $IOKIT_LIBS
24051 METAL_LIBS = $METAL_LIBS
24052 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
24053 CORESERVICES_LIBS = $CORESERVICES_LIBS
24054 APPKIT_LIBS = $APPKIT_LIBS
24055 SECURITY_LIBS = $SECURITY_LIBS
24056 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
24057 COREAUDIO_LIBS = $COREAUDIO_LIBS
24058 OPENCL_LIBS = $OPENCL_LIBS
24059 OBJC = $OBJC
24060 OBJCFLAGS = $OBJCFLAGS
24061 ac_ct_OBJC = $ac_ct_OBJC
24062 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
24063 PE_ARCHS = $PE_ARCHS
24064 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
24065 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
24066 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
24067 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
24068 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
24069 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
24070 GSM_PE_LIBS = $GSM_PE_LIBS
24071 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
24072 JPEG_PE_LIBS = $JPEG_PE_LIBS
24073 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
24074 JXR_PE_LIBS = $JXR_PE_LIBS
24075 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
24076 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
24077 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
24078 LDAP_PE_LIBS = $LDAP_PE_LIBS
24079 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
24080 MPG123_PE_LIBS = $MPG123_PE_LIBS
24081 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
24082 MUSL_PE_LIBS = $MUSL_PE_LIBS
24083 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
24084 PNG_PE_LIBS = $PNG_PE_LIBS
24085 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
24086 TIFF_PE_LIBS = $TIFF_PE_LIBS
24087 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
24088 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
24089 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
24090 XML2_PE_LIBS = $XML2_PE_LIBS
24091 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
24092 XSLT_PE_LIBS = $XSLT_PE_LIBS
24093 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
24094 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
24095 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
24096 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
24097 PTHREAD_LIBS = $PTHREAD_LIBS
24098 XMKMF = $XMKMF
24099 CPP = $CPP
24100 X_CFLAGS = $X_CFLAGS
24101 X_PRE_LIBS = $X_PRE_LIBS
24102 X_LIBS = $X_LIBS
24103 X_EXTRA_LIBS = $X_EXTRA_LIBS
24104 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
24105 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
24106 WAYLAND_SCANNER = $WAYLAND_SCANNER
24107 XKBCOMMON_CFLAGS = $XKBCOMMON_CFLAGS
24108 XKBCOMMON_LIBS = $XKBCOMMON_LIBS
24109 XKBREGISTRY_CFLAGS = $XKBREGISTRY_CFLAGS
24110 XKBREGISTRY_LIBS = $XKBREGISTRY_LIBS
24111 EGL_CFLAGS = $EGL_CFLAGS
24112 EGL_LIBS = $EGL_LIBS
24113 WAYLAND_EGL_CFLAGS = $WAYLAND_EGL_CFLAGS
24114 WAYLAND_EGL_LIBS = $WAYLAND_EGL_LIBS
24115 PCAP_LIBS = $PCAP_LIBS
24116 PCSCLITE_LIBS = $PCSCLITE_LIBS
24117 ODBC_CFLAGS = $ODBC_CFLAGS
24118 ODBC_LIBS = $ODBC_LIBS
24119 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
24120 INOTIFY_LIBS = $INOTIFY_LIBS
24121 DBUS_CFLAGS = $DBUS_CFLAGS
24122 DBUS_LIBS = $DBUS_LIBS
24123 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
24124 GNUTLS_LIBS = $GNUTLS_LIBS
24125 SANE_CFLAGS = $SANE_CFLAGS
24126 SANE_LIBS = $SANE_LIBS
24127 USB_CFLAGS = $USB_CFLAGS
24128 USB_LIBS = $USB_LIBS
24129 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
24130 GPHOTO2_LIBS = $GPHOTO2_LIBS
24131 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
24132 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
24133 RESOLV_LIBS = $RESOLV_LIBS
24134 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
24135 FREETYPE_LIBS = $FREETYPE_LIBS
24136 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
24137 PULSE_CFLAGS = $PULSE_CFLAGS
24138 PULSE_LIBS = $PULSE_LIBS
24139 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
24140 GSTREAMER_LIBS = $GSTREAMER_LIBS
24141 ALSA_LIBS = $ALSA_LIBS
24142 OSS4_CFLAGS = $OSS4_CFLAGS
24143 OSS4_LIBS = $OSS4_LIBS
24144 UDEV_CFLAGS = $UDEV_CFLAGS
24145 UDEV_LIBS = $UDEV_LIBS
24146 UNWIND_CFLAGS = $UNWIND_CFLAGS
24147 UNWIND_LIBS = $UNWIND_LIBS
24148 SDL2_CFLAGS = $SDL2_CFLAGS
24149 SDL2_LIBS = $SDL2_LIBS
24150 CAPI20_CFLAGS = $CAPI20_CFLAGS
24151 CAPI20_LIBS = $CAPI20_LIBS
24152 CUPS_CFLAGS = $CUPS_CFLAGS
24153 CUPS_LIBS = $CUPS_LIBS
24154 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
24155 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
24156 KRB5_CFLAGS = $KRB5_CFLAGS
24157 KRB5_LIBS = $KRB5_LIBS
24158 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
24159 GSSAPI_LIBS = $GSSAPI_LIBS
24160 PROCSTAT_LIBS = $PROCSTAT_LIBS
24161 NETAPI_CFLAGS = $NETAPI_CFLAGS
24162 NETAPI_LIBS = $NETAPI_LIBS
24163 MSVCRTFLAGS = $MSVCRTFLAGS
24164 DELAYLOADFLAG = $DELAYLOADFLAG
24165 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
24166 RT_LIBS = $RT_LIBS
24167 TAGSFLAGS = $TAGSFLAGS
24168 LIBOBJS = $LIBOBJS
24169 LTLIBOBJS = $LTLIBOBJS
24170 $SET_MAKE
24171 $wine_rules
24172 _WINE_EOF
24173 as_fn_error $? "could not create Makefile" "$LINENO" 5
24176 _ACEOF
24178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24180 # Handling of arguments.
24181 for ac_config_target in $ac_config_targets
24183 case $ac_config_target in
24184 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24185 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
24186 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
24187 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
24188 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
24189 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
24191 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24192 esac
24193 done
24196 # If the user did not use the arguments to specify the items to instantiate,
24197 # then the envvar interface is used. Set only those that are not.
24198 # We use the long form for the default assignment because of an extremely
24199 # bizarre bug on SunOS 4.1.3.
24200 if $ac_need_defaults; then
24201 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
24202 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
24203 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
24206 # Have a temporary directory for convenience. Make it in the build tree
24207 # simply because there is no reason against having it here, and in addition,
24208 # creating and moving files from /tmp can sometimes cause problems.
24209 # Hook for its removal unless debugging.
24210 # Note that there is a small window in which the directory will not be cleaned:
24211 # after its creation but before its name has been assigned to `$tmp'.
24212 $debug ||
24214 tmp= ac_tmp=
24215 trap 'exit_status=$?
24216 : "${ac_tmp:=$tmp}"
24217 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24219 trap 'as_fn_exit 1' 1 2 13 15
24221 # Create a (secure) tmp directory for tmp files.
24224 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24225 test -d "$tmp"
24226 } ||
24228 tmp=./conf$$-$RANDOM
24229 (umask 077 && mkdir "$tmp")
24230 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
24231 ac_tmp=$tmp
24233 # Set up the scripts for CONFIG_HEADERS section.
24234 # No need to generate them if there are no CONFIG_HEADERS.
24235 # This happens for instance with `./config.status Makefile'.
24236 if test -n "$CONFIG_HEADERS"; then
24237 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
24238 BEGIN {
24239 _ACEOF
24241 # Transform confdefs.h into an awk script `defines.awk', embedded as
24242 # here-document in config.status, that substitutes the proper values into
24243 # config.h.in to produce config.h.
24245 # Create a delimiter string that does not exist in confdefs.h, to ease
24246 # handling of long lines.
24247 ac_delim='%!_!# '
24248 for ac_last_try in false false :; do
24249 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
24250 if test -z "$ac_tt"; then
24251 break
24252 elif $ac_last_try; then
24253 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
24254 else
24255 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24257 done
24259 # For the awk script, D is an array of macro values keyed by name,
24260 # likewise P contains macro parameters if any. Preserve backslash
24261 # newline sequences.
24263 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24264 sed -n '
24265 s/.\{148\}/&'"$ac_delim"'/g
24266 t rset
24267 :rset
24268 s/^[ ]*#[ ]*define[ ][ ]*/ /
24269 t def
24271 :def
24272 s/\\$//
24273 t bsnl
24274 s/["\\]/\\&/g
24275 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24276 D["\1"]=" \3"/p
24277 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
24279 :bsnl
24280 s/["\\]/\\&/g
24281 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24282 D["\1"]=" \3\\\\\\n"\\/p
24283 t cont
24284 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24285 t cont
24287 :cont
24289 s/.\{148\}/&'"$ac_delim"'/g
24290 t clear
24291 :clear
24292 s/\\$//
24293 t bsnlc
24294 s/["\\]/\\&/g; s/^/"/; s/$/"/p
24296 :bsnlc
24297 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24298 b cont
24299 ' <confdefs.h | sed '
24300 s/'"$ac_delim"'/"\\\
24301 "/g' >>$CONFIG_STATUS || ac_write_fail=1
24303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24304 for (key in D) D_is_set[key] = 1
24305 FS = "\a"
24307 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24308 line = \$ 0
24309 split(line, arg, " ")
24310 if (arg[1] == "#") {
24311 defundef = arg[2]
24312 mac1 = arg[3]
24313 } else {
24314 defundef = substr(arg[1], 2)
24315 mac1 = arg[2]
24317 split(mac1, mac2, "(") #)
24318 macro = mac2[1]
24319 prefix = substr(line, 1, index(line, defundef) - 1)
24320 if (D_is_set[macro]) {
24321 # Preserve the white space surrounding the "#".
24322 print prefix "define", macro P[macro] D[macro]
24323 next
24324 } else {
24325 # Replace #undef with comments. This is necessary, for example,
24326 # in the case of _POSIX_SOURCE, which is predefined and required
24327 # on some systems where configure will not decide to define it.
24328 if (defundef == "undef") {
24329 print "/*", prefix defundef, macro, "*/"
24330 next
24334 { print }
24335 _ACAWK
24336 _ACEOF
24337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24338 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
24339 fi # test -n "$CONFIG_HEADERS"
24342 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
24343 shift
24344 for ac_tag
24346 case $ac_tag in
24347 :[FHLC]) ac_mode=$ac_tag; continue;;
24348 esac
24349 case $ac_mode$ac_tag in
24350 :[FHL]*:*);;
24351 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
24352 :[FH]-) ac_tag=-:-;;
24353 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24354 esac
24355 ac_save_IFS=$IFS
24356 IFS=:
24357 set x $ac_tag
24358 IFS=$ac_save_IFS
24359 shift
24360 ac_file=$1
24361 shift
24363 case $ac_mode in
24364 :L) ac_source=$1;;
24365 :[FH])
24366 ac_file_inputs=
24367 for ac_f
24369 case $ac_f in
24370 -) ac_f="$ac_tmp/stdin";;
24371 *) # Look for the file first in the build tree, then in the source tree
24372 # (if the path is not absolute). The absolute path cannot be DOS-style,
24373 # because $ac_f cannot contain `:'.
24374 test -f "$ac_f" ||
24375 case $ac_f in
24376 [\\/$]*) false;;
24377 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24378 esac ||
24379 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24380 esac
24381 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24382 as_fn_append ac_file_inputs " '$ac_f'"
24383 done
24385 # Let's still pretend it is `configure' which instantiates (i.e., don't
24386 # use $as_me), people would be surprised to read:
24387 # /* config.h. Generated by config.status. */
24388 configure_input='Generated from '`
24389 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24390 `' by configure.'
24391 if test x"$ac_file" != x-; then
24392 configure_input="$ac_file. $configure_input"
24393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24394 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24396 # Neutralize special characters interpreted by sed in replacement strings.
24397 case $configure_input in #(
24398 *\&* | *\|* | *\\* )
24399 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
24400 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24401 *) ac_sed_conf_input=$configure_input;;
24402 esac
24404 case $ac_tag in
24405 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24406 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24407 esac
24409 esac
24411 ac_dir=`$as_dirname -- "$ac_file" ||
24412 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24413 X"$ac_file" : 'X\(//\)[^/]' \| \
24414 X"$ac_file" : 'X\(//\)$' \| \
24415 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24416 printf "%s\n" X"$ac_file" |
24417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24418 s//\1/
24421 /^X\(\/\/\)[^/].*/{
24422 s//\1/
24425 /^X\(\/\/\)$/{
24426 s//\1/
24429 /^X\(\/\).*/{
24430 s//\1/
24433 s/.*/./; q'`
24434 as_dir="$ac_dir"; as_fn_mkdir_p
24435 ac_builddir=.
24437 case "$ac_dir" in
24438 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24440 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24441 # A ".." for each directory in $ac_dir_suffix.
24442 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24443 case $ac_top_builddir_sub in
24444 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24445 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24446 esac ;;
24447 esac
24448 ac_abs_top_builddir=$ac_pwd
24449 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24450 # for backward compatibility:
24451 ac_top_builddir=$ac_top_build_prefix
24453 case $srcdir in
24454 .) # We are building in place.
24455 ac_srcdir=.
24456 ac_top_srcdir=$ac_top_builddir_sub
24457 ac_abs_top_srcdir=$ac_pwd ;;
24458 [\\/]* | ?:[\\/]* ) # Absolute name.
24459 ac_srcdir=$srcdir$ac_dir_suffix;
24460 ac_top_srcdir=$srcdir
24461 ac_abs_top_srcdir=$srcdir ;;
24462 *) # Relative name.
24463 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24464 ac_top_srcdir=$ac_top_build_prefix$srcdir
24465 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24466 esac
24467 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24470 case $ac_mode in
24474 # CONFIG_HEADER
24476 if test x"$ac_file" != x-; then
24478 printf "%s\n" "/* $configure_input */" >&1 \
24479 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24480 } >"$ac_tmp/config.h" \
24481 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24482 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24484 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24485 else
24486 rm -f "$ac_file"
24487 mv "$ac_tmp/config.h" "$ac_file" \
24488 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24490 else
24491 printf "%s\n" "/* $configure_input */" >&1 \
24492 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24493 || as_fn_error $? "could not create -" "$LINENO" 5
24498 # CONFIG_LINK
24501 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24503 else
24504 # Prefer the file from the source tree if names are identical.
24505 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
24506 ac_source=$srcdir/$ac_source
24509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24510 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24512 if test ! -r "$ac_source"; then
24513 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
24515 rm -f "$ac_file"
24517 # Try a relative symlink, then a hard link, then a copy.
24518 case $ac_source in
24519 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
24520 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
24521 esac
24522 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
24523 ln "$ac_source" "$ac_file" 2>/dev/null ||
24524 cp -p "$ac_source" "$ac_file" ||
24525 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24528 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24529 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24531 esac
24534 case $ac_file$ac_mode in
24535 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24536 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
24537 "Makefile":C) wine_fn_output_makefile Makefile ;;
24539 esac
24540 done # for ac_tag
24543 as_fn_exit 0
24544 _ACEOF
24545 ac_clean_files=$ac_clean_files_save
24547 test $ac_write_fail = 0 ||
24548 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24551 # configure is writing to config.log, and then calls config.status.
24552 # config.status does its own redirection, appending to config.log.
24553 # Unfortunately, on DOS this fails, as config.log is still kept open
24554 # by configure, so config.status won't be able to write to it; its
24555 # output is simply discarded. So we exec the FD to /dev/null,
24556 # effectively closing config.log, so it can be properly (re)opened and
24557 # appended to by config.status. When coming back to configure, we
24558 # need to make the FD available again.
24559 if test "$no_create" != yes; then
24560 ac_cs_success=:
24561 ac_config_status_args=
24562 test "$silent" = yes &&
24563 ac_config_status_args="$ac_config_status_args --quiet"
24564 exec 5>/dev/null
24565 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24566 exec 5>>config.log
24567 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24568 # would make configure fail if this is the last instruction.
24569 $ac_cs_success || as_fn_exit 1
24571 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24573 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24577 if test "$no_create" = "yes"
24578 then
24579 exit 0
24582 ac_save_IFS="$IFS"
24583 if test "x$wine_notices" != x; then
24584 echo >&6
24585 IFS="|"
24586 for msg in $wine_notices; do
24587 IFS="$ac_save_IFS"
24588 if ${msg:+false} :
24589 then :
24591 else $as_nop
24592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24593 printf "%s\n" "$as_me: $msg" >&6;}
24595 done
24597 IFS="|"
24598 for msg in $wine_warnings; do
24599 IFS="$ac_save_IFS"
24600 if ${msg:+false} :
24601 then :
24603 else $as_nop
24604 echo >&2
24605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24606 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24608 done
24609 IFS="$ac_save_IFS"
24611 printf "%s\n" "
24612 $as_me: Finished. Do '${ac_make}' to compile Wine.
24613 " >&6